summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/gpio/gpio-stmpe.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/gpio/gpio-stmpe.txt')
-rw-r--r--dts/Bindings/gpio/gpio-stmpe.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/dts/Bindings/gpio/gpio-stmpe.txt b/dts/Bindings/gpio/gpio-stmpe.txt
new file mode 100644
index 0000000000..a0e4cf8852
--- /dev/null
+++ b/dts/Bindings/gpio/gpio-stmpe.txt
@@ -0,0 +1,18 @@
+STMPE gpio
+----------
+
+Required properties:
+ - compatible: "st,stmpe-gpio"
+
+Optional properties:
+ - st,norequest-mask: bitmask specifying which GPIOs should _not_ be requestable
+ due to different usage (e.g. touch, keypad)
+
+Node name must be stmpe_gpio and should be child node of stmpe node to which it
+belongs.
+
+Example:
+ stmpe_gpio {
+ compatible = "st,stmpe-gpio";
+ st,norequest-mask = <0x20>; //gpio 5 can't be used
+ };