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

Shawn Guo
2018-04-16T07:11:18Z

On Wed, Mar 14, 2018 at 05:36:26PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@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@nxp.com>

Applied, thanks.