Hello all,
I currently do have a BBB where on I have a WM8776 souncard. My DTS is as followed:
&am33xx_pinmux {
mcasp0_pins: mcasp0_pins {
pinctrl-single,pins = <
AM33XX_IOPAD(0x990, 0x08)
AM33XX_IOPAD(0x994, 0x08)
AM33XX_IOPAD(0x998, 0x08)
AM33XX_IOPAD(0x99c, 0x28)
AM33XX_IOPAD(0x9a0, 0x08)
AM33XX_IOPAD(0x9a4, 0x08)
AM33XX_IOPAD(0x9a8, 0x28)
AM33XX_IOPAD(0x9ac, 0x28)
>;
};
};
&mcasp0 {
#sound-dai-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&mcasp0_pins>;
rx-num-evt = <1>;
tx-num-evt = <1>;
serial-dir = <1 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0>;
num-serializer = <16>;
tdm-slots = <2>;
op-mode = <0>;
status = "okay";
};
&i2c0 {
status = "okay";
wm8776: wm8776@1b {
#sound-dai-cells = <0>;
reg = <0x1b>;
compatible = "wlf,wm8776";
};
};
sound {
compatible = "simple-audio-card";
simple-audio-card,name = "wm8776-hifi";
simple-audio-card,bitclock-master = <&cpu_master>;
simple-audio-card,frame-master = <&cpu_master>;
simple-audio-card,format = "i2s";
cpu_master: simple-audio-card,cpu {
sound-dai = <&mcasp0>;
system-clock-frequency = <11289600>;
};
sound_master: simple-audio-card,codec {
sound-dai = <&wm8776>;
};
};
};
My problem now is that only the playback seems to be probed, but not the capture:
root@debian-armhf:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: wm8776hifi [wm8776-hifi], device 0: davinci-mcasp.0-wm8776-hifi-playback wm8776-hifi-playback-0 [davinci-mcasp.0-wm8776-hifi-playback wm8776-hifi-playback-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
root@debian-armhf:~# arecord -l
**** List of CAPTURE Hardware Devices ****
root@debian-armhf:~#
I have tried changing some muxing, but I am pretty sure this is correct, so changed it back. Does anyone may see what is going on?