Re: [PATCH 1/2] pinctrl: tegra: define GPIO compatible node per SoC

From: Linus Walleij
Date: Sun Jul 29 2018 - 17:37:55 EST


On Thu, Jul 26, 2018 at 5:40 PM Stefan Agner <stefan@xxxxxxxx> wrote:

> Tegra 2 uses a different GPIO controller which uses "tegra20-gpio" as
> compatible string.
>
> Make the compatible string the GPIO node is using a SoC specific
> property. This prevents the kernel from registering the GPIO range
> twice in case the GPIO range is specified in the device tree.
>
> Fixes: 9462510ce31e ("pinctrl: tegra: Only set the gpio range if needed")
> Signed-off-by: Stefan Agner <stefan@xxxxxxxx>

Patch applied.

Yours,
Linus Walleij