[PATCH] arm64: dts: rockchip: add SPDIF audio to Beelink A1
Alex Bee
knaerzche at gmail.com
Wed Dec 3 12:23:12 PST 2025
Hi Robin,
Am 03.12.25 um 17:21 schrieb Robin Murphy:
> [ Just noticed this... ]
>
> On 2025-08-28 5:43 pm, Christian Hewitt wrote:
>> From: Alex Bee <knaerzche at gmail.com>
>>
>> Add the required nodes to enable SPDIF audio output on
>> the Beelink A1 set-top-box.
>
> But the A1 doesn't have S/PDIF? Only HDMI plus a 3.5mm jack connected
> to the analog audio codec (and possibly the composite TV out) :/
>
Yeah, sorry - this patch wasn't supposed to be submitted upstream.
Regards,
Alex
> Thanks,
> Robin.
>
>> Signed-off-by: Alex Bee <knaerzche at gmail.com>
>> Signed-off-by: Christian Hewitt <christianshewitt at gmail.com>
>> ---
>> arch/arm64/boot/dts/rockchip/rk3328-a1.dts | 23 ++++++++++++++++++++++
>> 1 file changed, 23 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/rockchip/rk3328-a1.dts
>> b/arch/arm64/boot/dts/rockchip/rk3328-a1.dts
>> index f7c4578865c5..b276a29bdd85 100644
>> --- a/arch/arm64/boot/dts/rockchip/rk3328-a1.dts
>> +++ b/arch/arm64/boot/dts/rockchip/rk3328-a1.dts
>> @@ -58,6 +58,24 @@ ir-receiver {
>> gpios = <&gpio2 RK_PA2 GPIO_ACTIVE_LOW>;
>> linux,rc-map-name = "rc-beelink-gs1";
>> };
>> +
>> + spdif_sound: spdif-sound {
>> + compatible = "simple-audio-card";
>> + simple-audio-card,name = "SPDIF";
>> +
>> + simple-audio-card,cpu {
>> + sound-dai = <&spdif>;
>> + };
>> +
>> + simple-audio-card,codec {
>> + sound-dai = <&spdif_dit>;
>> + };
>> + };
>> +
>> + spdif_dit: spdif-dit {
>> + compatible = "linux,spdif-dit";
>> + #sound-dai-cells = <0>;
>> + };
>> };
>> &analog_sound {
>> @@ -325,6 +343,11 @@ &sdmmc {
>> status = "okay";
>> };
>> +&spdif {
>> + pinctrl-0 = <&spdifm0_tx>;
>> + status = "okay";
>> +};
>> +
>> &tsadc {
>> rockchip,hw-tshut-mode = <0>;
>> rockchip,hw-tshut-polarity = <0>;
More information about the linux-arm-kernel
mailing list