diff options
author | WalkerChenL <walker.chen@starfivetech.com> | 2022-01-18 05:32:19 +0300 |
---|---|---|
committer | Jianlong Huang <jianlong.huang@starfivetech.com> | 2022-06-13 06:39:14 +0300 |
commit | afe192db40bd5df682b19d1d63892f12ce04f408 (patch) | |
tree | 5142a8e229735bea6d4012e9062ff5b0b4aa8d98 | |
parent | b4445eedbb531211d545d3c14ce1ab8b125c84e1 (diff) | |
download | linux-afe192db40bd5df682b19d1d63892f12ce04f408.tar.xz |
Support AC108 daughter board for 3 dev-boards
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
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 108ba1f0c68f..3e11c243c60e 100755 --- 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 |