On Mon, 25 Nov 2019 20:15:26 +0000
Richard MQ <[email protected]> wrote:
> And I already knew about /boot/efi/extraconfig.txt and had
> dtoverlay=hifiberry-dacplus to no avail, I have pre-pended
> dtparam=i2s=on as suggested but still no dice (nothing shows up in
> hwinfo, nor Yast - Sound Card)
>
> @Torsten - please can you advise where to configure the strings and
> addresses that you mention?
Accessing the little box, which has been running happily for quite some
time now, I hope I can remember the tweaks I had to do back then:
It is a RPi Zero W, with a "justboom amp zero" pHAT. The point is,
no overlay matched it exactly back then so I chose a compatible chip
from the "iqaudio-dac" and fixed the I2C address, IIRC.
config.txt has:
---------------
dtoverlay=iqaudio-dac
dtparam=audio=on
dtparam=i2c0=on
dtparam=i2c1=on
The overlay produces in my fdt:
i2c@7e804000 {
compatible = "brcm,bcm2708-i2c";
[...]
pcm5122@4d {
status = "okay";
reg = <0x4d>;
compatible = "ti,pcm5122";
#sound-dai-cells = <0x0>;
};
The kernel loads snd_soc_pcm512x_i2c and dmesg yields:
snd-rpi-iqaudio-dac soc:sound: pcm512x-hifi <-> 20203000.i2s mapping ok
hifiberry-dacplus already has an overlay that should work out of the
box, in theory.
Torsten
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]