diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2018-03-14 23:36:26 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-04-16 10:10:52 +0300 |
commit | 6e1386b2ee6822b00ae944a3de2c3304d2d422e6 (patch) | |
tree | 277ef4ae6417f1e3823a96c138d9e941cb8827d2 /arch/arm/boot/dts/imx6qdl-wandboard-revd1.dtsi | |
parent | f9d7af0752771bd71f4382d0eb20f5dda58f1a4a (diff) | |
download | linux-6e1386b2ee6822b00ae944a3de2c3304d2d422e6.tar.xz |
ARM: dts: imx6qdl-wandboard: Let the codec control MCLK pinctrl
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>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-wandboard-revd1.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-wandboard-revd1.dtsi | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-wandboard-revd1.dtsi b/arch/arm/boot/dts/imx6qdl-wandboard-revd1.dtsi index 3a8a4952d45e..69d9c8661439 100644 --- a/arch/arm/boot/dts/imx6qdl-wandboard-revd1.dtsi +++ b/arch/arm/boot/dts/imx6qdl-wandboard-revd1.dtsi @@ -147,7 +147,6 @@ imx6qdl-wandboard { pinctrl_hog: hoggrp { fsl,pins = < - MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x130b0 MX6QDL_PAD_EIM_D22__USB_OTG_PWR 0x80000000 /* USB Power Enable */ MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x80000000 /* USDHC1 CD */ MX6QDL_PAD_EIM_DA9__GPIO3_IO09 0x80000000 /* uSDHC3 CD */ |