media: rc: update sunxi-ir driver to get base clock frequency from devicetree
authorPhilipp Rossak <embed3d@gmail.com>
Tue, 13 Feb 2018 12:29:47 +0000 (07:29 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 21 Mar 2018 15:08:33 +0000 (11:08 -0400)
commit10e712064b0454621d2974cbd353e9d5bebbae4a
tree158a7d049b62ead2e6311967328d4a7f85ef5eec
parent3f127ce11353fd1071cae9b65bc13add6aec6b90
media: rc: update sunxi-ir driver to get base clock frequency from devicetree

This patch updates the sunxi-ir driver to set the base clock frequency from
devicetree.

This is necessary since there are different ir receivers on the
market, that operate with different frequencies. So this value could be
set if the attached ir receiver needs a different base clock frequency,
than the default 8 MHz.

Signed-off-by: Philipp Rossak <embed3d@gmail.com>
Reviewed-by: Andi Shyti <andi.shyti@samsung.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/sunxi-cir.c