Hi Quentin,[...]
On Friday, 31 January 2025 11:38:34 EST Quentin Schulz wrote:
Hi Detlev,
On 1/30/25 5:45 PM, Detlev Casanova wrote:
The only hesitation I have is that HDMI0 can use either I2S or SPDIF for
audio, both audio controllers internal exclusive to HDMI0/1 controller.
But the user could anyway define their own simple audio card for spdif
or modify this one if they wanted to.
So some boards will use I2S and some SPDIF ? Or any board can be used with one
or the other ?
The disabled status makes sense as hdmi is disabled in the SoC tree as well.
So if a user wants to use SPDIF instead, they could keep hdmi0-sound disabled
and add their own simple-audio-card compatible node.
I've tested with my suggested change and same changes than for Rock 5B
DTS on RK3588 Tiger Haikou with speaker-test -c 2 -t wav, left is left,
right is right :)
I'm not giving my Tb here as the commit title is specifically about Rock
5B and I haven't tested this series on it. If you had a separate patch
for the hdmi sound node and enabling it on Rock 5b, I would have given
my Tb on the former and not the latter.
Thank you for testing anyway ! I will move the node and enable it in all board
dts that already enable hdmi0.