config: enable generic S/PDIF codec drivers (#2104)
authorMatthias Reichl <github@hias.horus.com>
Mon, 10 Jul 2017 09:05:17 +0000 (11:05 +0200)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:54:22 +0000 (15:54 +0100)
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 <hias@horus.com>
arch/arm/configs/bcm2709_defconfig
arch/arm/configs/bcmrpi_defconfig

index 0fbabb1c0d56943871c3ad2b700f4c81de1c81ae..51f83ba0cf0f7fd3a44501ba521d4453e83ce46f 100644 (file)
@@ -909,6 +909,7 @@ CONFIG_SND_PISOUND=m
 CONFIG_SND_SOC_ADAU1701=m
 CONFIG_SND_SOC_ADAU7002=m
 CONFIG_SND_SOC_AK4554=m
+CONFIG_SND_SOC_SPDIF=m
 CONFIG_SND_SOC_WM8804_I2C=m
 CONFIG_SND_SIMPLE_CARD=m
 CONFIG_SOUND_PRIME=m
index 83cfb1e8738bdb7ef3ee1502b9a64d654de80c1b..646d69bea48befde89bec7c85895d41cd644d226 100644 (file)
@@ -903,6 +903,7 @@ CONFIG_SND_PISOUND=m
 CONFIG_SND_SOC_ADAU1701=m
 CONFIG_SND_SOC_ADAU7002=m
 CONFIG_SND_SOC_AK4554=m
+CONFIG_SND_SOC_SPDIF=m
 CONFIG_SND_SOC_WM8804_I2C=m
 CONFIG_SND_SIMPLE_CARD=m
 CONFIG_SOUND_PRIME=m