Message ID | 20220925161317.76356-1-luca@z3ntu.xyz |
---|---|
State | Accepted |
Commit | 23fa8ec64963b504071bdd0bdc6ade28cd7ecca1 |
Headers | show |
Series | [1/2] ARM: dts: qcom: fix msm8974 tsens compatible | expand |
On 25/09/2022 18:13, Luca Weiss wrote: > Bindings mandate the use of the fallback compatible qcom,tsens-v0_1 for > msm8974. Add it to fix the warning. > > Signed-off-by: Luca Weiss <luca@z3ntu.xyz> > --- > arch/arm/boot/dts/qcom-apq8084.dtsi | 2 +- > arch/arm/boot/dts/qcom-msm8974.dtsi | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/qcom-apq8084.dtsi b/arch/arm/boot/dts/qcom-apq8084.dtsi > index f2fb7c975af8..defc0602d750 100644 > --- a/arch/arm/boot/dts/qcom-apq8084.dtsi > +++ b/arch/arm/boot/dts/qcom-apq8084.dtsi > @@ -258,7 +258,7 @@ tsens_backup: backup@440 { > }; > > tsens: thermal-sensor@fc4a8000 { > - compatible = "qcom,msm8974-tsens"; > + compatible = "qcom,msm8974-tsens", "qcom,tsens-v0_1"; > reg = <0xfc4a9000 0x1000>, /* TM */ > <0xfc4a8000 0x1000>; /* SROT */ > nvmem-cells = <&tsens_calib>, <&tsens_backup>; > diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi > index 7a9be0acf3f5..cf8af99a4864 100644 > --- a/arch/arm/boot/dts/qcom-msm8974.dtsi > +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi > @@ -1116,7 +1116,7 @@ cnoc: interconnect@fc480000 { > }; > > tsens: thermal-sensor@fc4a9000 { > - compatible = "qcom,msm8974-tsens"; > + compatible = "qcom,msm8974-tsens", "qcom,tsens-v0_1"; > reg = <0xfc4a9000 0x1000>, /* TM */ > <0xfc4a8000 0x1000>; /* SROT */ > nvmem-cells = <&tsens_calib>, <&tsens_backup>; Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
On 25/09/2022 18:13, Luca Weiss wrote: > Bindings mandate the use of the fallback compatible qcom,tsens-v0_1 for > msm8974. Add it to fix the warning. > > Signed-off-by: Luca Weiss <luca@z3ntu.xyz> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On 25/09/2022 18:13, Luca Weiss wrote: > Add the interrupt for tsens, based on the information from downstream > msm-3.4 dts. > > Signed-off-by: Luca Weiss <luca@z3ntu.xyz> > --- > arch/arm/boot/dts/qcom-apq8084.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/boot/dts/qcom-apq8084.dtsi b/arch/arm/boot/dts/qcom-apq8084.dtsi > index defc0602d750..593672f827ed 100644 > --- a/arch/arm/boot/dts/qcom-apq8084.dtsi > +++ b/arch/arm/boot/dts/qcom-apq8084.dtsi > @@ -264,6 +264,8 @@ tsens: thermal-sensor@fc4a8000 { > nvmem-cells = <&tsens_calib>, <&tsens_backup>; > nvmem-cell-names = "calib", "calib_backup"; > #qcom,sensors = <11>; > + interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>; > + interrupt-names = "uplow"; > #thermal-sensor-cells = <1>; > }; > timer@f9020000 { Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
On 25.09.2022 18:13, Luca Weiss wrote: > Bindings mandate the use of the fallback compatible qcom,tsens-v0_1 for > msm8974. Add it to fix the warning. > > Signed-off-by: Luca Weiss <luca@z3ntu.xyz> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org> Konrad > arch/arm/boot/dts/qcom-apq8084.dtsi | 2 +- > arch/arm/boot/dts/qcom-msm8974.dtsi | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/qcom-apq8084.dtsi b/arch/arm/boot/dts/qcom-apq8084.dtsi > index f2fb7c975af8..defc0602d750 100644 > --- a/arch/arm/boot/dts/qcom-apq8084.dtsi > +++ b/arch/arm/boot/dts/qcom-apq8084.dtsi > @@ -258,7 +258,7 @@ tsens_backup: backup@440 { > }; > > tsens: thermal-sensor@fc4a8000 { > - compatible = "qcom,msm8974-tsens"; > + compatible = "qcom,msm8974-tsens", "qcom,tsens-v0_1"; > reg = <0xfc4a9000 0x1000>, /* TM */ > <0xfc4a8000 0x1000>; /* SROT */ > nvmem-cells = <&tsens_calib>, <&tsens_backup>; > diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi > index 7a9be0acf3f5..cf8af99a4864 100644 > --- a/arch/arm/boot/dts/qcom-msm8974.dtsi > +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi > @@ -1116,7 +1116,7 @@ cnoc: interconnect@fc480000 { > }; > > tsens: thermal-sensor@fc4a9000 { > - compatible = "qcom,msm8974-tsens"; > + compatible = "qcom,msm8974-tsens", "qcom,tsens-v0_1"; > reg = <0xfc4a9000 0x1000>, /* TM */ > <0xfc4a8000 0x1000>; /* SROT */ > nvmem-cells = <&tsens_calib>, <&tsens_backup>;
diff --git a/arch/arm/boot/dts/qcom-apq8084.dtsi b/arch/arm/boot/dts/qcom-apq8084.dtsi index f2fb7c975af8..defc0602d750 100644 --- a/arch/arm/boot/dts/qcom-apq8084.dtsi +++ b/arch/arm/boot/dts/qcom-apq8084.dtsi @@ -258,7 +258,7 @@ tsens_backup: backup@440 { }; tsens: thermal-sensor@fc4a8000 { - compatible = "qcom,msm8974-tsens"; + compatible = "qcom,msm8974-tsens", "qcom,tsens-v0_1"; reg = <0xfc4a9000 0x1000>, /* TM */ <0xfc4a8000 0x1000>; /* SROT */ nvmem-cells = <&tsens_calib>, <&tsens_backup>; diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 7a9be0acf3f5..cf8af99a4864 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -1116,7 +1116,7 @@ cnoc: interconnect@fc480000 { }; tsens: thermal-sensor@fc4a9000 { - compatible = "qcom,msm8974-tsens"; + compatible = "qcom,msm8974-tsens", "qcom,tsens-v0_1"; reg = <0xfc4a9000 0x1000>, /* TM */ <0xfc4a8000 0x1000>; /* SROT */ nvmem-cells = <&tsens_calib>, <&tsens_backup>;
Bindings mandate the use of the fallback compatible qcom,tsens-v0_1 for msm8974. Add it to fix the warning. Signed-off-by: Luca Weiss <luca@z3ntu.xyz> --- arch/arm/boot/dts/qcom-apq8084.dtsi | 2 +- arch/arm/boot/dts/qcom-msm8974.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)