diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2018-03-14 17:36:26 -0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-04-16 15:10:52 +0800 |
commit | 6e1386b2ee6822b00ae944a3de2c3304d2d422e6 (patch) | |
tree | 277ef4ae6417f1e3823a96c138d9e941cb8827d2 /arch/arm/boot/dts/imx6qdl-wandboard-revb1.dtsi | |
parent | f9d7af0752771bd71f4382d0eb20f5dda58f1a4a (diff) |
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-revb1.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-wandboard-revb1.dtsi | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-wandboard-revb1.dtsi b/arch/arm/boot/dts/imx6qdl-wandboard-revb1.dtsi index a32089132263..855dc6f9df75 100644 --- a/arch/arm/boot/dts/imx6qdl-wandboard-revb1.dtsi +++ b/arch/arm/boot/dts/imx6qdl-wandboard-revb1.dtsi @@ -17,7 +17,6 @@ imx6qdl-wandboard { pinctrl_hog: hoggrp { fsl,pins = < - MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x130b0 /* GPIO_0_CLKO */ MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x80000000 /* uSDHC1 CD */ MX6QDL_PAD_EIM_DA9__GPIO3_IO09 0x80000000 /* uSDHC3 CD */ MX6QDL_PAD_EIM_EB1__GPIO2_IO29 0x0f0b0 /* WL_REF_ON */ |