Message ID | 20170711115241.cprjvqirp7pyuhye@gofer.mess.org |
---|---|
State | Not Applicable, archived |
Headers | show |
On Tue, Jul 11, 2017 at 6:52 AM, Sean Young <sean@mess.org> wrote: > Document the device tree bindings for the GPIO Bit Banging IR > Transmitter. > > Signed-off-by: Sean Young <sean@mess.org> > --- > .../devicetree/bindings/leds/irled/gpio-ir-tx.txt | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > create mode 100644 Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.txt Acked-by: Rob Herring <robh@kernel.org> -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.txt b/Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.txt new file mode 100644 index 0000000..cbe8dfd --- /dev/null +++ b/Documentation/devicetree/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>; + };
Document the device tree bindings for the GPIO Bit Banging IR Transmitter. Signed-off-by: Sean Young <sean@mess.org> --- .../devicetree/bindings/leds/irled/gpio-ir-tx.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.txt