Hi Felix,

2017-02-09 18:47 GMT+09:00 Felix Brack <f...@ltec.ch>:
>
>> device_probe()
>
> From 'pinctrl-uclass.c::device_probe()':
>
> ---
> /*
>  * Process pinctrl for everything except the root device, and
>  * continue regardless of the result of pinctrl. Don't process pinctrl
>  * settings for pinctrl devices since the device may not yet be
>  * probed.
>  */
> if (dev->parent && device_get_uclass_id(dev) != UCLASS_PINCTRL)
>         pinctrl_select_state(dev, "default");
> ---
>
> The comment says it all. This is where 'periph' originates.


That's right.
Then, the "dev" in device_probe() represents
the peripheral, such as i2c.

Not a pin-config node, like i2c0_pins.


-- 
Best Regards
Masahiro Yamada
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to