Linux-OMAP Archive on
 help / color / 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

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

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
* connections between McBSP1,2,3 for FM, Bluetooth, Modem

The tree based on v5.8-rc7 is here:;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:;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...


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

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

only message in thread, back to index

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

Linux-OMAP Archive on

Archives are clonable:
	git clone --mirror linux-omap/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-omap linux-omap/ \
	public-inbox-index linux-omap

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone