[media] rc: sunxi-cir: Add support for the larger fifo found on sun5i and sun6i
authorHans de Goede <hdegoede@redhat.com>
Thu, 20 Nov 2014 15:10:47 +0000 (12:10 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 29 Jan 2015 20:26:31 +0000 (18:26 -0200)
commita4bca4c7ad36a4cdafc87d1dce3758cdccef1ca7
tree57f288efe59227906e53463052d6b70374f14022
parent44f8af68469a9a7c8507fade3e4ca4bba58c2ff1
[media] rc: sunxi-cir: Add support for the larger fifo found on sun5i and sun6i

Add support for the larger fifo found on sun5i and sun6i, having a separate
compatible for the ir found on sun5i & sun6i also is useful if we ever want
to add ir transmit support, because the sun5i & sun6i version do not have
transmit support.

Note this commits also adds checking for the end-of-packet interrupt flag
(which was already enabled), as the fifo-data-available interrupt flag only
gets set when the trigger-level is exceeded. So far we've been getting away
with not doing this because of the low trigger-level, but this is something
which we should have done since day one.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Documentation/devicetree/bindings/media/sunxi-ir.txt
drivers/media/rc/sunxi-cir.c