Re: [PATCH v4 2/2] pinctrl: qcom: Add Molokai TLMM driver
From: Konrad Dybcio
Date: Thu Nov 26 2026 - 09:07:08 EST
On 23-Nov-26 17:03, Venkat Yadlapati via B4 Relay wrote:
> From: Venkat Yadlapati <venkat.yadlapati@xxxxxxxxx>
>
> 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>
> ---
[...]
> +/* Every pin is maintained as a single group, and missing or non-existing pin
> + * would be maintained as dummy group to synchronize pin group index with
> + * pin descriptor registered with pinctrl core.
> + * Clients would not be able to request these dummy pin groups.
> + */
Please drop this comment
Feedback from an LLM with doc access:
- Add gp_mn on GPIO127 at mux 2.
- Add gp_pdm_mira on GPIO35, GPIO146 and GPIO147 at mux 2.
- Add gp_pdm_mirb on GPIO63 and GPIO72 at mux 2, and GPIO88
at mux 4. Keep each mirror route under one function; do not
create per-lane functions.
- Add RFFE0 on GPIO138/139 at mux 1, RFFE1 on GPIO140/141 at
mux 1, and RFFE2 on GPIO142/143 at mux 1 (Konrad: maybe
let's keep them all named rffe?)
- Add grfc on GPIO79/85 at mux 1, GPIO138-143 at mux 2,
GPIO144/145 at mux 1, GPIO150/151 at mux 1, and GPIO152 at
mux 2.
- Keep qup2_se5 on GPIO17 at mux 2 for function qup2_se5_l3.
Add a distinct qup2_se5_l6 selector on GPIO17
at mux 3.
- Keep qup1_se5_mirb on GPIO202/203 at mux 1 for functions
qup1_se5_l0_mirb and qup1_se5_l1_mirb. Add distinct
qup1_se5_l2_mirb on GPIO202 and qup1_se5_l3_mirb on GPIO203
at mux 2.
Konrad