Skip to contentSkip to conversation

pinmux: add a driver for the CSR SiRFprimaII pinmux

PATCH New Barry Song 2 participants 2 messages Oct 9, 2011 – Oct 10, 2011 Pin control

lore
Share & tools
lore

Barry Song

author
#0 lore raw

PATCH v3 1/1 pinmux: add a driver for the CSR SiRFprimaII pinmux

From: Rongjun Ying <[email protected]>

---
-v3:
rebase to Linux W's v9;
use preprocessor to shorten pin function lists;

 drivers/pinctrl/Kconfig       |    7 +
 drivers/pinctrl/Makefile      |    1 +
 drivers/pinctrl/pinmux-sirf.c | 1215 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 1223 insertions(+), 0 deletions(-)
 create mode 100644 drivers/pinctrl/pinmux-sirf.c
drivers/pinctrl/Kconfig +7 -0
index 8b3d081..98e013c 100644
@@ -26,6 +26,13 @@ config DEBUG_PINCTRL
 	help
 	  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
 	bool "U300 pinmux driver"
 	depends on ARCH_U300
drivers/pinctrl/Makefile +1 -0
index 63d4241..bdc548a 100644
@@ -4,4 +4,5 @@ ccflags-$(CONFIG_DEBUG_PINMUX)	+= -DDEBUG
 
 obj-$(CONFIG_PINCTRL)		+= core.o
 obj-$(CONFIG_PINMUX)		+= pinmux.o
+obj-$(CONFIG_PINMUX_SIRF)	+= pinmux-sirf.o
 obj-$(CONFIG_PINMUX_U300)	+= pinmux-u300.o
drivers/pinctrl/pinmux-sirf.c new file +1215 -0

1,215 lines not on this page · raw message

Signature · 6 lines
1.7.1



Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Follow CSR on Twitter at http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog