Update dts file to support lm90 well
Subsystems (2)
cover Update dts file to support lm90 well
Add nct1008 dt entry on Tegra114 Dalmore.
Add vcc-supply for nct1008 on Tegra30 Cardhu.
Didn't add vcc-supply on Tegra20 Ventana, because on this platform, the vcc for nct1008 is physically present and enabled.
Wei Ni (2):
ARM: tegra: add DT entry for nct1008 to Dalmore
ARM: tegra: add vcc supply for nct1008 to Cardhu
arch/arm/boot/dts/tegra114-dalmore.dts | 10 +++++++++- arch/arm/boot/dts/tegra30-cardhu.dtsi | 3 ++- 2 files changed, 11 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.9.5
A message that is not in the archive (sent off-list or not yet received): 1381138109-22727-1-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org
PATCH 1/2 ARM: tegra: add DT entry for nct1008 to Dalmore
Enable thermal sensor nct1008 for Tegra114 dalmore.
--- arch/arm/boot/dts/tegra114-dalmore.dts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
arch/arm/boot/dts/tegra114-dalmore.dts +9 -1
@@ -739,6 +739,14 @@ realtek,ldo1-en-gpios = <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>; }; + + temperature-sensor@4c { + compatible = "onnn,nct1008"; + reg = <0x4c>; + vcc-supply = <&palmas_ldo6_reg>; + interrupt-parent = <&gpio>; + interrupts = <TEGRA_GPIO(O, 4) IRQ_TYPE_LEVEL_LOW>; + }; }; i2c@7000d000 {
@@ -948,7 +956,7 @@ regulator-max-microvolt = <1800000>; }; - ldo6 { + palmas_ldo6_reg: ldo6 { regulator-name = "vdd-sensor-2v85"; regulator-min-microvolt = <2850000>; regulator-max-microvolt = <2850000>;
Signature · 1 line
1.7.9.5
PATCH 2/2 ARM: tegra: add vcc supply for nct1008 to Cardhu
In reply to a message not in the archiveAdd vcc-supply property in the nct1008 node, and set it as sys_3v3_reg.
change the name of this node to temp-sensor.
--- arch/arm/boot/dts/tegra30-cardhu.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/tegra30-cardhu.dtsi +2 -1
@@ -294,9 +294,10 @@ }; }; - nct1008 { + temperature-sensor@4c { compatible = "onnn,nct1008"; reg = <0x4c>; + vcc-supply = <&sys_3v3_reg>; interrupt-parent = <&gpio>; interrupts = <TEGRA_GPIO(CC, 2) IRQ_TYPE_LEVEL_LOW>; };
Signature · 1 line
1.7.9.5
Stephen Warren
AppliedQuoted 4 lines · Wei Ni
Add nct1008 dt entry on Tegra114 Dalmore.
Add vcc-supply for nct1008 on Tegra30 Cardhu.
Didn't add vcc-supply on Tegra20 Ventana, because on this platform, the vcc for nct1008 is physically present and enabled.
I have applied the series to Tegra's for-3.13/dt branch.