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>
Sun, 23 Jul 2017 03:07:36 +0000 (03:07 +0000)
commite8100f7c7f5dd969db2d224433492c66276c56a2
treed0d1cc4cb8920c228085e5a9cb28d08ec6510726
parent5dfe15b277dea43151bf5b7a6f9cb04211666807
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 <hias@horus.com>
arch/arm/configs/bcm2709_defconfig
arch/arm/configs/bcmrpi_defconfig