Re: [PATCH v3] ARM: dts: aspeed: witherspoon: Add gpio line names

From: Andrew Jeffery
Date: Wed Feb 12 2020 - 19:54:55 EST




On Mon, 10 Feb 2020, at 12:59, Joel Stanley wrote:
> On Thu, 6 Feb 2020 at 17:03, Andrew Geissler <geissonator@xxxxxxxxx> wrote:
> >
> > From: Andrew Geissler <geissonator@xxxxxxxxx>
> >
> > Name the GPIOs to help userspace work with them. The names describe the
> > functionality the lines provide, not the net or ball name. This makes it
> > easier to share userspace code across different systems and makes the
> > use of the lines more obvious.
> >
> > Signed-off-by: Andrew Geissler <geissonator@xxxxxxxxx>
>
> Reviewed-by: Joel Stanley <joel@xxxxxxxxx>
>
> I will wait for Andrew before merging, but this looks good to me.

To the best of my knowledge this is the only supported approach.

I haven't checked the mapping of gpio lines to functions, but for
the concept:

Acked-by: Andrew Jeffery <andrew@xxxxxxxx>

Andrew