Skip to content

Commit e01c64e

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 6efa404 commit e01c64e

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
@@ -900,6 +900,7 @@ CONFIG_SND_PISOUND=m
900900
CONFIG_SND_SOC_ADAU1701=m
901901
CONFIG_SND_SOC_ADAU7002=m
902902
CONFIG_SND_SOC_AK4554=m
903+
CONFIG_SND_SOC_SPDIF=m
903904
CONFIG_SND_SOC_WM8804_I2C=m
904905
CONFIG_SND_SIMPLE_CARD=m
905906
CONFIG_HIDRAW=y

arch/arm/configs/bcmrpi_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,7 @@ CONFIG_SND_PISOUND=m
894894
CONFIG_SND_SOC_ADAU1701=m
895895
CONFIG_SND_SOC_ADAU7002=m
896896
CONFIG_SND_SOC_AK4554=m
897+
CONFIG_SND_SOC_SPDIF=m
897898
CONFIG_SND_SOC_WM8804_I2C=m
898899
CONFIG_SND_SIMPLE_CARD=m
899900
CONFIG_HIDRAW=y

0 commit comments

Comments
 (0)