diff options
-rw-r--r-- | arch/mips/lantiq/xway/Makefile | 2 | ||||
-rw-r--r-- | drivers/gpio/Kconfig | 18 | ||||
-rw-r--r-- | drivers/gpio/Makefile | 2 | ||||
-rw-r--r-- | drivers/gpio/gpio-mm-lantiq.c (renamed from arch/mips/lantiq/xway/gpio_ebu.c) | 0 | ||||
-rw-r--r-- | drivers/gpio/gpio-stp-xway.c (renamed from arch/mips/lantiq/xway/gpio_stp.c) | 0 |
5 files changed, 21 insertions, 1 deletions
diff --git a/arch/mips/lantiq/xway/Makefile b/arch/mips/lantiq/xway/Makefile index edef6c582fce..dc3194f6ee42 100644 --- a/arch/mips/lantiq/xway/Makefile +++ b/arch/mips/lantiq/xway/Makefile | |||
@@ -1 +1 @@ | |||
obj-y := prom.o sysctrl.o clk.o reset.o gpio.o gpio_stp.o gpio_ebu.o dma.o | obj-y := prom.o sysctrl.o clk.o reset.o gpio.o dma.o | ||
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index e03653d69357..8fae07935cd1 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig | |||
@@ -96,6 +96,14 @@ config GPIO_EP93XX | |||
96 | depends on ARCH_EP93XX | 96 | depends on ARCH_EP93XX |
97 | select GPIO_GENERIC | 97 | select GPIO_GENERIC |
98 | 98 | ||
99 | config GPIO_MM_LANTIQ | ||
100 | bool "Lantiq Memory mapped GPIOs" | ||
101 | depends on LANTIQ && SOC_XWAY | ||
102 | help | ||
103 | This enables support for memory mapped GPIOs on the External Bus Unit | ||
104 | (EBU) found on Lantiq SoCs. The gpios are output only as they are | ||
105 | created by attaching a 16bit latch to the bus. | ||
106 | |||
99 | config GPIO_MPC5200 | 107 | config GPIO_MPC5200 |
100 | def_bool y | 108 | def_bool y |
101 | depends on PPC_MPC52xx | 109 | depends on PPC_MPC52xx |
@@ -306,6 +314,16 @@ config GPIO_STMPE | |||
306 | This enables support for the GPIOs found on the STMPE I/O | 314 | This enables support for the GPIOs found on the STMPE I/O |
307 | Expanders. | 315 | Expanders. |
308 | 316 | ||
317 | config GPIO_STP_XWAY | ||
318 | bool "XWAY STP GPIOs" | ||
319 | depends on SOC_XWAY | ||
320 | help | ||
321 | This enables support for the Serial To Parallel (STP) unit found on | ||
322 | XWAY SoC. The STP allows the SoC to drive a shift registers cascade, | ||
323 | that can be up to 24 bit. This peripheral is aimed at driving leds. | ||
324 | Some of the gpios/leds can be auto updated by the soc with dsl and | ||
325 | phy status. | ||
326 | |||
309 | config GPIO_TC3589X | 327 | config GPIO_TC3589X |
310 | bool "TC3589X GPIOs" | 328 | bool "TC3589X GPIOs" |
311 | depends on MFD_TC3589X | 329 | depends on MFD_TC3589X |
diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile index 007f54bd0081..ed1c96db404b 100644 --- a/drivers/gpio/Makefile +++ b/drivers/gpio/Makefile | |||
@@ -30,6 +30,7 @@ obj-$(CONFIG_GPIO_MC33880) += gpio-mc33880.o | |||
30 | obj-$(CONFIG_GPIO_MC9S08DZ60) += gpio-mc9s08dz60.o | 30 | obj-$(CONFIG_GPIO_MC9S08DZ60) += gpio-mc9s08dz60.o |
31 | obj-$(CONFIG_GPIO_MCP23S08) += gpio-mcp23s08.o | 31 | obj-$(CONFIG_GPIO_MCP23S08) += gpio-mcp23s08.o |
32 | obj-$(CONFIG_GPIO_ML_IOH) += gpio-ml-ioh.o | 32 | obj-$(CONFIG_GPIO_ML_IOH) += gpio-ml-ioh.o |
33 | obj-$(CONFIG_GPIO_MM_LANTIQ) += gpio-mm-lantiq.o | ||
33 | obj-$(CONFIG_GPIO_MPC5200) += gpio-mpc5200.o | 34 | obj-$(CONFIG_GPIO_MPC5200) += gpio-mpc5200.o |
34 | obj-$(CONFIG_GPIO_MPC8XXX) += gpio-mpc8xxx.o | 35 | obj-$(CONFIG_GPIO_MPC8XXX) += gpio-mpc8xxx.o |
35 | obj-$(CONFIG_GPIO_MSM_V1) += gpio-msm-v1.o | 36 | obj-$(CONFIG_GPIO_MSM_V1) += gpio-msm-v1.o |
@@ -49,6 +50,7 @@ obj-$(CONFIG_ARCH_SA1100) += gpio-sa1100.o | |||
49 | obj-$(CONFIG_GPIO_SCH) += gpio-sch.o | 50 | obj-$(CONFIG_GPIO_SCH) += gpio-sch.o |
50 | obj-$(CONFIG_GPIO_SODAVILLE) += gpio-sodaville.o | 51 | obj-$(CONFIG_GPIO_SODAVILLE) += gpio-sodaville.o |
51 | obj-$(CONFIG_GPIO_STMPE) += gpio-stmpe.o | 52 | obj-$(CONFIG_GPIO_STMPE) += gpio-stmpe.o |
53 | obj-$(CONFIG_GPIO_STP_XWAY) += gpio-stp-xway.o | ||
52 | obj-$(CONFIG_GPIO_SX150X) += gpio-sx150x.o | 54 | obj-$(CONFIG_GPIO_SX150X) += gpio-sx150x.o |
53 | obj-$(CONFIG_GPIO_TC3589X) += gpio-tc3589x.o | 55 | obj-$(CONFIG_GPIO_TC3589X) += gpio-tc3589x.o |
54 | obj-$(CONFIG_ARCH_TEGRA) += gpio-tegra.o | 56 | obj-$(CONFIG_ARCH_TEGRA) += gpio-tegra.o |
diff --git a/arch/mips/lantiq/xway/gpio_ebu.c b/drivers/gpio/gpio-mm-lantiq.c index b91c7f17f10f..b91c7f17f10f 100644 --- a/arch/mips/lantiq/xway/gpio_ebu.c +++ b/drivers/gpio/gpio-mm-lantiq.c | |||
diff --git a/arch/mips/lantiq/xway/gpio_stp.c b/drivers/gpio/gpio-stp-xway.c index d674f1be237d..d674f1be237d 100644 --- a/arch/mips/lantiq/xway/gpio_stp.c +++ b/drivers/gpio/gpio-stp-xway.c | |||