pinctrl: sunxi: Add A80 special pin controller
Subsystems (4)
PATCH RESEND 1/1 pinctrl: sunxi: Add A80 special pin controller
From: Maxime Ripard <[email protected]>
Like the previous designs, the A80 has a special pin controller for the critical pins, like the PMIC bus.
Add a driver for this controller.
[wens: Add A80 compatible strings to bindings doc; fix pin function
names based on v1.3 datasheet; constify of_device_id table]
---
Linus, can we have this one included for 4.5?
Thanks
--- .../bindings/pinctrl/allwinner,sunxi-pinctrl.txt | 2 + drivers/pinctrl/sunxi/Kconfig | 5 + drivers/pinctrl/sunxi/Makefile | 1 + drivers/pinctrl/sunxi/pinctrl-sun9i-a80-r.c | 181 +++++++++++++++++++++ 4 files changed, 189 insertions(+) create mode 100644 drivers/pinctrl/sunxi/pinctrl-sun9i-a80-r.c
Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt +2 -0
@@ -18,6 +18,8 @@ Required properties: "allwinner,sun8i-a23-r-pinctrl" "allwinner,sun8i-a33-pinctrl" "allwinner,sun8i-a83t-pinctrl" + "allwinner,sun9i-a80-pinctrl" + "allwinner,sun9i-a80-r-pinctrl" - reg: Should contain the register physical address and length for the pin controller.
drivers/pinctrl/sunxi/Kconfig +5 -0
@@ -55,4 +55,9 @@ config PINCTRL_SUN9I_A80 def_bool MACH_SUN9I select PINCTRL_SUNXI_COMMON +config PINCTRL_SUN9I_A80_R + def_bool MACH_SUN9I + depends on RESET_CONTROLLER + select PINCTRL_SUNXI_COMMON + endif
drivers/pinctrl/sunxi/Makefile +1 -0
@@ -14,3 +14,4 @@ obj-$(CONFIG_PINCTRL_SUN8I_A23_R) += pinctrl-sun8i-a23-r.o obj-$(CONFIG_PINCTRL_SUN8I_A33) += pinctrl-sun8i-a33.o obj-$(CONFIG_PINCTRL_SUN8I_A83T) += pinctrl-sun8i-a83t.o obj-$(CONFIG_PINCTRL_SUN9I_A80) += pinctrl-sun9i-a80.o +obj-$(CONFIG_PINCTRL_SUN9I_A80_R) += pinctrl-sun9i-a80-r.o
drivers/pinctrl/sunxi/pinctrl-sun9i-a80-r.c new file +181 -0
181 lines not on this page · raw message
Signature · 1 line
2.6.4
Quoted 7 lines · Chen-Yu Tsai
From: Maxime Ripard <[email protected]>
Like the previous designs, the A80 has a special pin controller for the critical pins, like the PMIC bus.
Add a driver for this controller.
Quoted 8 lines
Signed-off-by Maxime Ripard <[email protected]>[wens: Add A80 compatible strings to bindings doc; fix pin function
names based on v1.3 datasheet; constifyof_device_idtable]Signed-off-by Chen-Yu Tsai <[email protected]>Acked-by Rob Herring <[email protected]>---
Linus, can we have this one included for 4.5?
Yep. Patch rebased and applied!
Yours,
Linus Walleij