summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dickinson <crazycshore@gmail.com>2011-07-03 03:14:53 +0000
committerDaniel Dickinson <crazycshore@gmail.com>2011-07-03 03:14:53 +0000
commitb0cc0067f9ca5e8245160919ecf3d52a2d5ad0e3 (patch)
tree48daf65578f31e704bd3d3c42a83edc485429dc1
parentf2d749ee15552890ed3272fd0d46e18c7b0a3049 (diff)
downloadmtk-20170518-b0cc0067f9ca5e8245160919ecf3d52a2d5ad0e3.zip
mtk-20170518-b0cc0067f9ca5e8245160919ecf3d52a2d5ad0e3.tar.gz
mtk-20170518-b0cc0067f9ca5e8245160919ecf3d52a2d5ad0e3.tar.bz2
target/patches: Like the earlier mfgpt patch, the new GPIO drivers also require the MFD driver to be present for the BAR's to be mapped.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> SVN-Revision: 27371
-rw-r--r--target/linux/generic/patches-2.6.38/260-geode-mfd.patch11
-rw-r--r--target/linux/generic/patches-2.6.39/260-geode-mfd.patch11
2 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.38/260-geode-mfd.patch b/target/linux/generic/patches-2.6.38/260-geode-mfd.patch
new file mode 100644
index 0000000..5f7630f
--- /dev/null
+++ b/target/linux/generic/patches-2.6.38/260-geode-mfd.patch
@@ -0,0 +1,11 @@
+--- linux-2.6.38.8/drivers/gpio/Kconfig.orig 2011-06-02 19:35:11.000000000 -0600
++++ linux-2.6.38.8/drivers/gpio/Kconfig 2011-06-29 20:05:20.000000000 -0600
+@@ -295,7 +295,7 @@ comment "PCI GPIO expanders:"
+
+ config GPIO_CS5535
+ tristate "AMD CS5535/CS5536 GPIO support"
+- depends on PCI && X86 && !CS5535_GPIO
++ depends on PCI && X86 && !CS5535_GPIO && MFD_CS5535
+ help
+ The AMD CS5535 and CS5536 southbridges support 28 GPIO pins that
+ can be used for quite a number of things. The CS5535/6 is found on
diff --git a/target/linux/generic/patches-2.6.39/260-geode-mfd.patch b/target/linux/generic/patches-2.6.39/260-geode-mfd.patch
new file mode 100644
index 0000000..f67d189
--- /dev/null
+++ b/target/linux/generic/patches-2.6.39/260-geode-mfd.patch
@@ -0,0 +1,11 @@
+--- linux-2.6.39.2/drivers/gpio/Kconfig.orig 2011-06-23 16:06:00.000000000 -0600
++++ linux-2.6.39.2/drivers/gpio/Kconfig 2011-06-29 22:43:23.000000000 -0600
+@@ -298,7 +298,7 @@ comment "PCI GPIO expanders:"
+
+ config GPIO_CS5535
+ tristate "AMD CS5535/CS5536 GPIO support"
+- depends on PCI && X86 && !CS5535_GPIO
++ depends on PCI && X86 && !CS5535_GPIO && MFD_CS5535
+ help
+ The AMD CS5535 and CS5536 southbridges support 28 GPIO pins that
+ can be used for quite a number of things. The CS5535/6 is found on