Re: DAPM over two regmaps (and a mailbox)

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

 



On Mon, Sep 19, 2016 at 12:54:19PM +0200, Maxime Ripard wrote:

> That codec is mapped in memory, however, we have a bunch of DAPM
> widgets that are mapped in a separate register space, that should
> probably be exposed through a syscon (but isn't yet).

Why not just represent those as a separate device?

> To make things worse, the register in the syscon behaves as a mailbox,
> where you actually have to set in that register the address you want
> to modify and the new value, in a single write. This also seem to
> deviate from the usual DAPM access pattern.

This is totally fine, just use events for the things that aren't simple
register updates - there are a large number of examples in the tree,
simple register access is totally optional.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux