Re: [PATCH 3/5] pinctrl: qcom: Add SM6350 LPASS LPI TLMM
From: Dmitry Baryshkov
Date: Wed Jan 28 2026 - 17:04:12 EST
On Wed, Jan 28, 2026 at 01:39:21PM +0100, Konrad Dybcio wrote:
> On 1/28/26 1:26 PM, Luca Weiss wrote:
> > Add support for the pin controller block on SM6350 Low Power Island.
> >
> > Signed-off-by: Luca Weiss <luca.weiss@xxxxxxxxxxxxx>
> > ---
>
> [...]
>
> > +static const struct lpi_pingroup sm6350_groups[] = {
> > + LPI_PINGROUP(0, 0, swr_tx_clk, qua_mi2s_sclk, _, _),
> > + LPI_PINGROUP(1, 2, swr_tx_data, qua_mi2s_ws, _, _),
> > + LPI_PINGROUP(2, 4, swr_tx_data, qua_mi2s_data, _, _),
> > + LPI_PINGROUP(3, 8, swr_rx_clk, qua_mi2s_data, _, _),
> > + LPI_PINGROUP(4, 10, swr_rx_data, qua_mi2s_data, _, _),
> > + LPI_PINGROUP(5, 12, swr_rx_data, _, qua_mi2s_data, _),
> > + LPI_PINGROUP(6, LPI_NO_SLEW, dmic1_clk, i2s1_clk, _, _),
> > + LPI_PINGROUP(7, LPI_NO_SLEW, dmic1_data, i2s1_ws, _, _),
> > + LPI_PINGROUP(8, LPI_NO_SLEW, dmic2_clk, i2s1_data, _, _),
> > + LPI_PINGROUP(9, LPI_NO_SLEW, dmic2_data, i2s1_data, _, _),
> > + LPI_PINGROUP(10, 16, i2s2_clk, wsa_swr_clk, _, _),
> > + LPI_PINGROUP(11, 18, i2s2_ws, wsa_swr_data, _, _),
> > + LPI_PINGROUP(12, LPI_NO_SLEW, dmic3_clk, i2s2_data, _, _),
> > + LPI_PINGROUP(13, LPI_NO_SLEW, dmic3_data, i2s2_data, _, _),
> > + LPI_PINGROUP_SLEW_SPARE_1(14, 0, swr_tx_data, _, _, _),
>
> Modulo this odd cookie, it's identical to 8250.. but then it messes with
> all the definitions, so it makes sense to keep it separate
Might be worth to keep it in the same driver...
Anyway,
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
>
> I verified all the functions and slew offsets
>
>
> Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
>
> Konrad
--
With best wishes
Dmitry