Re: [alsa-devel] [PATCH 2/3] ASoC: simple-card: Add support jack detection via codec

From: Mark Brown
Date: Mon Apr 25 2016 - 08:56:07 EST


On Fri, Apr 22, 2016 at 09:37:39AM -0700, Jeremy McDermond wrote:

> components fairly well. Iâm just trying to wrap my head around
> where this all would fit in. Should the codec driver just register
> a bunch of clock components in its initialization somewhere?
> Iâm thinking that it canât have its own CCF driver separate from
> the codec driver because you wonât have proper access to the
> registers over I2C or SPI. I donât find a lot of examples in the
> codec drivers, and there arenât very many other drivers in the tree
> that seem to register clocks with CCF that I can find.

If the clock code is worth splitting off into a separate driver that's
what drivers/mfd is for.

Attachment: signature.asc
Description: PGP signature