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

Andrew Jeffery andrew at aj.id.au
Thu Feb 13 11:54:36 AEDT 2020



On Mon, 10 Feb 2020, at 12:59, Joel Stanley wrote:
> On Thu, 6 Feb 2020 at 17:03, Andrew Geissler <geissonator at gmail.com> wrote:
> >
> > From: Andrew Geissler <geissonator at yahoo.com>
> >
> > 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 at yahoo.com>
> 
> Reviewed-by: Joel Stanley <joel at jms.id.au>
> 
> 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 at aj.id.au>

Andrew


More information about the Linux-aspeed mailing list