25 Apr
2016
25 Apr
'16
2:55 p.m.
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.