diff options
author | Jeffy Chen <jeffy.chen@rock-chips.com> | 2017-08-16 17:24:32 +0800 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2017-08-19 01:16:38 +0200 |
commit | 147f6ec57016ecf1855bd6020c48de7f6f666ffc (patch) | |
tree | 67f3854ce59926b826ee2d06a16c61af91282e66 /arch | |
parent | 617f4472bdd3c96a1b2e2641d990cd1c99517e4b (diff) | |
download | linux-147f6ec57016ecf1855bd6020c48de7f6f666ffc.tar.gz linux-147f6ec57016ecf1855bd6020c48de7f6f666ffc.tar.bz2 linux-147f6ec57016ecf1855bd6020c48de7f6f666ffc.zip |
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: Jeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi index 968ab64a04eb..199a5118b20d 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi @@ -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; }; }; |