pinctrl: add a driver for the CSR SiRFprimaII pinmux
This creates a pin controller driver for the SiRFprinaII pin mux portions. Signed-off-by: Rongjun Ying <Rongjun.Ying@csr.com> Signed-off-by: Barry Song <Baohua.Song@csr.com> [Fixup for changed function names and semantics in the v10 patch] Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
This commit is contained in:
parent
98da352953
commit
393daa814f
3 changed files with 1223 additions and 0 deletions
|
@ -26,6 +26,13 @@ config DEBUG_PINCTRL
|
||||||
help
|
help
|
||||||
Say Y here to add some extra checks and diagnostics to PINCTRL calls.
|
Say Y here to add some extra checks and diagnostics to PINCTRL calls.
|
||||||
|
|
||||||
|
config PINMUX_SIRF
|
||||||
|
bool "CSR SiRFprimaII pinmux driver"
|
||||||
|
depends on ARCH_PRIMA2
|
||||||
|
select PINMUX
|
||||||
|
help
|
||||||
|
Say Y here to enable the SiRFprimaII pinmux driver
|
||||||
|
|
||||||
config PINMUX_U300
|
config PINMUX_U300
|
||||||
bool "U300 pinmux driver"
|
bool "U300 pinmux driver"
|
||||||
depends on ARCH_U300
|
depends on ARCH_U300
|
||||||
|
|
|
@ -4,4 +4,5 @@ ccflags-$(CONFIG_DEBUG_PINMUX) += -DDEBUG
|
||||||
|
|
||||||
obj-$(CONFIG_PINCTRL) += core.o
|
obj-$(CONFIG_PINCTRL) += core.o
|
||||||
obj-$(CONFIG_PINMUX) += pinmux.o
|
obj-$(CONFIG_PINMUX) += pinmux.o
|
||||||
|
obj-$(CONFIG_PINMUX_SIRF) += pinmux-sirf.o
|
||||||
obj-$(CONFIG_PINMUX_U300) += pinmux-u300.o
|
obj-$(CONFIG_PINMUX_U300) += pinmux-u300.o
|
||||||
|
|
1215
drivers/pinctrl/pinmux-sirf.c
Normal file
1215
drivers/pinctrl/pinmux-sirf.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue