]> git.karo-electronics.de Git - linux-beck.git/commit
media: rc: meson-ir: Add support for newer versions of the IR decoder
authorNeil Armstrong <narmstrong@baylibre.com>
Sat, 20 Aug 2016 09:54:22 +0000 (11:54 +0200)
committerKevin Hilman <khilman@baylibre.com>
Mon, 29 Aug 2016 19:24:40 +0000 (12:24 -0700)
commit6edf27ee25892571d275e2b3945d1b48c68d0476
tree23ad9bbf58763151114e449112847998fdb3e12c
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
media: rc: meson-ir: Add support for newer versions of the IR decoder

Newer SoCs (Meson 8b and GXBB) are using REG2 (offset 0x20) instead of
REG1 to configure the decoder mode. This makes it necessary to
introduce new bindings so the driver knows which register has to be
used.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Tested-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
drivers/media/rc/meson-ir.c