[<prev] [next>] [day] [month] [year] [list]
Message-ID: <d0d7fc7f-d3f5-4375-abc4-c194c5b78c03@bcc.bai.ne.jp>
Date: Fri, 22 Aug 2025 12:20:48 +0900
From: Hide Hako <opi5plus@....bai.ne.jp>
To: Jimmy Hon <honyuenkwun@...il.com>
Cc: Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Heiko Stuebner <heiko@...ech.de>,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-rockchip@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-sound@...r.kernel.org
Subject: Re: [PATCH] arm64: dts: rockchip: Enables sound output from the audio
jack on OrangePI5 Plus
On 2025/08/22 1:49, Jimmy Hon wrote:
> Note: the subject lost the "a" in arm64
Sorry, typo.
>
> On Wed, Aug 20, 2025, 23:19 Hide Hako <opi5plus@....bai.ne.jp> wrote:
>
>> 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@....bai.ne.jp>
>> ---
>> 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";
>>
> For the Plus, it has Speaker and Headphones.
> For the Max and Ultra, they only have Headphones.
For boards with an audio jack, the statement
"simple-audio-card,pin-switches = "Headphones";" is probably required.
Without this statement, the "Headphones" item will not appear in alsamixer.
> So this property should be defined in the -plus.dts and the -compact.dtsi
> instead of this file which is common to all.
This patch was created with reference to rk3588s-orangepi-5.dtsi.
Hide
Powered by blists - more mailing lists