Devicetree
 help / color / mirror / Atom feed
From: Hans de Goede <hansg@kernel.org>
To: "Abel Vesa" <abel.vesa@oss.qualcomm.com>,
	"Sebastian Reichel" <sre@kernel.org>,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
	"Bryan O'Donoghue" <bryan.odonoghue@linaro.org>,
	"Bjorn Andersson" <andersson@kernel.org>,
	"Konrad Dybcio" <konradybcio@kernel.org>,
	"Abel Vesa" <abelvesa@kernel.org>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	platform-driver-x86@vger.kernel.org,
	linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH v2 3/4] arm64: dts: qcom: mahua-lenovo-thinkpad-t14s-gen7: Sort the TLMM states by pin number
Date: Wed, 25 Nov 2026 22:45:39 +0100	[thread overview]
Message-ID: <edf25f83-2e1d-4f3f-b263-75d8adc978a5@kernel.org> (raw)
In-Reply-To: <20261123-t14s-gen7-ec-v2-3-3420a6202366@oss.qualcomm.com>

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@oss.qualcomm.com>

Thanks, patch looks good to me:

Reviewed-by: Hans de Goede <johannes.goede@oss.qualcomm.com>

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 {
> 


  parent reply	other threads:[~2026-11-25 21:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23  9:35 [PATCH v2 0/4] platform: arm64: lenovo-thinkpad-t14s: Add support for the Gen 7 EC Abel Vesa
2026-11-23  9:35 ` [PATCH v2 1/4] dt-bindings: embedded-controller: lenovo,thinkpad-t14s-ec: Add Gen 7 support Abel Vesa
2026-11-23  9:35 ` [PATCH v2 2/4] platform: arm64: lenovo-thinkpad-t14s: Add Gen 7 EC support Abel Vesa
2026-11-25 21:45   ` Hans de Goede
2026-11-25 22:04   ` Ilpo Järvinen
2026-11-23  9:35 ` [PATCH v2 3/4] arm64: dts: qcom: mahua-lenovo-thinkpad-t14s-gen7: Sort the TLMM states by pin number Abel Vesa
2026-11-25  9:13   ` Konrad Dybcio
2026-11-25 21:45   ` Hans de Goede [this message]
2026-11-23  9:35 ` [PATCH v2 4/4] arm64: dts: qcom: mahua-lenovo-thinkpad-t14s-gen7: Describe the Embedded Controller Abel Vesa
2026-11-25 21:46   ` Hans de Goede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=edf25f83-2e1d-4f3f-b263-75d8adc978a5@kernel.org \
    --to=hansg@kernel.org \
    --cc=abel.vesa@oss.qualcomm.com \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=bryan.odonoghue@linaro.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sre@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox