[PATCH v2 0/2] pinctrl: qcom: Add the Molokai TLMM
From: Venkat Yadlapati via B4 Relay
Date: Mon Nov 16 2026 - 02:39:45 EST
Molokai (SM8845) is a Qualcomm SoC derived from Kaanapali (SM8850), found
for example in the Motorola Signature. Its TLMM has the Kaanapali register
layout, but 205 GPIOs instead of 217, different functions on every pin and
a different GPIO to PDC wakeup map. With the Kaanapali tables a
wake-capable GPIO interrupt is routed to the wrong PDC input and never
fires, so this adds a binding and a driver of its own.
The SoC and board devicetree that use it are sent separately in "Add
support for the Qualcomm Molokai (SM8845) and the Motorola Signature".
Tested on the Motorola Signature: the UFS reset, the keys and the GPIO
interrupts that go through the PDC (touchscreen, amplifiers) work.
I used an LLM (Claude) to help write these patches and their commit
messages. I reviewed all of them and tested the result on the device.
---
Changes in v2:
- Binding: indent the example state node consistently.
- Driver: mark egpio as a GPIO function (MSM_GPIO_PIN_FUNCTION) so GPIO
requests on pins muxed to egpio are not rejected.
- Kept the default 3-bit interrupt target field: on Molokai INTR_CFG[11]
reads 0 out of reset and the target resets to 0x7.
- Link to v1: https://patch.msgid.link/20261116-molokai-tlmm-v1-0-3ba4840002cb@xxxxxxxxx
---
Venkat Yadlapati (2):
dt-bindings: pinctrl: qcom: Add Molokai TLMM
pinctrl: qcom: Add Molokai TLMM driver
.../bindings/pinctrl/qcom,molokai-tlmm.yaml | 128 ++
drivers/pinctrl/qcom/Kconfig.msm | 10 +
drivers/pinctrl/qcom/Makefile | 1 +
drivers/pinctrl/qcom/pinctrl-molokai.c | 1679 ++++++++++++++++++++
4 files changed, 1818 insertions(+)
---
base-commit: 7bbad7337a81d1d73559b783280a76a65a9de191
change-id: 20261116-molokai-tlmm-ba0ee416e513
Best regards,
--
Venkat Yadlapati <venkat.yadlapati@xxxxxxxxx>