build/patch/kernel/archive/sunxi-6.5/patches.megous/arm64-dts-rockchip-pinetab2-Reverse-HP-det-polarity.patch

27 lines
986 B
Diff
Raw Normal View History

From 32805cacd9ed90a5c7bb2e70ddaf3f438ecfbaac Mon Sep 17 00:00:00 2001
From: Danct12 <danct12@disroot.org>
Date: Mon, 10 Jul 2023 07:30:00 +0000
Subject: [PATCH 400/464] arm64: dts: rockchip: pinetab2: Reverse HP det
polarity
---
arch/arm64/boot/dts/rockchip/rk3566-pinetab2.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-pinetab2.dtsi b/arch/arm64/boot/dts/rockchip/rk3566-pinetab2.dtsi
index a766f21bd6f8..1ba6e610767a 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-pinetab2.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3566-pinetab2.dtsi
@@ -135,7 +135,7 @@ rk817-sound {
"Speakers", "Speaker Amplifier OUTL",
"Speakers", "Speaker Amplifier OUTR";
- simple-audio-card,hp-det-gpio = <&gpio4 RK_PC6 GPIO_ACTIVE_HIGH>;
+ simple-audio-card,hp-det-gpio = <&gpio4 RK_PC6 GPIO_ACTIVE_LOW>;
simple-audio-card,aux-devs = <&speaker_amp>;
simple-audio-card,pin-switches = "Speakers", "Microphone";
--
2.34.1