From: plagnioj@jcrosoft.com (Jean-Christophe PLAGNIOL-VILLARD)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 00/16 v2] ARM: at91: add pinctrl support
Date: Mon, 17 Sep 2012 16:04:23 +0200 [thread overview]
Message-ID: <20120917140423.GA17667@game.jcrosoft.org> (raw)
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.
v2:
- switch to relaxed readl/writel
- fix comment
- update Documentation
The following changes since commit fea7a08acb13524b47711625eebea40a0ede69a0:
Linux 3.6-rc3 (2012-08-22 13:29:06 -0700)
are available in the git repository at:
git://github.com/at91linux/linux-at91.git tags/pinctrl
for you to fetch changes up to b4476c3ac112071f629744a405c913b8fca64991:
MTD: atmel_nand: add pinctrl consumer support (2012-09-17 18:00:43 +0800)
----------------------------------------------------------------
ARM: at91: add pinctrl support
On DT switch from custom pin mux to pinctrl
switch the gpio driver to pinctrl too as on at91 the same API do both
GPIO and pin mux
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (16):
ARM: at91: fix missing #interrupt-cells on gpio-controller
arm: at91: use macro to declare soc boot data
ARM: at91: gpio: implement request
at91: regroup gpio and pinctrl under the same ranges
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 | 136 ++++++++++++
arch/arm/Kconfig | 2 +
arch/arm/boot/dts/at91sam9260.dtsi | 184 ++++++++++++++--
arch/arm/boot/dts/at91sam9263.dtsi | 168 +++++++++++----
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 | 184 ++++++++++++----
arch/arm/boot/dts/at91sam9m10g45ek.dts | 1 +
arch/arm/boot/dts/at91sam9n12.dtsi | 176 +++++++++++++---
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 | 174 ++++++++++++---
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/at91rm9200.c | 4 +-
arch/arm/mach-at91/at91sam9260.c | 7 +-
arch/arm/mach-at91/at91sam9261.c | 4 +-
arch/arm/mach-at91/at91sam9263.c | 9 +-
arch/arm/mach-at91/at91sam9g45.c | 10 +-
arch/arm/mach-at91/at91sam9n12.c | 15 +-
arch/arm/mach-at91/at91sam9rl.c | 4 +-
arch/arm/mach-at91/at91sam9x5.c | 19 +-
arch/arm/mach-at91/board-dt.c | 2 -
arch/arm/mach-at91/gpio.c | 190 +++--------------
arch/arm/mach-at91/setup.c | 6 +-
arch/arm/mach-at91/soc.h | 12 +-
drivers/mtd/nand/atmel_nand.c | 59 +++++-
drivers/pinctrl/Kconfig | 9 +
drivers/pinctrl/Makefile | 1 +
drivers/pinctrl/pinctrl-at91.c | 1490 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/tty/serial/atmel_serial.c | 8 +
41 files changed, 2781 insertions(+), 398 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.
next reply other threads:[~2012-09-17 14:04 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-17 14:04 Jean-Christophe PLAGNIOL-VILLARD [this message]
2012-09-17 15:26 ` [PATCH 01/16] ARM: at91: fix missing #interrupt-cells on gpio-controller Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:26 ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:26 ` [PATCH 02/16] arm: at91: use macro to declare soc boot data Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:26 ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` [PATCH 03/16] ARM: at91: gpio: implement request Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` [PATCH 04/16] at91: regroup gpio and pinctrl under the same ranges Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` [PATCH 05/16] arm: at91: at91sam9x5: fix gpio number per bank Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` [PATCH 06/16] ARM: at91: add dummies pinctrl for non dt platform Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` [PATCH 07/16] ARM: at91: add pinctrl support Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-25 14:59 ` Nicolas Ferre
2012-09-25 14:59 ` Nicolas Ferre
2012-09-17 15:27 ` [PATCH 08/16] arm: at91: dt: at91sam9 " Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` [PATCH 09/16] arm: at91: dt: at91sam9 add serial " Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` [PATCH 10/16] tty: atmel_serial: add " Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` [PATCH 11/16] arm: at91: dt: sam9m10g45ek: use rts/cts pinctrl group for uart1 Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` [PATCH 12/16] arm: at91: dt: sam9263ek: use rts/cts pinctrl group for uart0 Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` [PATCH 13/16] arm: at91: dt: sam9g20ek: use rts/cts/dtr/dsr/dcd/ri " Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` [PATCH 14/16] MTD: atmel nand: fix gpio missing request Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` [PATCH 15/16] arm: at91: dt: at91sam9 add nand pinctrl support Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` [PATCH 16/16] MTD: atmel_nand: add pinctrl consumer support Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 15:27 ` Jean-Christophe PLAGNIOL-VILLARD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120917140423.GA17667@game.jcrosoft.org \
--to=plagnioj@jcrosoft.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.