Skip to content

Commit 019a8c8

Browse files
HiassofTpopcornmix
authored andcommitted
config: enable generic S/PDIF codec drivers (#2104)
These drivers can be used as dummy ADC/DAC drivers for attaching general codecs that don't need to be configured. This option will build 2 additional drivers, spdif_receiver and spdif_transmitter. Since these drivers have DT bindings they are handy for quick testing of I2S peripherals with simple-audio-card. eg: fragment@0 { target-path = "/"; __overlay__ { dummy_receiver: spdif-receiver { #address-cells = <0>; #size-cells = <0>; #sound-dai-cells = <0>; compatible = "linux,spdif-dir"; status = "okay"; }; }; }; Signed-off-by: Matthias Reichl <[email protected]>
1 parent 2702efb commit 019a8c8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

arch/arm/configs/bcm2709_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,7 @@ CONFIG_SND_PISOUND=m
909909
CONFIG_SND_SOC_ADAU1701=m
910910
CONFIG_SND_SOC_ADAU7002=m
911911
CONFIG_SND_SOC_AK4554=m
912+
CONFIG_SND_SOC_SPDIF=m
912913
CONFIG_SND_SOC_WM8804_I2C=m
913914
CONFIG_SND_SIMPLE_CARD=m
914915
CONFIG_SOUND_PRIME=m

arch/arm/configs/bcmrpi_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -903,6 +903,7 @@ CONFIG_SND_PISOUND=m
903903
CONFIG_SND_SOC_ADAU1701=m
904904
CONFIG_SND_SOC_ADAU7002=m
905905
CONFIG_SND_SOC_AK4554=m
906+
CONFIG_SND_SOC_SPDIF=m
906907
CONFIG_SND_SOC_WM8804_I2C=m
907908
CONFIG_SND_SIMPLE_CARD=m
908909
CONFIG_SOUND_PRIME=m

0 commit comments

Comments
 (0)