···11+* SiRF SoC audio port22+33+Required properties:44+- compatible: "sirf,audio-port"55+- reg: Base address and size entries:66+- dmas: List of DMA controller phandle and DMA request line ordered pairs.77+- dma-names: Identifier string for each DMA request line in the dmas property.88+ These strings correspond 1:1 with the ordered pairs in dmas.99+1010+ One of the DMA channels will be responsible for transmission (should be1111+ named "tx") and one for reception (should be named "rx").1212+1313+Example:1414+1515+audioport: audioport@b0040000 {1616+ compatible = "sirf,audio-port";1717+ reg = <0xb0040000 0x10000>;1818+ dmas = <&dmac1 3>, <&dmac1 8>;1919+ dma-names = "rx", "tx";2020+};
···11+* SiRF atlas6 and prima2 internal audio codec and port based audio setups22+33+Required properties:44+- compatible: "sirf,sirf-audio-card"55+- sirf,audio-platform: phandle for the platform node66+- sirf,audio-codec: phandle for the SiRF internal codec node77+88+Optional properties:99+- hp-pa-gpios: Need to be present if the board need control external1010+ headphone amplifier.1111+- spk-pa-gpios: Need to be present if the board need control external1212+ speaker amplifier.1313+- hp-switch-gpios: Need to be present if the board capable to detect jack1414+ insertion, removal.1515+1616+Available audio endpoints for the audio-routing table:1717+1818+Board connectors:1919+ * Headset Stereophone2020+ * Ext Spk2121+ * Line In2222+ * Mic2323+2424+SiRF internal audio codec pins:2525+ * HPOUTL2626+ * HPOUTR2727+ * SPKOUT2828+ * Ext Mic2929+ * Mic Bias3030+3131+Example:3232+3333+sound {3434+ compatible = "sirf,sirf-audio-card";3535+ sirf,audio-codec = <&audiocodec>;3636+ sirf,audio-platform = <&audioport>;3737+ hp-pa-gpios = <&gpio 44 0>;3838+ spk-pa-gpios = <&gpio 46 0>;3939+ hp-switch-gpios = <&gpio 45 0>;4040+};4141+
···1414 depends on SND_BF5XX_I2S && SND_SOC_I2C_AND_SPI1515 select SND_BF5XX_SOC_I2S if !BF60x1616 select SND_BF6XX_SOC_I2S if BF60x1717- select SND_SOC_SSM26021717+ select SND_SOC_SSM2602_SPI if SPI_MASTER1818+ select SND_SOC_SSM2602_I2C if I2C1819 help1920 Say Y if you want to add support for the Analog Devices2021 SSM2602 Audio Codec Add-On Card.
+15-1
sound/soc/codecs/Kconfig
···7272 select SND_SOC_RT5640 if I2C7373 select SND_SOC_SGTL5000 if I2C7474 select SND_SOC_SI476X if MFD_SI476X_CORE7575+ select SND_SOC_SIRF_AUDIO_CODEC7576 select SND_SOC_SN95031 if INTEL_SCU_IPC7677 select SND_SOC_SPDIF7778 select SND_SOC_SSM2518 if I2C7878- select SND_SOC_SSM2602 if SND_SOC_I2C_AND_SPI7979+ select SND_SOC_SSM2602_SPI if SPI_MASTER8080+ select SND_SOC_SSM2602_I2C if I2C7981 select SND_SOC_STA32X if I2C8082 select SND_SOC_STA529 if I2C8183 select SND_SOC_STAC9766 if SND_SOC_AC97_BUS···397395 tristate398396 select CRC32399397398398+config SND_SOC_SIRF_AUDIO_CODEC399399+ tristate "SiRF SoC internal audio codec"400400+ select REGMAP_MMIO401401+400402config SND_SOC_SN95031401403 tristate402404···411405 tristate412406413407config SND_SOC_SSM2602408408+ tristate409409+410410+config SND_SOC_SSM2602_SPI411411+ select SND_SOC_SSM2602412412+ tristate413413+414414+config SND_SOC_SSM2602_I2C415415+ select SND_SOC_SSM2602414416 tristate415417416418config SND_SOC_STA32X