[U-Boot] [PATCH 04/13] dm: pinctrl: migrate pinctrl-generic to livetree
Patrick DELAUNAY
patrick.delaunay at st.com
Thu Oct 31 14:43:33 UTC 2019
Hi Simon
> From: Simon Glass <sjg at chromium.org>
> Sent: mercredi 30 octobre 2019 02:48
>
> 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.
Yes I miss it.
Thanks
> Regards,
> Simon
Regards
Patrick
More information about the U-Boot
mailing list