Skip to content

Commit 86e7a8b

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 e0e1e0e commit 86e7a8b

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
@@ -898,6 +898,7 @@ CONFIG_SND_PISOUND=m
898898
CONFIG_SND_SOC_ADAU1701=m
899899
CONFIG_SND_SOC_ADAU7002=m
900900
CONFIG_SND_SOC_AK4554=m
901+
CONFIG_SND_SOC_SPDIF=m
901902
CONFIG_SND_SOC_WM8804_I2C=m
902903
CONFIG_SND_SIMPLE_CARD=m
903904
CONFIG_HIDRAW=y

arch/arm/configs/bcmrpi_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -891,6 +891,7 @@ CONFIG_SND_PISOUND=m
891891
CONFIG_SND_SOC_ADAU1701=m
892892
CONFIG_SND_SOC_ADAU7002=m
893893
CONFIG_SND_SOC_AK4554=m
894+
CONFIG_SND_SOC_SPDIF=m
894895
CONFIG_SND_SOC_WM8804_I2C=m
895896
CONFIG_SND_SIMPLE_CARD=m
896897
CONFIG_HIDRAW=y

0 commit comments

Comments
 (0)