diff options
author | Jeffy Chen <jeffy.chen@rock-chips.com> | 2017-08-16 12:24:32 +0300 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2017-08-19 02:16:38 +0300 |
commit | 147f6ec57016ecf1855bd6020c48de7f6f666ffc (patch) | |
tree | 67f3854ce59926b826ee2d06a16c61af91282e66 /arch/arm64/boot/dts | |
parent | 617f4472bdd3c96a1b2e2641d990cd1c99517e4b (diff) | |
download | linux-147f6ec57016ecf1855bd6020c48de7f6f666ffc.tar.xz |
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/arm64/boot/dts')
-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; }; }; |