[PATCH] rm64: dts: rockchip: Enables sound output from the audio jack on OrangePI5 Plus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Currently, analog sound is not output from the audio jack.
This patch allows you to select analog headphones in alsamixer.
Works with kernel 6.16.1, but not 6.17.

Signed-off-by: Hide Hako <opi5plus@xxxxxxxxxxxxx>
---
 arch/arm64/boot/dts/rockchip/rk3588-orangepi-5.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5.dtsi
index 91d56c34a..656aac2df 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5.dtsi
@@ -113,6 +113,7 @@ analog_sound: sound {
 		simple-audio-card,mclk-fs = <256>;
 		simple-audio-card,bitclock-master = <&daicpu>;
 		simple-audio-card,frame-master = <&daicpu>;
+		simple-audio-card,pin-switches = "Headphones";
 		/*TODO: SARADC_IN3 is used as MIC detection / key input */
 
 		daicpu: simple-audio-card,cpu {
-- 
2.48.1





[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux