Devicetree
 help / color / mirror / Atom feed
From: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>,
	Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
	Manivannan Sadhasivam <mani@kernel.org>
Subject: [PATCH 15/18] arm64: dts: qcom: lemans: Fix PCIe wake GPIO polarity
Date: Thu, 21 May 2026 18:36:48 +0530	[thread overview]
Message-ID: <20260521-wake-v1-15-d822567be258@oss.qualcomm.com> (raw)
In-Reply-To: <20260521-wake-v1-0-d822567be258@oss.qualcomm.com>

The PCIe WAKE# signal is active-low as defined in the PCIe Base
Specification. Fix the wake-gpios polarity by using GPIO_ACTIVE_LOW
instead of GPIO_ACTIVE_HIGH.

Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
---
 arch/arm64/boot/dts/qcom/lemans-evk.dts          | 4 ++--
 arch/arm64/boot/dts/qcom/lemans-ride-common.dtsi | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/lemans-evk.dts b/arch/arm64/boot/dts/qcom/lemans-evk.dts
index c665db6a4595..fe9a2cd325d4 100644
--- a/arch/arm64/boot/dts/qcom/lemans-evk.dts
+++ b/arch/arm64/boot/dts/qcom/lemans-evk.dts
@@ -703,7 +703,7 @@ &mdss0_dp1_phy {
 
 &pcie0 {
 	perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
-	wake-gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
+	wake-gpios = <&tlmm 0 GPIO_ACTIVE_LOW>;
 
 	pinctrl-0 = <&pcie0_default_state>;
 	pinctrl-names = "default";
@@ -720,7 +720,7 @@ &pcie0_phy {
 
 &pcie1 {
 	perst-gpios = <&tlmm 4 GPIO_ACTIVE_LOW>;
-	wake-gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
+	wake-gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
 
 	pinctrl-0 = <&pcie1_default_state>;
 	pinctrl-names = "default";
diff --git a/arch/arm64/boot/dts/qcom/lemans-ride-common.dtsi b/arch/arm64/boot/dts/qcom/lemans-ride-common.dtsi
index 31bd00546d55..3a6d73b485a9 100644
--- a/arch/arm64/boot/dts/qcom/lemans-ride-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/lemans-ride-common.dtsi
@@ -854,7 +854,7 @@ wake-pins {
 
 &pcie0 {
 	perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
-	wake-gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
+	wake-gpios = <&tlmm 0 GPIO_ACTIVE_LOW>;
 
 	pinctrl-names = "default";
 	pinctrl-0 = <&pcie0_default_state>;
@@ -864,7 +864,7 @@ &pcie0 {
 
 &pcie1 {
 	perst-gpios = <&tlmm 4 GPIO_ACTIVE_LOW>;
-	wake-gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
+	wake-gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
 
 	pinctrl-names = "default";
 	pinctrl-0 = <&pcie1_default_state>;

-- 
2.34.1


  parent reply	other threads:[~2026-05-21 13:07 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-21 13:06 [PATCH 00/18] arm64: dts: qcom: Fix PCIe wake GPIO polarity Krishna Chaitanya Chundru
2026-05-21 13:06 ` [PATCH 01/18] ARM: dts: qcom: sdx55: " Krishna Chaitanya Chundru
2026-05-21 13:06 ` [PATCH 02/18] arm64: dts: qcom: msm8996: " Krishna Chaitanya Chundru
2026-05-21 13:06 ` [PATCH 03/18] arm64: dts: qcom: sdm845: " Krishna Chaitanya Chundru
2026-05-21 13:06 ` [PATCH 04/18] arm64: dts: qcom: sc8180x: " Krishna Chaitanya Chundru
2026-05-21 13:06 ` [PATCH 05/18] arm64: dts: qcom: sm8150: " Krishna Chaitanya Chundru
2026-05-21 13:42   ` sashiko-bot
2026-05-21 13:06 ` [PATCH 06/18] arm64: dts: qcom: sm8250: " Krishna Chaitanya Chundru
2026-05-21 13:06 ` [PATCH 07/18] arm64: dts: qcom: sm8350: " Krishna Chaitanya Chundru
2026-05-21 13:06 ` [PATCH 08/18] arm64: dts: qcom: sm8450: " Krishna Chaitanya Chundru
2026-05-21 13:06 ` [PATCH 09/18] arm64: dts: qcom: sm8550: " Krishna Chaitanya Chundru
2026-05-21 13:06 ` [PATCH 10/18] arm64: dts: qcom: sm8650: " Krishna Chaitanya Chundru
2026-05-21 13:06 ` [PATCH 11/18] arm64: dts: qcom: sm8750: " Krishna Chaitanya Chundru
2026-05-21 13:06 ` [PATCH 12/18] arm64: dts: qcom: kaanapali: " Krishna Chaitanya Chundru
2026-05-21 13:06 ` [PATCH 13/18] arm64: dts: qcom: sar2130p: " Krishna Chaitanya Chundru
2026-05-21 13:06 ` [PATCH 14/18] arm64: dts: qcom: monaco: " Krishna Chaitanya Chundru
2026-05-21 13:06 ` Krishna Chaitanya Chundru [this message]
2026-05-21 13:06 ` [PATCH 16/18] arm64: dts: qcom: sa8540p-ride: " Krishna Chaitanya Chundru
2026-05-21 13:06 ` [PATCH 17/18] arm64: dts: qcom: kodiak: " Krishna Chaitanya Chundru
2026-05-21 13:06 ` [PATCH 18/18] arm64: dts: qcom: talos: " Krishna Chaitanya Chundru

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=20260521-wake-v1-15-d822567be258@oss.qualcomm.com \
    --to=krishna.chundru@oss.qualcomm.com \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mani@kernel.org \
    --cc=robh@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