From patchwork Fri Aug 10 12:48:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Christophe PLAGNIOL-VILLARD X-Patchwork-Id: 176485 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (unknown [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id D43762C023B for ; Fri, 10 Aug 2012 23:00:28 +1000 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Szoly-0004ja-LH; Fri, 10 Aug 2012 12:57:02 +0000 Received: from 18.mo4.mail-out.ovh.net ([188.165.54.143] helo=mo4.mail-out.ovh.net) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Szolu-0004jM-Ct for linux-arm-kernel@lists.infradead.org; Fri, 10 Aug 2012 12:56:59 +0000 Received: from mail628.ha.ovh.net (b7.ovh.net [213.186.33.57]) by mo4.mail-out.ovh.net (Postfix) with SMTP id 1C67D10500F2 for ; Fri, 10 Aug 2012 14:52:48 +0200 (CEST) Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 10 Aug 2012 14:48:25 +0200 Received: from ns32433.ovh.net (HELO localhost) (plagnioj%jcrosoft.com@213.251.161.87) by ns0.ovh.net with SMTP; 10 Aug 2012 14:48:23 +0200 Date: Fri, 10 Aug 2012 14:48:20 +0200 From: Jean-Christophe PLAGNIOL-VILLARD To: Linus Walleij , linux-arm-kernel@lists.infradead.org X-Ovh-Mailout: 178.32.228.4 (mo4.mail-out.ovh.net) Subject: [PATCH 00/14] ARM: at91: add pinctrl support Message-ID: <20120810124820.GA20557@game.jcrosoft.org> MIME-Version: 1.0 Content-Disposition: inline X-PGP-Key: http://uboot.jcrosoft.org/plagnioj.asc X-PGP-key-fingerprint: 6309 2BBA 16C8 3A07 1772 CC24 DEFC FFA3 279C CE7C User-Agent: Mutt/1.5.20 (2009-06-14) X-Ovh-Tracer-Id: 222646706922105821 X-Ovh-Remote: 213.251.161.87 (ns32433.ovh.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: -100 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeegledrudejucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfhrhhomheplfgvrghnqdevhhhrihhsthhophhhvgcurffntefipffkqffnqdggkffnnfettfffuceophhlrghgnhhiohhjsehjtghrohhsohhfthdrtghomheqnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfjughrpeffhffvuffkgggtuggfsehttdfttddtredv X-Spam-Check: DONE|U 0.5/N X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeegledrudejucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfhrhhomheplfgvrghnqdevhhhrihhsthhophhhvgcurffntefipffkqffnqdggkffnnfettfffuceophhlrghgnhhiohhjsehjtghrohhsohhfthdrtghomheqnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfjughrpeffhffvuffkgggtuggfsehttdfttddtredv X-Spam-Note: CRM114 invocation failed X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [188.165.54.143 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Nicolas Ferre X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org Hi, This patch series introduce the pinctrl on AT91 on all the DT Soc. THe pinctrl is limited to only the DT. Old code still use the custom at91 pin mux api. The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee: Linux 3.6-rc1 (2012-08-02 16:38:10 -0700) are available in the git repository at: git://github.com/at91linux/linux-at91.git j/pinctrl for you to fetch changes up to 7ff6e8b37d1f334ef24b87661c40aaa548dd93f6: MTD: atmel_nand: add pinctrl consumer support (2012-08-10 20:46:24 +0800) ---------------------------------------------------------------- Jean-Christophe PLAGNIOL-VILLARD (14): ARM: at91: gpio: implement request and free at91: regroup gpio and pinctrl under a simple-bus arm: at91: at91sam9x5: fix gpio number per bank ARM: at91: add dummies pinctrl for non dt platform ARM: at91: add pinctrl support arm: at91: dt: at91sam9 add pinctrl support arm: at91: dt: at91sam9 add serial pinctrl support tty: atmel_serial: add pinctrl support arm: at91: dt: sam9m10g45ek: use rts/cts pinctrl group for uart1 arm: at91: dt: sam9263ek: use rts/cts pinctrl group for uart0 arm: at91: dt: sam9g20ek: use rts/cts/dtr/dsr/dcd/ri pinctrl group for uart0 MTD: atmel nand: fix gpio missing request arm: at91: dt: at91sam9 add nand pinctrl support MTD: atmel_nand: add pinctrl consumer support Documentation/devicetree/bindings/gpio/gpio_atmel.txt | 5 + Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt | 84 ++++++++ arch/arm/Kconfig | 1 + arch/arm/boot/dts/at91sam9260.dtsi | 182 +++++++++++++--- arch/arm/boot/dts/at91sam9263.dtsi | 164 +++++++++++---- arch/arm/boot/dts/at91sam9263ek.dts | 1 + arch/arm/boot/dts/at91sam9g15.dtsi | 28 +++ arch/arm/boot/dts/at91sam9g15ek.dts | 16 ++ arch/arm/boot/dts/at91sam9g20ek_common.dtsi | 6 + arch/arm/boot/dts/at91sam9g25.dtsi | 28 +++ arch/arm/boot/dts/at91sam9g25ek.dts | 37 +--- arch/arm/boot/dts/at91sam9g35.dtsi | 28 +++ arch/arm/boot/dts/at91sam9g35ek.dts | 16 ++ arch/arm/boot/dts/at91sam9g45.dtsi | 181 ++++++++++++---- arch/arm/boot/dts/at91sam9m10g45ek.dts | 1 + arch/arm/boot/dts/at91sam9n12.dtsi | 173 +++++++++++++--- arch/arm/boot/dts/at91sam9x25.dtsi | 28 +++ arch/arm/boot/dts/at91sam9x25ek.dts | 16 ++ arch/arm/boot/dts/at91sam9x35.dtsi | 28 +++ arch/arm/boot/dts/at91sam9x35ek.dts | 16 ++ arch/arm/boot/dts/at91sam9x5.dtsi | 179 +++++++++++++--- arch/arm/boot/dts/at91sam9x5ek.dtsi | 47 +++++ arch/arm/configs/at91_dt_defconfig | 1 + arch/arm/mach-at91/Makefile.boot | 4 + arch/arm/mach-at91/at91sam9263.c | 5 + arch/arm/mach-at91/at91sam9g45.c | 6 + arch/arm/mach-at91/at91sam9n12.c | 3 - arch/arm/mach-at91/at91sam9x5.c | 7 - arch/arm/mach-at91/board-dt.c | 2 - arch/arm/mach-at91/gpio.c | 197 ++++-------------- arch/arm/mach-at91/setup.c | 6 +- drivers/mtd/nand/atmel_nand.c | 65 +++++- drivers/pinctrl/Kconfig | 9 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-at91.c | 1448 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/tty/serial/atmel_serial.c | 8 + 36 files changed, 2654 insertions(+), 373 deletions(-) create mode 100644 Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt create mode 100644 arch/arm/boot/dts/at91sam9g15.dtsi create mode 100644 arch/arm/boot/dts/at91sam9g15ek.dts create mode 100644 arch/arm/boot/dts/at91sam9g25.dtsi create mode 100644 arch/arm/boot/dts/at91sam9g35.dtsi create mode 100644 arch/arm/boot/dts/at91sam9g35ek.dts create mode 100644 arch/arm/boot/dts/at91sam9x25.dtsi create mode 100644 arch/arm/boot/dts/at91sam9x25ek.dts create mode 100644 arch/arm/boot/dts/at91sam9x35.dtsi create mode 100644 arch/arm/boot/dts/at91sam9x35ek.dts create mode 100644 arch/arm/boot/dts/at91sam9x5ek.dtsi create mode 100644 drivers/pinctrl/pinctrl-at91.c Best Regards, J. Acked-by: Linus Walleij Acked-by: Linus Walleij Acked-by: Linus Walleij Acked-by: Linus Walleij Acked-by: Linus Walleij Acked-by: Linus Walleij Acked-by: Linus Walleij Acked-by: Linus Walleij Acked-by: Linus Walleij Acked-by: Linus Walleij Acked-by: Artem Bityutskiy Acked-by: Nicolas Ferre Acked-by: Nicolas Ferre Acked-by: Nicolas Ferre Acked-by: Nicolas Ferre Acked-by: Nicolas Ferre Acked-by: Nicolas Ferre Acked-by: Nicolas Ferre