Commit 9bad1946 authored by Chancel Liu's avatar Chancel Liu Committed by Shawn Guo
Browse files

arm64: dts: imx8qm-mek: Complete WM8960 power supplies



WM8960 has the following power supplies:
- AVDD
- DBVDD
- DCVDD
- SPKVDD1
- SPKVDD2

Add new audio regulators to reflect the schematic and complete missed
power supplies.

Signed-off-by: default avatarChancel Liu <chancel.liu@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent ca0d7229
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
@@ -227,6 +227,33 @@ reg_vref_1v8: regulator-adc-vref {
		regulator-max-microvolt = <1800000>;
	};

	reg_audio_5v: regulator-audio-pwr {
		compatible = "regulator-fixed";
		regulator-name = "audio-5v";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		regulator-always-on;
		regulator-boot-on;
	};

	reg_audio_3v3: regulator-audio-3v3 {
		compatible = "regulator-fixed";
		regulator-name = "audio-3v3";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		regulator-always-on;
		regulator-boot-on;
	};

	reg_audio_1v8: regulator-audio-1v8 {
		compatible = "regulator-fixed";
		regulator-name = "audio-1v8";
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;
		regulator-always-on;
		regulator-boot-on;
	};

	bt_sco_codec: audio-codec-bt {
		compatible = "linux,bt-sco";
		#sound-dai-cells = <1>;
@@ -498,6 +525,11 @@ wm8960: audio-codec@1a {
		wlf,shared-lrclk;
		wlf,hp-cfg = <2 2 3>;
		wlf,gpio-cfg = <1 3>;
		AVDD-supply = <&reg_audio_3v3>;
		DBVDD-supply = <&reg_audio_1v8>;
		DCVDD-supply = <&reg_audio_1v8>;
		SPKVDD1-supply = <&reg_audio_5v>;
		SPKVDD2-supply = <&reg_audio_5v>;
	};
};