Skip to content

Commit 613d368

Browse files
committed
BeagleBone pinmux helper
Authors: Pantelis Antoniou <[email protected]> Charles Steinkuehler <[email protected]> Jason Kridner <[email protected]> Robert Nelson <[email protected]> Tobias Müller <[email protected]> Matthijs van Duin <[email protected]> This patch was derived from 19 commits: https://github.com/RobertCNelson/linux-dev/tree/35e301ae8436e9f56f65bf1a7440021eda42f948/patches/drivers/ti/gpio Signed-off-by: Robert Nelson <[email protected]>
1 parent a1859c0 commit 613d368

File tree

11 files changed

+751
-3
lines changed

11 files changed

+751
-3
lines changed

drivers/gpio/Kconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,20 @@ config GPIO_SYSFS
7373
Kernel drivers may also request that a particular GPIO be
7474
exported to userspace; this can be useful when debugging.
7575

76+
config GPIO_OF_HELPER
77+
bool "GPIO OF helper device (EXPERIMENTAL)"
78+
depends on OF_GPIO
79+
help
80+
Say Y here to add an GPIO OF helper driver
81+
82+
Allows you specify a GPIO helper based on OF
83+
which allows simple export of GPIO functionality
84+
in user-space.
85+
86+
Features include, value set/get, direction control,
87+
interrupt/value change poll support, event counting
88+
and others.
89+
7690
config GPIO_GENERIC
7791
depends on HAS_IOMEM # Only for IOMEM drivers
7892
tristate

drivers/gpio/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ obj-$(CONFIG_GPIOLIB) += gpiolib-devprop.o
1010
obj-$(CONFIG_OF_GPIO) += gpiolib-of.o
1111
obj-$(CONFIG_GPIO_SYSFS) += gpiolib-sysfs.o
1212
obj-$(CONFIG_GPIO_ACPI) += gpiolib-acpi.o
13+
obj-$(CONFIG_GPIO_OF_HELPER) += gpio-of-helper.o
1314

1415
# Device drivers. Generally keep list sorted alphabetically
1516
obj-$(CONFIG_GPIO_GENERIC) += gpio-generic.o

0 commit comments

Comments
 (0)