Based on kernel version 4.16.1. Page generated on 2018-04-09 11:52 EST.
1 * Allwinner A10 Codec
2
3 Required properties:
4 - compatible: must be one of the following compatibles:
5 - "allwinner,sun4i-a10-codec"
6 - "allwinner,sun6i-a31-codec"
7 - "allwinner,sun7i-a20-codec"
8 - "allwinner,sun8i-a23-codec"
9 - "allwinner,sun8i-h3-codec"
10 - "allwinner,sun8i-v3s-codec"
11 - reg: must contain the registers location and length
12 - interrupts: must contain the codec interrupt
13 - dmas: DMA channels for tx and rx dma. See the DMA client binding,
14 Documentation/devicetree/bindings/dma/dma.txt
15 - dma-names: should include "tx" and "rx".
16 - clocks: a list of phandle + clock-specifer pairs, one for each entry
17 in clock-names.
18 - clock-names: should contain the following:
19 - "apb": the parent APB clock for this controller
20 - "codec": the parent module clock
21
22 Optional properties:
23 - allwinner,pa-gpios: gpio to enable external amplifier
24
25 Required properties for the following compatibles:
26 - "allwinner,sun6i-a31-codec"
27 - "allwinner,sun8i-a23-codec"
28 - "allwinner,sun8i-h3-codec"
29 - "allwinner,sun8i-v3s-codec"
30 - resets: phandle to the reset control for this device
31 - allwinner,audio-routing: A list of the connections between audio components.
32 Each entry is a pair of strings, the first being the
33 connection's sink, the second being the connection's
34 source. Valid names include:
35
36 Audio pins on the SoC:
37 "HP"
38 "HPCOM"
39 "LINEIN" (not on sun8i-v3s)
40 "LINEOUT" (not on sun8i-a23 or sun8i-v3s)
41 "MIC1"
42 "MIC2" (not on sun8i-v3s)
43 "MIC3" (sun6i-a31 only)
44
45 Microphone biases from the SoC:
46 "HBIAS"
47 "MBIAS" (not on sun8i-v3s)
48
49 Board connectors:
50 "Headphone"
51 "Headset Mic"
52 "Line In"
53 "Line Out"
54 "Mic"
55 "Speaker"
56
57 Required properties for the following compatibles:
58 - "allwinner,sun8i-a23-codec"
59 - "allwinner,sun8i-h3-codec"
60 - "allwinner,sun8i-v3s-codec"
61 - allwinner,codec-analog-controls: A phandle to the codec analog controls
62 block in the PRCM.
63
64 Example:
65 codec: codec@1c22c00 {
66 #sound-dai-cells = <0>;
67 compatible = "allwinner,sun7i-a20-codec";
68 reg = <0x01c22c00 0x40>;
69 interrupts = <0 30 4>;
70 clocks = <&apb0_gates 0>, <&codec_clk>;
71 clock-names = "apb", "codec";
72 dmas = <&dma 0 19>, <&dma 0 19>;
73 dma-names = "rx", "tx";
74 };
75
76 codec: codec@1c22c00 {
77 #sound-dai-cells = <0>;
78 compatible = "allwinner,sun6i-a31-codec";
79 reg = <0x01c22c00 0x98>;
80 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
81 clocks = <&ccu CLK_APB1_CODEC>, <&ccu CLK_CODEC>;
82 clock-names = "apb", "codec";
83 resets = <&ccu RST_APB1_CODEC>;
84 dmas = <&dma 15>, <&dma 15>;
85 dma-names = "rx", "tx";
86 allwinner,audio-routing =
87 "Headphone", "HP",
88 "Speaker", "LINEOUT",
89 "LINEIN", "Line In",
90 "MIC1", "MBIAS",
91 "MIC1", "Mic",
92 "MIC2", "HBIAS",
93 "MIC2", "Headset Mic";
94 };
- [ sound ]
- adi,adau1701.txt
- adi,adau17x1.txt
- adi,adau7002.txt
- adi,axi-i2s.txt
- adi,axi-spdif-tx.txt
- adi,ssm2602.txt
- ak4104.txt
- ak4554.txt
- ak4613.txt
- ak4642.txt
- ak5386.txt
- alc5623.txt
- alc5632.txt
- armada-370db-audio.txt
- arndale.txt
- atmel-at91sam9g20ek-wm8731-audio.txt
- atmel-classd.txt
- atmel-pdmic.txt
- atmel-sam9x5-wm8731-audio.txt
- atmel-wm8904.txt
- atmel_ac97c.txt
- audio-graph-card.txt
- audio-graph-scu-card.txt
- axentia,tse850-pcm5142.txt
- brcm,bcm2835-i2s.txt
- brcm,cygnus-audio.txt
- bt-sco.txt
- cdns,xtfpga-i2s.txt
- cs35l32.txt
- cs35l33.txt
- cs35l34.txt
- cs35l35.txt
- cs4265.txt
- cs4270.txt
- cs4271.txt
- cs42l42.txt
- cs42l52.txt
- cs42l56.txt
- cs42l73.txt
- cs42xx8.txt
- cs43130.txt
- cs4349.txt
- cs53l30.txt
- da7213.txt
- da7218.txt
- da7219.txt
- da9055.txt
- davinci-evm-audio.txt
- davinci-mcasp-audio.txt
- davinci-mcbsp.txt
- designware-i2s.txt
- dioo,dio2125.txt
- dmic.txt
- es8328.txt
- eukrea-tlv320.txt
- everest,es7134.txt
- fsl,asrc.txt
- fsl,esai.txt
- fsl,spdif.txt
- fsl,ssi.txt
- fsl-asoc-card.txt
- fsl-sai.txt
- gtm601.txt
- hdmi.txt
- hisilicon,hi6210-i2s.txt
- ics43432.txt
- img,i2s-in.txt
- img,i2s-out.txt
- img,parallel-out.txt
- img,pistachio-internal-dac.txt
- img,spdif-in.txt
- img,spdif-out.txt
- imx-audio-es8328.txt
- imx-audio-sgtl5000.txt
- imx-audio-spdif.txt
- imx-audio-wm8962.txt
- imx-audmux.txt
- ingenic,jz4740-i2s.txt
- inno-rk3036.txt
- max98090.txt
- max98095.txt
- max98357a.txt
- max98371.txt
- max98373.txt
- max98504.txt
- max9860.txt
- max9867.txt
- max9892x.txt
- mrvl,pxa-ssp.txt
- mrvl,pxa2xx-pcm.txt
- mt2701-afe-pcm.txt
- mt2701-cs42448.txt
- mt2701-wm8960.txt
- mt8173-max98090.txt
- mt8173-rt5650-rt5514.txt
- mt8173-rt5650-rt5676.txt
- mt8173-rt5650.txt
- mtk-afe-pcm.txt
- mvebu-audio.txt
- mxs-audio-sgtl5000.txt
- mxs-saif.txt
- nau8540.txt
- nau8810.txt
- nau8824.txt
- nau8825.txt
- nokia,rx51.txt
- nvidia,tegra-audio-alc5632.txt
- nvidia,tegra-audio-max98090.txt
- nvidia,tegra-audio-rt5640.txt
- nvidia,tegra-audio-rt5677.txt
- nvidia,tegra-audio-sgtl5000.txt
- nvidia,tegra-audio-trimslice.txt
- nvidia,tegra-audio-wm8753.txt
- nvidia,tegra-audio-wm8903.txt
- nvidia,tegra-audio-wm9712.txt
- nvidia,tegra20-ac97.txt
- nvidia,tegra20-das.txt
- nvidia,tegra20-i2s.txt
- nvidia,tegra30-ahub.txt
- nvidia,tegra30-hda.txt
- nvidia,tegra30-i2s.txt
- omap-abe-twl6040.txt
- omap-dmic.txt
- omap-mcbsp.txt
- omap-mcpdm.txt
- omap-twl4030.txt
- pcm179x.txt
- pcm186x.txt
- pcm5102a.txt
- pcm512x.txt
- qcom,apq8016-sbc.txt
- qcom,lpass-cpu.txt
- qcom,msm8916-wcd-analog.txt
- qcom,msm8916-wcd-digital.txt
- renesas,fsi.txt
- renesas,rsnd.txt
- rockchip,pdm.txt
- rockchip,rk3288-hdmi-analog.txt
- rockchip,rk3399-gru-sound.txt
- rockchip-i2s.txt
- rockchip-max98090.txt
- rockchip-rt5645.txt
- rockchip-spdif.txt
- rt274.txt
- rt5514.txt
- rt5616.txt
- rt5631.txt
- rt5640.txt
- rt5645.txt
- rt5651.txt
- rt5659.txt
- rt5660.txt
- rt5663.txt
- rt5665.txt
- rt5677.txt
- samsung,odroid.txt
- samsung,smdk-wm8994.txt
- samsung,tm2-audio.txt
- samsung-i2s.txt
- sgtl5000.txt
- simple-card.txt
- simple-scu-card.txt
- sirf-audio-codec.txt
- sirf-audio-port.txt
- sirf-audio.txt
- sirf-usp.txt
- snow.txt
- soc-ac97link.txt
- spdif-receiver.txt
- spdif-transmitter.txt
- ssm2518.txt
- ssm4567.txt
- st,sta32x.txt
- st,sta350.txt
- st,sti-asoc-card.txt
- st,stm32-adfsdm.txt
- st,stm32-i2s.txt
- st,stm32-sai.txt
- st,stm32-spdifrx.txt
- storm.txt
- sun4i-codec.txt
- sun4i-i2s.txt
- sun8i-a33-codec.txt
- sun8i-codec-analog.txt
- sunxi,sun4i-spdif.txt
- tas2552.txt
- tas571x.txt
- tas5720.txt
- tdm-slot.txt
- tfa9879.txt
- ti,ads117x.txt
- ti,pcm1681.txt
- ti,pcm3168a.txt
- ti,tas5086.txt
- ti,tas6424.txt
- tlv320aic31xx.txt
- tlv320aic32x4.txt
- tlv320aic3x.txt
- tpa6130a2.txt
- ts3a227e.txt
- tscs42xx.txt
- uniphier,evea.txt
- ux500-mop500.txt
- ux500-msp.txt
- widgets.txt
- wlf,arizona.txt
- wlf,wm8974.txt
- wm8510.txt
- wm8523.txt
- wm8524.txt
- wm8580.txt
- wm8711.txt
- wm8728.txt
- wm8731.txt
- wm8737.txt
- wm8741.txt
- wm8750.txt
- wm8753.txt
- wm8770.txt
- wm8776.txt
- wm8804.txt
- wm8903.txt
- wm8904.txt
- wm8960.txt
- wm8962.txt
- wm8994.txt
- zte,tdm.txt
- zte,zx-aud96p22.txt
- zte,zx-i2s.txt
- zte,zx-spdif.txt
-
- Information is copyright its respective author.
- All material is available from the Linux Kernel Source distributed under a GPL License.
- Hosted by mjmwired.net.