summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalkerChenL <walker.chen@starfivetech.com>2022-01-18 05:32:19 +0300
committerWalkerChenL <walker.chen@starfivetech.com>2022-01-18 05:32:36 +0300
commitee5cbe5ea3e661c6362b9f021c451e27d9cd0303 (patch)
treeefe56d92565bf3e5946a0ac36b77d5037473e67b
parente802efc34d9d40ed6fa74e54a94951f0fdae128d (diff)
downloadlinux-ee5cbe5ea3e661c6362b9f021c451e27d9cd0303.tar.xz
Support AC108 daughter board for 3 dev-boards
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
-rw-r--r--arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts4
-rw-r--r--arch/riscv/boot/dts/starfive/jh7100-common.dtsi2
-rw-r--r--arch/riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dts4
3 files changed, 9 insertions, 1 deletions
diff --git a/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts b/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts
index d895eea45f1d..59d0dc441f4e 100644
--- a/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts
+++ b/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts
@@ -24,3 +24,7 @@
#ifdef WM8960_ENABLED
#include "codecs/sf_wm8960.dtsi"
#endif
+
+#ifdef AC108_ENABLED
+#include "codecs/sf_ac108.dtsi"
+#endif
diff --git a/arch/riscv/boot/dts/starfive/jh7100-common.dtsi b/arch/riscv/boot/dts/starfive/jh7100-common.dtsi
index 9693803b15e8..eb3bbe110dc3 100644
--- a/arch/riscv/boot/dts/starfive/jh7100-common.dtsi
+++ b/arch/riscv/boot/dts/starfive/jh7100-common.dtsi
@@ -11,7 +11,7 @@
#include <dt-bindings/pinctrl/pinctrl-starfive.h>
#undef WM8960_ENABLED
-#define AC108_ENABLED
+#undef AC108_ENABLED
/ {
aliases {
diff --git a/arch/riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dts b/arch/riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dts
index c760c6f3742b..600e7f357ec3 100644
--- a/arch/riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dts
+++ b/arch/riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dts
@@ -34,3 +34,7 @@
#ifdef WM8960_ENABLED
#include "codecs/sf_wm8960.dtsi"
#endif
+
+#ifdef AC108_ENABLED
+#include "codecs/sf_ac108.dtsi"
+#endif