Skip to content

Commit 2242ddf

Browse files
Mani-SadhasivamLinus Walleij
authored andcommitted
pinctrl: actions: Add Actions S900 pinctrl driver
Add pinctrl driver for Actions Semi S900 SoC. The driver supports pinctrl, pinmux and pinconf functionalities through a range of registers common to both gpio driver and pinctrl driver. Pinmux functionality is available only for the pin groups while the pinconf functionality is available for both pin groups and individual pins. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 4e21264 commit 2242ddf

7 files changed

Lines changed: 2604 additions & 0 deletions

File tree

‎drivers/pinctrl/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,7 @@ config PINCTRL_OCELOT
337337
select GENERIC_PINMUX_FUNCTIONS
338338
select REGMAP_MMIO
339339

340+
source "drivers/pinctrl/actions/Kconfig"
340341
source "drivers/pinctrl/aspeed/Kconfig"
341342
source "drivers/pinctrl/bcm/Kconfig"
342343
source "drivers/pinctrl/berlin/Kconfig"

‎drivers/pinctrl/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ obj-$(CONFIG_PINCTRL_INGENIC) += pinctrl-ingenic.o
4343
obj-$(CONFIG_PINCTRL_RK805) += pinctrl-rk805.o
4444
obj-$(CONFIG_PINCTRL_OCELOT) += pinctrl-ocelot.o
4545

46+
obj-y += actions/
4647
obj-$(CONFIG_ARCH_ASPEED) += aspeed/
4748
obj-y += bcm/
4849
obj-$(CONFIG_PINCTRL_BERLIN) += berlin/

‎drivers/pinctrl/actions/Kconfig‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
config PINCTRL_OWL
2+
bool
3+
depends on (ARCH_ACTIONS || COMPILE_TEST) && OF
4+
select PINMUX
5+
select PINCONF
6+
select GENERIC_PINCONF
7+
8+
config PINCTRL_S900
9+
bool "Actions Semi S900 pinctrl driver"
10+
select PINCTRL_OWL
11+
help
12+
Say Y here to enable Actions Semi S900 pinctrl driver

‎drivers/pinctrl/actions/Makefile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
obj-$(CONFIG_PINCTRL_OWL) += pinctrl-owl.o
2+
obj-$(CONFIG_PINCTRL_S900) += pinctrl-s900.o

0 commit comments

Comments
 (0)