Home
last modified time | relevance | path

Searched refs:pdm (Results 1 – 25 of 38) sorted by relevance

12

/kernel/linux/linux-5.10/sound/soc/rockchip/
Drockchip_pdm.c76 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
161 clk_rate = get_pdm_clk(pdm, samplerate, &clk_src, &clk_out); in rockchip_pdm_hw_params()
[all …]
DMakefile5 snd-soc-rockchip-pdm-objs := rockchip_pdm.o
9 obj-$(CONFIG_SND_SOC_ROCKCHIP_PDM) += snd-soc-rockchip-pdm.o
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Damlogic,axg-pdm.txt4 - 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.
21 pdm: audio-controller@ff632000 {
22 compatible = "amlogic,axg-pdm";
Drockchip,pdm.txt5 - compatible: "rockchip,pdm"
6 - "rockchip,px30-pdm"
7 - "rockchip,rk1808-pdm"
8 - "rockchip,rk3308-pdm"
19 - reset-names: reset names, should include "pdm-m".
27 pdm: pdm@ff040000 {
28 compatible = "rockchip,pdm";
Dadi,adau7002.txt16 adau7002: pdm-to-i2s {
/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-5.10/drivers/pinctrl/qcom/
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 …]
/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 …]
Dmeson-g12.dtsi49 pdm: audio-controller@40000 { label
50 compatible = "amlogic,g12a-pdm",
51 "amlogic,axg-pdm";
Dmeson-axg.dtsi233 pdm: audio-controller@ff632000 { label
234 compatible = "amlogic,axg-pdm";
479 function = "pdm";
487 function = "pdm";
495 function = "pdm";
503 function = "pdm";
511 function = "pdm";
519 function = "pdm";
Dmeson-sm1.dtsi425 pdm: audio-controller@61000 { label
426 compatible = "amlogic,sm1-pdm",
427 "amlogic,axg-pdm";
Dmeson-g12a-sei510.dts271 sound-dai = <&pdm>;
403 &pdm {
/kernel/linux/linux-5.10/sound/soc/codecs/
Dadau7118.c527 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()
/kernel/linux/linux-5.10/sound/soc/meson/
DMakefile21 snd-soc-meson-axg-pdm-objs := axg-pdm.o
40 obj-$(CONFIG_SND_MESON_AXG_PDM) += snd-soc-meson-axg-pdm.o
/kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/
Drk3308.dtsi1220 pdm_m0_clk: pdm-m0-clk {
1225 pdm_m0_sdi0: pdm-m0-sdi0 {
1230 pdm_m0_sdi1: pdm-m0-sdi1 {
1235 pdm_m0_sdi2: pdm-m0-sdi2 {
1240 pdm_m0_sdi3: pdm-m0-sdi3 {
1247 pdm_m1_clk: pdm-m1-clk {
1252 pdm_m1_sdi0: pdm-m1-sdi0 {
1257 pdm_m1_sdi1: pdm-m1-sdi1 {
1262 pdm_m1_sdi2: pdm-m1-sdi2 {
1267 pdm_m1_sdi3: pdm-m1-sdi3 {
[all …]
Dpx30.dtsi1591 pdm {
1592 pdm_clk0m0: pdm-clk0m0 {
1597 pdm_clk0m1: pdm-clk0m1 {
1602 pdm_clk1: pdm-clk1 {
1607 pdm_sdi0m0: pdm-sdi0m0 {
1612 pdm_sdi0m1: pdm-sdi0m1 {
1617 pdm_sdi1: pdm-sdi1 {
1622 pdm_sdi2: pdm-sdi2 {
1627 pdm_sdi3: pdm-sdi3 {
1632 pdm_clk0m0_sleep: pdm-clk0m0-sleep {
[all …]
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dsound.patch263 snd-soc-rockchip-pdm-objs := rockchip_pdm.o
269 obj-$(CONFIG_SND_SOC_ROCKCHIP_PDM) += snd-soc-rockchip-pdm.o
714 struct rk_pdm_dev *pdm = to_info(dai);
742 { .compatible = "rockchip,pdm",
744 { .compatible = "rockchip,px30-pdm",
749 +static int rockchip_pdm_path_parse(struct rk_pdm_dev *pdm, struct device_node *node)
771 + regmap_update_bits(pdm->regmap, PDM_CLK_CTRL, msk, val);
780 struct rk_pdm_dev *pdm;
783 return PTR_ERR(pdm->reset);
795 rockchip_pdm_rxctrl(pdm, 0);
[all …]
/kernel/linux/linux-5.10/drivers/soundwire/
Dintel.c731 intel_pdi_stream_ch_update(sdw, &sdw->cdns.pdm, false); in intel_pdi_ch_update()
936 pdi = sdw_cdns_alloc_pdi(cdns, &cdns->pdm, ch, dir, dai->id); in intel_hw_params()
1211 num_dai = cdns->pcm.num_pdi + cdns->pdm.num_pdi; in intel_register_dai()
1238 stream = &cdns->pdm; in intel_register_dai()
1240 ret = intel_create_dai(cdns, dais, INTEL_PDI_IN, cdns->pdm.num_in, in intel_register_dai()
1245 off += cdns->pdm.num_in; in intel_register_dai()
1246 ret = intel_create_dai(cdns, dais, INTEL_PDI_OUT, cdns->pdm.num_out, in intel_register_dai()
1251 off += cdns->pdm.num_out; in intel_register_dai()
1252 ret = intel_create_dai(cdns, dais, INTEL_PDI_BD, cdns->pdm.num_bd, in intel_register_dai()
Dcadence_master.h130 struct sdw_cdns_streams pdm; member
/kernel/linux/linux-5.10/include/sound/sof/
Ddai-intel.h196 struct sof_ipc_dai_dmic_pdm_ctrl pdm[SOF_DAI_INTEL_DMIC_NUM_CTRL]; member
/kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/
Dmsm8916-pins.dtsi378 cdc-pdm-lines {
379 cdc_pdm_lines_act: pdm-lines-on {
387 cdc_pdm_lines_sus: pdm-lines-off {
/kernel/linux/linux-5.10/drivers/pinctrl/nomadik/
Dpinctrl-ab8505.c208 AB8505_FUNC_GROUPS(pdm, "pdmclk_a_1", "pdmdata_b_1");
230 FUNCTION(pdm),
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/
Damlogic,axg-audio-clkc.txt4 other elements of the audio subsystem, such as fifos, i2s, spdif and pdm
/kernel/linux/linux-5.10/drivers/clk/meson/
Daxg-audio.c326 static struct clk_regmap pdm = variable
327 AUD_PCLK_GATE(pdm, AUDIO_CLK_GATE_EN, 1);
817 [AUD_CLKID_PDM] = &pdm.hw,
950 [AUD_CLKID_PDM] = &pdm.hw,
1095 [AUD_CLKID_PDM] = &pdm.hw,
1250 &pdm,
1374 &pdm,
1512 &pdm,
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Dste,abx500.txt309 function = "pdm";

12