[PATCH] ARM: dts: imx6qdl-wandboard: Let the codec control MCLK pinctrl

Shawn Guo shawnguo at kernel.org
Mon Apr 16 00:11:18 PDT 2018


On Wed, Mar 14, 2018 at 05:36:26PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at nxp.com>
> 
> sgtl5000 codec needs MCLK clock to be present so that it can
> successfully read/write via I2C.
> 
> In the case of wandboard, MCLK is provided via
> MX6QDL_PAD_GPIO_0__CCM_CLKO1 pad. 
> 
> Move the MCLK pinctrl from hog group to the codec group, so that the
> codec clock can be present prior to reading the codec ID.
> 
> This avoids the following error that happens from time to time:
> 
> [    2.484443] sgtl5000 1-000a: Error reading chip id -6
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>

Applied, thanks.



More information about the linux-arm-kernel mailing list