[PATCH] EDB93xx: Add support for CS4271 CODEC on EDB93xx boards

Mark Brown
2011-02-02T12:53:27Z

On Wed, Feb 02, 2011 at 02:12:47PM +0300, Alexander Sverdlin wrote:

> On 07 OCT 2010 you advised to integrate GPIO handling (reset and
> SPI-enable) into CODEC code flow.

> Now Hartley suggested to move GPIO handling to platform code. This makes
> sense, as SPI-enable will be managed automatically, and reset is also
> more related to platform (depending on schematics, inversion and so on).

What is the advantage of this? The GPIO management has to be done
somewhere and replicating it in every platform seems like a complete
waste of time. Given that one of the GPIOs is a power control it'll
also mean that it's not possible to manage the power dynamically at
runtime.