Re: [PATCH v2 0/2] pinctrl: apple: Add t8140-pinctrl support

From: Yureka Lilian

Date: Wed Sep 30 2026 - 19:12:17 EST


On 9/30/26 12:03, Krzysztof Kozlowski wrote:
On Sat, Sep 26, 2026 at 04:51:44PM +0200, Yureka Lilian wrote:
This patch series has fixes for probing the pinctrl_ap GPIO controller
on the MacBook Neo. The previous code would crash in the regmap_init on
this device, since reading the REG_GPIOx for certain pins causes an
SError.
To mitigate this, we adapt the gpio-reserved-ranges property to describe
pins which are unusable and whose REG_GPIOx should not be accessed.

Also add the new t8140 base compatible to the dt-bindings, signifying
the different behavior of the t8140 pinctrl_ap device, and make the
driver accept it since it now respects the gpio-reserved-ranges property.

Signed-off-by: Yureka Lilian <yureka@xxxxxxxxxxxxxx>
---
Changes in v2:
- EDITME: describe what is new in this series revision.
- EDITME: use bulletpoints and terse descriptions.
EDITME is here on purpose.

Best regards,
Krzysztof

Sorry about that, I had to send it twice (this is the first version to actually land on the mailing list) and forgot that b4 does the whole auto-increment and add these cover letter entries. Will be more careful and use --preview-to before *every* send starting from next time.

Thank you for understanding,

- Yureka