Home
last modified time | relevance | path

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

12345678910>>...18

/openbmc/linux/sound/soc/starfive/
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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";
H A Dfsl,qmc-audio.yaml95 dai-tdm-slot-num = <4>;
96 dai-tdm-slot-width = <8>;
98 dai-tdm-slot-tx-mask = <0 0 0 1 0 1 0 1 0 1>;
99 dai-tdm-slot-rx-mask = <0 0 0 1 0 1 0 1 0 1>;
110 dai-tdm-slot-num = <4>;
111 dai-tdm-slot-width = <8>;
113 dai-tdm-slot-tx-mask = <0 0 1 0 1 0 1 0 1>;
114 dai-tdm-slot-rx-mask = <0 0 1 0 1 0 1 0 1>;
H A 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.
H A 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.
H A 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 =
/openbmc/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
H A Dnetwork.txt58 - fsl,tdm-interface
61 Definition : Specify that hdlc is based on tdm-interface
63 The property below is dependent on fsl,tdm-interface:
74 - fsl,tdm-framer-type
75 Usage: required for tdm interface
80 - fsl,tdm-id
81 Usage: required for tdm interface
83 Definition : number of TDM ID
87 Usage: required for tdm interface
89 Definition : time slot mask for TDM operation. Indicates which time
[all …]
/openbmc/linux/drivers/soc/fsl/qe/
H A Dtsa.c125 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()
420 clk_get_rate(tdm->l1tclk_clk) : in tsa_of_parse_tdm_route()
[all …]
H A 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 …]
/openbmc/u-boot/board/freescale/p1022ds/
H A DREADME9 Add the environment 'usb2', 'audclk' and 'tdm' to support pin multiplex
12 'setenv hwconfig tdm' to enable TDM and disable Audio
14 and disable TDM
15 'setenv hwconfig 'usb2;tdm' to enable USB2 and TDM, disable eTsec2 and Audio
17 is 11MHz), disable eTsec2 and TDM
19 Warning: TDM and AUDIO can not enable simultaneous !
21 'setenv hwconfig 'audclk:12;tdm' --- error !
22 'setenv hwconfig 'audclk:11;tdm' --- error !
/openbmc/linux/arch/arm64/boot/dts/renesas/
H A 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:0,2 xxx.wav (TDM-0)
23 * (D) aplay -D plughw:0,3 xxx.wav (TDM-1)
24 * (E) aplay -D plughw:0,4 xxx.wav (TDM-2)
25 * (F) aplay -D plughw:0,5 xxx.wav (TDM-3)
64 convert-channels = <8>; /* to 8ch TDM */
[all …]
H A 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:0,2 xxx.wav (TDM-0)
23 * (D) aplay -D plughw:0,3 xxx.wav (TDM-1)
24 * (E) aplay -D plughw:0,4 xxx.wav (TDM-2)
25 * (F) aplay -D plughw:0,5 xxx.wav (TDM-3)
47 convert-channels = <8>; /* to 8ch TDM */
H A 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:0,2 xxx.wav (TDM-0)
23 * (D) aplay -D plughw:0,3 xxx.wav (TDM-1)
24 * (E) aplay -D plughw:0,4 xxx.wav (TDM-2)
25 * (F) aplay -D plughw:0,5 xxx.wav (TDM-3)
94 convert-channels = <8>; /* to 8ch TDM */
/openbmc/linux/sound/soc/qcom/qdsp6/
H A Dq6afe.h98 /** Clock ID for Primary TDM IBIT */
100 /** Clock ID for Primary TDM EBIT */
102 /** Clock ID for Secondary TDM IBIT */
104 /** Clock ID for Secondary TDM EBIT */
106 /** Clock ID for Tertiary TDM IBIT */
108 /** Clock ID for Tertiary TDM EBIT */
110 /** Clock ID for Quartery TDM IBIT */
112 /** Clock ID for Quartery TDM EBIT */
114 /** Clock ID for Quinary TDM IBIT */
116 /** Clock ID for Quinary TDM EBIT */
[all …]
/openbmc/linux/sound/soc/meson/
H A Daxg-card.c11 #include "axg-tdm.h"
70 "setting tdm link slots failed\n"); in axg_card_tdm_dai_init()
78 dev_err(asoc_rtd_to_cpu(rtd, 0)->dev, "setting tdm link slots failed\n"); in axg_card_tdm_dai_init()
96 dev_err(asoc_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 …]
/openbmc/linux/sound/soc/codecs/
H A 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 …]
H A 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 */
H A 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 …]
/openbmc/linux/arch/arm64/boot/dts/amlogic/
H A 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>>...18