[PATCH] arm64: dts: hikey960: Update HiKey960 with GPIO line names

Linus Walleij linus.walleij at linaro.org
Fri Sep 29 13:42:44 PDT 2017


On Fri, Sep 29, 2017 at 10:30 PM, Linus Walleij
<linus.walleij at linaro.org> wrote:

> This adds line names for all the GPIOs I could identify on the HiKey960
> schematic.
>
> "GPIO-A" through "GPIO-L" are the most important since they give users
> a handle to look up the standard 96boards GPIOs from the GPIO character
> device.
>
> The rest of the names are more informational, nice debug information
> for "lsgpio" so you can see that the right line is taken for the right
> function in the kernel for example.
>
> Cc: Wei Xu <xuwei5 at hisilicon.com>
> Cc: Zhangfei Gao <zhangfei.gao at hisilicon.com>
> Cc: Guodong Xu <guodong.xu at linaro.org>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>

I just noticed that the recently merhed Poplar board has these GPIO
lines named "LS-GPIO-A" etc.

We have to decide for one format. Either "LS-GPIO-A" or just "GPIO-A"
and change all the others (including this patch).

The namespace needs to be consistent across all 96boards.

Wei et al: what do you prefer? I can fix it up either way.

If we want it "LS-GPIO-A" then we need to patch up the old 6220
DTS as well.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list