Re: [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]



Hello Muad

On 2025/08/23 19:00, Maud Spierings wrote:
Hello Hide,

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 <https://lore.kernel.org/all/20250821041555.4781-2-opi5plus@xxxxxxxxxxxxx/#Z2e.:20250821041555.4781-2-opi5plus::40bcc.bai.ne.jp:1arch:arm64:boot:dts:rockchip:rk3588-orangepi-5.dtsi> | 1 +   1 filechanged <https://lore.kernel.org/all/20250821041555.4781-2-opi5plus@xxxxxxxxxxxxx/#related>, 1 insertion(+)

diff <https://lore.kernel.org/all/20250821041555.4781-2-opi5plus@xxxxxxxxxxxxx/#iZ2e.:20250821041555.4781-2-opi5plus::40bcc.bai.ne.jp:1arch:arm64:boot:dts:rockchip:rk3588-orangepi-5.dtsi> --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
I tried this patch, but I am not able to get any audio out on my headphones. using kernel 6.16.1

I did see headphones in alsamixer, but cannot get it to actually output any audio. Any hints?
I use ubuntu 25.04.
Setting -> Sound -> Output Device.
Two Analog Output-Built-in-Audio are displayed.
Please select second Analog Output-Built-in-Audio.

I'm currently working on another patch. As pointed out by Jimmy, I'm creating a patch for rk3588-orangepi-5-plus.dts.
Thank you Muad.

Hide





[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