Em Fri, 13 Jul 2018 13:22:29 +0100
Sean Young <s...@mess.org> escreveu:

> The generic pwm-ir-tx driver should work for the Nokia n900.
> 
> Compile tested only.

It would be good to have some tests...

> 
> Cc: Rob Herring <r...@kernel.org>
> Cc: Ivaylo Dimitrov <ivo.g.dimitrov...@gmail.com>
> Cc: Pali Rohár <pali.ro...@gmail.com>
> Cc: Pavel Machek <pa...@ucw.cz>
> Cc: Timo Kokkonen <timo.t.kokko...@iki.fi>
> Cc: Tony Lindgren <t...@atomide.com>

And some acks

Before merging it.

> Signed-off-by: Sean Young <s...@mess.org>
> ---
>  arch/arm/boot/dts/omap3-n900.dts | 2 +-
>  drivers/media/rc/pwm-ir-tx.c     | 1 +
>  2 files changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/omap3-n900.dts 
> b/arch/arm/boot/dts/omap3-n900.dts
> index 182a53991c90..fd12dea15799 100644
> --- a/arch/arm/boot/dts/omap3-n900.dts
> +++ b/arch/arm/boot/dts/omap3-n900.dts
> @@ -154,7 +154,7 @@
>       };
>  
>       ir: n900-ir {
> -             compatible = "nokia,n900-ir";
> +             compatible = "nokia,n900-ir", "pwm-ir-tx";
>               pwms = <&pwm9 0 26316 0>; /* 38000 Hz */
>       };
>  
> diff --git a/drivers/media/rc/pwm-ir-tx.c b/drivers/media/rc/pwm-ir-tx.c
> index 27d0f5837a76..272947b430c8 100644
> --- a/drivers/media/rc/pwm-ir-tx.c
> +++ b/drivers/media/rc/pwm-ir-tx.c
> @@ -30,6 +30,7 @@ struct pwm_ir {
>  };
>  
>  static const struct of_device_id pwm_ir_of_match[] = {
> +     { .compatible = "nokia,n900-ir" },
>       { .compatible = "pwm-ir-tx", },
>       { },
>  };



Thanks,
Mauro

Reply via email to