summaryrefslogtreecommitdiff
path: root/arch/arm64/boot
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@nxp.com>2018-08-02 19:55:04 +0800
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:41:33 +0300
commitc5b119668954ace91ef2e52a938d504dde98fccd (patch)
tree05e5b1b581f316a5ad14c3eb7c09e44b4e79c7f3 /arch/arm64/boot
parente6fe335f9ee2a880849f677a34ae3f234e6ba864 (diff)
MLK-19118-4: ARM: dts: add supply for audio codec on audio board
There is a change in imx8mm evk revb board, which is to add a i2c control for power enablement of audio board, that software can control the power of audio board, which can resolve the issue that with audio board the cpu board can't reboot issue. In this patch add power supply for each AK series codecs Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Diffstat (limited to 'arch/arm64/boot')
-rwxr-xr-xarch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts24
1 files changed, 21 insertions, 3 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts b/arch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts
index 08ebdc93246f..36854aeaafe0 100755
--- a/arch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts
@@ -80,6 +80,16 @@
gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
+
+ reg_audio_board: regulator-audio-board {
+ compatible = "regulator-fixed";
+ regulator-name = "EXT_PWREN";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ enable-active-high;
+ startup-delay-us = <300000>;
+ gpio = <&pca6416 1 GPIO_ACTIVE_HIGH>;
+ };
};
wm8524: wm8524 {
@@ -104,7 +114,7 @@
model = "ak4458-audio";
audio-cpu = <&sai1>;
audio-codec = <&ak4458_1>, <&ak4458_2>;
- ak4458,pdn-gpio = <&pca6416 2 GPIO_ACTIVE_HIGH>;
+ ak4458,pdn-gpio = <&pca6416 4 GPIO_ACTIVE_HIGH>;
};
sound-ak5558 {
@@ -745,23 +755,31 @@
ak4458_1: ak4458@10 {
compatible = "asahi-kasei,ak4458";
reg = <0x10>;
+ AVDD-supply = <&reg_audio_board>;
+ DVDD-supply = <&reg_audio_board>;
};
ak4458_2: ak4458@12 {
compatible = "asahi-kasei,ak4458";
reg = <0x12>;
+ AVDD-supply = <&reg_audio_board>;
+ DVDD-supply = <&reg_audio_board>;
};
ak5558: ak5558@13 {
compatible = "asahi-kasei,ak5558";
reg = <0x13>;
- ak5558,pdn-gpio = <&pca6416 1 GPIO_ACTIVE_HIGH>;
+ ak5558,pdn-gpio = <&pca6416 3 GPIO_ACTIVE_HIGH>;
+ AVDD-supply = <&reg_audio_board>;
+ DVDD-supply = <&reg_audio_board>;
};
ak4497: ak4497@11 {
compatible = "asahi-kasei,ak4497";
reg = <0x11>;
- ak4497,pdn-gpio = <&pca6416 3 GPIO_ACTIVE_HIGH>;
+ ak4497,pdn-gpio = <&pca6416 5 GPIO_ACTIVE_HIGH>;
+ AVDD-supply = <&reg_audio_board>;
+ DVDD-supply = <&reg_audio_board>;
};
ov5640_mipi: ov5640_mipi@3c {