mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Biswapriyo Nath via B4 Relay <devnull+nathbappai.gmail.com@kernel.org>
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,
	Biswapriyo Nath <nathbappai@gmail.com>
Subject: [PATCH 1/5] arm64: dts: qcom: sm6125-xiaomi-ginkgo: Fix volume up button
Date: Mon, 19 Jan 2026 15:13:03 +0000	[thread overview]
Message-ID: <20260119-xiaomi-ginkgo-features-v1-1-3c8fae984bda@gmail.com> (raw)
In-Reply-To: <20260119-xiaomi-ginkgo-features-v1-0-3c8fae984bda@gmail.com>

From: Biswapriyo Nath <nathbappai@gmail.com>

gpio6 in pm6125 is used for EMMC and UFS thermal monitoring. It is
changed to the correct gpio for volume up button.

Fixes: 9b1a6c925c88 ("arm64: dts: qcom: sm6125: Initial support for xiaomi-ginkgo")

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
---
 arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo-common.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo-common.dtsi b/arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo-common.dtsi
index 2605d0c94..6e0333378 100644
--- a/arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo-common.dtsi
@@ -85,7 +85,7 @@ gpio-keys {
 
 		key-volume-up {
 			label = "Volume Up";
-			gpios = <&pm6125_gpios 6 GPIO_ACTIVE_LOW>;
+			gpios = <&pm6125_gpios 5 GPIO_ACTIVE_LOW>;
 			linux,code = <KEY_VOLUMEUP>;
 			debounce-interval = <15>;
 			linux,can-disable;
@@ -96,9 +96,9 @@ key-volume-up {
 
 &pm6125_gpios {
 	vol_up_n: vol-up-n-state {
-		pins = "gpio6";
+		pins = "gpio5";
 		function = "normal";
-		power-source = <1>;
+		power-source = <0>;
 		bias-pull-up;
 		input-enable;
 	};

-- 
2.52.0



  reply	other threads:[~2026-01-19 15:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-19 15:13 [PATCH 0/5] Fix volume up and add RTC, PRNG, UART in xiaomi-ginkgo Biswapriyo Nath via B4 Relay
2026-01-19 15:13 ` Biswapriyo Nath via B4 Relay [this message]
2026-01-19 15:45   ` [PATCH 1/5] arm64: dts: qcom: sm6125-xiaomi-ginkgo: Fix volume up button Konrad Dybcio
2026-01-19 15:13 ` [PATCH 2/5] arm64: dts: qcom: sm6125-xiaomi-ginkgo: Enable RTC Biswapriyo Nath via B4 Relay
2026-01-20 10:28   ` Konrad Dybcio
2026-01-19 15:13 ` [PATCH 3/5] arm64: dts: qcom: sm6125: Add PRNG node Biswapriyo Nath via B4 Relay
2026-01-19 15:13 ` [PATCH 4/5] arm64: dts: qcom: sm6125: Add debug UART node Biswapriyo Nath via B4 Relay
2026-01-19 15:46   ` Konrad Dybcio
2026-01-19 15:13 ` [PATCH 5/5] arm64: dts: qcom: sm6125-xiaomi-ginkgo: Enable debug UART Biswapriyo Nath via B4 Relay
2026-01-19 16:41   ` Dmitry Baryshkov
2026-01-20 10:28   ` Konrad Dybcio

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=20260119-xiaomi-ginkgo-features-v1-1-3c8fae984bda@gmail.com \
    --to=devnull+nathbappai.gmail.com@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nathbappai@gmail.com \
    --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

all inboxes | Powered by JetHome®