Skip to content

Commit 2f2471e

Browse files
committed
Added rule to compile rpmsg-gpio driver in Make and Kconfig
1 parent 661e124 commit 2f2471e

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

drivers/rpmsg/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,15 @@ config RPMSG_PRU
8181

8282
If unsure, say N.
8383

84+
config CONFIG_RPMSG_GPIOHIP_INTERFACE
85+
tristate "A rpmsg driver with gpiochip interface"
86+
default m
87+
depends on RPMSG_VIRTIO
88+
depends on REMOTEPROC
89+
help
90+
This driver provides provides gpiochip inteface which can be accessed
91+
in userspace using libgpiod. You would see a char dev interface in /dev
92+
using this driver. Follow the read me files below for more info:
93+
https://github.com/deebot/Beaglebone-BidirectionBus/tree/dev
94+
8495
endmenu

drivers/rpmsg/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@ obj-$(CONFIG_RPMSG_QCOM_SMD) += qcom_smd.o
99
obj-$(CONFIG_RPMSG_VIRTIO) += virtio_rpmsg_bus.o
1010

1111
obj-$(CONFIG_RPMSG_RPC) += rpmsg-rpc.o
12+
obj-$(CONFIG_RPMSG_GPIOCHIP_INTERFACE) += rpmsg_gpio.o
1213
rpmsg-rpc-y := rpmsg_rpc.o rpmsg_rpc_sysfs.o rpmsg_rpc_dmabuf.o
14+

0 commit comments

Comments
 (0)