Skip to content

Commit b1e42eb

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 efda7ec commit b1e42eb

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
@@ -69,6 +69,20 @@ config GPIO_SYSFS
6969
ioctl() operations instead. The character device is always
7070
available.
7171

72+
config GPIO_OF_HELPER
73+
bool "GPIO OF helper device (EXPERIMENTAL)"
74+
depends on OF_GPIO
75+
help
76+
Say Y here to add an GPIO OF helper driver
77+
78+
Allows you specify a GPIO helper based on OF
79+
which allows simple export of GPIO functionality
80+
in user-space.
81+
82+
Features include, value set/get, direction control,
83+
interrupt/value change poll support, event counting
84+
and others.
85+
7286
config GPIO_GENERIC
7387
depends on HAS_IOMEM # Only for IOMEM drivers
7488
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)