[media] media: rc: gpio-ir-recv: add support for device tree parsing
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Fri, 8 Feb 2013 21:47:30 +0000 (18:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 13 Feb 2013 19:40:23 +0000 (17:40 -0200)
commit2fd7f398d32a0d490d28de75b613263502918e51
treeb11b789538b8cdb40db3b69c92d8b7bb8fcee359
parentb940a2219c9d59171339cc4510462154934fcb49
[media] media: rc: gpio-ir-recv: add support for device tree parsing

This patch adds device tree parsing for gpio_ir_recv platform_data and
the mandatory binding documentation. It basically follows what we already
have for e.g. gpio_keys. All required device tree properties are OS
independent but an optional property allows linux specific support for rc
maps.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/devicetree/bindings/media/gpio-ir-receiver.txt [new file with mode: 0644]
drivers/media/rc/gpio-ir-recv.c