[PATCHv4 0/7] Add pinctrl driver for Allwinner A1X SoCs
Maxime Ripard
maxime.ripard at free-electrons.com
Fri Jan 18 16:30:32 EST 2013
Hi everyone,
This patch set adds a pinctrl driver for the IP found in the Allwinner A10
and A13, and the SoC-specific bits for the A13. It also adds the documentation
for the device tree bindings.
This patch set has been tested on a Olimex A13-Olinuxino.
Thanks,
Maxime
Changes from v3:
- Replaced the bitmasks computation by a define
- Removed the __devinit
- Added boundary check on drive levels
Changes from v2:
- Rebased on top of 3.8-rc2
- Changed the name of the pinconf argument, split the change to
pinconf-generic.h to a separate patch, and documented the argument
Changes from v1:
- Uses the pinconf-generic mechanism
- Changed the dt interface to remove the direct bitstuffing to a more
readable format
- Replaced the register accessor macros by inline functions and documented
them
Maxime Ripard (7):
pinctrl: pinconf-generic: add drive strength parameter
ARM: sunxi: Add pinctrl driver for Allwinner SoCs
ARM: pinctrl: sunxi: Add the pinctrl pin set for sun5i
ARM: sunxi: Add pinctrl node to the device tree
ARM: sunxi: Add uart1 pinctrl groups
tty: of_serial: Add pinctrl support
ARM: sunxi: olinuxino: Add muxing for the uart
.../bindings/pinctrl/allwinner,sunxi-pinctrl.txt | 60 ++
arch/arm/boot/dts/sun5i-a13-olinuxino.dts | 2 +
arch/arm/boot/dts/sun5i-a13.dtsi | 23 +
arch/arm/mach-sunxi/Kconfig | 1 +
drivers/pinctrl/Kconfig | 5 +
drivers/pinctrl/Makefile | 1 +
drivers/pinctrl/pinctrl-sunxi.c | 801 ++++++++++++++++++++
drivers/pinctrl/pinctrl-sunxi.h | 387 ++++++++++
drivers/tty/serial/of_serial.c | 7 +
include/linux/pinctrl/pinconf-generic.h | 3 +
10 files changed, 1290 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt
create mode 100644 drivers/pinctrl/pinctrl-sunxi.c
create mode 100644 drivers/pinctrl/pinctrl-sunxi.h
--
1.7.10.4
More information about the linux-arm-kernel
mailing list