[U-Boot] [PATCH v2 4/6] dm: pinctrl: Add pinctrl_decode_pin_config_dm().

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Thu Dec 13 22:33:01 UTC 2018


Christoph,

> On 12.12.2018, at 01:57, Christoph Muellner <christoph.muellner at theobroma-systems.com> wrote:
> 
> pinctrl_decode_pin_config_dm() is basically a feature-equivalent
> implementation of pinctrl_decode_pin_config(), which operates
> on struct udevice devices and uses the dev_read_*() API.

Can’t we use pinctrl_generic_set_state and then simply pass a 
struct pinconf_param?  I am not convinced that we need to have
yet-another mechanism in addition to what’s already there...

Thanks,
Philipp.


More information about the U-Boot mailing list