RE: [PATCH 2/3] arm64: dts: renesas: rzg2l-smarc: Enable HDMI audio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

> -----Original Message-----
> From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Sent: Friday, August 23, 2024 10:59 AM
> Subject: Re: [PATCH 2/3] arm64: dts: renesas: rzg2l-smarc: Enable HDMI audio
> 
> Hi Biju,
> 
> On Thu, Jul 25, 2024 at 10:46 AM Biju Das <biju.das.jz@xxxxxxxxxxxxxx> wrote:
> > Enable HDMI audio on RZ/{G2L,V2L} SMARC EVK.
> >
> > Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> 
> Thanks for your patch!
> 
> > --- a/arch/arm64/boot/dts/renesas/rzg2l-smarc-pinfunction.dtsi
> > +++ b/arch/arm64/boot/dts/renesas/rzg2l-smarc-pinfunction.dtsi
> > @@ -143,6 +143,13 @@ ssi0_pins: ssi0 {
> >                          <RZG2L_PORT_PINMUX(45, 3, 1)>; /* RXD */
> >         };
> >
> > +       ssi1_pins: ssi1 {
> > +               pinmux = <RZG2L_PORT_PINMUX(46, 0, 1)>, /* BCK */
> > +                        <RZG2L_PORT_PINMUX(46, 1, 1)>, /* RCK */
> > +                        <RZG2L_PORT_PINMUX(46, 2, 1)>, /* TXD */
> > +                        <RZG2L_PORT_PINMUX(46, 3, 1)>; /* RXD */
> 
> RXD/I2S2_SDIN is not wired on the carrier board.
> OK to drop it?
> 
> The rest LGTM (but I'm no audio bindings expert).

Is dt binding check allows conditional macros?

Based on switch position audio signal ssi0 is routed to Audio codec
Or ssi1 is routed to HDMI audio port

The former one does not use graph where as latter one uses audio graph
How do I describe this in bindings?

like dts, something like below supported in dt bindings??

#if X
Audio codec
#else
HDMI Audio
#endif

Cheers,
Biju




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux