Skip to content

Commit ab47aff

Browse files
SpieringsAEgregkh
authored andcommitted
arm64: dts: rockchip: Fix the headphone detection on the orangepi 5 plus
[ Upstream commit 8976583 ] 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 <maud_spierings@hotmail.com> Reviewed-by: Ondřej Jirman <megi@xff.cz> Link: https://lore.kernel.org/r/20250823-orangepi5-v1-1-ae77dd0e06d7@hotmail.com Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent e193a59 commit ab47aff

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)