* [PATCH 0/2] Update dts file to support lm90 well
@ 2013-10-07 9:28 Wei Ni
[not found] ` <1381138109-22727-1-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Wei Ni @ 2013-10-07 9:28 UTC (permalink / raw)
To: swarren-3lzwWm7+Weoh9ZMKESR00Q, broonie-DgEjT+Ai2ygdnm+yROfE0A
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA, 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.
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(-)
--
1.7.9.5
^ permalink raw reply [flat|nested] 4+ messages in thread[parent not found: <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 [not found] ` <1381138109-22727-1-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> @ 2013-10-07 9:28 ` Wei Ni 2013-10-07 9:28 ` [PATCH 2/2] ARM: tegra: add vcc supply for nct1008 to Cardhu Wei Ni 2013-10-07 19:22 ` [PATCH 0/2] Update dts file to support lm90 well Stephen Warren 2 siblings, 0 replies; 4+ messages in thread From: Wei Ni @ 2013-10-07 9:28 UTC (permalink / raw) To: swarren-3lzwWm7+Weoh9ZMKESR00Q, broonie-DgEjT+Ai2ygdnm+yROfE0A Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA, Wei Ni Enable thermal sensor nct1008 for Tegra114 dalmore. Signed-off-by: Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> --- arch/arm/boot/dts/tegra114-dalmore.dts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts index 871aff5..cb5ec23 100644 --- a/arch/arm/boot/dts/tegra114-dalmore.dts +++ b/arch/arm/boot/dts/tegra114-dalmore.dts @@ -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>; -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] ARM: tegra: add vcc supply for nct1008 to Cardhu [not found] ` <1381138109-22727-1-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> 2013-10-07 9:28 ` [PATCH 1/2] ARM: tegra: add DT entry for nct1008 to Dalmore Wei Ni @ 2013-10-07 9:28 ` Wei Ni 2013-10-07 19:22 ` [PATCH 0/2] Update dts file to support lm90 well Stephen Warren 2 siblings, 0 replies; 4+ messages in thread From: Wei Ni @ 2013-10-07 9:28 UTC (permalink / raw) To: swarren-3lzwWm7+Weoh9ZMKESR00Q, broonie-DgEjT+Ai2ygdnm+yROfE0A Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA, Wei Ni 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-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> --- arch/arm/boot/dts/tegra30-cardhu.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30-cardhu.dtsi b/arch/arm/boot/dts/tegra30-cardhu.dtsi index e19dbf2..5ea7dfa 100644 --- a/arch/arm/boot/dts/tegra30-cardhu.dtsi +++ b/arch/arm/boot/dts/tegra30-cardhu.dtsi @@ -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>; }; -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] Update dts file to support lm90 well [not found] ` <1381138109-22727-1-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> 2013-10-07 9:28 ` [PATCH 1/2] ARM: tegra: add DT entry for nct1008 to Dalmore Wei Ni 2013-10-07 9:28 ` [PATCH 2/2] ARM: tegra: add vcc supply for nct1008 to Cardhu Wei Ni @ 2013-10-07 19:22 ` Stephen Warren 2 siblings, 0 replies; 4+ messages in thread From: Stephen Warren @ 2013-10-07 19:22 UTC (permalink / raw) To: Wei Ni, broonie-DgEjT+Ai2ygdnm+yROfE0A; +Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA On 10/07/2013 03:28 AM, Wei Ni wrote: > 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-10-07 19:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-07 9:28 [PATCH 0/2] Update dts file to support lm90 well Wei Ni
[not found] ` <1381138109-22727-1-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-07 9:28 ` [PATCH 1/2] ARM: tegra: add DT entry for nct1008 to Dalmore Wei Ni
2013-10-07 9:28 ` [PATCH 2/2] ARM: tegra: add vcc supply for nct1008 to Cardhu Wei Ni
2013-10-07 19:22 ` [PATCH 0/2] Update dts file to support lm90 well Stephen Warren
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox