[PATCH v2 01/14] dm: pinctrl: convert pinctrl-single to livetree

Simon Glass sjg at chromium.org
Mon Dec 30 02:21:06 CET 2019


On Tue, 26 Nov 2019 at 01:49, Patrick Delaunay <patrick.delaunay at st.com> wrote:
>
> Convert 'pinctrl-single' using livetree functions
> - dev_read_prop
> - dev_read_u32_default
> - dev_read_u32_array
> - dev_read_bool
> - dev_read_addr
> and get rid of DECLARE_GLOBAL_DATA_PTR.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
>
> Changes in v2:
> - use the dev_ API instead of ofnode_ function.
>
>  drivers/pinctrl/pinctrl-single.c | 27 +++++++++------------------
>  1 file changed, 9 insertions(+), 18 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list