[PATCH V4 Resend 3/3] mfd: stmpe: Update DT support in stmpe driver
Viresh Kumar
viresh.kumar at linaro.org
Thu Nov 29 20:27:05 EST 2012
On 29 November 2012 14:53, Lee Jones <lee.jones at linaro.org> wrote:
>> From: Vipul Kumar Samar <vipulkumar.samar at st.com>
>> + /*
>> + * Distinct names of same cell-type within multiple instances of stmpe
>> + * will be guaranteed by DT.
>> + */
>> + pdata->id = -1;
>
> And what if we're not booting with DT?
Then it is responsibility of code creating platform data for stmpe to fill
it appropriately. i.e. If there is only one instance of stmpe on board, then
better pass it as -1, else start counting.
More information about the devicetree-discuss
mailing list