Home
last modified time | relevance | path

Searched full:dfsdm (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.10/drivers/iio/adc/
Dstm32-dfsdm-core.c3 * This file is part the core part STM32 DFSDM driver
20 #include "stm32-dfsdm.h"
86 struct stm32_dfsdm dfsdm; /* common data exported for all instances */ member
91 struct clk *clk; /* DFSDM clock */
95 static inline struct dfsdm_priv *to_stm32_dfsdm_priv(struct stm32_dfsdm *dfsdm) in to_stm32_dfsdm_priv() argument
97 return container_of(dfsdm, struct dfsdm_priv, dfsdm); in to_stm32_dfsdm_priv()
100 static int stm32_dfsdm_clk_prepare_enable(struct stm32_dfsdm *dfsdm) in stm32_dfsdm_clk_prepare_enable() argument
102 struct dfsdm_priv *priv = to_stm32_dfsdm_priv(dfsdm); in stm32_dfsdm_clk_prepare_enable()
116 static void stm32_dfsdm_clk_disable_unprepare(struct stm32_dfsdm *dfsdm) in stm32_dfsdm_clk_disable_unprepare() argument
118 struct dfsdm_priv *priv = to_stm32_dfsdm_priv(dfsdm); in stm32_dfsdm_clk_disable_unprepare()
[all …]
Dstm32-dfsdm-adc.c3 * This file is the ADC part of the STM32 DFSDM driver
11 #include <linux/iio/adc/stm32-dfsdm-adc.h>
27 #include "stm32-dfsdm.h"
71 struct stm32_dfsdm *dfsdm; member
102 /* DFSDM channel serial interface type */
111 /* DFSDM channel clock source */
137 * struct stm32_dfsdm_trig_info - DFSDM trigger info
316 struct stm32_dfsdm_filter *fl = &adc->dfsdm->fl_list[adc->fl_id]; in stm32_dfsdm_compute_all_osrs()
337 struct regmap *regmap = adc->dfsdm->regmap; in stm32_dfsdm_start_channel()
357 struct regmap *regmap = adc->dfsdm->regmap; in stm32_dfsdm_stop_channel()
[all …]
Dstm32-dfsdm.h3 * This file is part of STM32 DFSDM driver
15 * STM32 DFSDM - global register map
234 /* DFSDM filter order */
246 * struct stm32_dfsdm_filter_osr - DFSDM filter settings linked to oversampling
296 * @phys_base: DFSDM IP register physical address
315 /* DFSDM channel serial spi clock source */
323 int stm32_dfsdm_start_dfsdm(struct stm32_dfsdm *dfsdm);
324 int stm32_dfsdm_stop_dfsdm(struct stm32_dfsdm *dfsdm);
DMakefile90 obj-$(CONFIG_STM32_DFSDM_CORE) += stm32-dfsdm-core.o
91 obj-$(CONFIG_STM32_DFSDM_ADC) += stm32-dfsdm-adc.o
DKconfig937 tristate "STMicroelectronics STM32 DFSDM core"
946 will be called stm32-dfsdm-core.
949 tristate "STMicroelectronics STM32 dfsdm adc"
961 will be called stm32-dfsdm-adc.
Dstm32-adc-core.h150 STM32H7_DMNGT_DFSDM, /* DFSDM mode */
/Linux-v5.10/Documentation/devicetree/bindings/sound/
Dst,stm32-adfsdm.txt1 STMicroelectronics Audio Digital Filter Sigma Delta modulators(DFSDM)
3 The DFSDM allows PDM microphones capture through SPI interface. The Audio
4 interface is seems as a sub block of the DFSDM device.
5 For details on DFSDM bindings refer to ../iio/adc/st,stm32-dfsdm-adc.txt
8 - compatible: "st,stm32h7-dfsdm-dai".
12 - io-channels : phandle to iio dfsdm instance node.
14 Example of a sound card using audio DFSDM node.
22 dfsdm: dfsdm@40017000 {
23 compatible = "st,stm32h7-dfsdm";
26 clock-names = "dfsdm";
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/iio/adc/
Dst,stm32-dfsdm-adc.yaml4 $id: http://devicetree.org/schemas/iio/adc/st,stm32-dfsdm-adc.yaml#
7 title: STMicroelectronics STM32 DFSDM ADC device driver
14 STM32 DFSDM ADC is a sigma delta analog-to-digital converter dedicated to
28 - st,stm32h7-dfsdm
29 - st,stm32mp1-dfsdm
37 Internal clock used for DFSDM digital processing and control blocks.
38 dfsdm clock can also feed CLKOUT, when CLKOUT is used.
45 - const: dfsdm
82 - st,stm32-dfsdm-adc
83 - st,stm32-dfsdm-dmic
[all …]
/Linux-v5.10/Documentation/ABI/testing/
Dsysfs-bus-iio-dfsdm-adc-stm329 This is mandatory if DFSDM is slave on SPI bus, to
14 if DFSDM input is SPI master:
19 If DFSDM input is SPI Slave:
/Linux-v5.10/sound/soc/stm/
DKconfig35 tristate "SoC Audio support for STM32 DFSDM"
44 for Sigma Delta Modulators (DFSDM) driver used
Dstm32_adfsdm.c3 * This file is part of STM32 DFSDM ASoC DAI driver
18 #include <linux/iio/adc/stm32-dfsdm-adc.h>
306 {.compatible = "st,stm32h7-dfsdm-dai"},
381 MODULE_DESCRIPTION("stm32 DFSDM DAI driver");
DMakefile17 #DFSDM
/Linux-v5.10/include/linux/iio/adc/
Dstm32-dfsdm-adc.h3 * This file discribe the STM32 DFSDM IIO driver API for audio part
/Linux-v5.10/Documentation/arm/stm32/
Dstm32h743-overview.rst24 - DFSDM
/Linux-v5.10/arch/arm/boot/dts/
Dstm32mp151.dtsi894 dfsdm: dfsdm@4400d000 { label
895 compatible = "st,stm32mp1-dfsdm";
898 clock-names = "dfsdm";
904 compatible = "st,stm32-dfsdm-adc";
914 compatible = "st,stm32-dfsdm-adc";
924 compatible = "st,stm32-dfsdm-adc";
934 compatible = "st,stm32-dfsdm-adc";
944 compatible = "st,stm32-dfsdm-adc";
954 compatible = "st,stm32-dfsdm-adc";
/Linux-v5.10/include/dt-bindings/clock/
Dstm32mp1-clks.h57 #define DFSDM 44 macro
/Linux-v5.10/drivers/clk/
Dclk-stm32mp1.c1834 PCLK(DFSDM, "dfsdm", "pclk2", 0, G_DFSDM),