Skip to content

Commit 5dbe94d

Browse files
aiamadeushauke
authored andcommitted
airoha: disable afe by default for an7581
The audio should only be enabled when the sound node is enabled. This fixes the following error: an7581-audio 1fbe2200.afe: probe with driver an7581-audio failed with error -2 Fixes: 7b55651 ("airoha: enable I2S sound driver and add nodes for eMMC RFB board") Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> Link: openwrt/openwrt#22660 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
1 parent 4f59715 commit 5dbe94d

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

target/linux/airoha/dts/an7581-evb-emmc.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
#include <dt-bindings/gpio/gpio.h>
66
#include "an7581.dtsi"
77

8+
&afe {
9+
status = "okay";
10+
};
11+
812
&sound {
913
audio-routing = "Headphone", "HP_L",
1014
"Headphone", "HP_R",

target/linux/airoha/dts/an7581.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@
439439
reg = <0x0 0x1fbe2200 0x0 0x9000>;
440440

441441
interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
442+
status = "disabled";
442443
};
443444

444445
uart4: serial@1fbf0600 {

0 commit comments

Comments
 (0)