Message ID | 580c648de65344e9316ff153ba316efd4d527f12.1499419624.git.sean@mess.org |
---|---|
State | Changes Requested, archived |
Headers | show |
On Fri, Jul 07, 2017 at 10:52:03AM +0100, Sean Young wrote: > Document the device tree bindings for the GPIO Bit Banging IR > Transmitter. > > Signed-off-by: Sean Young <sean@mess.org> > --- > Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.txt | 11 +++++++++++ > 1 file changed, 11 insertions(+) > create mode 100644 Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.txt > > 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..bc08d89 > --- /dev/null > +++ b/Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.txt > @@ -0,0 +1,11 @@ > +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". As I mentioned in the prior version, missing the "gpios" property. > + > +Example: > + irled@0 { > + compatible = "gpio-ir-tx"; > + gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; > + }; > -- > 2.9.4 > > -- > 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 -- 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
On Mon, Jul 10, 2017 at 10:05:38AM -0500, Rob Herring wrote: > On Fri, Jul 07, 2017 at 10:52:03AM +0100, Sean Young wrote: > > Document the device tree bindings for the GPIO Bit Banging IR > > Transmitter. > > > > Signed-off-by: Sean Young <sean@mess.org> > > --- > > Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.txt | 11 +++++++++++ > > 1 file changed, 11 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.txt > > > > 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..bc08d89 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.txt > > @@ -0,0 +1,11 @@ > > +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". > > As I mentioned in the prior version, missing the "gpios" property. Absolutely right. I hadn't gotten round to sending out a new version yet, I'll do that soon. Thanks, Sean -- 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..bc08d89 --- /dev/null +++ b/Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.txt @@ -0,0 +1,11 @@ +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". + +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> --- Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.txt