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>
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;
&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;
};