]> git.ipfire.org Git - thirdparty/u-boot.git/commit
dm: pinctrl: migrate pinctrl-generic to livetree
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 13 Jan 2020 10:34:57 +0000 (11:34 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 17 Apr 2020 03:06:54 +0000 (23:06 -0400)
commite93f39213a3d614a33989878d85724cba30a9deb
tree6e136bae16c2dd0ab940620769ea0bc155856538
parentce891fcada6638c39a0de28f821cfa2b9406440c
dm: pinctrl: migrate pinctrl-generic to livetree

Migrate pinctrl-generic to livetree:
- dev_for_each_property
- dev_read_prop_by_prop
- dev_read_string_count
- dev_read_string_index
and get rid of DECLARE_GLOBAL_DATA_PTR.

This patch solves the parsing issue during sandbox tests 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).

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/pinctrl/pinctrl-generic.c