[PATCH 3/3] ARM: imx6q: switch to use pinctrl driver

Dong Aisheng dongas86 at gmail.com
Sun Apr 15 14:03:16 EST 2012


On Sat, Apr 14, 2012 at 9:53 PM, Sascha Hauer <s.hauer at pengutronix.de> wrote:
> On Sat, Apr 14, 2012 at 12:18:35AM +0800, Dong Aisheng wrote:
>> From: Dong Aisheng <dong.aisheng at linaro.org>
>>
>> ---
>> This patch is used for test the new pinctrl driver.
>
> Then please test it with i.MX35, i.MX5...
>
>>
>> +     imx_data->p = pinctrl_get_select_default(&pdev->dev);
>> +     if (IS_ERR(imx_data->p)) {
>> +             err = PTR_ERR(imx_data->p);
>> +             goto pin_err;
>> +     }
>> +
>
> ... which will fail here.
Sorry, it will not work, it's not a formal patch.
I just sent it quickly for users to try on imx6q.
For MX3 and MX5, before their pinctrl driver are available, user may
need to define a dummy in dt to avoid such an error.

Regards
Dong Aisheng


More information about the devicetree-discuss mailing list