]> git.dujemihanovic.xyz Git - u-boot.git/commit
gpio: Convert to use APIs which support live DT
authorPatrick Delaunay <patrick.delaunay@st.com>
Wed, 9 Sep 2020 16:26:16 +0000 (18:26 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 1 Dec 2020 15:33:37 +0000 (10:33 -0500)
commit8558217153df685992573e067bd9f95dd4d2ef3a
treeed28fa4195583a077862d40a5644aa935dfd54bc
parentc8e251f82af97562741e51110ed8828a5c5744c6
gpio: Convert to use APIs which support live DT

Use ofnode_ or dev_ APIs instead of fdt_ and fdtdec_ APIs so that the
driver can support live DT.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/gpio/gpio-uclass.c