[PATCH v2 0/2] pinctrl: apple: Add t8140-pinctrl support
flat view
COOLING6d
From: Yureka Lilian <hidden>
Date: 2026-09-26 14:52:15
Also in:
asahi, linux-devicetree, linux-gpio, lkml
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 <redacted> --- Changes in v2: - EDITME: describe what is new in this series revision. - EDITME: use bulletpoints and terse descriptions. - Link to v1: https://patch.msgid.link/20260925-apple-pinctrl-t8140-v1-0-1151bdaf2fff@cyberchaos.dev To: Sven Peter <sven@kernel.org> To: Janne Grunau <j@jannau.net> To: Neal Gompa <neal@gompa.dev> To: Linus Walleij <linusw@kernel.org> To: Rob Herring <robh@kernel.org> To: Krzysztof Kozlowski <krzk+dt@kernel.org> To: Conor Dooley <conor+dt@kernel.org> To: Mark Kettenis <redacted> Cc: asahi@lists.linux.dev Cc: linux-arm-kernel@lists.infradead.org Cc: linux-gpio@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- Yureka Lilian (2): dt-bindings: pinctrl: apple,pinctrl: Add t8140 compatible pinctrl: apple: Add t8140-pinctrl support .../devicetree/bindings/pinctrl/apple,pinctrl.yaml | 12 ++++++++++++ drivers/pinctrl/pinctrl-apple-gpio.c | 21 ++++++++++++++++----- 2 files changed, 28 insertions(+), 5 deletions(-) --- base-commit: 63fcbd85bbb795805ce1014637de186c647fa59d change-id: 20260925-apple-pinctrl-t8140-0e22af416f8c Best regards, -- Yureka Lilian [off-list ref]