提交 9044070d 编写于 作者: K Kevin Wangtao 提交者: Wei Xu

dt-bindings: Document the hi3660 thermal sensor binding

This adds documentation of device tree bindings for the
thermal sensor controller of hi3660 SoC.
Signed-off-by: NKevin Wangtao <kevin.wangtao@linaro.org>
Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: NRob Herring <robh@kernel.org>
Signed-off-by: NWei Xu <xuwei5@hisilicon.com>
上级 a1fb73d7
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
Example : Example :
for Hi6220:
tsensor: tsensor@0,f7030700 { tsensor: tsensor@0,f7030700 {
compatible = "hisilicon,tsensor"; compatible = "hisilicon,tsensor";
reg = <0x0 0xf7030700 0x0 0x1000>; reg = <0x0 0xf7030700 0x0 0x1000>;
...@@ -21,3 +22,11 @@ Example : ...@@ -21,3 +22,11 @@ Example :
clock-names = "thermal_clk"; clock-names = "thermal_clk";
#thermal-sensor-cells = <1>; #thermal-sensor-cells = <1>;
} }
for Hi3660:
tsensor: tsensor@fff30000 {
compatible = "hisilicon,hi3660-tsensor";
reg = <0x0 0xfff30000 0x0 0x1000>;
interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
#thermal-sensor-cells = <1>;
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册