diff options
author | Roman Yeryomin <roman@advem.lv> | 2012-11-21 21:49:32 +0200 |
---|---|---|
committer | Roman Yeryomin <roman@advem.lv> | 2013-05-26 00:46:39 +0300 |
commit | 274735f218497c752c07083d451b54319e9c797a (patch) | |
tree | 60820d6af0868ed85429f7d2ad85eda5cc56ffc6 /target/linux/realtek/patches-2.6.30/304-add-rtlgpio.patch | |
parent | 4396286f03b85c3b9994537427d50afb25817087 (diff) |
Add Andrew's gpio patches. Closes #2.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux/realtek/patches-2.6.30/304-add-rtlgpio.patch')
-rw-r--r-- | target/linux/realtek/patches-2.6.30/304-add-rtlgpio.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-2.6.30/304-add-rtlgpio.patch b/target/linux/realtek/patches-2.6.30/304-add-rtlgpio.patch new file mode 100644 index 000000000..45b62390b --- /dev/null +++ b/target/linux/realtek/patches-2.6.30/304-add-rtlgpio.patch @@ -0,0 +1,28 @@ +--- a/drivers/gpio/Makefile 2012-11-05 14:07:42.074262520 +0400 ++++ b/drivers/gpio/Makefile 2012-11-05 14:08:18.327603410 +0400 +@@ -10,5 +10,6 @@ + obj-$(CONFIG_GPIO_PCA953X) += pca953x.o + obj-$(CONFIG_GPIO_PCF857X) += pcf857x.o + obj-$(CONFIG_GPIO_TWL4030) += twl4030-gpio.o +-obj-$(CONFIG_GPIO_XILINX) += xilinx_gpio.o ++obj-$(CONFIG_GPIO_RTL) += rtl_gpio.o + obj-$(CONFIG_GPIO_BT8XX) += bt8xxgpio.o ++ +--- a/drivers/gpio/Kconfig 2012-11-05 14:07:47.534263615 +0400 ++++ b/drivers/gpio/Kconfig 2012-11-05 14:07:58.770932541 +0400 +@@ -73,6 +73,15 @@ + help + Say yes here to support the Xilinx FPGA GPIO device + ++config GPIO_RTL ++ bool "Realtek RTL819x GPIO support" ++ help ++ Say yes here to support the Realtek GPIO found in ++ RTL819x boards. Please note, that this is a hacky ++ backport ++ ++ ++ + comment "I2C GPIO expanders:" + + config GPIO_MAX732X |