Home
last modified time | relevance | path

Searched +full:24 +full:tdm (Results 1 – 25 of 177) sorted by relevance

12345678

/Linux-v6.6/Documentation/devicetree/bindings/sound/
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 …]
Dsamsung-i2s.yaml19 samsung,s3c6410-i2s: for 8/16/24bit stereo I2S.
21 samsung,s5pv210-i2s: for 8/16/24bit multichannel (5.1) I2S with
25 samsung,exynos5420-i2s: for 8/16/24bit multichannel (5.1) I2S for
28 source and 7.1 channel TDM support for playback; TDM (Time division
33 Exynos7 I2S has 7.1 channel TDM support for capture, secondary FIFO
41 tesla,fsd-i2s: for 8/16/24bit stereo channel I2S for playback and
44 frequencies supported by Exynos7 I2S and 7.1 channel TDM support
45 for playback and capture TDM (Time division multiplexing) to allow
Damlogic,axg-sound-card.yaml42 dai-tdm-slot-num:
49 dai-tdm-slot-width:
52 enum: [ 8, 16, 20, 24, 32 ]
66 "^dai-tdm-slot-(t|r)x-mask-[0-3]$":
71 Transmit and receive cpu slot masks of each TDM lane
90 "^dai-tdm-slot-(t|r)x-mask$":
145 dai-tdm-slot-tx-mask-2 = <1 1>;
146 dai-tdm-slot-tx-mask-3 = <1 1>;
147 dai-tdm-slot-rx-mask-1 = <1 1>;
/Linux-v6.6/Documentation/devicetree/bindings/pinctrl/
Dmarvell,kirkwood-pinctrl.txt89 mpp24 24 gpio, ge1(rxd0)
130 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)
[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)
45 mpp24 24 gpio, ge0(col), ge1(txctl), spi1(cs0)
77 mpp53 53 gpio, dev(ad14), sd0(clk), tdm(pclk), spi0(cs2),
79 mpp54 54 gpo, dev(ad15), tdm(dtx)
[all …]
Dmarvell,armada-375-pinctrl.txt34 mpp18 18 gpio, tdm(int)
35 mpp19 19 gpio, tdm(rst)
36 mpp20 20 gpio, tdm(pclk)
37 mpp21 21 gpio, tdm(fsync)
38 mpp22 22 gpio, tdm(drx)
39 mpp23 23 gpio, tdm(dtx)
40 mpp24 24 gpio, led(p0), ge1(rxd0), sd(cmd), uart0(rts)
53 mpp37 37 gpio, pcie0(clkreq), tdm(int), ge(mdc)
Dmarvell,armada-38x-pinctrl.txt42 mpp24 24 gpio, spi0(miso), ua0(cts), ua1(rxd), sd0(d4), dev(ready)
66 mpp48 48 gpio, sata0(prsnt), dram(vttctrl), tdm(pclk), audio(mclk), sd0(d4), pcie0(cl…
67 mpp49 49 gpio, sata2(prsnt) [2], sata3(prsnt) [2], tdm(fsync), audio(lrclk), sd0(d5),…
68 mpp50 50 gpio, pcie0(rstout), tdm(drx), audio(extclk), sd0(cmd)
69 mpp51 51 gpio, tdm(dtx), audio(sdo), dram(deccerr), ptp(trig)
70 mpp52 52 gpio, pcie0(rstout), tdm(int), audio(sdi), sd0(d6), ptp(clk)
71 mpp53 53 gpio, sata1(prsnt), sata0(prsnt), tdm(rst), audio(bclk), sd0(d7), ptp(evreq)
Dmarvell,armada-39x-pinctrl.txt43 mpp24 24 gpio, spi0(miso), ua0(cts), ua1(rxd), sd0(d4), dev(ready)
69 mpp48 48 gpio, sata0(prsnt) [1], dram(vttctrl), tdm(pclk) [2], audio(mclk) [2], sd0(d4), pcie0(clkr…
70 mpp49 49 gpio, sata2(prsnt) [2], sata3(prsnt) [2], tdm(fsync) [2],
72 mpp50 50 gpio, pcie0(rstout), tdm(drx) [2], audio(extclk) [2], sd0(cmd), ua2(rxd)
73 mpp51 51 gpio, tdm(dtx) [2], audio(sdo) [2], dram(deccerr), ua2(txd)
74 mpp52 52 gpio, pcie0(rstout), tdm(int) [2], audio(sdi) [2], sd0(d6), i2c3(sck)
75 mpp53 53 gpio, sata1(prsnt) [1], sata0(prsnt) [1], tdm(rst) [2], audio(bclk) [2], sd0(d7), i2c3(sda)
/Linux-v6.6/drivers/soc/fsl/qe/
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 …]
Dtsa.c74 #define TSA_SICR_SCC4(x) ((x) << 24)
125 struct tsa_tdm tdm[2]; /* TDMa and TDMb */ member
366 struct tsa_tdm *tdm; in tsa_of_parse_tdm_route() local
410 tdm = &tsa->tdm[tdm_id]; in tsa_of_parse_tdm_route()
412 serial_info->rx_fs_rate = clk_get_rate(tdm->l1rsync_clk); in tsa_of_parse_tdm_route()
413 serial_info->rx_bit_rate = clk_get_rate(tdm->l1rclk_clk); in tsa_of_parse_tdm_route()
416 serial_info->tx_fs_rate = tdm->l1tsync_clk ? in tsa_of_parse_tdm_route()
417 clk_get_rate(tdm->l1tsync_clk) : in tsa_of_parse_tdm_route()
418 clk_get_rate(tdm->l1rsync_clk); in tsa_of_parse_tdm_route()
419 serial_info->tx_bit_rate = tdm->l1tclk_clk ? in tsa_of_parse_tdm_route()
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
Dfsl,cpm1-tsa.yaml14 Its purpose is to route some TDM time-slots to other internal serial
42 '^tdm@[0-1]$':
44 The TDM managed by this controller
54 The TDM number for this TDM, 0 for TDMa and 1 for TDMb
185 tdm@0 {
196 <24 FSL_CPM_TSA_SCC4>, /* TS 2..25 */
201 <24 FSL_CPM_TSA_SCC4>, /* 2..25 */
/Linux-v6.6/Documentation/devicetree/bindings/arm/marvell/
Dcp110-system-controller.txt63 - 1 24 USB3 Device
91 mpp0 0 gpio, dev(ale1), au(i2smclk), ge0(rxd3), tdm(pclk), ptp(pulse), mss_i2c(sda), uart0(rxd), sa…
92 mpp1 1 gpio, dev(ale0), au(i2sdo_spdifo), ge0(rxd2), tdm(drx), ptp(clk), mss_i2c(sck), uart0(txd), …
93 mpp2 2 gpio, dev(ad15), au(i2sextclk), ge0(rxd1), tdm(dtx), mss_uart(rxd), ptp(pclk_out), i2c1(sck)…
94 mpp3 3 gpio, dev(ad14), au(i2slrclk), ge0(rxd0), tdm(fsync), mss_uart(txd), pcie(rstoutn), i2c1(sda…
95 mpp4 4 gpio, dev(ad13), au(i2sbclk), ge0(rxctl), tdm(rstn), mss_uart(rxd), uart1(cts), pcie0(clkreq…
96 mpp5 5 gpio, dev(ad12), au(i2sdi), ge0(rxclk), tdm(intn), mss_uart(txd), uart1(rts), pcie1(clkreq),…
115 mpp24 24 gpio, dev(a0), au(i2slrclk)
123 mpp32 32 gpio, mii(col), mii(txerr), mss_spi(miso), tdm(drx), au(i2sextclk), au(i2sdi), ge(mdio), s…
124 mpp33 33 gpio, mii(txclk), sdio(pwr10), mss_spi(csn), tdm(fsync), au(i2smclk), sdio(bus_pwr), xg(md…
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/clock/
Dmvebu-gated-clock.txt23 25 tdm Time Division Mplx
47 24 copro Coprocessor
48 25 tdm Time Division Mplx
77 25 tdm Time Division Multiplexing
117 25 tdm Time Division Mplx
151 24 xor1 XOR DMA 1
173 20 tdm Time Division Mplx
Dstarfive,jh7110-syscrg.yaml22 - description: Main Oscillator (24 MHz)
28 - description: External TDM clock
35 - description: Main Oscillator (24 MHz)
42 - description: External TDM clock
/Linux-v6.6/sound/soc/
Dsoc-utils-test.c63 /* Fixed 8-slot TDM, other values from params */
81 /* Fixed 32-bit TDM, other values from params */
99 /* Fixed 6-slot 24-bit TDM, other values from params */
100 { 8000, SNDRV_PCM_FORMAT_S16_LE, 1, 24, 6, 0, 1152000 },
101 { 8000, SNDRV_PCM_FORMAT_S16_LE, 2, 24, 6, 0, 1152000 },
102 { 8000, SNDRV_PCM_FORMAT_S16_LE, 3, 24, 6, 0, 1152000 },
103 { 8000, SNDRV_PCM_FORMAT_S16_LE, 4, 24, 6, 0, 1152000 },
104 { 8000, SNDRV_PCM_FORMAT_S24_LE, 1, 24, 6, 0, 1152000 },
105 { 8000, SNDRV_PCM_FORMAT_S24_LE, 2, 24, 6, 0, 1152000 },
106 { 8000, SNDRV_PCM_FORMAT_S24_LE, 3, 24, 6, 0, 1152000 },
[all …]
/Linux-v6.6/arch/arm64/boot/dts/freescale/
Dfsl-ls1043a-rdb.dts50 compatible = "atmel,24c512";
55 compatible = "atmel,24c512";
218 fsl,tdm-framer-type = "e1";
219 fsl,tdm-id = <0>;
221 fsl,tdm-interface;
/Linux-v6.6/sound/soc/qcom/qdsp6/
Dq6afe-dai.c52 slim->bit_width = 24; in q6slim_hw_params()
81 hdmi->bit_width = 24; in q6hdmi_hw_params()
126 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_set_tdm_slot() local
159 tdm->nslots_per_frame = slots; in q6tdm_set_tdm_slot()
160 tdm->slot_width = slot_width; in q6tdm_set_tdm_slot()
161 /* TDM RX dais ids are even and tx are odd */ in q6tdm_set_tdm_slot()
162 tdm->slot_mask = ((dai->id & 0x1) ? tx_mask : rx_mask) & cap_mask; in q6tdm_set_tdm_slot()
179 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_set_channel_map() local
197 tdm->ch_mapping[i] = tx_slot[i]; in q6tdm_set_channel_map()
200 tdm->ch_mapping[i] = Q6AFE_CMAP_INVALID; in q6tdm_set_channel_map()
[all …]
/Linux-v6.6/sound/soc/sh/
Dssi.c23 * useful to support TDM mode codecs like the AD1939 which have a
24 * fixed TDM slot size, regardless of sample resolution.
161 case 24: ++i; in ssi_hw_params()
178 * like the AD1939 which only accept 32bit wide TDM slots. For in ssi_hw_params()
180 * Waiting for ASoC to get TDM support ;-) in ssi_hw_params()
182 if ((bits > 16) && (bits <= 24)) { in ssi_hw_params()
183 bits = 24; /* these are padded by the SSI */ in ssi_hw_params()
/Linux-v6.6/sound/soc/atmel/
Dmchp-i2s-mcc.c135 /* Number of TDM Channels - 1 */
145 /* TDM Frame Synchronization */
152 #define MCHP_I2SMCC_MRA_ISCKDIV_MASK GENMASK(29, 24)
154 (((div) << 24) & MCHP_I2SMCC_MRA_ISCKDIV_MASK)
164 /* 0: slot is 32 bits wide for DATALENGTH = 18/20/24 bits. */
165 /* 1: slot is 24 bits wide for DATALENGTH = 18/20/24 bits. */
204 #define MCHP_I2SMCC_INT_RXOVF_MASK(ch) GENMASK((ch) + 23, 24)
205 #define MCHP_I2SMCC_INT_RXOVFCH(ch) BIT((ch) + 24)
529 dev_err(dev->dev, "I2S with TDM is not supported\n"); in mchp_i2s_mcc_hw_params()
536 dev_err(dev->dev, "Left-Justified with TDM is not supported\n"); in mchp_i2s_mcc_hw_params()
[all …]
/Linux-v6.6/drivers/pinctrl/mvebu/
Dpinctrl-armada-370.c48 MPP_FUNCTION(0x4, "tdm", "rst"),
53 MPP_FUNCTION(0x4, "tdm", "dtx"),
59 MPP_FUNCTION(0x4, "tdm", "drx"),
71 MPP_FUNCTION(0x4, "tdm", "fsync"),
93 MPP_FUNCTION(0x4, "tdm", "pclk"),
113 MPP_FUNCTION(0x4, "tdm", "int"),
125 MPP_FUNCTION(0x4, "tdm", "pclk")),
145 MPP_MODE(24,
286 MPP_FUNCTION(0x3, "tdm", "pclk"),
292 MPP_FUNCTION(0x3, "tdm", "dtx")),
[all …]
Dpinctrl-armada-xp.c161 MPP_MODE(24,
164 MPP_VAR_FUNCTION(0x3, "tdm", "rst", V_MV78230_PLUS),
169 MPP_VAR_FUNCTION(0x3, "tdm", "pclk", V_MV78230_PLUS),
173 MPP_VAR_FUNCTION(0x3, "tdm", "fsync", V_MV78230_PLUS),
178 MPP_VAR_FUNCTION(0x3, "tdm", "dtx", V_MV78230_PLUS),
183 MPP_VAR_FUNCTION(0x3, "tdm", "drx", V_MV78230_PLUS),
188 MPP_VAR_FUNCTION(0x3, "tdm", "int0", V_MV78230_PLUS),
193 MPP_VAR_FUNCTION(0x3, "tdm", "int1", V_MV78230_PLUS)),
197 MPP_VAR_FUNCTION(0x3, "tdm", "int2", V_MV78230_PLUS)),
201 MPP_VAR_FUNCTION(0x3, "tdm", "int3", V_MV78230_PLUS)),
[all …]
/Linux-v6.6/sound/soc/codecs/
Dpcm186x.c48 PCM186X_PGA_VAL_CH1_R, 0, -24, 80, 7, 0,
54 PCM186X_PGA_VAL_CH1_R, 0, -24, 80, 7, 0,
57 PCM186X_PGA_VAL_CH2_R, 0, -24, 80, 7, 0,
291 case 24: in pcm186x_hw_params()
315 /* Select TDM transmission data */ in pcm186x_hw_params()
333 /* In DSP/TDM mode, the LRCLK divider must be 256 */ in pcm186x_hw_params()
404 * except we need to shift the TDM output by one BCK cycle in pcm186x_set_fmt()
438 dev_err(component->dev, "tdm tx mask must not be 0\n"); in pcm186x_set_tdm_slot()
446 dev_err(component->dev, "tdm tx mask must be contiguous\n"); in pcm186x_set_tdm_slot()
453 dev_err(component->dev, "tdm tx slot selection out of bounds\n"); in pcm186x_set_tdm_slot()
Dpcm3168a.c340 * two channels (no TDM support) in pcm3168a_update_fixup_pcm_stream()
411 "Bad tdm mask tx: 0x%08x rx: 0x%08x slots %d\n", in pcm3168a_set_tdm_slot()
417 (slot_width != 16 && slot_width != 24 && slot_width != 32 )) { in pcm3168a_set_tdm_slot()
496 case 24: in pcm3168a_hw_params()
499 …dev_err(component->dev, "24-bit slots not supported in provider mode, or consumer mode using DSP\n… in pcm3168a_hw_params()
516 * Switch the codec to TDM mode when more than 2 TDM slots are needed in pcm3168a_hw_params()
519 * then DIN1/DOUT1 is used in TDM mode. in pcm3168a_hw_params()
521 * used in normal mode, no need to switch to TDM modes. in pcm3168a_hw_params()
534 "TDM is supported under DSP/I2S/Left_J only\n"); in pcm3168a_hw_params()
/Linux-v6.6/sound/soc/sti/
Duniperif_player.c29 #define UNIPERIF_PLAYER_I2S_OUT 1 /* player id connected to I2S/TDM TX bus */
302 player->stream_settings.iec958.status[3 + (n * 4)] << 24; in uni_player_set_channel_status()
341 /* Set 24-bit sample precision */ in uni_player_prepare_iec958()
472 * Actually "16 bits/0 bits" means "32/28/24/20/18/16 bits in uni_player_prepare_pcm()
512 int tdm_frame_size; /* unip tdm frame size in bytes */ in uni_player_prepare_tdm()
513 int user_frame_size; /* user tdm frame size in bytes */ in uni_player_prepare_tdm()
528 /* number of words inserted on the TDM line */ in uni_player_prepare_tdm()
534 /* Enable the tdm functionality */ in uni_player_prepare_tdm()
537 /* number of 8 bits timeslots avail in unip tdm frame */ in uni_player_prepare_tdm()
708 /* refine hw constraint in tdm mode */ in uni_player_startup()
[all …]

12345678