Home
last modified time | relevance | path

Searched full:tdm (Results 1 – 25 of 406) sorted by relevance

12345678910>>...17

/linux-6.12.1/sound/soc/starfive/
Djh7110_tdm.c3 * jh7110_tdm.c -- StarFive JH7110 TDM driver
127 /* data related to DMA transfers b/w tdm and DMAC */
136 static inline u32 jh7110_tdm_readl(struct jh7110_tdm_dev *tdm, u16 reg) in jh7110_tdm_readl() argument
138 return readl_relaxed(tdm->tdm_base + reg); in jh7110_tdm_readl()
141 static inline void jh7110_tdm_writel(struct jh7110_tdm_dev *tdm, u16 reg, u32 val) in jh7110_tdm_writel() argument
143 writel_relaxed(val, tdm->tdm_base + reg); in jh7110_tdm_writel()
146 static void jh7110_tdm_save_context(struct jh7110_tdm_dev *tdm, in jh7110_tdm_save_context() argument
150 tdm->saved_pcmtxcr = jh7110_tdm_readl(tdm, TDM_PCMTXCR); in jh7110_tdm_save_context()
152 tdm->saved_pcmrxcr = jh7110_tdm_readl(tdm, TDM_PCMRXCR); in jh7110_tdm_save_context()
155 static void jh7110_tdm_start(struct jh7110_tdm_dev *tdm, in jh7110_tdm_start() argument
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/pinctrl/
Dmarvell,kirkwood-pinctrl.txt130 mpp20 20 gpio, ge1(txd0), ts(mp0), tdm(tx0ql), audio(spdifi),
132 mpp21 21 gpio, ge1(txd1), sata0(act), ts(mp1), tdm(rx0ql),
134 mpp22 22 gpio, ge1(txd2), ts(mp2), tdm(tx2ql), audio(rmclk),
136 mpp23 23 gpio, ge1(txd3), sata0(prsnt), ts(mp3), tdm(rx2ql),
138 mpp24 24 gpio, ge1(rxd0), ts(mp4), tdm(spi-cs0), audio(sdo)
139 mpp25 25 gpio, ge1(rxd1), ts(mp5), tdm(spi-sck), audio(lrclk)
140 mpp26 26 gpio, ge1(rxd2), ts(mp6), tdm(spi-miso), audio(mclk)
141 mpp27 27 gpio, ge1(rxd3), ts(mp7), tdm(spi-mosi), audio(sdi)
142 mpp28 28 gpio, ge1(col), ts(mp8), tdm(int), audio(extclk)
143 mpp29 29 gpio, ge1(txclk), ts(mp9), tdm(rst)
[all …]
Dmarvell,armada-xp-pinctrl.txt45 mpp24 24 gpio, lcd(hsync), sata1(prsnt), tdm(rst)
46 mpp25 25 gpio, lcd(vsync), sata0(prsnt), tdm(pclk)
47 mpp26 26 gpio, lcd(clk), tdm(fsync)
48 mpp27 27 gpio, lcd(e), tdm(dtx), ptp(trig)
49 mpp28 28 gpio, lcd(pwm), tdm(drx), ptp(evreq)
50 mpp29 29 gpio, lcd(ref-clk), tdm(int0), ptp(clk)
51 mpp30 30 gpio, tdm(int1), sd0(clk)
52 mpp31 31 gpio, tdm(int2), sd0(cmd)
53 mpp32 32 gpio, tdm(int3), sd0(d0)
54 mpp33 33 gpio, tdm(int4), sd0(d1), dram(bat), dram(vttctrl)
[all …]
Dmarvell,armada-370-pinctrl.txt22 mpp6 6 gpio, ge0(txd0), sata0(prsnt), tdm(rst), audio(sdo)
23 mpp7 7 gpo, ge0(txd1), tdm(dtx), audio(lrclk)
24 mpp8 8 gpio, ge0(txd2), uart0(rts), tdm(drx), audio(bclk)
26 mpp10 10 gpio, ge0(txctl), uart0(cts), tdm(fsync), audio(sdi)
31 mpp13 13 gpio, ge0(rxd2), i2c1(sck), sd0(d1), tdm(pclk),
37 mpp16 16 gpio, ge0(rxclk), uart1(rxd), tdm(int), audio(extclk)
40 mpp19 19 gpio, ge0(txclk), ge1(txclkout), tdm(pclk)
77 mpp53 53 gpio, dev(ad14), sd0(clk), tdm(pclk), spi0(cs2),
79 mpp54 54 gpo, dev(ad15), tdm(dtx)
80 mpp55 55 gpio, dev(cs1), uart1(txd), tdm(rst), sata1(prsnt),
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dstarfive,jh7110-tdm.yaml4 $id: http://devicetree.org/schemas/sound/starfive,jh7110-tdm.yaml#
7 title: StarFive JH7110 TDM Controller
10 The TDM Controller is a Time Division Multiplexed audio interface
12 audio over a serial interface. The TDM controller can operate both
24 - starfive,jh7110-tdm
31 - description: TDM AHB Clock
32 - description: TDM APB Clock
33 - description: TDM Internal Clock
34 - description: TDM Clock
36 - description: TDM External Clock
[all …]
Dqcom,q6dsp-lpass-ports.yaml52 qcom,tdm-sync-mode:
56 TDM Synchronization mode
61 qcom,tdm-sync-src:
65 TDM Synchronization source
69 qcom,tdm-data-out:
73 TDM Data out signal to drive with other masters
77 qcom,tdm-invert-sync:
81 TDM Invert the sync
85 qcom,tdm-data-delay:
89 TDM Number of bit clock to delay data
[all …]
Dtdm-slot.txt1 TDM slot:
3 This specifies audio DAI's TDM slot.
5 TDM slot properties:
6 dai-tdm-slot-num : Number of slots in use.
7 dai-tdm-slot-width : Width in bits for each slot.
8 dai-tdm-slot-tx-mask : Transmit direction slot mask, optional
9 dai-tdm-slot-rx-mask : Receive direction slot mask, optional
12 dai-tdm-slot-num = <2>;
13 dai-tdm-slot-width = <8>;
14 dai-tdm-slot-tx-mask = <0 1>;
[all …]
Dfsl,qmc-audio.yaml110 dai-tdm-slot-num = <4>;
111 dai-tdm-slot-width = <8>;
113 dai-tdm-slot-tx-mask = <0 0 0 1 0 1 0 1 0 1>;
114 dai-tdm-slot-rx-mask = <0 0 0 1 0 1 0 1 0 1>;
125 dai-tdm-slot-num = <4>;
126 dai-tdm-slot-width = <8>;
128 dai-tdm-slot-tx-mask = <0 0 1 0 1 0 1 0 1>;
129 dai-tdm-slot-rx-mask = <0 0 1 0 1 0 1 0 1>;
140 dai-tdm-slot-num = <2>;
141 dai-tdm-slot-width = <8>;
[all …]
Drockchip,i2s-tdm.yaml4 $id: http://devicetree.org/schemas/sound/rockchip,i2s-tdm.yaml#
7 title: Rockchip I2S/TDM Controller
10 The Rockchip I2S/TDM Controller is a Time Division Multiplexed
23 - rockchip,px30-i2s-tdm
24 - rockchip,rk1808-i2s-tdm
25 - rockchip,rk3308-i2s-tdm
26 - rockchip,rk3568-i2s-tdm
27 - rockchip,rk3588-i2s-tdm
28 - rockchip,rv1126-i2s-tdm
164 compatible = "rockchip,rk3568-i2s-tdm";
Drenesas,idt821034.yaml17 'dai-tdm-slot-num', 'dai-tdm-slot-width', 'dai-tdm-slot-tx-mask' and
18 'dai-tdm-slot-rx-mask' must be present in the ALSA sound card node for
21 'dai-tdm-tdm-slot-with' must be set to 8.
Dst,sti-asoc-card.txt48 - 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.
63 st,tdm-mode = <1>;
128 dai-tdm-slot-width = <32>;
149 /* TDM playback */
154 dai-tdm-slot-num = <16>;
155 dai-tdm-slot-width = <16>;
156 dai-tdm-slot-tx-mask =
Dinfineon,peb2466.yaml17 'dai-tdm-slot-num', 'dai-tdm-slot-width', 'dai-tdm-slot-tx-mask' and
18 'dai-tdm-slot-rx-mask' must be present in the sound card node for sub-nodes
20 'dai-tdm-tdm-slot-with' must be set to 8.
/linux-6.12.1/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
Dfsl,ucc-hdlc.yaml39 fsl,tdm-interface:
41 description: Specify that hdlc is based on tdm-interface
69 fsl,tdm-framer-type:
71 description: required for tdm interface
74 fsl,tdm-id:
76 description: number of TDM ID
81 required for tdm interface.
82 time slot mask for TDM operation. Indicates which time
88 required for tdm interface.
89 time slot mask for TDM operation. Indicates which time
[all …]
/linux-6.12.1/drivers/soc/fsl/qe/
Dtsa.c51 * - CPM1: 32bit register split in 2*16bit (16bit TDM)
52 * - QE: 4x16bit registers, one per TDM
166 struct tsa_tdm tdm[4]; /* TDMa, TDMb, TDMc and TDMd */ member
168 struct tsa_tdm tdm[2]; /* TDMa and TDMb */ member
412 * In each half, 1/4 of the area is assigned to each TDM. in tsa_qe_init_entries_area()
605 struct tsa_tdm *tdm; in tsa_of_parse_tdm_route() local
649 tdm = &tsa->tdm[tdm_id]; in tsa_of_parse_tdm_route()
651 serial_info->rx_fs_rate = clk_get_rate(tdm->l1rsync_clk); in tsa_of_parse_tdm_route()
652 serial_info->rx_bit_rate = clk_get_rate(tdm->l1rclk_clk); in tsa_of_parse_tdm_route()
655 serial_info->tx_fs_rate = tdm->l1tsync_clk ? in tsa_of_parse_tdm_route()
[all …]
Dqe_tdm.c8 * QE TDM API Set - TDM specific routines implementations.
47 pr_err("QE-TDM: Invalid rx-sync-clock property\n"); in ucc_of_parse_tdm()
51 pr_err("QE-TDM: Invalid rx-sync-clock property\n"); in ucc_of_parse_tdm()
60 pr_err("QE-TDM: Invalid tx-sync-clock property\n"); in ucc_of_parse_tdm()
64 pr_err("QE-TDM: Invalid tx-sync-clock property\n"); in ucc_of_parse_tdm()
70 pr_err("QE-TDM: Invalid tx-timeslot-mask property\n"); in ucc_of_parse_tdm()
78 pr_err("QE-TDM: Invalid rx-timeslot-mask property\n"); in ucc_of_parse_tdm()
83 ret = of_property_read_u32_index(np, "fsl,tdm-id", 0, &val); in ucc_of_parse_tdm()
86 pr_err("QE-TDM: No fsl,tdm-id property for this UCC\n"); in ucc_of_parse_tdm()
92 if (of_property_read_bool(np, "fsl,tdm-internal-loopback")) in ucc_of_parse_tdm()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/net/
Dlantiq,pef2256.yaml116 'dai-tdm-slot-num', 'dai-tdm-slot-width', 'dai-tdm-slot-tx-mask' and
117 'dai-tdm-slot-rx-mask' must be present in the sound card node for
119 'dai-tdm-tdm-slot-with' must be set to 8.
192 dai-tdm-slot-num = <4>;
193 dai-tdm-slot-width = <8>;
195 dai-tdm-slot-tx-mask = <0 1 1 1 1>;
196 dai-tdm-slot-rx-mask = <0 1 1 1 1>;
206 dai-tdm-slot-num = <4>;
207 dai-tdm-slot-width = <8>;
209 dai-tdm-slot-tx-mask = <0 0 0 0 0 1 1 1 1>;
[all …]
/linux-6.12.1/arch/arm64/boot/dts/renesas/
Dulcb-kf-audio-graph-card-mix+split.dtsi3 * Device Tree for ULCB + Kingfisher + Audio Graph Card (MIX + TDM Split)
14 * (C) CPU2 (2ch) ----> (8ch) (Y) PCM3168A-p (TDM-0 : 0,1ch)
15 * (D) CPU3 (2ch) --/ (TDM-1 : 2,3ch)
16 * (E) CPU4 (2ch) --/ (TDM-2 : 4,5ch)
17 * (F) CPU5 (2ch) --/ (TDM-3 : 6,7ch)
22 * (C) aplay -D plughw:1,0 xxx.wav (TDM-0)
23 * (D) aplay -D plughw:1,1 xxx.wav (TDM-1)
24 * (E) aplay -D plughw:1,2 xxx.wav (TDM-2)
25 * (F) aplay -D plughw:1,3 xxx.wav (TDM-3)
63 convert-channels = <8>; /* to 8ch TDM */
[all …]
Dulcb-kf-simple-audio-card-mix+split.dtsi3 * Device Tree for ULCB + Kingfisher + Simple Audio Card (MIX + TDM Split)
14 * (C) CPU3 (2ch) ----> (8ch) (Y) PCM3168A-p (TDM-0 : 0,1ch)
15 * (D) CPU2 (2ch) --/ (TDM-1 : 2,3ch)
16 * (E) CPU4 (2ch) --/ (TDM-2 : 4,5ch)
17 * (F) CPU5 (2ch) --/ (TDM-3 : 6,7ch)
22 * (C) aplay -D plughw:1,0 xxx.wav (TDM-0)
23 * (D) aplay -D plughw:1,1 xxx.wav (TDM-1)
24 * (E) aplay -D plughw:1,2 xxx.wav (TDM-2)
25 * (F) aplay -D plughw:1,3 xxx.wav (TDM-3)
48 convert-channels = <8>; /* to 8ch TDM */
Dulcb-kf-audio-graph-card2-mix+split.dtsi3 * Device Tree for ULCB + Kingfisher + Audio Graph Card2 (MIX + TDM Split)
14 * (C) CPU3 (2ch) ----> (8ch) (Y) PCM3168A-p (TDM-0 : 0,1ch)
15 * (D) CPU2 (2ch) --/ (TDM-1 : 2,3ch)
16 * (E) CPU4 (2ch) --/ (TDM-2 : 4,5ch)
17 * (F) CPU5 (2ch) --/ (TDM-3 : 6,7ch)
22 * (C) aplay -D plughw:1,0 xxx.wav (TDM-0)
23 * (D) aplay -D plughw:1,1 xxx.wav (TDM-1)
24 * (E) aplay -D plughw:1,2 xxx.wav (TDM-2)
25 * (F) aplay -D plughw:1,3 xxx.wav (TDM-3)
98 convert-channels = <8>; /* to 8ch TDM */
/linux-6.12.1/sound/soc/qcom/qdsp6/
Dq6afe.h96 /** Clock ID for Primary TDM IBIT */
98 /** Clock ID for Primary TDM EBIT */
100 /** Clock ID for Secondary TDM IBIT */
102 /** Clock ID for Secondary TDM EBIT */
104 /** Clock ID for Tertiary TDM IBIT */
106 /** Clock ID for Tertiary TDM EBIT */
108 /** Clock ID for Quartery TDM IBIT */
110 /** Clock ID for Quartery TDM EBIT */
112 /** Clock ID for Quinary TDM IBIT */
114 /** Clock ID for Quinary TDM EBIT */
[all …]
/linux-6.12.1/sound/soc/meson/
Daxg-card.c11 #include "axg-tdm.h"
70 "setting tdm link slots failed\n"); in axg_card_tdm_dai_init()
78 dev_err(snd_soc_rtd_to_cpu(rtd, 0)->dev, "setting tdm link slots failed\n"); in axg_card_tdm_dai_init()
96 dev_err(snd_soc_rtd_to_cpu(rtd, 0)->dev, "setting tdm link slots failed\n"); in axg_card_tdm_dai_lb_init()
135 lb->cpus->dai_name = "TDM Loopback"; in axg_card_add_tdm_loopback()
173 snprintf(propname, 32, "dai-tdm-slot-tx-mask-%d", i); in axg_card_parse_cpu_tdm_slots()
183 snprintf(propname, 32, "dai-tdm-slot-rx-mask-%d", i); in axg_card_parse_cpu_tdm_slots()
194 dev_err(card->dev, "tdm link has no cpu slots\n"); in axg_card_parse_cpu_tdm_slots()
198 of_property_read_u32(node, "dai-tdm-slot-num", &be->slots); in axg_card_parse_cpu_tdm_slots()
214 of_property_read_u32(node, "dai-tdm-slot-width", &be->slot_width); in axg_card_parse_cpu_tdm_slots()
[all …]
/linux-6.12.1/sound/soc/codecs/
Dcs35l33.h44 #define CS35L33_TX_VMON 0x2D /* TDM TX Control 1 (VMON) */
45 #define CS35L33_TX_IMON 0x2E /* TDM TX Control 2 (IMON) */
46 #define CS35L33_TX_VPMON 0x2F /* TDM TX Control 3 (VPMON) */
47 #define CS35L33_TX_VBSTMON 0x30 /* TDM TX Control 4 (VBSTMON) */
48 #define CS35L33_TX_FLAG 0x31 /* TDM TX Control 5 (FLAG) */
49 #define CS35L33_TX_EN1 0x32 /* TDM TX Enable 1 */
50 #define CS35L33_TX_EN2 0x33 /* TDM TX Enable 2 */
51 #define CS35L33_TX_EN3 0x34 /* TDM TX Enable 3 */
52 #define CS35L33_TX_EN4 0x35 /* TDM TX Enable 4 */
53 #define CS35L33_RX_AUD 0x36 /* TDM RX Control 1 */
[all …]
Dtas2780.h42 /* TDM Configuration Reg0 */
51 /* TDM Configuration Reg1 */
59 /* TDM Configuration Reg2 */
74 /* TDM Configuration Reg3 */
80 /* TDM Configuration Reg4 */
84 /* TDM Configuration Reg5 */
90 /* TDM Configuration Reg6 */
Dcs35l34.h56 #define CS35L34_ADSP_TDM_CTL 0x51 /* ADSP TDM Ctl */
57 #define CS35L34_TDM_TX_CTL_1_VMON 0x52 /* TDM TX Ctl 1 (VMON) */
58 #define CS35L34_TDM_TX_CTL_2_IMON 0x53 /* TDM TX Ctl 2 (IMON) */
59 #define CS35L34_TDM_TX_CTL_3_VPMON 0x54 /* TDM TX Ctl 3 (VPMON) */
60 #define CS35L34_TDM_TX_CTL_4_VBSTMON 0x55 /* TDM TX Ctl 4 (VBSTMON) */
61 #define CS35L34_TDM_TX_CTL_5_FLAG1 0x56 /* TDM TX Ctl 5 (FLAG1) */
62 #define CS35L34_TDM_TX_CTL_6_FLAG2 0x57 /* TDM TX Ctl 6 (FLAG2) */
63 #define CS35L34_TDM_TX_SLOT_EN_1 0x5A /* TDM TX Slot Enable */
64 #define CS35L34_TDM_TX_SLOT_EN_2 0x5B /* TDM TX Slot Enable */
65 #define CS35L34_TDM_TX_SLOT_EN_3 0x5C /* TDM TX Slot Enable */
[all …]
/linux-6.12.1/arch/arm64/boot/dts/amlogic/
Dmeson-g12-common.dtsi1069 tdm_a_din0_pins: tdm-a-din0 {
1078 tdm_a_din1_pins: tdm-a-din1 {
1086 tdm_a_dout0_pins: tdm-a-dout0 {
1095 tdm_a_dout1_pins: tdm-a-dout1 {
1104 tdm_a_fs_pins: tdm-a-fs {
1113 tdm_a_sclk_pins: tdm-a-sclk {
1122 tdm_a_slv_fs_pins: tdm-a-slv-fs {
1131 tdm_a_slv_sclk_pins: tdm-a-slv-sclk {
1139 tdm_b_din0_pins: tdm-b-din0 {
1147 tdm_b_din1_pins: tdm-b-din1 {
[all …]

12345678910>>...17