]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: sm6125-xiaomi-ginkgo: Fix volume up button
authorBiswapriyo Nath <nathbappai@gmail.com>
Wed, 21 Jan 2026 13:26:17 +0000 (13:26 +0000)
committerBjorn Andersson <andersson@kernel.org>
Thu, 26 Mar 2026 14:40:34 +0000 (09:40 -0500)
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")
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Link: https://lore.kernel.org/r/20260121-xiaomi-ginkgo-features-v2-1-fb3ee94922d0@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo-common.dtsi

index c5616a083f7129064555e6fd4dcd6b9b63dcfa35..99c1b534267432ada79408e12637843f13d472bb 100644 (file)
@@ -85,7 +85,7 @@
 
                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 @@
 
 &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;
        };