omap-abe-twl6040 and aess

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
long time ago the LetuxOS kernel project had started to forward-port the abe/aess
extensions from the TI kernel and carried them along, but it got more and more
broken...

At some point we were not even able to play "normal" sound on the twl6040 of the Pyra.

Finally I have invested some time to reintegrate and fix most of the fragments on top of
v5.8-rc so that it:

* adds DTS nodes for ranges and reg mapping
* compiles the code
* still supports non-aess sound like upstream omap-abe-twl6040.c
* loads the aess driver as a separate and independent module
* tries to download aess firmware
* gracefully falls back to upstream omap-abe-twl6040.c functionality if aess firmware load fails

The following extensions of the TI code are for further study:
* DMIC 0/1/2 support
* SPDIF
* AESS
* connections between McBSP1,2,3 for FM, Bluetooth, Modem

The tree based on v5.8-rc7 is here:

	https://git.goldelico.com/?p=letux-kernel.git;a=shortlog;h=refs/heads/letux/aess-v5

Some of these patches are cosmetics for omap-abe-twl6040.c and can probably already be
upstreamed now.

Note that this series contains the earlier attempt and does a REVERT to upstream omap-abe-twl6040.c
on which the new code is based on. The earlier and reverted patches are only for reference because
they contain code that has not yet been ported.

A full kernel which can run on the Pyra (tested with letux_defconfig) is here:

	https://git.goldelico.com/?p=letux-kernel.git;a=shortlog;h=refs/heads/work-aess-new

Comments, patches, suggestions, help, support, critics are welcome.

Maybe we can eventually get this beast working with upstream kernels...

BR,
Nikolaus

root@letux:~# dmesg|fgrep aess
[   17.049578] omap-abe-twl6040 sound: loading /lib/firmware/omap_aess-adfw.bin failed with error -22
[   17.071299] omap-abe-twl6040 sound: Direct firmware load for omap_aess-adfw.bin failed with error -22
[   17.131717] omap-abe-twl6040 sound: Failed to load firmware omap_aess-adfw.bin: -22
root@letux:~# 



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux