Re: linusw/devel bisection: baseline.bootrr.mediatek-mt8173-pinctrl-probed on mt8173-elm-hana

From: Linus Walleij
Date: Tue Dec 15 2020 - 07:22:20 EST


On Mon, Dec 14, 2020 at 11:28 PM Guillaume Tucker
<guillaume.tucker@xxxxxxxxxxxxx> wrote:

> Please see the bisection report below about the pinctrl driver
> failing to probe on the arm64 mt8173-elm-hana platform.

That's an excellent, helpful report which helps a lot!
Thank you for doing this!

> This is the error message:
>
> [ 0.051788] gpio gpiochip0: Detected name collision for GPIO name ''
> [ 0.051813] gpio gpiochip0: GPIO name collision on the same chip, this is not allowed, fix all lines on the chip to have unique names
> [ 0.051832] gpiochip_add_data_with_key: GPIOs 377..511 (1000b000.pinctrl) failed to register, -17
> [ 0.051946] mediatek-mt8173-pinctrl: probe of 1000b000.pinctrl failed with error -22

It seems we need to teach the core to ignore the name (empty string).

Yours,
Linus Walleij