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

From: Guillaume Tucker
Date: Wed Dec 16 2020 - 05:11:59 EST


On 15/12/2020 12:20, Linus Walleij wrote:
> 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!

Thanks for the feedback! Glad this helped.

>> 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).

OK great, I see you've sent a patch for that. I'll check if we
can confirm it fixes the issue (something I'd like to also
automate...).

Best wishes,
Guillaume