[PATCH 08/10] S3C64XX I2S: Return correct codec clock

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Sep 16 07:09:37 EDT 2009


On Wed, Sep 16, 2009 at 02:16:54PM +0900, jassi brar wrote:

> Wait, there is no option for selecting I2SCLK in the manual. That is
> behind the MUX along with Mpll/Epll Out etc.
> In the driver we actually have all the correct options : PCLK or
> CLKAUDIO(which is the output of the MUX).

> The IMS bit can select only either PCLK or CLKAUDIO.So, i guess

The datasheet I have says an IMS setting of 11 selects I2SCLK and an IMS
setting of 01 selects CLKAUDIOx.  This seems odd to say the least but is
consistent with the move to a 2 bit register field for IMS rather than
adding a second register field for selection of master mode clock.
Could just be poor documentation, but it could be a restriction on the
clock that can be used in slave mode or an error in the diagram.

>  the patch is fine as it is.

It at least needs checkpatch issues fixing.



More information about the linux-arm-kernel mailing list