Skip to content

Commit 8976583

Browse files
SpieringsAEmmind
authored andcommitted
arm64: dts: rockchip: Fix the headphone detection on the orangepi 5 plus
The logic of the headphone detect pin seems to be inverted, with this change headphones actually output sound when plugged in. Verified by checking /sys/kernel/debug/gpio and by listening. Fixes: 236d225 ("arm64: dts: rockchip: Add board device tree for rk3588-orangepi-5-plus") Signed-off-by: Maud Spierings <[email protected]> Reviewed-by: Ondřej Jirman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent d1f9c49 commit 8976583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
pinctrl-names = "default";
7878
pinctrl-0 = <&hp_detect>;
7979
simple-audio-card,aux-devs = <&speaker_amp>, <&headphone_amp>;
80-
simple-audio-card,hp-det-gpios = <&gpio1 RK_PD3 GPIO_ACTIVE_LOW>;
80+
simple-audio-card,hp-det-gpios = <&gpio1 RK_PD3 GPIO_ACTIVE_HIGH>;
8181
simple-audio-card,widgets =
8282
"Microphone", "Onboard Microphone",
8383
"Microphone", "Microphone Jack",

0 commit comments

Comments
 (0)