[linux-sunxi] [PATCH RESEND v3] arm64: dts: allwinner: a64: olinuxino: Enable audio

Jernej Škrabec jernej.skrabec at gmail.com
Wed Jan 12 22:59:54 PST 2022


Hi,

Dne sreda, 12. januar 2022 ob 16:29:51 CET je Philip Rinn napisal(a):
> Hi,
> 
> On 12.01.22 at 10:09, Priit Laes wrote:
> 
> > On Tue, Jan 11, 2022 at 09:08:23PM +0100, 'Philip Rinn' via linux-sunxi
> > wrote:
> 
> >> Enable the audio hardware on the Olimex A64-OLinuXino board family.
> >> Tested on the A64-OLinuXino-2Ge8G-IND variant.
> > 
> > 
> > I have similar patch in one of my "long forgotten branches", but I'm not
> > 100%
 sure whether the cpvdd-supply is required for codec_analog. IIRC,
> > sound worked for me without the issues on A64-Olinuxino board (Rev D).
> > 
> > 'cpvdd-supply = <&reg_eldo1>' for codec_analog
> 
> 
> I didn't test it without but as it is present for all other a64 board with
> audio and also in Olimex' tree I think it is needed.

It's not question if it works with or without it, nor if other boards have it 
or not. Only deciding factor is board design. On schematic it can be seen that 
cpvdd is connected to eldo1, so having this property is correct, mandatory 
even.

Best regards,
Jernej
 
> 
> > And we also need to enable these configuration options in the defconfig:
> > 
> > +CONFIG_SND_SUN8I_CODEC=m
> > +CONFIG_SND_SUN50I_CODEC_ANALOG=m
> 
> 
> Hm, probably, but why wasn't it added when audio was added for the other a64
> boards? Or are we talking about different defconfigs here?
 
> Best regards
> Philip







More information about the linux-arm-kernel mailing list