Re: [PATCH] media: rc: add keymap for Beelink Mini MXIII remote

From: Rob Herring
Date: Mon Jan 30 2023 - 16:30:32 EST


On Sun, Jan 29, 2023 at 08:38:06AM +0000, Sean Young wrote:
> On Sat, Jan 28, 2023 at 11:11:32AM +0100, Krzysztof Kozlowski wrote:
> > On 28/01/2023 04:41, Christian Hewitt wrote:
> > > Add a keymap and bindings for the simple IR (NEC) remote used with
> > > the Beelink Mini MXIII Android STB device.
> > >
> > > Signed-off-by: Christian Hewitt <christianshewitt@xxxxxxxxx>
> > > ---
> > > .../devicetree/bindings/media/rc.yaml | 1 +
> > > drivers/media/rc/keymaps/Makefile | 1 +
> > > drivers/media/rc/keymaps/rc-beelink-mxiii.c | 54 +++++++++++++++++++
> > > include/media/rc-map.h | 1 +
> > > 4 files changed, 57 insertions(+)
> > > create mode 100644 drivers/media/rc/keymaps/rc-beelink-mxiii.c
> > >
> > > diff --git a/Documentation/devicetree/bindings/media/rc.yaml b/Documentation/devicetree/bindings/media/rc.yaml
> > > index 266f1d5cae51..f390a5d2c82d 100644
> > > --- a/Documentation/devicetree/bindings/media/rc.yaml
> > > +++ b/Documentation/devicetree/bindings/media/rc.yaml
> > > @@ -39,6 +39,7 @@ properties:
> > > - rc-avertv-303
> > > - rc-azurewave-ad-tu700
> > > - rc-beelink-gs1
> > > + - rc-beelink-mxiii
> >
> > Bindings are separate patches. Didn't you get such feedback already?
>
> The only change for new keymaps is an added entry to the rc-map-name enum.
> In the past, new keymaps have been accepted with that single line in the
> same commit.

It's been a checkpatch.pl warning since 2018. The separation is so that
commit messages in the DT only repo[1] make sense.

Rob

[1] https://git.kernel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git/