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: 6372261 Return-Path: X-Original-To: patchwork-linux-omap@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 991F1BEEE1 for ; Sun, 10 May 2015 21:28:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7E6A820382 for ; Sun, 10 May 2015 21:28:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9C11020380 for ; Sun, 10 May 2015 21:28:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751715AbbEJV2R (ORCPT ); Sun, 10 May 2015 17:28:17 -0400 Received: from mail-lb0-f175.google.com ([209.85.217.175]:34189 "EHLO mail-lb0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751550AbbEJV2P (ORCPT ); Sun, 10 May 2015 17:28:15 -0400 Received: by lbcga7 with SMTP id ga7so82338068lbc.1; 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 Cc: Nishanth Menon , Andrey Skvortsov 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 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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>; + }; }; };