From patchwork Wed Mar 13 20:40:02 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 2264981 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 2337DDF215 for ; Wed, 13 Mar 2013 20:43:53 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UFsTb-0003EU-BI; Wed, 13 Mar 2013 20:40:43 +0000 Received: from mail-gg0-x24a.google.com ([2607:f8b0:4002:c02::24a]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UFsT9-0003A5-FG for linux-arm-kernel@lists.infradead.org; Wed, 13 Mar 2013 20:40:20 +0000 Received: by mail-gg0-f202.google.com with SMTP id l4so146852ggi.3 for ; Wed, 13 Mar 2013 13:40:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=OVGboQhkiEt5brwbMsz+P4V/YKNle63xCa5ZWMbG8K0=; b=BHX7mbENJPZKZhtz4fmA6azovUBREXQyBy0eMHy3X5xQxgsVtpE4BSa5DBM8uc7UmS lEEVcMQBaNPwi/XTs+mr2K91XntbMCqYkrfYkn+e7OlyOYjbfSt/1BaxqLyQBoasnMUM Z1PpuZObZgeQ2Ba60DHX0IAWuAK1O13On0DJPW5oVvVzZJHl/ak3ODbpow+BCNaNtCqM PLRb80+lbY9MybWcSIeVDslDu/wydBp+/JXFadDxSKyM17XI9QoRk6YyY2iy6vWh0Vi2 GjJrHb5i/DoTTXJn+elGTcIwUYc5PSZF6UyRFjfazqAMLEI0shg6xLCv5+KLyceM4s7Z 2uew== X-Received: by 10.236.88.70 with SMTP id z46mr13199101yhe.42.1363207213427; Wed, 13 Mar 2013 13:40:13 -0700 (PDT) Received: from corp2gmr1-2.hot.corp.google.com (corp2gmr1-2.hot.corp.google.com [172.24.189.93]) by gmr-mx.google.com with ESMTPS id h26si1701250yhf.3.2013.03.13.13.40.13 (version=TLSv1.1 cipher=AES128-SHA bits=128/128); Wed, 13 Mar 2013 13:40:13 -0700 (PDT) Received: from tictac.mtv.corp.google.com (tictac.mtv.corp.google.com [172.22.73.80]) by corp2gmr1-2.hot.corp.google.com (Postfix) with ESMTP id 4459F5A4466; Wed, 13 Mar 2013 13:40:13 -0700 (PDT) Received: by tictac.mtv.corp.google.com (Postfix, from userid 121310) id E864E8070C; Wed, 13 Mar 2013 13:40:12 -0700 (PDT) From: Doug Anderson To: Jonathan Cameron , Kukjin Kim Subject: [PATCH v2 4/4] ARM: dts: Add adc and thermistors for exynos5250-snow Date: Wed, 13 Mar 2013 13:40:02 -0700 Message-Id: <1363207202-10858-5-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 1.8.1.3 In-Reply-To: <1363207202-10858-1-git-send-email-dianders@chromium.org> References: <1363129994-10438-1-git-send-email-dianders@chromium.org> <1363207202-10858-1-git-send-email-dianders@chromium.org> X-Gm-Message-State: ALoCoQk+Kx/zb4sL089zppnZMz7zs3zSSB1jQ5zx02vr6qzrbXTFRBrqQCRgRYSximR1H1vUHPkUP9d59wayjWLas6YvpRwMcIoRj3/OhVKRj7Ak0GU1DBx1Z4+K0vew1nLYfuPFf0JPo6lxW0EqMQCexiVK9ObRypJh56Nu548wJzRZyuqpsur8RBoMkZgj+ODUjXG4K86EXTWlFpxI7CVLR0VGGYu69g== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130313_164015_598954_B0356519 X-CRM114-Status: GOOD ( 10.81 ) X-Spam-Score: -4.3 (----) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-4.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -2.4 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Lars-Peter Clausen , Russell King , Doug Anderson , linux-kernel@vger.kernel.org, Thomas Abraham , linux-arm-kernel@lists.infradead.org, Olof Johansson , Naveen Krishna Chatradhi , Guenter Roeck , Rahul Sharma X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 Tested-by: Naveen Krishna Chatradhi --- 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>; + }; + }; };