diff options
Diffstat (limited to 'target/linux/generic/pending-5.10/801-gpio-gpio-cascade-add-generic-GPIO-cascade.patch')
-rw-r--r-- | target/linux/generic/pending-5.10/801-gpio-gpio-cascade-add-generic-GPIO-cascade.patch | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/target/linux/generic/pending-5.10/801-gpio-gpio-cascade-add-generic-GPIO-cascade.patch b/target/linux/generic/pending-5.10/801-gpio-gpio-cascade-add-generic-GPIO-cascade.patch index 8d3b3cf962..af44ff24ac 100644 --- a/target/linux/generic/pending-5.10/801-gpio-gpio-cascade-add-generic-GPIO-cascade.patch +++ b/target/linux/generic/pending-5.10/801-gpio-gpio-cascade-add-generic-GPIO-cascade.patch @@ -68,13 +68,11 @@ v1 -> v2: 3 files changed, 133 insertions(+) create mode 100644 drivers/gpio/gpio-cascade.c -diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig -index 37a6f77c86fe..e69457144459 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig -@@ -1694,4 +1694,19 @@ config GPIO_VIRTIO - - endmenu +@@ -1617,4 +1617,19 @@ config GPIO_MOCKUP + tools/testing/selftests/gpio/gpio-mockup.sh. Reference the usage in + it. +comment "Other GPIO expanders" + @@ -92,11 +90,9 @@ index 37a6f77c86fe..e69457144459 100644 + will be called 'gpio-cascade'. + endif -diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile -index 71ee9fc2ff83..e8945456e7ea 100644 --- a/drivers/gpio/Makefile +++ b/drivers/gpio/Makefile -@@ -45,6 +45,7 @@ obj-$(CONFIG_GPIO_BD9571MWV) += gpio-bd9571mwv.o +@@ -44,6 +44,7 @@ obj-$(CONFIG_GPIO_BD9571MWV) += gpio-bd obj-$(CONFIG_GPIO_BRCMSTB) += gpio-brcmstb.o obj-$(CONFIG_GPIO_BT8XX) += gpio-bt8xx.o obj-$(CONFIG_GPIO_CADENCE) += gpio-cadence.o @@ -104,9 +100,6 @@ index 71ee9fc2ff83..e8945456e7ea 100644 obj-$(CONFIG_GPIO_CLPS711X) += gpio-clps711x.o obj-$(CONFIG_GPIO_SNPS_CREG) += gpio-creg-snps.o obj-$(CONFIG_GPIO_CRYSTAL_COVE) += gpio-crystalcove.o -diff --git a/drivers/gpio/gpio-cascade.c b/drivers/gpio/gpio-cascade.c -new file mode 100644 -index 000000000000..5cbda882d79a --- /dev/null +++ b/drivers/gpio/gpio-cascade.c @@ -0,0 +1,117 @@ @@ -227,6 +220,3 @@ index 000000000000..5cbda882d79a +MODULE_AUTHOR("Mauri Sandberg <maukka@ext.kapsi.fi>"); +MODULE_DESCRIPTION("Generic GPIO cascade"); +MODULE_LICENSE("GPL"); --- -2.25.1 - |