From patchwork Thu May 17 13:45:21 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 8753 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id B021023E23 for ; Thu, 17 May 2012 13:46:56 +0000 (UTC) Received: from mail-qc0-f180.google.com (mail-qc0-f180.google.com [209.85.216.180]) by fiordland.canonical.com (Postfix) with ESMTP id 7C627A183E2 for ; Thu, 17 May 2012 13:46:56 +0000 (UTC) Received: by mail-qc0-f180.google.com with SMTP id v28so1485217qcm.11 for ; Thu, 17 May 2012 06:46:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=Z2lQ4oeiwcrM1xm3VFijesN+piMCcNjthSO4gvJpBxs=; b=QmMkjbNX4IGNSHmPBnDH9mRy53qxJI2sMDX3t2iSmoSu9B2b7BPfJGHDUDKa16AvR9 8M8L3XC1I5XHXDdG1Dtx+STQF5/Yd/ziMFWVQLO2vFR+gb+eD++hhSQkHE+6dRrvfKvX LVVw7pZzEiuLI3Ko++bpNlInFJ2AFltsLIdlbniGdFbPX1nCkdCrnQGgWGnoZY9CFyes OqJl9DUycIK1xBoIJ1/UldqafFWXXoVsppOzrXGv76Ej2PwbPisoalxcox10paKdR1/J ZzeufoSMUi/reuTEp9ZJSaAFHO6sDlMrRi1cisp+wC3jwkZ3hmLnXrgt+eRbID+JUAG7 VxwQ== Received: by 10.50.154.169 with SMTP id vp9mr13292858igb.53.1337262416049; Thu, 17 May 2012 06:46:56 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.35.72 with SMTP id o8csp29062ibd; Thu, 17 May 2012 06:46:55 -0700 (PDT) Received: by 10.180.106.7 with SMTP id gq7mr4009076wib.4.1337262414948; Thu, 17 May 2012 06:46:54 -0700 (PDT) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx.google.com with ESMTPS id 81si7452963wej.18.2012.05.17.06.46.54 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 May 2012 06:46:54 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.172; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-wi0-f172.google.com with SMTP id hj8so4303012wib.13 for ; Thu, 17 May 2012 06:46:54 -0700 (PDT) Received: by 10.180.81.36 with SMTP id w4mr18460802wix.16.1337262414432; Thu, 17 May 2012 06:46:54 -0700 (PDT) Received: from localhost.localdomain (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id h8sm21166277wix.4.2012.05.17.06.46.53 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 May 2012 06:46:53 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, arnd@arndb.de, linus.walleij@stericsson.com, grant.likely@secretlab.ca, cjb@laptop.org, broonie@opensource.wolfsonmicro.com, sameo@linux.intel.com Cc: Lee Jones Subject: [PATCH 16/18] ARM: ux500: Add a ab8500-gpadc node to the db8500 Device Tree Date: Thu, 17 May 2012 14:45:21 +0100 Message-Id: <1337262323-27692-17-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1337262323-27692-1-git-send-email-lee.jones@linaro.org> References: <1337262323-27692-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQkdQtPz5vYy7/ocSFxYK33rfdy2x3hxKel0FbVplXVECmLiB6DA1vmONzR1q8uZJxGjH+ZZ This patch provides support for the ab8500-gpadc driver. Signed-off-by: Lee Jones --- arch/arm/boot/dts/db8500.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/db8500.dtsi b/arch/arm/boot/dts/db8500.dtsi index 0dc24e6..e14001b 100644 --- a/arch/arm/boot/dts/db8500.dtsi +++ b/arch/arm/boot/dts/db8500.dtsi @@ -207,6 +207,14 @@ compatible = "stericsson,ab8500-debug"; }; + ab8500-gpadc { + compatible = "stericsson,ab8500-gpadc"; + interrupts = <0 32 0x4 + 0 39 0x4>; + interrupt-names = "HW_CONV_END", "SW_CONV_END"; + vddadc-supply = <&ab8500_ldo_tvout_reg>; + }; + ab8500-regulators { compatible = "stericsson,ab8500-regulator";