[U-Boot] [PATCH 04/13] dm: pinctrl: migrate pinctrl-generic to livetree

Simon Glass sjg at chromium.org
Wed Oct 30 01:48:09 UTC 2019


Hi Patrick,

On Wed, 23 Oct 2019 at 07:45, Patrick Delaunay <patrick.delaunay at st.com> wrote:
>
> Migrate pinctrl-generic to livetree:
> - ofnode_get_first_property
> - ofnode_get_next_property
> - ofnode_get_property_by_prop
> - ofnode_read_string_count
> - ofnode_read_string_index
> and get rid of DECLARE_GLOBAL_DATA_PTR.
>
> This solve parsing issue during test in sandbox for pin
> configuration (OF_LIVE is activated in sandbox_defconfig
> and sub node are not correctly parsed in
> pinctrl_generic_set_state_subnode with fdt lib API).
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
>
>  drivers/pinctrl/pinctrl-generic.c | 36 +++++++++++++++----------------
>  1 file changed, 17 insertions(+), 19 deletions(-)
>

It looks like this should use dev_read_...() too.

Regards,
Simon


More information about the U-Boot mailing list