Re: [PATCH v2 1/5] gpio: syscon: allow fetching syscon from parent node
From: Linus Walleij
Date: Wed May 23 2018 - 03:14:47 EST
On Fri, May 18, 2018 at 5:52 AM, <djw@xxxxxxxxxxxxx> wrote:
> From: Heiko Stuebner <heiko@xxxxxxxxx>
>
> Syscon nodes can be a simple-mfd and the syscon-users then be declared
> as children of this node. That way the parent-child structure can be
> better represented for devices that are fully embedded in the syscon.
>
> Therefore allow getting the syscon from the parent if neither
> a special compatible nor a gpio,syscon-dev property is defined.
>
> Signed-off-by: Heiko Stuebner <heiko@xxxxxxxxx>
> Signed-off-by: Levin Du <djw@xxxxxxxxxxxxx>
> ---
>
> Changes in v2: None
> Changes in v1:
> - New: allow fetching syscon from parent node in gpio-syscon driver
Regardless of what happens with the rest of the patches this
looks sane and generally useful, so patch applied!
Yours,
Linus Walleij