From patchwork Sun May 10 21:27:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Skvortsov X-Patchwork-Id: 6372281 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C9F69BEEE1 for ; Sun, 10 May 2015 21:31:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0599520382 for ; Sun, 10 May 2015 21:31:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 29C3520380 for ; Sun, 10 May 2015 21:31:31 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YrYm9-0003e6-3T; Sun, 10 May 2015 21:28:41 +0000 Received: from mail-la0-x22d.google.com ([2a00:1450:4010:c03::22d]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YrYm4-0003bt-QQ for linux-arm-kernel@lists.infradead.org; Sun, 10 May 2015 21:28:37 +0000 Received: by lagv1 with SMTP id v1so81649512lag.3 for ; Sun, 10 May 2015 14:28:13 -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; bh=0+RKThfcDtrkMMhLBPEKJxC9XZcWLyyxhFTvYnt7fAc=; b=BzDHXHj7tMKDaXoXcIDfqNrCcg4y4BjZweBLhw0hfqdwEFJVRGSyZRTXBMP7zZaVsr tcHJ8UAkbFMaWrgW5PQ2pJPebRHbPBybfJwMsYxcwiutKCXtaN6j1dCbBLt6fcfi5clg PwSkKdq3ta6IfjIB+DqR7DtdfBs3kQF+OEmaVrEvU2o0RI9+pdWGCMHQiaBCdzeWPCZv IVemBsQRP4EJC2q2WeMXi0cCKOZ36TBUuQD1DGx45xeVptFpRhAdFZlAJq8IdXEcZX4D IgF/ruySDC1f5uQXXmAPaBCxBIvWrYoGjpLSrpv2NNTbD+h1Xmqq5uXf3sB8EJzLEMoE Rj9Q== X-Received: by 10.152.42.164 with SMTP id p4mr5376702lal.3.1431293293661; Sun, 10 May 2015 14:28:13 -0700 (PDT) Received: from localhost.localdomain (92-100-133-163.dynamic.avangarddsl.ru. [92.100.133.163]) by mx.google.com with ESMTPSA id fb5sm2626644lbc.35.2015.05.10.14.28.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 10 May 2015 14:28:12 -0700 (PDT) From: Andrey Skvortsov To: =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: dts: add core2 padconf region for am3517 Date: Mon, 11 May 2015 00:27:53 +0300 Message-Id: <1431293273-19321-1-git-send-email-andrej.skvortzov@gmail.com> X-Mailer: git-send-email 2.1.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150510_142837_054975_F5D4B7D0 X-CRM114-Status: GOOD ( 10.04 ) X-Spam-Score: -0.8 (/) Cc: Nishanth Menon , Andrey Skvortsov X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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 X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP According to the technical reference manual for AM35xx system controller module (SCM) PADCONFS core registers are divided in two regions: 0x48002030..0x48002268 and 0x480025d8..0x480025FC. First region is the same for all omap3 SoC and is described in omap3.dtsi. The second region is the same as in omap34xx (see omap34xx.dtsi) and omap35xx. The patch adds missing description for the second region. This patch was tested on AM3517. Signed-off-by: Andrey Skvortsov --- Commit 3d495383648a ("ARM: dts: Split omap3 pinmux core device") notes that Nishanth Menon said that 3517 does not have padconf2 region. Unfortunately I couldn't find reference to his post on mailing list. This patch was tested on AM3517 SoC and original vendor code contains pinmuxing for this second region as well. arch/arm/boot/dts/am3517.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/am3517.dtsi b/arch/arm/boot/dts/am3517.dtsi index c90724b..2534500 100644 --- a/arch/arm/boot/dts/am3517.dtsi +++ b/arch/arm/boot/dts/am3517.dtsi @@ -60,5 +60,16 @@ dma-names = "tx", "rx"; clock-frequency = <48000000>; }; + + omap3_pmx_core2: pinmux@480025D8 { + compatible = "ti,omap3-padconf", "pinctrl-single"; + reg = <0x480025D8 0x24>; + #address-cells = <1>; + #size-cells = <0>; + #interrupt-cells = <1>; + interrupt-controller; + pinctrl-single,register-width = <16>; + pinctrl-single,function-mask = <0xff1f>; + }; }; };