Home
last modified time | relevance | path

Searched +full:stm32 +full:- +full:dac (Results 1 – 25 of 29) sorted by relevance

12

/kernel/linux/linux-4.19/Documentation/devicetree/bindings/iio/dac/
Dst,stm32-dac.txt1 STMicroelectronics STM32 DAC
3 The STM32 DAC is a 12-bit voltage output digital-to-analog converter. The DAC
4 may be configured in 8 or 12-bit mode. It has two output channels, each with
6 It has built-in noise and triangle waveform generator and supports external
7 triggers for conversions. The DAC's output buffer allows a high drive output
10 Contents of a stm32 dac root node:
11 -----------------------------------
13 - compatible: Should be one of:
14 "st,stm32f4-dac-core"
15 "st,stm32h7-dac-core"
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/dac/
Dst,stm32-dac.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/iio/dac/st,stm32-dac.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: STMicroelectronics STM32 DAC bindings
10 The STM32 DAC is a 12-bit voltage output digital-to-analog converter. The DAC
11 may be configured in 8 or 12-bit mode. It has two output channels, each with
13 It has built-in noise and triangle waveform generator and supports external
14 triggers for conversions. The DAC's output buffer allows a high drive output
18 - Fabrice Gasnier <fabrice.gasnier@st.com>
[all …]
/kernel/linux/linux-4.19/drivers/iio/dac/
Dstm32-dac-core.c1 // SPDX-License-Identifier: GPL-2.0
3 * This file is part of STM32 DAC driver
5 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved
17 #include "stm32-dac-core.h"
20 * struct stm32_dac_priv - stm32 DAC core private data
24 * @common: Common data for all DAC instances
34 * struct stm32_dac_cfg - DAC configuration
35 * @has_hfsel: DAC has high frequency control
55 struct device *dev = &pdev->dev; in stm32_dac_probe()
63 if (!dev->of_node) in stm32_dac_probe()
[all …]
Dstm32-dac.c1 // SPDX-License-Identifier: GPL-2.0
3 * This file is part of STM32 DAC driver
5 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved
17 #include "stm32-dac-core.h"
24 * struct stm32_dac - private data of DAC driver
25 * @common: reference to DAC common data
33 struct stm32_dac *dac = iio_priv(indio_dev); in stm32_dac_is_enabled() local
37 ret = regmap_read(dac->common->regmap, STM32_DAC_CR, &val); in stm32_dac_is_enabled()
51 struct stm32_dac *dac = iio_priv(indio_dev); in stm32_dac_set_enable_state() local
56 ret = regmap_update_bits(dac->common->regmap, STM32_DAC_CR, msk, en); in stm32_dac_set_enable_state()
[all …]
Dstm32-dac-core.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * This file is part of STM32 DAC driver
5 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved
14 /* STM32 DAC registers */
27 * struct stm32_dac_common - stm32 DAC driver common data (for all instances)
28 * @regmap: DAC registers shared via regmap
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for industrial I/O DAC drivers
7 obj-$(CONFIG_AD5360) += ad5360.o
8 obj-$(CONFIG_AD5380) += ad5380.o
9 obj-$(CONFIG_AD5421) += ad5421.o
10 obj-$(CONFIG_AD5624R_SPI) += ad5624r_spi.o
11 obj-$(CONFIG_AD5064) += ad5064.o
12 obj-$(CONFIG_AD5504) += ad5504.o
13 obj-$(CONFIG_AD5446) += ad5446.o
14 obj-$(CONFIG_AD5449) += ad5449.o
[all …]
DKconfig2 # DAC drivers
9 tristate "Analog Devices AD5064 and similar multi-channel DAC driver"
13 AD5045, AD5064, AD5064-1, AD5065, AD5625, AD5625R, AD5627, AD5627R,
23 tristate "Analog Devices AD5360/61/62/63/70/71/73 DAC driver"
27 AD5362, AD5363, AD5370, AD5371, AD5373 multi-channel
28 Digital to Analog Converters (DAC).
34 tristate "Analog Devices AD5380/81/82/83/84/90/91/92 DAC driver"
40 AD5382, AD5383, AD5384, AD5390, AD5391, AD5392 multi-channel
41 Digital to Analog Converters (DAC).
47 tristate "Analog Devices AD5421 DAC driver"
[all …]
/kernel/linux/linux-5.10/drivers/iio/dac/
Dstm32-dac.c1 // SPDX-License-Identifier: GPL-2.0
3 * This file is part of STM32 DAC driver
5 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved
18 #include "stm32-dac-core.h"
27 * struct stm32_dac - private data of DAC driver
28 * @common: reference to DAC common data
39 struct stm32_dac *dac = iio_priv(indio_dev); in stm32_dac_is_enabled() local
43 ret = regmap_read(dac->common->regmap, STM32_DAC_CR, &val); in stm32_dac_is_enabled()
57 struct stm32_dac *dac = iio_priv(indio_dev); in stm32_dac_set_enable_state() local
58 struct device *dev = indio_dev->dev.parent; in stm32_dac_set_enable_state()
[all …]
Dstm32-dac-core.c1 // SPDX-License-Identifier: GPL-2.0
3 * This file is part of STM32 DAC driver
5 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved
18 #include "stm32-dac-core.h"
21 * struct stm32_dac_priv - stm32 DAC core private data
24 * @common: Common data for all DAC instances
33 * struct stm32_dac_cfg - DAC configuration
34 * @has_hfsel: DAC has high frequency control
58 ret = regulator_enable(priv->vref); in stm32_dac_core_hw_start()
64 ret = clk_prepare_enable(priv->pclk); in stm32_dac_core_hw_start()
[all …]
Dstm32-dac-core.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * This file is part of STM32 DAC driver
5 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved
14 /* STM32 DAC registers */
27 * struct stm32_dac_common - stm32 DAC driver common data (for all instances)
28 * @regmap: DAC registers shared via regmap
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for industrial I/O DAC drivers
7 obj-$(CONFIG_AD5360) += ad5360.o
8 obj-$(CONFIG_AD5380) += ad5380.o
9 obj-$(CONFIG_AD5421) += ad5421.o
10 obj-$(CONFIG_AD5624R_SPI) += ad5624r_spi.o
11 obj-$(CONFIG_AD5064) += ad5064.o
12 obj-$(CONFIG_AD5504) += ad5504.o
13 obj-$(CONFIG_AD5446) += ad5446.o
14 obj-$(CONFIG_AD5449) += ad5449.o
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # DAC drivers
10 tristate "Analog Devices AD5064 and similar multi-channel DAC driver"
14 AD5045, AD5064, AD5064-1, AD5065, AD5625, AD5625R, AD5627, AD5627R,
24 tristate "Analog Devices AD5360/61/62/63/70/71/73 DAC driver"
28 AD5362, AD5363, AD5370, AD5371, AD5373 multi-channel
29 Digital to Analog Converters (DAC).
35 tristate "Analog Devices AD5380/81/82/83/84/90/91/92 DAC driver"
41 AD5382, AD5383, AD5384, AD5390, AD5391, AD5392 multi-channel
42 Digital to Analog Converters (DAC).
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Dstm32f429.dtsi2 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com>
4 * This file is dual-licensed: you can use it either under the terms
22 * MA 02110-1301 USA
49 #include "armv7-m.dtsi"
50 #include <dt-bindings/clock/stm32fx-clock.h>
51 #include <dt-bindings/mfd/stm32f4-rcc.h>
55 clk_hse: clk-hse {
56 #clock-cells = <0>;
57 compatible = "fixed-clock";
58 clock-frequency = <0>;
[all …]
Dstm32h743.dtsi2 * Copyright 2017 - Alexandre Torgue <alexandre.torgue@st.com>
4 * This file is dual-licensed: you can use it either under the terms
44 #include "armv7-m.dtsi"
45 #include <dt-bindings/clock/stm32h7-clks.h>
46 #include <dt-bindings/mfd/stm32h7-rcc.h>
47 #include <dt-bindings/interrupt-controller/irq.h>
51 clk_hse: clk-hse {
52 #clock-cells = <0>;
53 compatible = "fixed-clock";
54 clock-frequency = <0>;
[all …]
Dstm32mp157c.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved
6 #include <dt-bindings/interrupt-controller/arm-gic.h>
7 #include <dt-bindings/clock/stm32mp1-clks.h>
8 #include <dt-bindings/reset/stm32mp1-resets.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
15 #address-cells = <1>;
16 #size-cells = <0>;
19 compatible = "arm,cortex-a7";
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dstm32f429.dtsi2 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com>
4 * This file is dual-licensed: you can use it either under the terms
22 * MA 02110-1301 USA
48 #include "armv7-m.dtsi"
49 #include <dt-bindings/clock/stm32fx-clock.h>
50 #include <dt-bindings/mfd/stm32f4-rcc.h>
53 #address-cells = <1>;
54 #size-cells = <1>;
57 clk_hse: clk-hse {
58 #clock-cells = <0>;
[all …]
Dstm32h743.dtsi2 * Copyright 2017 - Alexandre Torgue <alexandre.torgue@st.com>
4 * This file is dual-licensed: you can use it either under the terms
43 #include "armv7-m.dtsi"
44 #include <dt-bindings/clock/stm32h7-clks.h>
45 #include <dt-bindings/mfd/stm32h7-rcc.h>
46 #include <dt-bindings/interrupt-controller/irq.h>
49 #address-cells = <1>;
50 #size-cells = <1>;
53 clk_hse: clk-hse {
54 #clock-cells = <0>;
[all …]
Dstm32mp151.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved
6 #include <dt-bindings/interrupt-controller/arm-gic.h>
7 #include <dt-bindings/clock/stm32mp1-clks.h>
8 #include <dt-bindings/reset/stm32mp1-resets.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
15 #address-cells = <1>;
16 #size-cells = <0>;
19 compatible = "arm,cortex-a7";
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/iio/timer/
Dstm32-lptimer-trigger.txt1 STMicroelectronics STM32 Low-Power Timer Trigger
3 STM32 Low-Power Timer provides trigger source (LPTIM output) that can be used
4 by STM32 internal ADC and/or DAC.
6 Must be a sub-node of an STM32 Low-Power Timer device tree node.
7 See ../mfd/stm32-lptimer.txt for details about the parent node.
10 - compatible: Must be "st,stm32-lptimer-trigger".
11 - reg: Identify trigger hardware block. Must be 0, 1 or 2
17 compatible = "st,stm32-lptimer";
20 compatible = "st,stm32-lptimer-trigger";
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/mfd/
Dstm32-lptimer.txt1 STMicroelectronics STM32 Low-Power Timer
3 The STM32 Low-Power Timer (LPTIM) is a 16-bit timer that provides several
5 - PWM output (with programmable prescaler, configurable polarity)
6 - Quadrature encoder, counter
7 - Trigger source for STM32 ADC/DAC (LPTIM_OUT)
10 - compatible: Must be "st,stm32-lptimer".
11 - reg: Offset and length of the device's register set.
12 - clocks: Phandle to the clock used by the LP Timer module.
13 - clock-names: Must be "mux".
14 - #address-cells: Should be '<1>'.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dst,stm32-lptimer.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mfd/st,stm32-lptimer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics STM32 Low-Power Timers bindings
10 The STM32 Low-Power Timer (LPTIM) is a 16-bit timer that provides several
12 - PWM output (with programmable prescaler, configurable polarity)
13 - Trigger source for STM32 ADC/DAC (LPTIM_OUT)
14 - Several counter modes:
15 - quadrature encoder to detect angular position and direction of rotary
[all …]
/kernel/linux/linux-5.10/drivers/iio/trigger/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
7 menu "Triggers - standalone"
17 module will be called iio-trig-hrtimer.
26 module will be called iio-trig-interrupt.
29 tristate "STM32 Low-Power Timer Trigger"
32 Select this option to enable STM32 Low-Power Timer Trigger.
33 This can be used as trigger source for STM32 internal ADC
34 and/or DAC.
37 module will be called stm32-lptimer-trigger.
40 tristate "STM32 Timer Trigger"
[all …]
/kernel/linux/linux-4.19/drivers/iio/trigger/
DKconfig6 menu "Triggers - standalone"
16 module will be called iio-trig-hrtimer.
25 module will be called iio-trig-interrupt.
28 tristate "STM32 Low-Power Timer Trigger"
31 Select this option to enable STM32 Low-Power Timer Trigger.
32 This can be used as trigger source for STM32 internal ADC
33 and/or DAC.
36 module will be called stm32-lptimer-trigger.
39 tristate "STM32 Timer Trigger"
42 Select this option to enable STM32 Timer Trigger
[all …]
/kernel/linux/linux-4.19/drivers/iio/adc/
DKconfig49 tristate "Analog Devices AD7476 and similar 1-channel ADCs driver"
67 Say yes here to build support for Analog Devices AD7766, AD7766-1,
68 AD7766-2, AD7767, AD7767-1, AD7767-2 SPI analog to digital converters.
167 called at91-sama5d2_adc.
170 tristate "X-Powers AXP20X and AXP22X ADC driver"
173 Say yes here to have support for X-Powers power management IC (PMIC)
180 tristate "X-Powers AXP288 ADC driver"
183 Say yes here to have support for X-Powers power management IC (PMIC) ADC
229 called cpcap-adc.
238 will be da9150-gpadc.
[all …]
/kernel/linux/linux-5.10/drivers/iio/adc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 bool "ST-Ericsson AB8500 GPADC driver"
29 Say yes here to build support for Analog Devices AD7091R-5 ADC.
32 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver"
36 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8
100 tristate "Analog Devices AD7476 1-channel ADCs driver and other similar devices from AD an TI"
126 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC).
137 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC).
148 Say yes here to build support for Analog Devices AD7766, AD7766-1,
149 AD7766-2, AD7767, AD7767-1, AD7767-2 SPI analog to digital converters.
[all …]

12