[v4,2/2] arm64: dts: amlogic: add rc-videostrong-kii-pro keymap
diff mbox series

Message ID 20200213221513.28540-3-mohammad.rasim96@gmail.com
State Superseded
Headers show
Series
  • add videostrong kii pro keymap
Related show

Commit Message

Mohammad Rasim Feb. 13, 2020, 10:15 p.m. UTC
videostrong kii pro comes with a nec rc, add the keymap to the dts

Signed-off-by: Mohammad Rasim <mohammad.rasim96@gmail.com>
---
 arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts | 4 ++++
 1 file changed, 4 insertions(+)

--
2.25.0

Comments

Neil Armstrong Feb. 14, 2020, 8:41 a.m. UTC | #1
Hi,

On 13/02/2020 23:15, Mohammad Rasim wrote:
> videostrong kii pro comes with a nec rc, add the keymap to the dts
> 
> Signed-off-by: Mohammad Rasim <mohammad.rasim96@gmail.com>
> ---
>  arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts
> index 2f1f829450a2..6c9cc45fb417 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts
> +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts
> @@ -76,3 +76,7 @@ eth_phy0: ethernet-phy@0 {
>  		};
>  	};
>  };
> +
> +&ir {
> +	linux,rc-map-name = "rc-videostrong-kii-pro";

You should also update Documentation/devicetree/bindings/media/rc.yaml

> +};
> --
> 2.25.0
> 

Thanks,
Neil
Mohammad Rasim Feb. 14, 2020, 8:50 a.m. UTC | #2
On 20/02/14 09:41AM, Neil Armstrong wrote:
> Hi,
>
> On 13/02/2020 23:15, Mohammad Rasim wrote:
> > videostrong kii pro comes with a nec rc, add the keymap to the dts
> >
> > Signed-off-by: Mohammad Rasim <mohammad.rasim96@gmail.com>
> > ---
> >  arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts | 4 ++++
> >  1 file changed, 4 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts
> > index 2f1f829450a2..6c9cc45fb417 100644
> > --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts
> > +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts
> > @@ -76,3 +76,7 @@ eth_phy0: ethernet-phy@0 {
> >  		};
> >  	};
> >  };
> > +
> > +&ir {
> > +	linux,rc-map-name = "rc-videostrong-kii-pro";
>
> You should also update Documentation/devicetree/bindings/media/rc.yaml
>
fixed in v5.
> > +};
> > --
> > 2.25.0
> >
>
> Thanks,
> Neil

Patch
diff mbox series

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts
index 2f1f829450a2..6c9cc45fb417 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts
@@ -76,3 +76,7 @@  eth_phy0: ethernet-phy@0 {
 		};
 	};
 };
+
+&ir {
+	linux,rc-map-name = "rc-videostrong-kii-pro";
+};