Home
last modified time | relevance | path

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

12345678910>>...13

/kernel/linux/linux-5.10/sound/soc/rockchip/
Drockchip_pdm.c3 * Rockchip PDM ALSA SoC Digital Audio Interface(DAI) driver
76 static unsigned int get_pdm_clk(struct rk_pdm_dev *pdm, unsigned int sr, in get_pdm_clk() argument
92 rate = clk_round_rate(pdm->clk, clkref[i].clk); in get_pdm_clk()
102 clk = clk_round_rate(pdm->clk, PDM_SIGNOFF_CLK_RATE); in get_pdm_clk()
129 static void rockchip_pdm_rxctrl(struct rk_pdm_dev *pdm, int on) in rockchip_pdm_rxctrl() argument
132 regmap_update_bits(pdm->regmap, PDM_DMA_CTRL, in rockchip_pdm_rxctrl()
134 regmap_update_bits(pdm->regmap, PDM_SYSCONFIG, in rockchip_pdm_rxctrl()
137 regmap_update_bits(pdm->regmap, PDM_DMA_CTRL, in rockchip_pdm_rxctrl()
139 regmap_update_bits(pdm->regmap, PDM_SYSCONFIG, in rockchip_pdm_rxctrl()
149 struct rk_pdm_dev *pdm = to_info(dai); in rockchip_pdm_hw_params() local
[all …]
Drockchip_pdm.h3 * Rockchip PDM ALSA SoC Digital Audio Interface(DAI) driver
11 /* PDM REGS */
34 /* PDM CTRL0 */
47 /* PDM CTRL1 */
53 /* PDM CLK CTRL */
70 /* PDM HPF CTRL */
79 /* PDM DMA CTRL */
/kernel/linux/linux-6.6/sound/soc/rockchip/
Drockchip_pdm.c3 * Rockchip PDM ALSA SoC Digital Audio Interface(DAI) driver
78 static unsigned int get_pdm_clk(struct rk_pdm_dev *pdm, unsigned int sr, in get_pdm_clk() argument
94 rate = clk_round_rate(pdm->clk, clkref[i].clk); in get_pdm_clk()
104 clk = clk_round_rate(pdm->clk, PDM_SIGNOFF_CLK_RATE); in get_pdm_clk()
180 static void rockchip_pdm_rxctrl(struct rk_pdm_dev *pdm, int on) in rockchip_pdm_rxctrl() argument
183 regmap_update_bits(pdm->regmap, PDM_DMA_CTRL, in rockchip_pdm_rxctrl()
185 regmap_update_bits(pdm->regmap, PDM_SYSCONFIG, in rockchip_pdm_rxctrl()
188 regmap_update_bits(pdm->regmap, PDM_DMA_CTRL, in rockchip_pdm_rxctrl()
190 regmap_update_bits(pdm->regmap, PDM_SYSCONFIG, in rockchip_pdm_rxctrl()
200 struct rk_pdm_dev *pdm = to_info(dai); in rockchip_pdm_hw_params() local
[all …]
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 */
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
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 …]
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";
Dtlv320adcx140.yaml15 PDM microphones recording), high-performance audio, analog-to-digital
65 ti,pdm-edge-select:
67 Defines the PDMCLK sampling edge configuration for the PDM inputs. This
96 4 - GPIX is configured as a PDM data input for channel 1 and channel
98 5 - GPIX is configured as a PDM data input for channel 3 and channel
100 6 - GPIX is configured as a PDM data input for channel 5 and channel
102 7 - GPIX is configured as a PDM data input for channel 7 and channel
124 4 - GPIO1 is configured as a PDM clock output (PDMCLK)
130 12 - GPIO1 is configured as a PDM data input for channel 1 and channel 2
132 13 - GPIO1 is configured as a PDM data input for channel 3 and channel 4
[all …]
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
40 This property set's the decimation ratio of PDM to PCM audio data.
45 adi,pdm-clk-map:
47 The ADAU7118 has two PDM clocks for the four Inputs. Each input must be
77 adi,pdm-clk-map = <1 1 0 0>;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Drockchip,pdm.txt1 * Rockchip PDM controller
5 - compatible: "rockchip,pdm"
6 - "rockchip,px30-pdm"
7 - "rockchip,rk1808-pdm"
8 - "rockchip,rk3308-pdm"
16 - "pdm_hclk": clock for PDM BUS
17 - "pdm_clk" : clock for PDM controller
19 - reset-names: reset names, should include "pdm-m".
25 Example for rk3328 PDM controller:
27 pdm: pdm@ff040000 {
[all …]
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";
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 …]
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>;
/kernel/linux/linux-5.10/drivers/soundwire/
Dcadence_master.h26 * @type: stream type, PDM or PCM
71 * @pdm_bd: number of bidirectional PDM streams supported
72 * @pdm_in: number of input PDM streams supported
73 * @pdm_out: number of output PDM streams supported
118 * @pdm: PDM streams
141 struct sdw_cdns_streams pdm; member
/kernel/linux/linux-5.10/include/sound/sof/
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
/kernel/linux/linux-6.6/include/sound/sof/
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
/kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/
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 …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/amlogic/
Dmeson-g12-common.dtsi618 pdm_din0_a_pins: pdm-din0-a {
621 function = "pdm";
626 pdm_din0_c_pins: pdm-din0-c {
629 function = "pdm";
634 pdm_din0_x_pins: pdm-din0-x {
637 function = "pdm";
642 pdm_din0_z_pins: pdm-din0-z {
645 function = "pdm";
650 pdm_din1_a_pins: pdm-din1-a {
653 function = "pdm";
[all …]
/kernel/linux/linux-6.6/sound/soc/amd/ps/
Dacp63.h3 * AMD ALSA SoC PDM Driver
58 /* ACP63_PDM_MODE_DEVS corresponds to platform devices count for ACP PDM configuration */
75 * instance + ACP PDM controller configuration
81 * SW0 + SW1 SoundWire manager instances + ACP PDM controller configuration
91 /* ACP63_PDM_DEV_CONFIG corresponds to platform device configuration for ACP PDM controller */
98 * ACP63_SDW_PDM_DEV_CONFIG corresponds to platform device configuration for ACP PDM + SoundWire
261 * @pdm_dev_index: pdm platform device index
DMakefile4 snd-ps-pdm-dma-objs := ps-pdm-dma.o
9 obj-$(CONFIG_SND_SOC_AMD_PS) += snd-ps-pdm-dma.o
/kernel/linux/linux-6.6/sound/soc/amd/renoir/
DMakefile4 snd-acp3x-pdm-dma-objs := acp3x-pdm-dma.o
7 obj-$(CONFIG_SND_SOC_AMD_RENOIR) += snd-acp3x-pdm-dma.o
/kernel/linux/linux-6.6/sound/soc/amd/yc/
DMakefile4 snd-acp6x-pdm-dma-objs := acp6x-pdm-dma.o
8 obj-$(CONFIG_SND_SOC_AMD_ACP6x) += snd-acp6x-pdm-dma.o
/kernel/linux/linux-5.10/sound/soc/amd/renoir/
DMakefile4 snd-acp3x-pdm-dma-objs := acp3x-pdm-dma.o
7 obj-$(CONFIG_SND_SOC_AMD_RENOIR) += snd-acp3x-pdm-dma.o
/kernel/linux/linux-6.6/sound/soc/codecs/
Dadau7118.c3 // Analog Devices ADAU7118 8 channel PDM-to-I2S/TDM Converter driver
65 /* PDM Clocks */
506 ret = device_property_read_u32_array(st->dev, "adi,pdm-clk-map", in adau7118_parset_dt()
509 int pdm; in adau7118_parset_dt() local
512 for (pdm = 0; pdm < ARRAY_SIZE(clk_map); pdm++) in adau7118_parset_dt()
513 _clk_map |= (clk_map[pdm] << (pdm + 4)); in adau7118_parset_dt()
567 MODULE_DESCRIPTION("ADAU7118 8 channel PDM-to-I2S/TDM Converter driver");
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 …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dadau7118.c3 // Analog Devices ADAU7118 8 channel PDM-to-I2S/TDM Converter driver
65 /* PDM Clocks */
507 ret = device_property_read_u32_array(st->dev, "adi,pdm-clk-map", in adau7118_parset_dt()
510 int pdm; in adau7118_parset_dt() local
513 for (pdm = 0; pdm < ARRAY_SIZE(clk_map); pdm++) in adau7118_parset_dt()
514 _clk_map |= (clk_map[pdm] << (pdm + 4)); in adau7118_parset_dt()
568 MODULE_DESCRIPTION("ADAU7118 8 channel PDM-to-I2S/TDM Converter driver");

12345678910>>...13