[alsa-devel] [PATCH] ASoC: nau8810: Add driver for Nuvoton codec chip NAU88C10

Mark Brown broonie at kernel.org
Mon Aug 8 17:18:13 CEST 2016


On Mon, Aug 08, 2016 at 10:27:38AM +0800, John Hsu wrote:
> On 8/5/2016 8:08 PM, Mark Brown wrote:

> > What does the read actually look like on this device?

> The data read from codec by the IIC bus is as the following.
> 0 0 0 0 0 0 0 D8 ACK D7 D6 D5 D4 D3 D2 D1 D0
> The bottom 9 bits are the real register value. The nau8810_reg_read
> in driver is made by the formate.

So there's really only one read "register"?  If that's the case I'd
just open code the read and not bother with regmap, it's probably more
trouble than it's worth.  There are other 7x9 CODECs that do the same
thing.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20160808/7db9d603/attachment-0001.sig>


More information about the Alsa-devel mailing list