[PATCH] arm64: dts: rockchip: Enables sound output from the audio jack on OrangePI5 Plus
Hide Hako
opi5plus at bcc.bai.ne.jp
Thu Aug 21 20:20:48 PDT 2025
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 at bcc.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 at bcc.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
More information about the linux-arm-kernel
mailing list