From patchwork Tue Mar 12 23:13:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 2260311 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id E95404006E for ; Tue, 12 Mar 2013 23:17:22 +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 1UFYOR-0004ai-OS; Tue, 12 Mar 2013 23:14:03 +0000 Received: from mail-vb0-x24a.google.com ([2607:f8b0:400c:c02::24a]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UFYO4-0004YR-57 for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2013 23:13:41 +0000 Received: by mail-vb0-f74.google.com with SMTP id r6so41385vbi.3 for ; Tue, 12 Mar 2013 16:13:38 -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=TQomggHQAJVMz799lzPWTNfwRKdXCwICStQ3ot6s+s4=; b=Zt3ERWcUZN9TVIxcMsalwHQb7tpsafgjh5cMMAVuDIK1QSk+EjXJnBPW9/tLE+fTZJ IxH+WDIFNB0xfZwYndxmoRXhuFXfIssobX2Fi/6ZauazJWL0SqUxePpX1PItuBf4rbQr UCWGDYawEyPJZ2bHiOuUadAQZ3CU1gTs7baDt11hZjAZjlfPUE39IrsTND5XxTC5r7+o g9UlN3BiHYoNbdQlL8tVn6H+Muh3+bOzIzBkTjmPDx9PIjIFpQ8AiVxvXkpz2AsOUTer y6+hK5k44xx2MsD+kuhVEQRjV5XuvwHkOBYPA4EctFBWdDzyO6rfWwKT6/ZhUF3yRYQr fA1Q== X-Received: by 10.236.85.211 with SMTP id u59mr10959006yhe.38.1363130018082; Tue, 12 Mar 2013 16:13:38 -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 u21si1469782yhj.0.2013.03.12.16.13.38 (version=TLSv1.1 cipher=AES128-SHA bits=128/128); Tue, 12 Mar 2013 16:13:38 -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 E29425A4123; Tue, 12 Mar 2013 16:13:37 -0700 (PDT) Received: by tictac.mtv.corp.google.com (Postfix, from userid 121310) id 92F068081F; Tue, 12 Mar 2013 16:13:37 -0700 (PDT) From: Doug Anderson To: Jonathan Cameron Subject: [PATCH 4/4] ARM: dts: Add adc and thermistors for exynos5250-snow Date: Tue, 12 Mar 2013 16:13:14 -0700 Message-Id: <1363129994-10438-5-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 1.8.1.3 In-Reply-To: <1363129994-10438-1-git-send-email-dianders@chromium.org> References: <1363129994-10438-1-git-send-email-dianders@chromium.org> X-Gm-Message-State: ALoCoQkQlxSgktGLj49/Y6KjgAoe8YS/OChQfAl+w3zJEAckxnshpifvr4lpxwhXhBgtoM1fqZJteHqlmjN7yEbRG6Ok88+wTvOIS9Ri0jY+KstNz956M38KZU3wMDgbSP/iHMMIAUnhOxWdvGz+tKMufFsg/FjIF2p9Y5oA/ATWEtPeGZGgYntRoKx6RxIc8XoQkS2TNVKf/2YEz8YXWGxEQhwd79CF4A== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130312_191340_464471_9BC490E6 X-CRM114-Status: GOOD ( 10.81 ) X-Spam-Score: -4.5 (----) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-4.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -2.6 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 , Jingoo Han , Doug Anderson , linux-kernel@vger.kernel.org, Kukjin Kim , Thomas Abraham , Olof Johansson , Naveen Krishna Chatradhi , linux-arm-kernel@lists.infradead.org, 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 --- 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 62eceb4..cb48981 100644 --- a/arch/arm/boot/dts/cros5250-common.dtsi +++ b/arch/arm/boot/dts/cros5250-common.dtsi @@ -305,6 +305,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 babd9f9..1cab5fd 100644 --- a/arch/arm/boot/dts/exynos5250-snow.dts +++ b/arch/arm/boot/dts/exynos5250-snow.dts @@ -51,4 +51,35 @@ clock-frequency = <24000000>; }; }; + + 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>; + }; + }; };