diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2016-08-25 14:05:47 -0400 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2016-08-29 04:18:03 -0400 |
commit | b9dea8613813fac124f6a323a861f9e8c0aef1d8 (patch) | |
tree | 73a5083070313e8fd1aabc0805a78687e0dc1f73 /arch/arm/boot | |
parent | e355e0f6840fc0b407dfd4c71c774b7d617abd69 (diff) |
ARM: dts: imx7s-warp: Let the codec control MCLK pinctrl
sgtl5000 codec needs MCLK clock to be provided so that it can
successfully read/write via I2C, so we should better let the
codec control the pinctrl for such pin.
Thanks to Stefan Agner who provided the fix on Toradex's tree:
http://git.toradex.com/cgit/linux-toradex.git/commit/?h=toradex_imx_4.1.15_1.0.0_ga-next&id=0a55a7e5f58d46eef0d4d1d357d89e36d0c32fa4
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/imx7s-warp.dts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx7s-warp.dts b/arch/arm/boot/dts/imx7s-warp.dts index 92d9c8570716..1ff762d180ef 100644 --- a/arch/arm/boot/dts/imx7s-warp.dts +++ b/arch/arm/boot/dts/imx7s-warp.dts | |||
@@ -199,6 +199,8 @@ | |||
199 | reg = <0x0a>; | 199 | reg = <0x0a>; |
200 | compatible = "fsl,sgtl5000"; | 200 | compatible = "fsl,sgtl5000"; |
201 | clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>; | 201 | clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_CLK>; |
202 | pinctrl-names = "default"; | ||
203 | pinctrl-0 = <&pinctrl_sai1_mclk>; | ||
202 | VDDA-supply = <&vgen4_reg>; | 204 | VDDA-supply = <&vgen4_reg>; |
203 | VDDIO-supply = <&vgen4_reg>; | 205 | VDDIO-supply = <&vgen4_reg>; |
204 | VDDD-supply = <&vgen2_reg>; | 206 | VDDD-supply = <&vgen2_reg>; |
@@ -291,7 +293,12 @@ | |||
291 | MX7D_PAD_SAI1_TX_BCLK__SAI1_TX_BCLK 0x1f | 293 | MX7D_PAD_SAI1_TX_BCLK__SAI1_TX_BCLK 0x1f |
292 | MX7D_PAD_SAI1_TX_SYNC__SAI1_TX_SYNC 0x1f | 294 | MX7D_PAD_SAI1_TX_SYNC__SAI1_TX_SYNC 0x1f |
293 | MX7D_PAD_SAI1_TX_DATA__SAI1_TX_DATA0 0x30 | 295 | MX7D_PAD_SAI1_TX_DATA__SAI1_TX_DATA0 0x30 |
294 | MX7D_PAD_SAI1_MCLK__SAI1_MCLK 0x1f | 296 | >; |
297 | }; | ||
298 | |||
299 | pinctrl_sai1_mclk: sai1mclkgrp { | ||
300 | fsl,pins = < | ||
301 | MX7D_PAD_SAI1_MCLK__SAI1_MCLK 0x1f | ||
295 | >; | 302 | >; |
296 | }; | 303 | }; |
297 | 304 | ||