Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 147f6ec5 authored by Jeffy Chen's avatar Jeffy Chen Committed by Heiko Stuebner
Browse files

arm64: dts: rockchip: Assign mic irq to correct device for Gru



Currently we are assigning mic irq to rt5514 i2c driver, which is wrong.
Assign it to rt5514 spi driver instead.

Signed-off-by: default avatarJeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 617f4472
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -612,12 +612,7 @@ ap_i2c_mic: &i2c1 {
	headsetcodec: rt5514@57 {
		compatible = "realtek,rt5514";
		reg = <0x57>;
		interrupt-parent = <&gpio1>;
		interrupts = <13 IRQ_TYPE_LEVEL_HIGH>;
		pinctrl-names = "default";
		pinctrl-0 = <&mic_int>;
		realtek,dmic-init-delay-ms = <20>;
		wakeup-source;
	};
};

@@ -826,9 +821,13 @@ ap_i2c_audio: &i2c8 {
	wacky_spi_audio: spi2@0 {
		compatible = "realtek,rt5514";
		reg = <0>;

		interrupt-parent = <&gpio1>;
		interrupts = <13 IRQ_TYPE_LEVEL_HIGH>;
		pinctrl-names = "default";
		pinctrl-0 = <&mic_int>;
		/* May run faster once verified. */
		spi-max-frequency = <10000000>;
		wakeup-source;
	};
};