Lines Matching +full:dai +full:- +full:tdm +full:- +full:slot +full:- +full:width
3 The sti ASoC Sound Card can be used, for all sti SoCs using internal sti-sas
8 Documentation/devicetree/bindings/sound/simple-card.yaml.
10 1) sti-uniperiph-dai: audio dai device.
11 ---------------------------------------
14 - compatible: "st,stih407-uni-player-hdmi", "st,stih407-uni-player-pcm-out",
15 "st,stih407-uni-player-dac", "st,stih407-uni-player-spdif",
16 "st,stih407-uni-reader-pcm_in", "st,stih407-uni-reader-hdmi",
18 - st,syscfg: phandle to boot-device system configuration registers
20 - clock-names: name of the clocks listed in clocks property in the same order
22 - reg: CPU DAI IP Base address and size entries, listed in same
25 - reg-names: names of the mapped memory regions listed in regs property in
28 - interrupts: CPU_DAI interrupt line, listed in the same order than the
31 - dma: CPU_DAI DMA controller phandle and DMA request line, listed in the same
34 - dma-names: identifier string for each DMA request line in the dmas property.
35 "tx" for "st,sti-uni-player" compatibility
36 "rx" for "st,sti-uni-reader" compatibility
38 Required properties ("st,sti-uni-player" compatibility only):
39 - clocks: CPU_DAI IP clock source, listed in the same order than the
43 - pinctrl-0: defined for CPU_DAI@1 and CPU_DAI@4 to describe I2S PIOs for
46 - pinctrl-names: should contain only one value - "default".
48 - st,tdm-mode: to declare to set TDM mode for unireader and uniplayer IPs.
49 Only compartible with IPs in charge of the external I2S/TDM bus.
54 sti_uni_player1: sti-uni-player@8d81000 {
55 compatible = "st,stih407-uni-player-hdmi";
56 #sound-dai-cells = <0>;
62 dma-names = "tx";
63 st,tdm-mode = <1>;
66 sti_uni_player2: sti-uni-player@8d82000 {
67 compatible = "st,stih407-uni-player-pcm-out";
68 #sound-dai-cells = <0>;
74 dma-names = "tx";
77 sti_uni_player3: sti-uni-player@8d85000 {
78 compatible = "st,stih407-uni-player-spdif";
79 #sound-dai-cells = <0>;
85 dma-names = "tx";
88 sti_uni_reader1: sti-uni-reader@8d84000 {
89 compatible = "st,stih407-uni-reader-hdmi";
90 #sound-dai-cells = <0>;
95 dma-names = "rx";
98 2) sti-sas-codec: internal audio codec IPs driver
99 -------------------------------------------------
102 - compatible: "st,sti<chip>-sas-codec" .
103 Should be chip "st,stih416-sas-codec" or "st,stih407-sas-codec"
105 - st,syscfg: phandle to boot-device system configuration registers.
107 - pinctrl-0: SPDIF PIO description.
109 - pinctrl-names: should contain only one value - "default".
112 sti_sas_codec: sti-sas-codec {
113 compatible = "st,stih407-sas-codec";
114 #sound-dai-cells = <1>;
116 pinctrl-names = "default";
117 pinctrl-0 = <&pinctrl_spdif_out >;
122 compatible = "simple-audio-card";
123 simple-audio-card,name = "sti audio card";
125 simple-audio-card,dai-link@0 {
128 dai-tdm-slot-width = <32>;
130 sound-dai = <&sti_uni_player2>;
134 sound-dai = <&sti_sasg_codec 1>;
137 simple-audio-card,dai-link@1 {
141 sound-dai = <&sti_uni_player3>;
145 sound-dai = <&sti_sasg_codec 0>;
148 simple-audio-card,dai-link@2 {
149 /* TDM playback */
151 frame-inversion = <1>;
153 sound-dai = <&sti_uni_player1>;
154 dai-tdm-slot-num = <16>;
155 dai-tdm-slot-width = <16>;
156 dai-tdm-slot-tx-mask =
161 sound-dai = <&sti_sasg_codec 3>;