From: Doug Anderson <dianders@chromium.org> To: Jonathan Cameron <jic23@kernel.org>, Kukjin Kim <kgene.kim@samsung.com> Cc: Lars-Peter Clausen <lars@metafoo.de>, Naveen Krishna Chatradhi <ch.naveen@samsung.com>, Olof Johansson <olof@lixom.net>, Guenter Roeck <linux@roeck-us.net>, Doug Anderson <dianders@chromium.org>, Russell King <linux@arm.linux.org.uk>, Rahul Sharma <rahul.sharma@samsung.com>, Thomas Abraham <thomas.abraham@linaro.org>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/4] ARM: dts: Add adc and thermistors for exynos5250-snow Date: Wed, 13 Mar 2013 13:40:02 -0700 [thread overview] Message-ID: <1363207202-10858-5-git-send-email-dianders@chromium.org> (raw) In-Reply-To: <1363207202-10858-1-git-send-email-dianders@chromium.org> Hook up the exynos5250-snow thermistors via the device tree now that there's a driver available to use them. Signed-off-by: Doug Anderson <dianders@chromium.org> --- Changes in v2: - Match 'uV' -> 'uv' change in Naveen's bindings. arch/arm/boot/dts/cros5250-common.dtsi | 4 ++++ arch/arm/boot/dts/exynos5250-snow.dts | 31 +++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/arch/arm/boot/dts/cros5250-common.dtsi b/arch/arm/boot/dts/cros5250-common.dtsi index 46c0980..f7cc835 100644 --- a/arch/arm/boot/dts/cros5250-common.dtsi +++ b/arch/arm/boot/dts/cros5250-common.dtsi @@ -167,6 +167,10 @@ status = "disabled"; }; + adc@12D10000 { + vdd-supply = <&buck5_reg>; + }; + hdmi { hpd-gpio = <&gpx3 7 0xf 1 3>; }; diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts index 17dd951..b78da7c 100644 --- a/arch/arm/boot/dts/exynos5250-snow.dts +++ b/arch/arm/boot/dts/exynos5250-snow.dts @@ -40,4 +40,35 @@ <&gpc4 5 2 3 0>, <&gpc4 6 2 3 0>; }; }; + + adc@12D10000 { + ncp15wb473@3 { + compatible = "ntc,ncp15wb473"; + pullup-uv = <1800000>; + pullup-ohm = <47000>; + pulldown-ohm = <0>; + io-channels = <&adc 3>; + }; + ncp15wb473@4 { + compatible = "ntc,ncp15wb473"; + pullup-uv = <1800000>; + pullup-ohm = <47000>; + pulldown-ohm = <0>; + io-channels = <&adc 4>; + }; + ncp15wb473@5 { + compatible = "ntc,ncp15wb473"; + pullup-uv = <1800000>; + pullup-ohm = <47000>; + pulldown-ohm = <0>; + io-channels = <&adc 5>; + }; + ncp15wb473@6 { + compatible = "ntc,ncp15wb473"; + pullup-uv = <1800000>; + pullup-ohm = <47000>; + pulldown-ohm = <0>; + io-channels = <&adc 6>; + }; + }; }; -- 1.8.1.3
WARNING: multiple messages have this Message-ID (diff)
From: dianders@chromium.org (Doug Anderson) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 4/4] ARM: dts: Add adc and thermistors for exynos5250-snow Date: Wed, 13 Mar 2013 13:40:02 -0700 [thread overview] Message-ID: <1363207202-10858-5-git-send-email-dianders@chromium.org> (raw) In-Reply-To: <1363207202-10858-1-git-send-email-dianders@chromium.org> Hook up the exynos5250-snow thermistors via the device tree now that there's a driver available to use them. Signed-off-by: Doug Anderson <dianders@chromium.org> --- Changes in v2: - Match 'uV' -> 'uv' change in Naveen's bindings. arch/arm/boot/dts/cros5250-common.dtsi | 4 ++++ arch/arm/boot/dts/exynos5250-snow.dts | 31 +++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/arch/arm/boot/dts/cros5250-common.dtsi b/arch/arm/boot/dts/cros5250-common.dtsi index 46c0980..f7cc835 100644 --- a/arch/arm/boot/dts/cros5250-common.dtsi +++ b/arch/arm/boot/dts/cros5250-common.dtsi @@ -167,6 +167,10 @@ status = "disabled"; }; + adc at 12D10000 { + vdd-supply = <&buck5_reg>; + }; + hdmi { hpd-gpio = <&gpx3 7 0xf 1 3>; }; diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts index 17dd951..b78da7c 100644 --- a/arch/arm/boot/dts/exynos5250-snow.dts +++ b/arch/arm/boot/dts/exynos5250-snow.dts @@ -40,4 +40,35 @@ <&gpc4 5 2 3 0>, <&gpc4 6 2 3 0>; }; }; + + adc at 12D10000 { + ncp15wb473 at 3 { + compatible = "ntc,ncp15wb473"; + pullup-uv = <1800000>; + pullup-ohm = <47000>; + pulldown-ohm = <0>; + io-channels = <&adc 3>; + }; + ncp15wb473 at 4 { + compatible = "ntc,ncp15wb473"; + pullup-uv = <1800000>; + pullup-ohm = <47000>; + pulldown-ohm = <0>; + io-channels = <&adc 4>; + }; + ncp15wb473 at 5 { + compatible = "ntc,ncp15wb473"; + pullup-uv = <1800000>; + pullup-ohm = <47000>; + pulldown-ohm = <0>; + io-channels = <&adc 5>; + }; + ncp15wb473 at 6 { + compatible = "ntc,ncp15wb473"; + pullup-uv = <1800000>; + pullup-ohm = <47000>; + pulldown-ohm = <0>; + io-channels = <&adc 6>; + }; + }; }; -- 1.8.1.3
next prev parent reply other threads:[~2013-03-13 20:40 UTC|newest] Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-03-12 23:13 [PATCH 0/4] Get exynos adc driver running on on exynos5250-snow Doug Anderson 2013-03-12 23:13 ` Doug Anderson 2013-03-12 23:13 ` Doug Anderson 2013-03-12 23:13 ` [PATCH 1/4] iio: adc: Document the regulator/clocks for exynos-adc Doug Anderson 2013-03-12 23:13 ` Doug Anderson 2013-03-12 23:13 ` [PATCH 2/4] iio: adc: Add dt support for turning on the phy in exynos-adc Doug Anderson 2013-03-12 23:13 ` Doug Anderson 2013-03-12 23:13 ` [PATCH 3/4] ARM: dts: Add adc to exynos5250 device tree file Doug Anderson 2013-03-12 23:13 ` Doug Anderson 2013-03-12 23:13 ` [PATCH 4/4] ARM: dts: Add adc and thermistors for exynos5250-snow Doug Anderson 2013-03-12 23:13 ` Doug Anderson 2013-03-13 20:39 ` [PATCH v2 0/4] This set of patches is based on Naveen Krishna Chatradhi's recent work Doug Anderson 2013-03-13 20:39 ` Doug Anderson 2013-03-13 20:39 ` Doug Anderson 2013-03-13 20:39 ` [PATCH v2 1/4] iio: adc: Document the regulator/clocks for exynos-adc Doug Anderson 2013-03-15 8:05 ` Naveen Krishna Ch 2013-03-15 8:05 ` Naveen Krishna Ch 2013-03-27 18:35 ` Naveen Krishna Ch 2013-03-27 18:40 ` Lars-Peter Clausen 2013-03-27 18:46 ` Doug Anderson 2013-03-28 6:31 ` Jonathan Cameron 2013-03-29 9:36 ` Jonathan Cameron 2013-03-13 20:40 ` [PATCH v2 2/4] iio: adc: Add dt support for turning on the phy in exynos-adc Doug Anderson 2013-03-13 20:40 ` Doug Anderson 2013-03-15 11:45 ` Naveen Krishna Ch 2013-03-15 15:43 ` Naveen Krishna Ch 2013-03-15 15:43 ` Naveen Krishna Ch 2013-03-27 18:37 ` Naveen Krishna Ch 2013-03-27 18:37 ` Naveen Krishna Ch 2013-03-27 18:44 ` Doug Anderson 2013-03-13 20:40 ` [PATCH v2 3/4] ARM: dts: Add adc to exynos5250 device tree file Doug Anderson 2013-03-13 20:40 ` Doug Anderson 2013-03-15 15:45 ` Naveen Krishna Ch 2013-03-15 15:45 ` Naveen Krishna Ch 2013-03-13 20:40 ` Doug Anderson [this message] 2013-03-13 20:40 ` [PATCH v2 4/4] ARM: dts: Add adc and thermistors for exynos5250-snow Doug Anderson 2013-03-15 10:24 ` Naveen Krishna Ch 2013-03-15 10:24 ` Naveen Krishna Ch 2013-03-15 15:42 ` Naveen Krishna Ch 2013-03-15 15:42 ` Naveen Krishna Ch 2013-03-27 18:36 ` Naveen Krishna Ch 2013-03-27 18:36 ` Naveen Krishna Ch
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1363207202-10858-5-git-send-email-dianders@chromium.org \ --to=dianders@chromium.org \ --cc=ch.naveen@samsung.com \ --cc=jic23@kernel.org \ --cc=kgene.kim@samsung.com \ --cc=lars@metafoo.de \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux@arm.linux.org.uk \ --cc=linux@roeck-us.net \ --cc=olof@lixom.net \ --cc=rahul.sharma@samsung.com \ --cc=thomas.abraham@linaro.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.