summaryrefslogtreecommitdiffstats
path: root/common/ratp/Kconfig
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-09-12 15:45:46 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-09-17 09:50:41 +0200
commitec9a3703fbd2b80c48c7dce92f97c40fe39f4929 (patch)
tree90c672896cfc930517c65e54905d0aecc25dd0bf /common/ratp/Kconfig
parentde6d3aeec9a590c4eb53a953c8758f183ffeba1e (diff)
downloadbarebox-ec9a3703fbd2b80c48c7dce92f97c40fe39f4929.tar.gz
barebox-ec9a3703fbd2b80c48c7dce92f97c40fe39f4929.tar.xz
ratp: implement support for GPIO commands
Introduce three new RATP commands that allow getting and setting GPIO values as well as configuring the direction of the GPIO pins. Signed-off-by: Aleksander Morgado <aleksander@aleksander.es> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/ratp/Kconfig')
-rw-r--r--common/ratp/Kconfig10
1 files changed, 9 insertions, 1 deletions
diff --git a/common/ratp/Kconfig b/common/ratp/Kconfig
index 4b28d5f9f7..ddbbd955c5 100644
--- a/common/ratp/Kconfig
+++ b/common/ratp/Kconfig
@@ -18,4 +18,12 @@ config RATP_CMD_I2C
depends on I2C
prompt "RATP i2c support"
help
- This option adds support for i2c read/write commands via RATP. \ No newline at end of file
+ This option adds support for i2c read/write commands via RATP.
+
+config RATP_CMD_GPIO
+ bool
+ depends on RATP
+ depends on GENERIC_GPIO
+ prompt "RATP GPIO support"
+ help
+ This option adds support for GPIO get/set/direction commands via RATP. \ No newline at end of file