Home
last modified time | relevance | path

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

123456789

/OK3568_Linux_fs/kernel/sound/soc/rockchip/
H A Drockchip_pdm.c3 * Rockchip PDM ALSA SoC Digital Audio Interface(DAI) driver
100 static unsigned int get_pdm_clk(struct rk_pdm_dev *pdm, unsigned int sr, in get_pdm_clk() argument
117 if (pdm->clk_calibrate) { in get_pdm_clk()
122 rate = clk_round_rate(pdm->clk, clkref[i].clk); in get_pdm_clk()
134 clk = clk_round_rate(pdm->clk, signoff); in get_pdm_clk()
210 static void rockchip_pdm_rxctrl(struct rk_pdm_dev *pdm, int on) in rockchip_pdm_rxctrl() argument
215 /* The PDM device need to delete some unused data in rockchip_pdm_rxctrl()
216 * since the pdm of various manufacturers can not in rockchip_pdm_rxctrl()
218 * rockchip: pdm: Fix pop noise in the beginning". in rockchip_pdm_rxctrl()
233 regmap_update_bits(pdm->regmap, PDM_SYSCONFIG, in rockchip_pdm_rxctrl()
[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 FIFO CTRL */
88 /* PDM DMA CTRL */
/OK3568_Linux_fs/kernel/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
22 - rockchip,pdm
23 - rockchip,px30-pdm
24 - rockchip,rk1808-pdm
25 - rockchip,rk3308-pdm
26 - rockchip,rk3568-pdm
27 - rockchip,rk3588-pdm
[all …]
H A Damlogic,axg-pdm.txt1 * Amlogic Audio PDM input
4 - compatible: 'amlogic,axg-pdm' or
5 'amlogic,g12a-pdm' or
6 'amlogic,sm1-pdm'
12 * "dclk" : pdm digital clock
17 - resets: phandle to the dedicated reset line of the pdm input.
19 Example of PDM on the A113 SoC:
21 pdm: audio-controller@ff632000 {
22 compatible = "amlogic,axg-pdm";
H A Dtlv320adcx140.yaml15 PDM microphones recording), high-performance audio, analog-to-digital
64 ti,pdm-edge-select:
66 Defines the PDMCLK sampling edge configuration for the PDM inputs. This
95 4 - GPIX is configured as a PDM data input for channel 1 and channel
97 5 - GPIX is configured as a PDM data input for channel 3 and channel
99 6 - GPIX is configured as a PDM data input for channel 5 and channel
101 7 - GPIX is configured as a PDM data input for channel 7 and channel
132 4 - GPOX is configured as a PDM clock output (PDMCLK)
155 4 - GPIO1 is configured as a PDM clock output (PDMCLK)
161 12 - GPIO1 is configured as a PDM data input for channel 1 and channel 2
[all …]
H A Dadi,adau7118.yaml8 title: Analog Devices ADAU7118 8 Channel PDM to I2S/TDM Converter
14 Analog Devices ADAU7118 8 Channel PDM to I2S/TDM Converter over I2C or HW
37 This property set's the decimation ratio of PDM to PCM audio data.
42 adi,pdm-clk-map:
44 The ADAU7118 has two PDM clocks for the four Inputs. Each input must be
74 adi,pdm-clk-map = <1 1 0 0>;
H A Dcirrus,madera.yaml95 cirrus,pdm-fmt:
97 PDM speaker data format, must contain 2 cells (OUT5 and
105 cirrus,pdm-mute:
107 PDM mute format, must contain 2 cells (OUT5 and OUT6). See the
H A Drockchip,multidais.txt6 - dais: The phandle of sub dais, such i2s, pdm etc.
9 i2s 2ch + pdm 6ch --> total 8ch capture.
12 i2s 4ch + pdm 4ch --> total 8ch playback.
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
H A Dadi,adau7002.txt1 Analog Devices ADAU7002 Stereo PDM-to-I2S/TDM Converter
16 adau7002: pdm-to-i2s {
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3566-evb2-lp4x-v10-pdm-mic-array.dts11 model = "Rockchip RK3566 EVB2 LP4X V10 Board PDM Mic Array";
30 format = "pdm";
32 sound-dai = <&pdm>;
39 format = "pdm";
41 sound-dai = <&pdm>;
78 &pdm {
H A Drk3308bs-evb-dmic-pdm-v11.dts12 model = "Rockchip RK3308B-S evb digital-pdm mic v11 board";
13 compatible = "rockchip,rk3308bs-evb-dmic-pdm-v11", "rockchip,rk3308";
15 pdm_i2s_dais: pdm-i2s-dais {
24 pdm-mic-array {
27 simple-audio-card,name = "rockchip,pdm-mic-array";
H A Drk3308-evb-dmic-pdm-v10.dts12 model = "Rockchip RK3308 evb digital-pdm mic board";
13 compatible = "rockchip,rk3308-evb-dmic-pdm-v10", "rockchip,rk3308";
15 pdm_i2s_dais: pdm-i2s-dais {
23 pdm-mic-array {
26 simple-audio-card,name = "rockchip,pdm-mic-array";
H A Drk3308-evb-dmic-pdm-v11.dts11 model = "Rockchip RK3308 evb digital-pdm mic v11 board";
12 compatible = "rockchip,rk3308-evb-dmic-pdm-v11", "rockchip,rk3308";
14 pdm_i2s_dais: pdm-i2s-dais {
23 pdm-mic-array {
26 simple-audio-card,name = "rockchip,pdm-mic-array";
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/amlogic/
H A Dmeson-g12-common.dtsi661 pdm_din0_a_pins: pdm-din0-a {
664 function = "pdm";
669 pdm_din0_c_pins: pdm-din0-c {
672 function = "pdm";
677 pdm_din0_x_pins: pdm-din0-x {
680 function = "pdm";
685 pdm_din0_z_pins: pdm-din0-z {
688 function = "pdm";
693 pdm_din1_a_pins: pdm-din1-a {
696 function = "pdm";
[all …]
/OK3568_Linux_fs/kernel/drivers/soundwire/
H A Dcadence_master.h20 * @type: stream type, PDM or PCM
65 * @pdm_bd: number of bidirectional PDM streams supported
66 * @pdm_in: number of input PDM streams supported
67 * @pdm_out: number of output PDM streams supported
112 * @pdm: PDM streams
130 struct sdw_cdns_streams pdm; member
/OK3568_Linux_fs/kernel/include/sound/sof/
H A Ddai-intel.h108 /* This struct is defined per 2ch PDM controller available in the platform.
120 * 3. If PDM bit errors are seen in capture (poor quality) the skew parameter
127 uint16_t id; /**< PDM controller ID */
136 uint16_t skew; /**< Adjust PDM data sampling vs. clock (0..15) */
141 /* This struct contains the global settings for all 2ch PDM controllers. The
185 uint32_t num_pdm_active; /**< Number of active pdm controllers. */
195 /**< PDM controllers configuration */
196 struct sof_ipc_dai_dmic_pdm_ctrl pdm[SOF_DAI_INTEL_DMIC_NUM_CTRL]; member
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Drk3308-voice-module-pdm-mainboard-v10-aarch32.dts12 model = "Rockchip RK3308 Voice Module PDM MIC Main Board V10 (AArch32)";
13 compatible = "rockchip,rk3308-voice-module-pdm-mainboard-v10-aarch32", "rockchip,rk3308";
15 pdm_i2s_dais: pdm-i2s-dais {
24 pdm-mic-array {
27 simple-audio-card,name = "rockchip,pdm-mic-array";
H A Drk3308-evb-dmic-pdm-v11-aarch32.dts6 #include "arm64/rockchip/rk3308-evb-dmic-pdm-v11.dts"
9 model = "Rockchip RK3308 evb digital-pdm mic v11 board (AArch32)";
10 compatible = "rockchip,rk3308-evb-dmic-pdm-v11-aarch32", "rockchip,rk3308";
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dadau7118.c3 // Analog Devices ADAU7118 8 channel PDM-to-I2S/TDM Converter driver
65 /* PDM Clocks */
524 ret = device_property_read_u32_array(st->dev, "adi,pdm-clk-map", in adau7118_parset_dt()
527 int pdm; in adau7118_parset_dt() local
530 for (pdm = 0; pdm < ARRAY_SIZE(clk_map); pdm++) in adau7118_parset_dt()
531 _clk_map |= (clk_map[pdm] << (pdm + 4)); in adau7118_parset_dt()
585 MODULE_DESCRIPTION("ADAU7118 8 channel PDM-to-I2S/TDM Converter driver");
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),
/OK3568_Linux_fs/kernel/drivers/pinctrl/qcom/
H A Dpinctrl-ipq8064.c496 FUNCTION(pdm),
543 PINGROUP(3, pcie1_rst, pcie1_prsnt, pdm, NA, NA, NA, NA, NA, NA, NA),
556 PINGROUP(16, audio_pcm, nss_spi, pdm, NA, NA, NA, NA, NA, NA, NA),
557 PINGROUP(17, audio_pcm, nss_spi, pdm, NA, NA, NA, NA, NA, NA, NA),
562 PINGROUP(22, gsbi2, pdm, NA, NA, NA, NA, NA, NA, NA, NA),
570 PINGROUP(30, mi2s, rgmii2, gsbi6, pdm, NA, NA, NA, NA, NA, NA),
571 PINGROUP(31, mi2s, rgmii2, pdm, NA, NA, NA, NA, NA, NA, NA),
574 PINGROUP(34, nand, pdm, NA, NA, NA, NA, NA, NA, NA, NA),
575 PINGROUP(35, nand, pdm, NA, NA, NA, NA, NA, NA, NA, NA),
592 PINGROUP(52, gsbi1, rgmii2, pdm, NA, NA, NA, NA, NA, NA, NA),
[all …]
/OK3568_Linux_fs/kernel/sound/soc/amd/renoir/
H A DMakefile4 snd-acp3x-pdm-dma-objs := acp3x-pdm-dma.o
7 obj-$(CONFIG_SND_SOC_AMD_RENOIR) += snd-acp3x-pdm-dma.o
/OK3568_Linux_fs/kernel/sound/soc/tegra/
H A DKconfig80 to interface with Pulse Density Modulation (PDM) input devices.
81 The DMIC controller implements a converter to convert PDM signals
83 PDM receiver.
102 oversampled 1-bit Pulse Density Modulation (PDM) output. From the
103 signal flow perspective DSPK can be viewed as a PDM transmitter

123456789