[PATCH 3/3] arm64: dts: register Hi3660's thermal sensor

Wangtao (Kevin, Kirin) kevin.wangtao at hisilicon.com
Tue Jun 20 01:32:09 PDT 2017



在 2017/6/20 15:38, Guodong Xu 写道:
> 
> 
> 2017年6月20日 上午11:49,"Tao Wang" <kevin.wangtao at hisilicon.com <mailto:kevin.wangtao at hisilicon.com>>写道:
> 
>     Bind thermal sensor driver for Hi3660.
> 
>     Signed-off-by: Tao Wang <kevin.wangtao at hisilicon.com <mailto:kevin.wangtao at hisilicon.com>>
>     Signed-off-by: Leo Yan <leo.yan at linaro.org <mailto:leo.yan at linaro.org>>
>     ---
>       arch/arm64/boot/dts/hisilicon/hi3660.dtsi |    7 +++++++
>       1 file changed, 7 insertions(+)
> 
>     diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
>     index 3983086..cc67958 100644
>     --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
>     +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
>     @@ -156,5 +156,12 @@
> 
> 
> i am wondering which tree this patch should be applied to. Actually Olof Johansson olof at lixom.net <mailto:olof at lixom.net> just merged hi3660 dts into his tree. You should better rebase you dts patch onto that.
Can you share me the git path?
> 
> 
>                              clock-names = "uartclk", "apb_pclk";
>                              status = "disabled";
>                      };
>     +
>     +               tsensor: tsensor {
>     +                       compatible = "hisilicon,thermal-hi3660";
>     +                       reg = <0x0 0xfff30000 0x0 0x1000>;
>     +                       #thermal-sensor-cells = <1>;
>     +                       status = "ok";
> 
> 
> please remove status ok. that's default. redundant.
ok
> 
>     +               };
>              };
>       };
>     --
>     1.7.9.5
> 
> 
>     _______________________________________________
>     linux-arm-kernel mailing list
>     linux-arm-kernel at lists.infradead.org <mailto:linux-arm-kernel at lists.infradead.org>
>     http://lists.infradead.org/mailman/listinfo/linux-arm-kernel <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>
> 
> 




More information about the linux-arm-kernel mailing list