media: rc: mtk-cir: add support for MediaTek MT7622 SoC
authorSean Wang <sean.wang@mediatek.com>
Fri, 30 Jun 2017 06:03:06 +0000 (02:03 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 20 Aug 2017 13:38:43 +0000 (09:38 -0400)
commit583899828c607e59f51ce818f8e5de6996ad2ef7
treedf71ddf61a37de291b35bca7ca3d69ee1d401776
parent50c3c1ba171f3f68f2aa820121517deb5211e7ee
media: rc: mtk-cir: add support for MediaTek MT7622 SoC

This patch adds driver for CIR controller on MT7622 SoC. It has similar
handling logic as the previously MT7623 does, but there are some
differences in the register and field definition. So for ease portability
and maintenance, those differences all are being kept inside the platform
data as other drivers usually do. Currently testing successfully on NEC
and SONY remote controller.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/mtk-cir.c