All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Refactor of ARM64 sunxi pinctrl enabling and add A64 R_PIO driver
@ 2017-03-01 18:01 ` Icenowy Zheng
  0 siblings, 0 replies; 31+ messages in thread
From: Icenowy Zheng @ 2017-03-01 18:01 UTC (permalink / raw)
  To: Linus Walleij, Rob Herring, Maxime Ripard, Chen-Yu Tsai,
	Catalin Marinas, Will Deacon, Andre Przywara
  Cc: linux-gpio, Icenowy Zheng, linux-kernel, linux-arm-kernel, devicetree

Nearly all Allwinner SoCs need a per-SoC pinctrl driver, some will need one
more for the R_PIO pin controller.

This patchset try to refactor the enabling method of pinctrl drivers for
64-bit Allwinner SoCs, to prevent furthur change of Kconfig.platforms when
adding new SoC support.

Thus, the R_PIO pin controller driver for A64 will be added, and use the
new method to get it enabled when building 64-bit sunxi kernel.

The first patch makes the default value of pinctrl drivers about 64-bit
Allwinner SoCs (ARM64 && ARCH_SUNXI), which means 64-bit Allwinner SoCs.

The second patch then clean up Kconfig.platforms. It must be applied after
the first one, otherwise newly built 64-bit Allwinner kernel will have no
pinctrl drivers and become unusable.

The third patch is only a small fix for a typo in H5 generic pinctrl
compatible.

The fourth patch adds compatible for A64 R_PIO pin controller.

The fifth patch really introduces the A64 R_PIO pin controller driver,
it still cannot be enabled in device tree, as we lack the R_CCU driver.

Icenowy Zheng (5):
  pinctrl: sunxi: refactor pinctrl choice selecting for ARM64
  arm64: only select PINCTRL for Allwinner platforms
  dt-bindings: fix for Allwinner H5 pinctrl's compatible
  dt: bindings: add binding for Allwinner A64 R_PIO pinctrl
  pinctrl: sunxi: Add A64 R_PIO controller support

 .../bindings/pinctrl/allwinner,sunxi-pinctrl.txt   |   3 +-
 arch/arm64/Kconfig.platforms                       |   1 -
 drivers/pinctrl/sunxi/Kconfig                      |  12 +-
 drivers/pinctrl/sunxi/Makefile                     |   1 +
 drivers/pinctrl/sunxi/pinctrl-sun50i-a64-r.c       | 125 +++++++++++++++++++++
 5 files changed, 136 insertions(+), 6 deletions(-)
 create mode 100644 drivers/pinctrl/sunxi/pinctrl-sun50i-a64-r.c

-- 
2.11.1

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2017-03-20  9:13 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-01 18:01 [PATCH v2 0/5] Refactor of ARM64 sunxi pinctrl enabling and add A64 R_PIO driver Icenowy Zheng
2017-03-01 18:01 ` Icenowy Zheng
2017-03-01 18:01 ` [PATCH v2 1/5] pinctrl: sunxi: refactor pinctrl choice selecting for ARM64 Icenowy Zheng
2017-03-01 18:01   ` Icenowy Zheng
2017-03-02  8:25   ` Maxime Ripard
2017-03-02  8:25     ` Maxime Ripard
2017-03-02  8:25     ` Maxime Ripard
2017-03-14 13:09   ` Linus Walleij
2017-03-14 13:09     ` Linus Walleij
2017-03-14 13:09     ` Linus Walleij
2017-03-01 18:01 ` [PATCH v2 2/5] arm64: only select PINCTRL for Allwinner platforms Icenowy Zheng
2017-03-01 18:01   ` Icenowy Zheng
2017-03-14 13:12   ` Linus Walleij
2017-03-14 13:12     ` Linus Walleij
2017-03-14 13:12     ` Linus Walleij
2017-03-20  9:09     ` Maxime Ripard
2017-03-20  9:09       ` Maxime Ripard
2017-03-20  9:09       ` Maxime Ripard
2017-03-01 18:01 ` [PATCH v2 3/5] dt-bindings: fix for Allwinner H5 pinctrl's compatible Icenowy Zheng
2017-03-01 18:01   ` Icenowy Zheng
2017-03-02  8:26   ` Maxime Ripard
2017-03-02  8:26     ` Maxime Ripard
2017-03-02  8:26     ` Maxime Ripard
2017-03-14 13:11   ` Linus Walleij
2017-03-14 13:11     ` Linus Walleij
2017-03-14 13:11     ` Linus Walleij
2017-03-01 18:01 ` [PATCH v2 4/5] dt: bindings: add binding for Allwinner A64 R_PIO pinctrl Icenowy Zheng
2017-03-01 18:01   ` Icenowy Zheng
2017-03-14 13:11   ` Linus Walleij
2017-03-14 13:11     ` Linus Walleij
2017-03-14 13:11     ` Linus Walleij

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.