Re: [PATCH v2 3/4] arm64: dts: qcom: mahua-lenovo-thinkpad-t14s-gen7: Sort the TLMM states by pin number
From: Hans de Goede
Date: Wed Nov 25 2026 - 16:45:57 EST
Hi,
On 23-Nov-26 10:35, Abel Vesa wrote:
> The TLMM pin states of the T14s Gen 7 are ordered by node name, while
> Qualcomm board files order them by the GPIO they configure. Sort them
> by pin number so that new states have an obvious place to go.
>
> No functional change.
>
> Signed-off-by: Abel Vesa <abel.vesa@xxxxxxxxxxxxxxxx>
Thanks, patch looks good to me:
Reviewed-by: Hans de Goede <johannes.goede@xxxxxxxxxxxxxxxx>
Regards,
Hans
> ---
> .../qcom/mahua-lenovo-thinkpad-t14s-gen7-lcd.dts | 102 ++++++++++-----------
> 1 file changed, 51 insertions(+), 51 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/mahua-lenovo-thinkpad-t14s-gen7-lcd.dts b/arch/arm64/boot/dts/qcom/mahua-lenovo-thinkpad-t14s-gen7-lcd.dts
> index 26d6d8285e04..9bda86f82a99 100644
> --- a/arch/arm64/boot/dts/qcom/mahua-lenovo-thinkpad-t14s-gen7-lcd.dts
> +++ b/arch/arm64/boot/dts/qcom/mahua-lenovo-thinkpad-t14s-gen7-lcd.dts
> @@ -987,6 +987,12 @@ &tlmm {
> <44 4>, /* TPM */
> <139 1>; /* TZ trigger */
>
> + tpad_default: tpad-default-state {
> + pins = "gpio3";
> + function = "gpio";
> + bias-disable;
> + };
> +
> edp_bl_en: edp-bl-en-state {
> pins = "gpio18";
> function = "gpio";
> @@ -1001,6 +1007,12 @@ edp_bl_reg_en: edp-bl-reg-en-state {
> bias-disable;
> };
>
> + kybd_default: kybd-default-state {
> + pins = "gpio67";
> + function = "gpio";
> + bias-disable;
> + };
> +
> edp_reg_en: edp-reg-en-state {
> pins = "gpio70";
> function = "gpio";
> @@ -1008,24 +1020,32 @@ edp_reg_en: edp-reg-en-state {
> bias-disable;
> };
>
> + hall_int_n_default: hall-int-n-state {
> + pins = "gpio92";
> + function = "gpio";
> + bias-disable;
> + };
> +
> + wcn_sw_en: wcn-sw-en-state {
> + pins = "gpio94";
> + function = "gpio";
> + drive-strength = <2>;
> + bias-disable;
> + };
> +
> + wcn_wlan_bt_en: wcn-wlan-bt-en-state {
> + pins = "gpio116", "gpio117";
> + function = "gpio";
> + drive-strength = <2>;
> + bias-disable;
> + };
> +
> edp0_hpd_default: edp0-hpd-default-state {
> pins = "gpio119";
> function = "edp0_hot";
> bias-disable;
> };
>
> - hall_int_n_default: hall-int-n-state {
> - pins = "gpio92";
> - function = "gpio";
> - bias-disable;
> - };
> -
> - kybd_default: kybd-default-state {
> - pins = "gpio67";
> - function = "gpio";
> - bias-disable;
> - };
> -
> pcie4_default: pcie4-default-state {
> clkreq-n-pins {
> pins = "gpio147";
> @@ -1049,29 +1069,6 @@ wake-n-pins {
> };
> };
>
> - pcie5_default: pcie5-default-state {
> - clkreq-n-pins {
> - pins = "gpio153";
> - function = "pcie5_clk_req_n";
> - drive-strength = <2>;
> - bias-pull-up;
> - };
> -
> - perst-n-pins {
> - pins = "gpio152";
> - function = "gpio";
> - drive-strength = <2>;
> - bias-disable;
> - };
> -
> - wake-n-pins {
> - pins = "gpio154";
> - function = "gpio";
> - drive-strength = <2>;
> - bias-pull-up;
> - };
> - };
> -
> pcie6_default: pcie6-default-state {
> clkreq-n-pins {
> pins = "gpio150";
> @@ -1095,24 +1092,27 @@ wake-n-pins {
> };
> };
>
> - tpad_default: tpad-default-state {
> - pins = "gpio3";
> - function = "gpio";
> - bias-disable;
> - };
> + pcie5_default: pcie5-default-state {
> + clkreq-n-pins {
> + pins = "gpio153";
> + function = "pcie5_clk_req_n";
> + drive-strength = <2>;
> + bias-pull-up;
> + };
>
> - wcn_wlan_bt_en: wcn-wlan-bt-en-state {
> - pins = "gpio116", "gpio117";
> - function = "gpio";
> - drive-strength = <2>;
> - bias-disable;
> - };
> + perst-n-pins {
> + pins = "gpio152";
> + function = "gpio";
> + drive-strength = <2>;
> + bias-disable;
> + };
>
> - wcn_sw_en: wcn-sw-en-state {
> - pins = "gpio94";
> - function = "gpio";
> - drive-strength = <2>;
> - bias-disable;
> + wake-n-pins {
> + pins = "gpio154";
> + function = "gpio";
> + drive-strength = <2>;
> + bias-pull-up;
> + };
> };
>
> wwan_reg_en: wwan-reg-en-state {
>