[PATCH v3 6/6] ARM: davinci: add enable GPIOs for vpif capture to pdata-quirks

Bartosz Golaszewski bgolaszewski at baylibre.com
Tue Feb 28 01:42:45 PST 2017


2017-02-28 9:49 GMT+01:00 Sekhar Nori <nsekhar at ti.com>:
> On Wednesday 22 February 2017 07:43 PM, Bartosz Golaszewski wrote:
>> On the da850-evm board we need to select the UI expander video capture
>> function to make vpif capture work. Add the relevant GPIOs to the
>> pdata-quirks.
>>
>> Signed-off-by: Bartosz Golaszewski <bgolaszewski at baylibre.com>
>
> Hmm, why do we need this despite enable-gpios in DT ?
>

I didn't look at the exact code path, but if we're using pdata-quirks,
the of_node in struct device passed to vpif_probe is NULL (one of the
reasons why we're not mixing DT and pdata for vpif subdevices
configuration etc.). So it seems that as long as we don't switch over
to DT entirely we need to have the GPIOs here as well.

Thanks,
Bartosz



More information about the linux-arm-kernel mailing list