Home
last modified time | relevance | path

Searched +full:adc +full:- +full:channel +full:- +full:types (Results 1 – 25 of 87) sorted by relevance

1234

/linux-5.10/Documentation/devicetree/bindings/iio/adc/
Dst,stm32-dfsdm-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/st,stm32-dfsdm-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics STM32 DFSDM ADC device driver
10 - Fabrice Gasnier <fabrice.gasnier@st.com>
11 - Olivier Moysan <olivier.moysan@st.com>
14 STM32 DFSDM ADC is a sigma delta analog-to-digital converter dedicated to
17 - Sigma delta modulators (motor control, metering...)
18 - PDM microphones (audio digital microphone)
[all …]
Dqcom,spmi-vadc.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-vadc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm's SPMI PMIC ADC
10 - Andy Gross <agross@kernel.org>
11 - Bjorn Andersson <bjorn.andersson@linaro.org>
14 SPMI PMIC voltage ADC (VADC) provides interface to clients to read
15 voltage. The VADC is a 15-bit sigma-delta ADC.
16 SPMI PMIC5/PMIC7 voltage ADC (ADC) provides interface to clients to read
[all …]
Dst,stm32-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/iio/adc/st,stm32-adc.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: STMicroelectronics STM32 ADC bindings
10 STM32 ADC is a successive approximation analog-to-digital converter.
12 in single, continuous, scan or discontinuous mode. Result of the ADC is
13 stored in a left-aligned or right-aligned 32-bit data register.
17 voltage goes beyond the user-defined, higher or lower thresholds.
19 Each STM32 ADC block can have up to 3 ADC instances.
[all …]
Dat91-sama5d2_adc.txt1 * AT91 SAMA5D2 Analog to Digital Converter (ADC)
4 - compatible: Should be "atmel,sama5d2-adc" or "microchip,sam9x60-adc".
5 - reg: Should contain ADC registers location and length.
6 - interrupts: Should contain the IRQ line for the ADC.
7 - clocks: phandle to device clock.
8 - clock-names: Must be "adc_clk".
9 - vref-supply: Supply used as reference for conversions.
10 - vddana-supply: Supply for the adc device.
11 - atmel,min-sample-rate-hz: Minimum sampling rate, it depends on SoC.
12 - atmel,max-sample-rate-hz: Maximum sampling rate, it depends on SoC.
[all …]
Dsamsung,exynos-adc.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/samsung,exynos-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung Exynos Analog to Digital Converter (ADC)
10 - Krzysztof Kozlowski <krzk@kernel.org>
15 - samsung,exynos-adc-v1 # Exynos5250
16 - samsung,exynos-adc-v2
17 - samsung,exynos3250-adc
18 - samsung,exynos4212-adc # Exynos4212 and Exynos4412
[all …]
Dfsl,imx25-gcq.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/fsl,imx25-gcq.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale ADC GCQ device
11 analog inputs using the ADC unit of the i.MX25.
14 - Jonathan Cameron <jic23@kernel.org>
18 const: fsl,imx25-gcq
26 vref-ext-supply:
28 The regulator supplying the ADC reference voltage.
[all …]
Dadi,ad7124.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/iio/adc/adi,ad7124.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Analog Devices AD7124 ADC device driver
11 - Stefan Popa <stefan.popa@analog.com>
14 Bindings for the Analog Devices AD7124 ADC device. Datasheet can be
16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7124-8.pdf
21 - adi,ad7124-4
22 - adi,ad7124-8
[all …]
Dti,ads1015.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/ti,ads1015.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TI ADS1015 4 channel I2C analog to digital converter
10 - Daniel Baluta <daniel.baluta@nxp.com>
23 "#address-cells":
26 "#size-cells":
29 "#io-channel-cells":
33 - compatible
[all …]
Dfsl,vf610-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/fsl,vf610-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ADC found on Freescale vf610 and similar SoCs
10 - Fugang Duan <fugang.duan@nxp.com>
17 const: fsl,vf610-adc
26 description: ADC source clock (ipg clock)
29 clock-names:
30 const: adc
[all …]
Dmicrochip,mcp3911.yaml1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
4 ---
5 $id: "http://devicetree.org/schemas/iio/adc/microchip,mcp3911.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: Microchip MCP3911 Dual channel analog front end (ADC)
11 - Marcus Folkesson <marcus.folkesson@gmail.com>
12 - Kent Gustavsson <nedo80@gmail.com>
15 Bindings for the Microchip MCP3911 Dual channel ADC device. Datasheet can be
21 - microchip,mcp3911
26 spi-max-frequency:
[all …]
Dst,stmpe-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/st,stmpe-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ADC on an STMPE multifunction device.
10 - Stefan Agner <stefan@agner.ch>
13 This ADC forms part of an ST microelectronics STMPE multifunction device .
14 The ADC is shared with the STMPE touchscreen. As a result some ADC related
21 const: st,stmpe-adc
23 st,norequest-mask:
[all …]
Dcosmic,10001-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/cosmic,10001-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Cosmic Circuits CC-10001 ADC
10 - Jonathan Cameron <jic23@kernel.org>
13 Cosmic Circuits 10001 10-bit ADC device.
17 const: cosmic,10001-adc
22 adc-reserved-channels:
23 $ref: /schemas/types.yaml#/definitions/uint32
[all …]
Damlogic,meson-saradc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/amlogic,meson-saradc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Martin Blumenstingl <martin.blumenstingl@googlemail.com>
18 - const: amlogic,meson-saradc
19 - items:
20 - enum:
21 - amlogic,meson8-saradc
22 - amlogic,meson8b-saradc
[all …]
Dti,adc12138.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/ti,adc12138.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments ADC12138 and similar self-calibrating ADCs
10 - Akinobu Mita <akinobu.mita@gmail.com>
19 - ti,adc12130
20 - ti,adc12132
21 - ti,adc12138
34 spi-max-frequency: true
[all …]
/linux-5.10/Documentation/devicetree/bindings/input/
Dadc-joystick.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2019-2020 Artur Rojek
4 ---
5 $id: "http://devicetree.org/schemas/input/adc-joystick.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: ADC attached joystick
11 - Artur Rojek <contact@artur-rojek.eu>
14 Bindings for joystick devices connected to ADC controllers supporting
19 const: adc-joystick
21 io-channels:
[all …]
Dallwinner,sun4i-a10-lradc-keys.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/input/allwinner,sun4i-a10-lradc-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
16 - const: allwinner,sun4i-a10-lradc-keys
17 - const: allwinner,sun8i-a83t-r-lradc
18 - items:
19 - const: allwinner,sun50i-a64-lradc
[all …]
/linux-5.10/Documentation/devicetree/bindings/sound/
Dst,stm32-adfsdm.txt5 For details on DFSDM bindings refer to ../iio/adc/st,stm32-dfsdm-adc.txt
8 - compatible: "st,stm32h7-dfsdm-dai".
10 - #sound-dai-cells : Must be equal to 0
12 - io-channels : phandle to iio dfsdm instance node.
17 compatible = "audio-graph-card";
23 compatible = "st,stm32h7-dfsdm";
26 clock-names = "dfsdm";
27 #interrupt-cells = <1>;
28 #address-cells = <1>;
29 #size-cells = <0>;
[all …]
/linux-5.10/Documentation/devicetree/bindings/mfd/
Dgateworks-gsc.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/gateworks-gsc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
14 - Watchdog Timer
15 - GPIO
16 - Pushbutton controller
17 - Hardware monitor with ADC's for temperature and voltage rails and
21 - Tim Harvey <tharvey@gateworks.com>
22 - Robert Jones <rjones@gateworks.com>
[all …]
/linux-5.10/drivers/iio/adc/
Dviperboard_adc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Nano River Technologies viperboard IIO ADC driver
14 #include <linux/types.h>
38 .channel = _index, \
56 struct vprbrd_adc *adc = iio_priv(iio_dev); in vprbrd_iio_read_raw() local
57 struct vprbrd *vb = adc->vb; in vprbrd_iio_read_raw()
58 struct vprbrd_adc_msg *admsg = (struct vprbrd_adc_msg *)vb->buf; in vprbrd_iio_read_raw()
62 mutex_lock(&vb->lock); in vprbrd_iio_read_raw()
64 admsg->cmd = VPRBRD_ADC_CMD_GET; in vprbrd_iio_read_raw()
65 admsg->chan = chan->channel; in vprbrd_iio_read_raw()
[all …]
Dqcom-pm8xxx-xoadc.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * specific-purpose and general purpose ADC converters and channels.
24 #include "qcom-vadc-common.h"
28 * Qualcomm tree. Their kernel has two out-of-tree drivers for the ADC:
29 * drivers/misc/pmic8058-xoadc.c
30 * drivers/hwmon/pm8xxx-adc.c
58 /* Proper ADC registers */
72 * The channel mask includes the bits selecting channel mux and prescaler
73 * on PM8058, or channel mux and premux on PM8921.
100 * On a later ADC the decimation factors are defined as
[all …]
Dstm32-dfsdm-adc.c1 // SPDX-License-Identifier: GPL-2.0
3 * This file is the ADC part of the STM32 DFSDM driver
5 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved
10 #include <linux/dma-mapping.h>
11 #include <linux/iio/adc/stm32-dfsdm-adc.h>
13 #include <linux/iio/hw-consumer.h>
15 #include <linux/iio/timer/stm32-lptim-trigger.h>
16 #include <linux/iio/timer/stm32-timer-trigger.h>
27 #include "stm32-dfsdm.h"
42 /* Limit filter output resolution to 31 bits. (i.e. sample range is +/-2^30) */
[all …]
/linux-5.10/drivers/input/keyboard/
Dadc-keys.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Input driver for resistor ladder connected on ADC
10 #include <linux/iio/types.h>
25 struct iio_channel *channel; member
39 ret = iio_read_channel_processed(st->channel, &value); in adc_keys_poll()
42 value = st->keyup_voltage; in adc_keys_poll()
44 for (i = 0; i < st->num_keys; i++) { in adc_keys_poll()
45 diff = abs(st->map[i].voltage - value); in adc_keys_poll()
48 keycode = st->map[i].keycode; in adc_keys_poll()
53 if (abs(st->keyup_voltage - value) < closest) in adc_keys_poll()
[all …]
/linux-5.10/include/linux/iio/
Dconsumer.h1 /* SPDX-License-Identifier: GPL-2.0-only */
10 #include <linux/types.h>
11 #include <linux/iio/types.h>
18 * struct iio_channel - everything needed for a consumer to use a channel
19 * @indio_dev: Device on which the channel exists.
20 * @channel: Full description of the channel.
21 * @data: Data about the channel used by consumer.
25 const struct iio_chan_spec *channel; member
30 * iio_channel_get() - get description of all that is needed to access channel.
35 * @consumer_channel: Unique name to identify the channel on the consumer
[all …]
/linux-5.10/drivers/iio/light/
Dcm3605.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #include <linux/iio/consumer.h> /* To get our ADC channel */
17 #include <linux/iio/types.h> /* To deal with our ADC channel */
35 * struct cm3605 - CM3605 state
39 * @aout: IIO ADC channel to convert the AOUT signal
61 IIO_EV_TYPE_THRESH, cm3605->dir); in cm3605_prox_irq()
65 if (cm3605->dir == IIO_EV_DIR_RISING) in cm3605_prox_irq()
66 cm3605->dir = IIO_EV_DIR_FALLING; in cm3605_prox_irq()
68 cm3605->dir = IIO_EV_DIR_RISING; in cm3605_prox_irq()
78 ret = iio_read_channel_processed(cm3605->aout, &res); in cm3605_get_lux()
[all …]
/linux-5.10/Documentation/devicetree/bindings/iio/temperature/
Dadi,ltc2983.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices LTC2983 Multi-sensor Temperature system
10 - Nuno Sá <nuno.sa@analog.com>
13 Analog Devices LTC2983 Multi-Sensor Digital Temperature Measurement System
14 https://www.analog.com/media/en/technical-documentation/data-sheets/2983fc.pdf
19 - adi,ltc2983
27 adi,mux-delay-config-us:
38 adi,filter-notch-freq:
[all …]

1234