29 Jul
2013
29 Jul
'13
6:01 p.m.
On Mon, Jul 29, 2013 at 08:36:26PM +0530, Ashish Chavan wrote:
produced as a standalone codec device soon, and we hope the driver can be re-used directly without changes. Is this the reason why we see only a handful examples of suggested implementation in kernel?
Well, it's a very unusual hardware design choice to have multiple I2C endpoints in a single physical chip.
With regmap it should be very straightforward to reuse the same driver for both standalone and non-standalone versions, just a small amount of glue code in the CODEC driver I'd expect. Usually the bus level code is tiny.