#asahi-dev · 2022-01-18 20:15
povikbut i can clean that up#asahi-dev · 2022-01-18 20:14
povikit relies on iboot having configured the nco, and also maybe some other bits#asahi-dev · 2022-01-18 20:14
povikalthough not all of them, i am not sure#asahi-dev · 2022-01-18 20:14
povikwith the magic numbers#asahi-dev · 2022-01-18 20:14
povikif the configuration is the speaker on mac mini, you have speaker_amp.py in experiments/ ofc#asahi-dev · 2022-01-18 20:13
povikokay, let me know#asahi-dev · 2022-01-18 20:13
poviki can produce sample m1n1 script for a configuration you would be interested in, once you get to that#asahi-dev · 2022-01-18 20:11
povikonce you have driver for the dma controller, you can get a stereo stream working with few magic numbers#asahi-dev · 2022-01-18 20:06
povikyou can probably even combine two dma streams and put them in different tdm slots on the same i2s bus#asahi-dev · 2022-01-18 20:05
povikand you can choose endianness, lsb padding, sample-in-frame to tdm-slot mapping, et cetera#asahi-dev · 2022-01-18 20:05
povikso you have 8-bit, 16-bit or 32-bit samples delivered from dma, with their position in configurably long frames signalized out-of-band#asahi-dev · 2022-01-18 20:03
povikthere's a lot of knobs, most of them figured out, pertaining to formats#asahi-dev · 2022-01-18 20:02
povik(and presumably all applies analogously to deserializing samples off i2s lines and putting them into memory, haven't tried that direction yet)#asahi-dev · 2022-01-18 20:01
povik*i2s#asahi-dev · 2022-01-18 20:01
povikalso you are free to select clock/data lines from any cluster on any i2c output ports#asahi-dev · 2022-01-18 20:00
povike.g. generate frame clock in cluster 0 and use it for serializing samples in cluster 1#asahi-dev · 2022-01-18 20:00
povikyou can pick subunits of different clusters and wire them together also#asahi-dev · 2022-01-18 20:00
povikand they work independently#asahi-dev · 2022-01-18 20:00
povikyes, there are six (on M1 at least) so far identical clusters the MCA block is composed of#asahi-dev · 2022-01-18 19:57
povikright#asahi-dev · 2022-01-18 19:57
povikit takes samples from the dma controller and serializes them on the i2s bus#asahi-dev · 2022-01-18 19:56
povikwell that's quite a wide question :)#asahi-dev · 2022-01-18 19:56
povikeach speaker has different tdm slot on the i2s bus#asahi-dev · 2022-01-18 19:56
povikyes#asahi-dev · 2022-01-18 19:55
povikkettenis: yes#asahi-dev · 2022-01-18 19:41
poviksent v2 of NCO driver: https://lore.kernel.org/linux-clk/20220118191839.64086-1-povik+lin@protonmail.com#asahi-dev · 2021-12-18 21:35
povikthat strikes me as ironic given what we suspect the sio coprocesor does/is :-p#asahi-dev · 2021-12-18 21:35
povikoh no#asahi-dev · 2021-12-18 21:25
povikdon't tell me sio stands for smartio#asahi-dev · 2021-12-18 21:25
povik21:20 < sven> you can also pass smartio_debug=0xff and make XNU more verbose#asahi-dev · 2021-12-16 11:51
povikhttps://support.apple.com/en-us/HT201794#asahi-dev · 2021-12-16 11:51
povikapple support says i have ISO keyboard#asahi-dev · 2021-12-16 11:50
povikit's czech localization, don't know if that's ISO or not#asahi-dev · 2021-12-16 11:48
poviki don't know, let's see#asahi-dev · 2021-12-16 11:42
povikhere j314 (14' mbp) with "ProductID" = 834#asahi-dev · 2021-12-15 16:59
povikand is not exactly happy#asahi-dev · 2021-12-15 16:58
povikhaha, kernel test robot found the admac driver#asahi-dev · 2021-12-15 13:52
povikmarcan: ^#asahi-dev · 2021-12-15 13:52
poviksha256sum starts 0de4c7f0163b952eaa5b#asahi-dev · 2021-12-15 13:52
povikhttps://hutie.ust.cz/pub/rootfs.cpio.gz#asahi-dev · 2021-12-15 13:46
povikmarcan: i have small (15M) rootfs.cpio.gz with alsa tools, it's been built by buildroot, i can send it to you if you want#asahi-dev · 2021-12-15 12:47
poviknice#asahi-dev · 2021-12-15 12:47
povikjust learned from progress report the headphones jack works on other t8103 macs#asahi-dev · 2021-12-14 14:37
povikthe 83 also says 83 in ID register#asahi-dev · 2021-12-14 14:30
povikthe upside is the SoC side doesn't break on t6000#asahi-dev · 2021-12-14 14:27
povikwell that is a tricky plus-by-one#asahi-dev · 2021-12-14 14:27
povik:(#asahi-dev · 2021-12-14 13:35
povikah, no, almost#asahi-dev · 2021-12-14 13:33
poviki want to point out this passes the device ID check for the original driver#asahi-dev · 2021-12-14 13:31
povikhaha, it's cs42l42