ARM: tegra: add vcc supply for nct1008 to Cardhu
Add vcc-supply property in the nct1008 node, and set it as sys_3v3_reg. change the name of this node to temp-sensor. Signed-off-by: Wei Ni <wni@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
This commit is contained in:
parent
99bda7b901
commit
7c7de6b03a
|
@ -294,9 +294,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nct1008 {
|
temperature-sensor@4c {
|
||||||
compatible = "onnn,nct1008";
|
compatible = "onnn,nct1008";
|
||||||
reg = <0x4c>;
|
reg = <0x4c>;
|
||||||
|
vcc-supply = <&sys_3v3_reg>;
|
||||||
interrupt-parent = <&gpio>;
|
interrupt-parent = <&gpio>;
|
||||||
interrupts = <TEGRA_GPIO(CC, 2) IRQ_TYPE_LEVEL_LOW>;
|
interrupts = <TEGRA_GPIO(CC, 2) IRQ_TYPE_LEVEL_LOW>;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue