[U-Boot] [PATCH 1/2] syscon: update syscon_regmap_lookup_by_phandle
Simon Glass
sjg at chromium.org
Sun Mar 10 21:51:39 UTC 2019
On Thu, 7 Mar 2019 at 01:57, Patrick Delaunay <patrick.delaunay at st.com> wrote:
>
> Change the function syscon_regmap_lookup_by_phandle()
> introduced by commit 6c3af1f24e4b ("syscon: dm: Add a
> new method to get a regmap from DTS") to have
> Linux-compatible syscon API.
>
> Same modification than commit e151a1c288bd ("syscon: add
> Linux-compatible syscon API") solves issue when the node
> identified by the phandle has several compatibles and is
> already bound to a dedicated driver.
>
> See Linux commit bdb0066df96e ("mfd: syscon: Decouple syscon
> interface from platform devices").
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
>
> arch/sandbox/dts/test.dts | 3 +-
> drivers/core/syscon-uclass.c | 83 +++++++++++++++++++++++++++++++-------------
> test/dm/syscon.c | 7 ++++
> 3 files changed, 68 insertions(+), 25 deletions(-)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list