| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | stm32-dfsdm-core.c | 3 * 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 …]
|
| D | stm32-dfsdm-adc.c | 3 * 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 …]
|
| D | stm32-dfsdm.h | 3 * 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);
|
| D | Makefile | 90 obj-$(CONFIG_STM32_DFSDM_CORE) += stm32-dfsdm-core.o 91 obj-$(CONFIG_STM32_DFSDM_ADC) += stm32-dfsdm-adc.o
|
| /kernel/linux/linux-4.19/drivers/iio/adc/ |
| D | stm32-dfsdm-core.c | 3 * This file is part the core part STM32 DFSDM driver 18 #include "stm32-dfsdm.h" 84 struct stm32_dfsdm dfsdm; /* common data exported for all instances */ member 89 struct clk *clk; /* DFSDM clock */ 94 * stm32_dfsdm_start_dfsdm - start global dfsdm interface. 97 * @dfsdm: Handle used to retrieve dfsdm context. 99 int stm32_dfsdm_start_dfsdm(struct stm32_dfsdm *dfsdm) in stm32_dfsdm_start_dfsdm() argument 101 struct dfsdm_priv *priv = container_of(dfsdm, struct dfsdm_priv, dfsdm); in stm32_dfsdm_start_dfsdm() 120 /* select clock source, e.g. 0 for "dfsdm" or 1 for "audio" */ in stm32_dfsdm_start_dfsdm() 122 ret = regmap_update_bits(dfsdm->regmap, DFSDM_CHCFGR1(0), in stm32_dfsdm_start_dfsdm() [all …]
|
| D | stm32-dfsdm-adc.c | 3 * This file is the ADC part of the STM32 DFSDM driver 11 #include <linux/iio/adc/stm32-dfsdm-adc.h> 22 #include "stm32-dfsdm.h" 54 struct stm32_dfsdm *dfsdm; member 83 /* DFSDM channel serial interface type */ 92 /* DFSDM channel clock source */ 203 static int stm32_dfsdm_start_channel(struct stm32_dfsdm *dfsdm, in stm32_dfsdm_start_channel() argument 206 return regmap_update_bits(dfsdm->regmap, DFSDM_CHCFGR1(ch_id), in stm32_dfsdm_start_channel() 211 static void stm32_dfsdm_stop_channel(struct stm32_dfsdm *dfsdm, in stm32_dfsdm_stop_channel() argument 214 regmap_update_bits(dfsdm->regmap, DFSDM_CHCFGR1(ch_id), in stm32_dfsdm_stop_channel() [all …]
|
| D | stm32-dfsdm.h | 3 * This file is part of STM32 DFSDM driver 15 * STM32 DFSDM - global register map 234 /* DFSDM filter order */ 280 * @phys_base: DFSDM IP register physical address 299 /* DFSDM channel serial spi clock source */ 307 int stm32_dfsdm_start_dfsdm(struct stm32_dfsdm *dfsdm); 308 int stm32_dfsdm_stop_dfsdm(struct stm32_dfsdm *dfsdm);
|
| D | Makefile | 68 obj-$(CONFIG_STM32_DFSDM_CORE) += stm32-dfsdm-core.o 69 obj-$(CONFIG_STM32_DFSDM_ADC) += stm32-dfsdm-adc.o
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/iio/adc/ |
| D | st,stm32-dfsdm-adc.txt | 1 STMicroelectronics STM32 DFSDM ADC device driver 4 STM32 DFSDM ADC is a sigma delta analog-to-digital converter dedicated to 15 Contents of a STM32 DFSDM root node: 19 "st,stm32h7-dfsdm" 20 "st,stm32mp1-dfsdm" 21 - reg: Offset and length of the DFSDM block register set. 24 - clock-names: Input clock name "dfsdm" must be defined, 26 clock, else "dfsdm" is used. 39 nodes to set pins in mode of operation for dfsdm 42 Contents of a STM32 DFSDM child nodes: [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/sound/ |
| D | st,stm32-adfsdm.txt | 1 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | st,stm32-adfsdm.txt | 1 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
| D | st,stm32-dfsdm-adc.yaml | 4 $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 …]
|
| /kernel/linux/linux-4.19/Documentation/ABI/testing/ |
| D | sysfs-bus-iio-dfsdm-adc-stm32 | 7 This is mandatory if DFSDM is slave on SPI bus, to 11 if DFSDM input is SPI master 14 If DFSDM input is SPI Slave:
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| D | sysfs-bus-iio-dfsdm-adc-stm32 | 9 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:
|
| /kernel/linux/linux-4.19/sound/soc/stm/ |
| D | Kconfig | 33 tristate "SoC Audio support for STM32 DFSDM" 42 for Sigma Delta Modulators (DFSDM) driver used
|
| D | stm32_adfsdm.c | 3 * This file is part of STM32 DFSDM ASoC DAI driver 18 #include <linux/iio/adc/stm32-dfsdm-adc.h> 299 {.compatible = "st,stm32h7-dfsdm-dai"}, 369 MODULE_DESCRIPTION("stm32 DFSDM DAI driver");
|
| D | Makefile | 17 #DFSDM
|
| /kernel/linux/linux-5.10/sound/soc/stm/ |
| D | Kconfig | 35 tristate "SoC Audio support for STM32 DFSDM" 44 for Sigma Delta Modulators (DFSDM) driver used
|
| D | stm32_adfsdm.c | 3 * 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");
|
| D | Makefile | 17 #DFSDM
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | stm32mp157c.dtsi | 615 dfsdm: dfsdm@4400d000 { label 616 compatible = "st,stm32mp1-dfsdm"; 619 clock-names = "dfsdm"; 625 compatible = "st,stm32-dfsdm-adc"; 635 compatible = "st,stm32-dfsdm-adc"; 645 compatible = "st,stm32-dfsdm-adc"; 655 compatible = "st,stm32-dfsdm-adc"; 665 compatible = "st,stm32-dfsdm-adc"; 675 compatible = "st,stm32-dfsdm-adc";
|
| /kernel/linux/linux-4.19/include/linux/iio/adc/ |
| D | stm32-dfsdm-adc.h | 3 * This file discribe the STM32 DFSDM IIO driver API for audio part
|
| /kernel/linux/linux-5.10/include/linux/iio/adc/ |
| D | stm32-dfsdm-adc.h | 3 * This file discribe the STM32 DFSDM IIO driver API for audio part
|
| /kernel/linux/linux-4.19/Documentation/arm/stm32/ |
| D | stm32h743-overview.rst | 23 - DFSDM
|
| /kernel/linux/linux-5.10/Documentation/arm/stm32/ |
| D | stm32h743-overview.rst | 24 - DFSDM
|