]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64: dts: rockchip: Fix the headphone detection on the orangepi 5
authorJimmy Hon <honyuenkwun@gmail.com>
Thu, 4 Sep 2025 03:01:50 +0000 (03:01 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 7 Sep 2025 17:20:40 +0000 (19:20 +0200)
commit0f860eef417df93eb0ae70bbfa8d26cb7e29244d
tree3bfbf3ba96a35229c8cd538ef50293bc1f749c38
parent41194ee115685ec2dbbb80e20d1090cc3a4c64d8
arm64: dts: rockchip: Fix the headphone detection on the orangepi 5

The logic of the headphone detect pin seems to be inverted, with this
change headphones actually output sound when plugged in.

Does not need workaround of using pin-switches to enable output.

Verified by checking /sys/kernel/debug/gpio.

Fixes: ae46756faff8 ("arm64: dts: rockchip: analog audio on Orange Pi 5")
Signed-off-by: Jimmy Hon <honyuenkwun@gmail.com>
Link: https://lore.kernel.org/r/20250904030150.986042-1-honyuenkwun@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dtsi