[U-Boot] [PATCH v2] Add single register pin controller driver

James james at balean.com.au
Fri Feb 17 04:08:01 UTC 2017


Hi All,

I have been following this work. Masahiro, perhaps have another look at
pinctrl_select_state_simple (drivers/pinctrl/pinctrl-uclass.c) as this
could be where the confusion lies. This function calls set_state_simple
operation with the pinctrl node as the first 'dev' parameter, and the
former 'dev' as the second 'periph' parameter.

My testing indicates that this patch results in the correct pinmux setup. I
have added support for 8 and 16 bit register widths, and will contribute
this to Felix.


Kind regards,
James


More information about the U-Boot mailing list