linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* omap-abe-twl6040 and aess
@ 2020-07-28 10:54 H. Nikolaus Schaller
  0 siblings, 0 replies; only message in thread
From: H. Nikolaus Schaller @ 2020-07-28 10:54 UTC (permalink / raw)
  To: David Shah, Tony Lindgren, Peter Ujfalusi
  Cc: Discussions about the Letux Kernel, kernel, Linux-OMAP,
	Andrey Utkin, Belisko Marek

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:~# 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-28 10:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-28 10:54 omap-abe-twl6040 and aess H. Nikolaus Schaller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).