Re: [PATCH v4 2/2] pinctrl: qcom: Add Molokai TLMM driver

From: Bartosz Golaszewski

Date: Thu Nov 26 2026 - 09:04:06 EST


On Mon, Nov 23, 2026 at 09:33:13PM +0530, Venkat Yadlapati wrote:
> Add the pin controller driver for the TLMM block of the Qualcomm Molokai
> (SM8845) SoC.
>
> The register layout is the one of Kaanapali, but only 35 of the 205 pins
> have the Kaanapali pin functions and the GPIO to PDC wakeup interrupt map
> has no entry in common with Kaanapali, so the Kaanapali driver cannot be
> reused: with its tables, a wake-capable GPIO interrupt on Molokai is
> routed to the wrong PDC input and never fires.
>
> Signed-off-by: Venkat Yadlapati <venkat.yadlapati@xxxxxxxxx>
> ---

...

> + [119] = PINGROUP(119, qdss_cti, _, _, _, _, _, _, _, _, _, egpio),
> + [120] = PINGROUP(120, _, _, _, _, _, _, _, _, _, _, egpio),
> + [121] = PINGROUP(121, i2s1_sck, sdc2_data, tsense_pwm4, _, _, _, _, _, _, _, _),
> + [122] = PINGROUP(122, i2s1_data0, sdc2_data, tsense_pwm5, _, _, _, _, _, _, _, _),
> + [123] = PINGROUP(123, i2s1_ws, sdc2_data, tsense_pwm6, _, _, _, _, _, _, _, _),
> + [124] = PINGROUP(124, i2s1_data1, sdc2_data, audio_ext_mclk1, _, _, _, _, _, _, _, _),
> + [125] = PINGROUP(125, audio_ext_mclk0, sd_write_protect, audio_ref_clk, gcc_gp3, _,
> + atest_usb, _, _, _, _, _),
> + [126] = PINGROUP(126, i2s0_sck, _, _, _, _, _, _, _, _, _, _),
> + [127] = PINGROUP(127, i2s0_data0, _, ddr_pxi2, _, _, _, _, _, _, _, _),

I think this needs gp_mn at slot 2, look at commit dd9ecba27b98 ("pinctrl:
qcom: kaanapali: Add gp_mn mux function") in linux-next.

Thanks,
Bartosz