Hello, misc@!
I'm using ARM64/current and see that my audio chip got detected by simpleaudio
but OpenBSD can't attach audio to it
Any suggestions on there to start reading? I'm not developer,
but I tried to read different match/attach functions
in simpleaudio.c/audio.c with no result for now.
I got audio chip of my arm64 board
as
simpleaudio0 at mainbus0
eeprom says
Node 0x54f0
name: 'sound'
simple-audio-card,hp-det-gpio: 00000014.0000001b.00000001
simple-audio-card,bitclock-master: 00000030
simple-audio-card,name: 'MITX-Sound-Card'
simple-audio-card,mic-det-gpio: 00000014.0000001a.00000001
simple-audio-card,format: 'i2s'
simple-audio-card,widgets: 'Microphone' + 'Mic Jack' + 'Headphone'
+ 'Headphones' + 'Speaker' + 'AUX Out' + 'Line' + 'Line In'
simple-audio-card,routing: 'Headphones' + 'RHP' + 'Headphones'
+ 'LHP' + 'AUX Out' + 'AUXOUT1' + 'AUX Out' + 'AUXOUT2' + 'L2'
+ 'Mic Jack' + 'R2' + 'Mic Jack' + 'Mic Jack' + 'Mic Bias' + 'LAUX'
+ 'Line In' + 'RAUX' + 'Line In'
compatible: 'simple-audio-card'
simple-audio-card,frame-master: 00000030
Node 0x567c
name: 'simple-audio-card,cpu'
sound-dai: 00000031
Node 0x56ac
name: 'simple-audio-card,codec'
phandle: 00000030
sound-dai: 00000032.00000000
Looking at DTS I can identify it as Nuvoton Nau8822 sitting on i2c and/or i2s
nau8822@1a {
#sound-dai-cells = <0x01>;
compatible = "nuvoton,nau8822";
reg = <0x1a>;
phandle = <0x32>;
};
--
Nerfur Dragon
-==(UDIC)==-