From patchwork Wed Aug 22 08:22:27 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Hesselbarth X-Patchwork-Id: 1360301 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 C781ADF280 for ; Wed, 22 Aug 2012 08:28:21 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T46Et-0008BY-HD; Wed, 22 Aug 2012 08:24:36 +0000 Received: from mail-bk0-f49.google.com ([209.85.214.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1T46DF-0007f1-9E for linux-arm-kernel@lists.infradead.org; Wed, 22 Aug 2012 08:23:08 +0000 Received: by mail-bk0-f49.google.com with SMTP id ji2so189152bkc.36 for ; Wed, 22 Aug 2012 01:22:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=I5HOKeHjqgd0lVY3MPMUTVpiqg8frH3hC5Tdpd49CC8=; b=D/AMXLiSdAAdUASksxXdpYuQnRkFuGKkpAk6z66+bzkz/elXH+VgUVl1Yn1aEyQfGz F8jywBXWAlU44hqaNkDpTG0Qs1gC0GIa6f6974itoGS1BijaX0NhHcH62WyJGBH1JwBQ HxBVpVpFz9uITLxDIrOWDRWQRAIxIDddqvT7oPEK2iJADL8wiGJcW6p3hZTkysH3iwbp 4XiFpGcYLuuxlSQMXVI5Ix4TqpKN9/WQ/5HEposiMixuQOmxQ2dPpy5rdN+3UpexULGm oIzgPlDV/pmwgOdjNeXch10S+BexQuPLDgkJoQb5AThO3rJ9O2DrurS+Q1VaVAEMxOr7 ThdA== Received: by 10.204.148.83 with SMTP id o19mr6009148bkv.74.1345623772863; Wed, 22 Aug 2012 01:22:52 -0700 (PDT) Received: from localhost.localdomain (dslc-082-083-232-154.pools.arcor-ip.net. [82.83.232.154]) by mx.google.com with ESMTPS id 14sm2047890bkw.15.2012.08.22.01.22.51 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 22 Aug 2012 01:22:52 -0700 (PDT) From: Sebastian Hesselbarth To: Sebastian Hesselbarth Subject: [PATCH v2 6/9] ARM: mvebu: add pinctrl device in DT for Armada 370/XP SoCs Date: Wed, 22 Aug 2012 10:22:27 +0200 Message-Id: <1345623750-10645-7-git-send-email-sebastian.hesselbarth@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1345623750-10645-1-git-send-email-sebastian.hesselbarth@gmail.com> References: <1344689809-6223-1-git-send-email-sebastian.hesselbarth@gmail.com> <1345623750-10645-1-git-send-email-sebastian.hesselbarth@gmail.com> X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.214.49 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (sebastian.hesselbarth[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Thomas Petazzoni , Lior Amsalem , Russell King , Andrew Lunn , Linus Walleij , Stephen Warren , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Grant Likely , Ben Dooks , Rob Landley , Gregory CLEMENT , devicetree-discuss@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Thomas Petazzoni The Armada 370 and XP SoCs have configurable muxing for a certain number of their pins, controlled through a pinctrl driver. The 'compatible' property is defined in the SoC-specific .dtsi files, since the compatible string identifies the number of pins and other SoC-specific properties. Signed-off-by: Thomas Petazzoni Acked-by: Linus Walleij --- Cc: Thomas Petazzoni Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc: Russell King Cc: Lior Amsalem Cc: Andrew Lunn Cc: Gregory CLEMENT Cc: Ben Dooks Cc: Linus Walleij Cc: Stephen Warren Cc: devicetree-discuss@lists.ozlabs.org Cc: linux-doc@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org --- arch/arm/boot/dts/armada-370-xp.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi index 16cc82c..54a944a 100644 --- a/arch/arm/boot/dts/armada-370-xp.dtsi +++ b/arch/arm/boot/dts/armada-370-xp.dtsi @@ -68,6 +68,13 @@ compatible = "marvell,armada-addr-decoding-controller"; reg = <0xd0020000 0x258>; }; + + pinctrl@d0018000 { + reg = <0xd0018000 0x38>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + }; }; };