Re: [PATCH v1] media: rc: Add driver for tango IR decoder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18/09/2017 17:33, Måns Rullgård wrote:

> What have you changed compared to my original code?

I forgot to mention one change you may not approve of, so we should
probably discuss it.

Your driver supported an optional DT property "linux,rc-map-name"
to override the RC_MAP_EMPTY map. Since the IR decoder supports
multiple protocols, I found it odd to specify a scancode map in
something as low-level as the device tree.

I saw only one board using that property:
$ git grep "linux,rc-map-name" arch/
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts:     linux,rc-map-name = "rc-geekbox";

So I removed support for "linux,rc-map-name" and used ir-keytable
to load a given map from user-space, depending on which RC I use.

Mans, Sean, what do you think?

Regards.




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux