Home
last modified time | relevance | path

Searched full:pdm (Results 1 – 25 of 151) sorted by relevance

1234567

/linux/sound/soc/rockchip/
H A Drockchip_pdm.c3 * Rockchip PDM ALSA SoC Digital Audio Interface(DAI) driver
77 static unsigned int get_pdm_clk(struct rk_pdm_dev *pdm, unsigned int sr, in get_pdm_clk() argument
93 rate = clk_round_rate(pdm->clk, clkref[i].clk); in get_pdm_clk()
103 clk = clk_round_rate(pdm->clk, PDM_SIGNOFF_CLK_RATE); in get_pdm_clk()
179 static void rockchip_pdm_rxctrl(struct rk_pdm_dev *pdm, int on) in rockchip_pdm_rxctrl() argument
182 regmap_update_bits(pdm->regmap, PDM_DMA_CTRL, in rockchip_pdm_rxctrl()
184 regmap_update_bits(pdm->regmap, PDM_SYSCONFIG, in rockchip_pdm_rxctrl()
187 regmap_update_bits(pdm->regmap, PDM_DMA_CTRL, in rockchip_pdm_rxctrl()
189 regmap_update_bits(pdm->regmap, PDM_SYSCONFIG, in rockchip_pdm_rxctrl()
199 struct rk_pdm_dev *pdm = to_info(dai); in rockchip_pdm_hw_params() local
[all …]
H A Drockchip_pdm.h3 * Rockchip PDM ALSA SoC Digital Audio Interface(DAI) driver
11 /* PDM REGS */
34 /* PDM CTRL0 */
49 /* PDM CTRL1 */
55 /* PDM CLK CTRL */
76 /* PDM HPF CTRL */
85 /* PDM DMA CTRL */
H A DKconfig25 tristate "Rockchip PDM Controller Driver"
29 Say Y or M if you want to add support for PDM driver for
30 Rockchip PDM Controller. The Controller supports up to maximum of
H A DMakefile5 snd-soc-rockchip-pdm-y := rockchip_pdm.o
10 obj-$(CONFIG_SND_SOC_ROCKCHIP_PDM) += snd-soc-rockchip-pdm.o
/linux/Documentation/devicetree/bindings/sound/
H A Drockchip,pdm.yaml4 $id: http://devicetree.org/schemas/sound/rockchip,pdm.yaml#
7 title: Rockchip PDM controller
11 a PDM interface controller and decoder that support PDM format.
12 It integrates a clock generator driving the PDM microphone
25 - rockchip,pdm
26 - rockchip,px30-pdm
27 - rockchip,rk1808-pdm
28 - rockchip,rk3308-pdm
29 - rockchip,rk3568-pdm
30 - rockchip,rv1126-pdm
[all …]
H A Damlogic,axg-pdm.yaml4 $id: http://devicetree.org/schemas/sound/amlogic,axg-pdm.yaml#
7 title: Amlogic Audio AXG PDM input
17 - amlogic,g12a-pdm
18 - amlogic,sm1-pdm
19 - const: amlogic,axg-pdm
20 - const: amlogic,axg-pdm
31 - description: PDM digital clock
58 - amlogic,g12a-pdm
59 - amlogic,sm1-pdm
75 compatible = "amlogic,axg-pdm";
H A Dcirrus,madera.yaml98 cirrus,pdm-fmt:
100 PDM speaker data format, must contain 2 cells (OUT5 and
108 cirrus,pdm-mute:
110 PDM mute format, must contain 2 cells (OUT5 and OUT6). See the
H A Dcirrus,cs48l32.yaml102 cirrus,pdm-sup:
114 - description: IN1 PDM supply source
118 - description: IN2 PDM supply source
168 cirrus,pdm-sup = <
H A Dnvidia,tegra210-dmic.yaml11 Density Modulation (PDM) input devices. It converts PDM signals to
12 Pulse Coded Modulation (PCM) signals. DMIC can be viewed as a PDM
/linux/drivers/remoteproc/
H A Dqcom_common.c533 struct qcom_rproc_pdm *pdm = to_pdm_subdev(subdev); in pdm_notify_prepare() local
541 adev->dev.parent = pdm->dev; in pdm_notify_prepare()
544 adev->id = pdm->index; in pdm_notify_prepare()
558 pdm->adev = adev; in pdm_notify_prepare()
566 struct qcom_rproc_pdm *pdm = to_pdm_subdev(subdev); in pdm_notify_unprepare() local
568 if (!pdm->adev) in pdm_notify_unprepare()
571 auxiliary_device_delete(pdm->adev); in pdm_notify_unprepare()
572 auxiliary_device_uninit(pdm->adev); in pdm_notify_unprepare()
573 pdm->adev = NULL; in pdm_notify_unprepare()
579 * @pdm: PDM subdevice handle
[all …]
/linux/include/sound/sof/
H A Ddai-intel.h114 /* This struct is defined per 2ch PDM controller available in the platform.
126 * 3. If PDM bit errors are seen in capture (poor quality) the skew parameter
133 uint16_t id; /**< PDM controller ID */
142 uint16_t skew; /**< Adjust PDM data sampling vs. clock (0..15) */
147 /* This struct contains the global settings for all 2ch PDM controllers. The
191 uint32_t num_pdm_active; /**< Number of active pdm controllers. */
201 /**< PDM controllers configuration */
202 struct sof_ipc_dai_dmic_pdm_ctrl pdm[SOF_DAI_INTEL_DMIC_NUM_CTRL]; member
/linux/sound/soc/codecs/
H A Dadau7118.c3 // Analog Devices ADAU7118 8 channel PDM-to-I2S/TDM Converter driver
65 /* PDM Clocks */
513 ret = device_property_read_u32_array(st->dev, "adi,pdm-clk-map", in adau7118_parset_dt()
516 int pdm; in adau7118_parset_dt()
519 for (pdm = 0; pdm < ARRAY_SIZE(clk_map); pdm++) in adau7118_parset_dt()
520 _clk_map |= (clk_map[pdm] << (pdm + 4)); in adau7118_parset_dt()
574 MODULE_DESCRIPTION("ADAU7118 8 channel PDM
517 int pdm; adau7118_parset_dt() local
[all...]
H A Dmax98926.c104 SOC_DAPM_SINGLE("PDM Single Switch", MAX98926_SPK_AMP,
141 SND_SOC_DAPM_MUX("PDM CH1 Source",
145 SND_SOC_DAPM_MUX("PDM CH0 Source",
159 {"PDM CH1 Source", "Current", "DAI_OUT"},
160 {"PDM CH1 Source", "Voltage", "DAI_OUT"},
161 {"PDM CH0 Source", "Current", "DAI_OUT"},
162 {"PDM CH0 Source", "Voltage", "DAI_OUT"},
163 {"PCM Sel", "Analog", "PDM CH1 Source"},
164 {"PCM Sel", "Analog", "PDM CH0 Source"},
239 SOC_DOUBLE("PDM Channel One", MAX98926_DAI_CLK_DIV_N_LSBS,
[all …]
H A Dmax98504.c165 "PCM Monomix", "Analog In", "PDM Left", "PDM Right"
180 { "SPK Source", "PDM Left", "DAC PDM" },
181 { "SPK Source", "PDM Right", "DAC PDM" },
193 SND_SOC_DAPM_DAC("DAC PDM", NULL, MAX98504_PDM_RX_ENABLE, 0, 0),
H A Dadau7118-hw.c3 // Analog Devices ADAU7118 8 channel PDM-to-I2S/TDM Converter Standalone Hw
42 MODULE_DESCRIPTION("ADAU7118 8 channel PDM-to-I2S/TDM Converter driver for standalone hw mode");
/linux/sound/soc/amd/renoir/
H A DMakefile4 snd-acp3x-pdm-dma-y := acp3x-pdm-dma.o
7 obj-$(CONFIG_SND_SOC_AMD_RENOIR) += snd-acp3x-pdm-dma.o
/linux/sound/soc/amd/yc/
H A DMakefile4 snd-acp6x-pdm-dma-y := acp6x-pdm-dma.o
8 obj-$(CONFIG_SND_SOC_AMD_ACP6x) += snd-acp6x-pdm-dma.o
/linux/drivers/pinctrl/qcom/
H A Dpinctrl-ipq8064.c488 IPQ_PIN_FUNCTION(pdm),
535 PINGROUP(3, pcie1_rst, pcie1_prsnt, pdm, NA, NA, NA, NA, NA, NA, NA),
548 PINGROUP(16, audio_pcm, nss_spi, pdm, NA, NA, NA, NA, NA, NA, NA),
549 PINGROUP(17, audio_pcm, nss_spi, pdm, NA, NA, NA, NA, NA, NA, NA),
554 PINGROUP(22, gsbi2, pdm, NA, NA, NA, NA, NA, NA, NA, NA),
562 PINGROUP(30, mi2s, rgmii2, gsbi6, pdm, NA, NA, NA, NA, NA, NA),
563 PINGROUP(31, mi2s, rgmii2, pdm, NA, NA, NA, NA, NA, NA, NA),
566 PINGROUP(34, nand, pdm, NA, NA, NA, NA, NA, NA, NA, NA),
567 PINGROUP(35, nand, pdm, NA, NA, NA, NA, NA, NA, NA, NA),
584 PINGROUP(52, gsbi1, rgmii2, pdm, NA, NA, NA, NA, NA, NA, NA),
[all …]
/linux/drivers/acpi/
H A Dnhlt.c58 * @link_type: the hardware link type, e.g.: PDM or SSP.
82 * @link_type: the hardware link type, e.g.: PDM or SSP.
108 * @link_type: the hardware link type, e.g.: PDM or SSP.
163 * @link_type: the hardware link type, e.g.: PDM or SSP.
202 * @link_type: the hardware link type, e.g.: PDM or SSP.
242 * acpi_nhlt_endpoint_mic_count - Retrieve number of digital microphones for a PDM endpoint.
/linux/sound/soc/amd/
H A DKconfig101 triggered for ACP PCI driver, ACP PDM DMA driver.
111 using dmic. ACP IP has PDM Decoder block with DMA controller.
171 for ACP PCI driver, ACP PDM DMA driver, ACP SoundWire DMA
182 using dmic. ACP IP has PDM Decoder block with DMA controller.
/linux/include/dt-bindings/sound/
H A Dmicrochip,pdmc.h5 /* PDM microphone's pin placement */
9 /* PDM microphone clock edge sampling */
/linux/sound/soc/tegra/
H A DKconfig75 to interface with Pulse Density Modulation (PDM) input devices.
76 The DMIC controller implements a converter to convert PDM signals
78 PDM receiver.
117 oversampled 1-bit Pulse Density Modulation (PDM) output. From the
118 signal flow perspective DSPK can be viewed as a PDM transmitter
/linux/sound/soc/amd/acp/
H A DKconfig106 This option enables Acp7.0 PDM support on AMD platform.
159 AMD platforms along with ACP PDM controller.
182 enabled AMD platforms along with ACP PDM controller.
/linux/sound/soc/meson/
H A DMakefile21 snd-soc-meson-axg-pdm-y := axg-pdm.o
40 obj-$(CONFIG_SND_MESON_AXG_PDM) += snd-soc-meson-axg-pdm.o
/linux/drivers/soc/qcom/
H A Dqcom_pd_mapper.c195 pr_debug("PDM: found %s / %d\n", domain->name, in qcom_pdm_get_domain_list()
201 pr_debug("PDM: service '%s' offset %d returning %d domains (of %d)\n", req->service_name, in qcom_pdm_get_domain_list()
224 pr_warn_ratelimited("PDM: service '%s' crash: '%s'\n", req->service, req->reason); in qcom_pdm_pfr()
628 pr_notice("PDM: no support for the platform, userspace daemon might be required.\n"); in qcom_pdm_start()
634 pr_debug("PDM: no domains\n"); in qcom_pdm_start()
662 pr_err("PDM: error adding server %d\n", ret); in qcom_pdm_start()
723 .name = "qcom-pdm-mapper",

1234567