Home
last modified time | relevance | path

Searched +full:tdm +full:- +full:id (Results 1 – 25 of 218) sorted by relevance

123456789

/linux-6.14.4/sound/soc/starfive/
Djh7110_tdm.c1 // SPDX-License-Identifier: GPL-2.0
3 * jh7110_tdm.c -- StarFive JH7110 TDM driver
25 #include <sound/soc-dai.h>
73 /* FIFO to send or received : half-1/2, Quarter-1/4 */
95 /* left-justify or right-justify */
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()
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
Dfsl,ucc-hdlc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,ucc-hdlc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: High-Level Data Link Control(HDLC)
12 - Frank Li <[email protected]>
16 const: fsl,ucc-hdlc
24 cell-index:
27 rx-clock-name:
30 - pattern: "^brg([0-9]|1[0-6])$"
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/sound/
Dqcom,q6dsp-lpass-ports.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/qcom,q6dsp-lpass-ports.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Srinivas Kandagatla <[email protected]>
18 - qcom,q6afe-dais
20 '#sound-dai-cells':
23 '#address-cells':
26 '#size-cells':
31 '^dai@[0-9]+$':
[all …]
Dstarfive,jh7110-tdm.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/starfive,jh7110-tdm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.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
16 - Walker Chen <[email protected]>
19 - $ref: dai-common.yaml#
24 - starfive,jh7110-tdm
[all …]
Drenesas,idt821034.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/renesas,idt821034.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Herve Codina <[email protected]>
16 The time-slots used by the codec must be set and so, the properties
17 '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
19 sub-nodes that involve the codec. The codec uses one 8bit time-slot per
21 'dai-tdm-tdm-slot-with' must be set to 8.
[all …]
Dfsl,qmc-audio.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/fsl,qmc-audio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Herve Codina <[email protected]>
16 if only one QMC channel is used by the DAI or it is working in non-interleaved
20 - $ref: dai-common.yaml#
24 const: fsl,qmc-audio
26 '#address-cells':
28 '#size-cells':
[all …]
Dinfineon,peb2466.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/infineon,peb2466.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Herve Codina <[email protected]>
13 The Infineon PEB2466 codec is a programmable DSP-based four channels codec
16 The time-slots used by the codec must be set and so, the properties
17 '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
19 that involve the codec. The codec uses one 8bit time-slot per channel.
[all …]
Dimx-audio-card.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/imx-audio-card.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Shengjiu Wang <[email protected]>
13 - $ref: sound-card-common.yaml#
18 - fsl,imx-audio-card
21 ".*-dai-link$":
29 link-name:
30 description: Indicates dai-link name and PCM stream name.
[all …]
Drockchip,i2s-tdm.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/rockchip,i2s-tdm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip I2S/TDM Controller
10 The Rockchip I2S/TDM Controller is a Time Division Multiplexed
15 - Nicolas Frattaroli <[email protected]>
18 - $ref: dai-common.yaml#
23 - rockchip,px30-i2s-tdm
24 - rockchip,rk1808-i2s-tdm
[all …]
Damlogic,axg-tdm-iface.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/amlogic,axg-tdm-iface.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Amlogic Audio TDM Interfaces
10 - Jerome Brunet <[email protected]>
13 - $ref: dai-common.yaml#
17 const: amlogic,axg-tdm-iface
19 "#sound-dai-cells":
25 - description: Bit clock
[all …]
Dmicrochip,sama7g5-i2smcc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/microchip,sama7g5-i2smcc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Microchip I2S Multi-Channel Controller
10 - Codrin Ciubotariu <[email protected]>
13 The I2SMCC complies with the Inter-IC Sound (I2S) bus specification and
14 supports a Time Division Multiplexed (TDM) interface with external
15 multi-channel audio codecs. It consists of a receiver, a transmitter and a
19 multi-channel is supported by using multiple data pins, output and
[all …]
Drichtek,rtq9128.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/richtek,rtq9128.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - ChiYuan Huang <[email protected]>
13 The RTQ9128 is a ultra-low output noise, high-efficiency, four-channel
14 class-D audio power amplifier and delivering 4x75W into 4OHm at 10%
18 - $ref: dai-common.yaml#
23 - richtek,rtq9128
28 enable-gpios:
[all …]
/linux-6.14.4/sound/soc/qcom/qdsp6/
Dq6afe.h1 /* SPDX-License-Identifier: GPL-2.0 */
24 /* Clock ID for Primary I2S IBIT */
26 /* Clock ID for Primary I2S EBIT */
28 /* Clock ID for Secondary I2S IBIT */
30 /* Clock ID for Secondary I2S EBIT */
32 /* Clock ID for Tertiary I2S IBIT */
34 /* Clock ID for Tertiary I2S EBIT */
36 /* Clock ID for Quartnery I2S IBIT */
38 /* Clock ID for Quartnery I2S EBIT */
40 /* Clock ID for Speaker I2S IBIT */
[all …]
Dq6afe-dai.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2011-2017, The Linux Foundation. All rights reserved.
5 #include <dt-bindings/sound/qcom,q6afe.h>
15 #include "q6dsp-lpass-ports.h"
16 #include "q6dsp-common.h"
42 struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6slim_hw_params()
43 struct q6afe_slim_cfg *slim = &dai_data->port_config[dai->id].slim; in q6slim_hw_params()
45 slim->sample_rate = params_rate(params); in q6slim_hw_params()
50 slim->bit_width = 16; in q6slim_hw_params()
53 slim->bit_width = 24; in q6slim_hw_params()
[all …]
/linux-6.14.4/drivers/soc/fsl/qe/
Dtsa.c1 // SPDX-License-Identifier: GPL-2.0
11 #include <dt-bindings/soc/cpm1-fsl,tsa.h>
12 #include <dt-bindings/soc/qe-fsl,tsa.h>
51 * - 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
175 unsigned int id; member
182 /* The serials table is indexed by the serial id */ in tsa_serial_get_tsa()
183 return container_of(tsa_serial, struct tsa, serials[tsa_serial->id]); in tsa_serial_get_tsa()
[all …]
Dqe_tdm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * QE TDM API Set - TDM specific routines implementations.
22 return -EINVAL; in set_tdm_framer()
27 struct si_mode_info *si_info = &ut_info->si_info; in set_si_param()
29 if (utdm->tdm_mode == TDM_INTERNAL_LOOPBACK) { in set_si_param()
30 si_info->simr_crt = 1; in set_si_param()
31 si_info->simr_rfsd = 0; in set_si_param()
42 sprop = of_get_property(np, "fsl,rx-sync-clock", NULL); in ucc_of_parse_tdm()
44 ut_info->uf_info.rx_sync = qe_clock_source(sprop); in ucc_of_parse_tdm()
45 if ((ut_info->uf_info.rx_sync < QE_CLK_NONE) || in ucc_of_parse_tdm()
[all …]
/linux-6.14.4/sound/soc/codecs/
Dcs35l33.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * cs35l33.h -- CS35L33 ALSA SoC audio driver
14 #define CS35L33_DEVID_AB 0x01 /* Device ID A & B [RO] */
15 #define CS35L33_DEVID_CD 0x02 /* Device ID C & D [RO] */
16 #define CS35L33_DEVID_E 0x03 /* Device ID E [RO] */
17 #define CS35L33_FAB_ID 0x04 /* Fab ID [RO] */
18 #define CS35L33_REV_ID 0x05 /* Revision ID [RO] */
44 #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) */
[all …]
Dcs35l34.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * cs35l34.h -- CS35L34 ALSA SoC audio driver
14 #define CS35L34_DEVID_AB 0x01 /* Device ID A & B [RO] */
15 #define CS35L34_DEVID_CD 0x02 /* Device ID C & D [RO] */
16 #define CS35L34_DEVID_E 0x03 /* Device ID E [RO] */
17 #define CS35L34_FAB_ID 0x04 /* Fab ID [RO] */
18 #define CS35L34_REV_ID 0x05 /* Revision ID [RO] */
28 #define CS35L34_PROTECT_CTL 0x18 /* Amp Gain - Prot Ctl Param */
56 #define CS35L34_ADSP_TDM_CTL 0x51 /* ADSP TDM Ctl */
57 #define CS35L34_TDM_TX_CTL_1_VMON 0x52 /* TDM TX Ctl 1 (VMON) */
[all …]
Dcs53l30.h1 /* SPDX-License-Identifier: GPL-2.0-only */
15 #define CS53L30_DEVID_AB 0x01 /* Device ID A & B [RO]. */
16 #define CS53L30_DEVID_CD 0x02 /* Device ID C & D [RO]. */
17 #define CS53L30_DEVID_E 0x03 /* Device ID E [RO]. */
18 #define CS53L30_REVID 0x05 /* Revision ID [RO]. */
25 #define CS53L30_ASP_TDMTX_CTL1 0x0E /* ASP1 TDM TX Control 1 */
26 #define CS53L30_ASP_TDMTX_CTL2 0x0F /* ASP1 TDM TX Control 2 */
27 #define CS53L30_ASP_TDMTX_CTL3 0x10 /* ASP1 TDM TX Control 3 */
28 #define CS53L30_ASP_TDMTX_CTL4 0x11 /* ASP1 TDM TX Control 4 */
29 #define CS53L30_ASP_TDMTX_EN1 0x12 /* ASP1 TDM TX Enable 1 */
[all …]
/linux-6.14.4/sound/soc/mediatek/mt8186/
Dmt8186-dai-tdm.c1 // SPDX-License-Identifier: GPL-2.0
3 // MediaTek ALSA SoC Audio DAI TDM Control
11 #include "mt8186-afe-clk.h"
12 #include "mt8186-afe-common.h"
13 #include "mt8186-afe-gpio.h"
14 #include "mt8186-interconnection.h"
21 unsigned int id; member
65 return snd_pcm_format_physical_width(format) - 1; in get_tdm_lrck_width()
103 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_en_event()
105 struct mt8186_afe_private *afe_priv = afe->platform_priv; in mtk_tdm_en_event()
[all …]
/linux-6.14.4/sound/soc/meson/
Daxg-card.c1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
9 #include <sound/soc-dai.h>
11 #include "axg-tdm.h"
12 #include "meson-card.h"
30 * Those will be over-written by the CPU side of the link
44 struct meson_card *priv = snd_soc_card_get_drvdata(rtd->card); in axg_card_tdm_be_hw_params()
46 (struct axg_dai_link_tdm_data *)priv->link_data[rtd->id]; in axg_card_tdm_be_hw_params()
48 return meson_card_i2s_set_sysclk(substream, params, be->mclk_fs); in axg_card_tdm_be_hw_params()
57 struct meson_card *priv = snd_soc_card_get_drvdata(rtd->card); in axg_card_tdm_dai_init()
59 (struct axg_dai_link_tdm_data *)priv->link_data[rtd->id]; in axg_card_tdm_dai_init()
[all …]
/linux-6.14.4/sound/soc/mediatek/mt8192/
Dmt8192-dai-tdm.c1 // SPDX-License-Identifier: GPL-2.0
3 // MediaTek ALSA SoC Audio DAI TDM Control
11 #include "mt8192-afe-clk.h"
12 #include "mt8192-afe-common.h"
13 #include "mt8192-afe-gpio.h"
14 #include "mt8192-interconnection.h"
17 int id; member
84 return snd_pcm_format_physical_width(format) - 1; in get_tdm_lrck_width()
248 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_en_event()
250 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mtk_tdm_en_event()
[all …]
/linux-6.14.4/sound/soc/mediatek/mt8183/
Dmt8183-dai-tdm.c1 // SPDX-License-Identifier: GPL-2.0
3 // MediaTek ALSA SoC Audio DAI TDM Control
10 #include "mt8183-afe-clk.h"
11 #include "mt8183-afe-common.h"
12 #include "mt8183-interconnection.h"
13 #include "mt8183-reg.h"
92 return snd_pcm_format_physical_width(format) - 1; in get_tdm_lrck_width()
250 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_bck_en_event()
252 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mtk_tdm_bck_en_event()
253 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[MT8183_DAI_TDM]; in mtk_tdm_bck_en_event()
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/clock/
Dmvebu-gated-clock.txt5 should specify the desired clock by having the clock ID in its
6 "clocks" phandle cell. The clock ID is directly mapped to the
11 ID Clock Peripheral
12 -----------------------------------
23 25 tdm Time Division Mplx
28 ID Clock Peripheral
29 -----------------------------------
48 25 tdm Time Division Mplx
55 ID Clock Peripheral
56 -----------------------------------
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/net/
Dlantiq,pef2256.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/lantiq,pef2256.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Herve Codina <[email protected]>
20 - const: lantiq,pef2256
27 - description: Master Clock
28 - description: System Clock Receive
29 - description: System Clock Transmit
31 clock-names:
[all …]

123456789