Skip to content

Add pinctrl driver for Allwinner A1X SoCs

Maxime Ripard linux-arm-kernel linux-devicetree linux-serial lkml 6 versions – In review

Get series with b4
b4 am 1358544639-14761-1-git-send-email-maxime.ripard@free-electrons.com

Versions newest first · linked by author and title

  1. v4 Latest7 patches 8 repliesIn review
  2. v3 posting 3/30 of 7 patches 0 repliesSuperseded
  3. v3 posting 2/30 of 7 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v3 posting 1/37 patches3 repliesSuperseded
v26 patches0 repliesSuperseded
v10 of 6 patches0 repliesSuperseded

Changes in v4 from the cover letter

- Replaced the bitmasks computation by a define
- Removed the __devinit
- Added boundary check on drive levels

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7pinctrl: pinconf-generic: add drive strength parameterinclude/linux/pinctrl/pinconf-generic.h+3 -01 reply
2/7ARM: sunxi: Add pinctrl driver for Allwinner SoCsDocumentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt arch/arm/mach-sunxi/Kconfig drivers/pinctrl/Kconfig +3 more+1002 -03 replies
3/7ARM: pinctrl: sunxi: Add the pinctrl pin set for sun5idrivers/pinctrl/pinctrl-sunxi.c+253 -00 replies
4/7ARM: sunxi: Add pinctrl node to the device treearch/arm/boot/dts/sun5i-a13.dtsi+9 -00 replies
5/7ARM: sunxi: Add uart1 pinctrl groupsarch/arm/boot/dts/sun5i-a13.dtsi+14 -00 replies
6/7tty: of_serial: Add pinctrl supportdrivers/tty/serial/of_serial.c+7 -02 replies
7/7ARM: sunxi: olinuxino: Add muxing for the uartarch/arm/boot/dts/sun5i-a13-olinuxino.dts+2 -02 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchArnd BergmannOlof Johansson
1/7
2/7A-b A-b
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCHv4 0/7] Add pinctrl driver for Allwinner A1X SoCs

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
Signature · 1 line
1.7.10.4