summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/leds/irled/gpio-ir-tx.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/leds/irled/gpio-ir-tx.txt')
-rw-r--r--dts/Bindings/leds/irled/gpio-ir-tx.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/dts/Bindings/leds/irled/gpio-ir-tx.txt b/dts/Bindings/leds/irled/gpio-ir-tx.txt
new file mode 100644
index 0000000000..cbe8dfd297
--- /dev/null
+++ b/dts/Bindings/leds/irled/gpio-ir-tx.txt
@@ -0,0 +1,14 @@
+Device tree bindings for IR LED connected through gpio pin which is used as
+remote controller transmitter.
+
+Required properties:
+ - compatible: should be "gpio-ir-tx".
+ - gpios : Should specify the IR LED GPIO, see "gpios property" in
+ Documentation/devicetree/bindings/gpio/gpio.txt. Active low LEDs
+ should be indicated using flags in the GPIO specifier.
+
+Example:
+ irled@0 {
+ compatible = "gpio-ir-tx";
+ gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
+ };