On Sun, Jul 02, 2017 at 12:06:11PM +0100, Sean Young wrote:
> This is a simple bit-banging GPIO IR TX driver.
>
> Signed-off-by: Sean Young <[email protected]>
> ---
> .../devicetree/bindings/leds/irled/gpio-ir-tx.txt | 11 ++
Please make this a separate patch.
> drivers/media/rc/Kconfig | 11 ++
> drivers/media/rc/Makefile | 1 +
> drivers/media/rc/gpio-ir-tx.c | 189
> +++++++++++++++++++++
> 4 files changed, 212 insertions(+)
> create mode 100644
> Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.txt
> create mode 100644 drivers/media/rc/gpio-ir-tx.c
>
> 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..bf4d4fb
> --- /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
> +IR transmitter.
> +
> +Required properties:
> + - compatible: should be "gpio-ir-tx".
gpios property?
> +
> +Example:
> + irled@0 {
> + compatible = "gpio-ir-tx";
> + gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
> + };