Re: [PATCH v2] media: rc: gpio-ir-recv: add support for device tree parsing

2013-02-09 Thread Sylwester Nawrocki
On 02/09/2013 01:45 AM, Sebastian Hesselbarth wrote: new file mode 100644 index 000..8589f30 --- /dev/null +++ b/Documentation/devicetree/bindings/media/gpio-ir-receiver.txt @@ -0,0 +1,16 @@ +Device-Tree bindings for GPIO IR receiver + +Required properties: + - compatible = "gpio-ir-receiver"

Re: [PATCH v2] media: rc: gpio-ir-recv: add support for device tree parsing

2013-02-09 Thread Mauro Carvalho Chehab
Em Sat, 09 Feb 2013 01:45:42 +0100 Sebastian Hesselbarth escreveu: > On 02/09/2013 01:03 AM, Mauro Carvalho Chehab wrote: > > Em Fri, 8 Feb 2013 21:38:07 +0100 > > Sebastian Hesselbarth escreveu: > > > >> This patch adds device tree parsing for gpio_ir_recv platform_data and > >> the mandatory

Re: [PATCH v2] media: rc: gpio-ir-recv: add support for device tree parsing

2013-02-08 Thread Sebastian Hesselbarth
On 02/09/2013 01:03 AM, Mauro Carvalho Chehab wrote: Em Fri, 8 Feb 2013 21:38:07 +0100 Sebastian Hesselbarth escreveu: 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

Re: [PATCH v2] media: rc: gpio-ir-recv: add support for device tree parsing

2013-02-08 Thread Mauro Carvalho Chehab
Em Fri, 8 Feb 2013 21:38:07 +0100 Sebastian Hesselbarth escreveu: > 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 > independe

Re: [PATCH v2] media: rc: gpio-ir-recv: add support for device tree parsing

2013-02-08 Thread Sylwester Nawrocki
On 02/08/2013 10:36 PM, Sebastian Hesselbarth wrote: You could also make it: #define gpio_ir_recv_get_devtree_pdata (-ENOSYS) Hmm, does that also play with parameter passing of the CONFIG_OF gpio_ir_recv_get_devtree_pdata() ? Oops, should have been: #define gpio_ir_recv_get_devtree_pdata(de

Re: [PATCH v2] media: rc: gpio-ir-recv: add support for device tree parsing

2013-02-08 Thread Sebastian Hesselbarth
On 02/08/2013 10:26 PM, Sylwester Nawrocki wrote: On 02/08/2013 09:38 PM, Sebastian Hesselbarth wrote: 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 tre

Re: [PATCH v2] media: rc: gpio-ir-recv: add support for device tree parsing

2013-02-08 Thread Sylwester Nawrocki
On 02/08/2013 09:38 PM, Sebastian Hesselbarth wrote: 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 pro