Home
last modified time | relevance | path

Searched +full:adc +full:- +full:channels (Results 1 – 25 of 933) sorted by relevance

12345678910>>...38

/kernel/linux/linux-4.19/Documentation/devicetree/bindings/iio/adc/
Dst,stm32-adc.txt1 STMicroelectronics STM32 ADC device driver
3 STM32 ADC is a successive approximation analog-to-digital converter.
4 It has several multiplexed input channels. Conversions can be performed
5 in single, continuous, scan or discontinuous mode. Result of the ADC is
6 stored in a left-aligned or right-aligned 32-bit data register.
10 voltage goes beyond the user-defined, higher or lower thresholds.
12 Each STM32 ADC block can have up to 3 ADC instances.
16 - regular conversion can be done in sequence, running in background
17 - injected conversions have higher priority, and so have the ability to
21 Contents of a stm32 adc root node:
[all …]
Dcc10001_adc.txt1 * Cosmic Circuits - Analog to Digital Converter (CC-10001-ADC)
4 - compatible: Should be "cosmic,10001-adc"
5 - reg: Should contain adc registers location and length.
6 - clock-names: Should contain "adc".
7 - clocks: Should contain a clock specifier for each entry in clock-names
8 - vref-supply: The regulator supply ADC reference voltage.
11 - adc-reserved-channels: Bitmask of reserved channels,
12 i.e. channels that cannot be used by the OS.
15 adc: adc@18101600 {
16 compatible = "cosmic,10001-adc";
[all …]
Dqcom,pm8xxx-xoadc.txt3 The Qualcomm PM8xxx PMICs contain a HK/XO ADC (Housekeeping/Crystal
4 oscillator ADC) encompassing PM8018, PM8038, PM8058 and PM8921.
8 - compatible: should be one of:
9 "qcom,pm8018-adc"
10 "qcom,pm8038-adc"
11 "qcom,pm8058-adc"
12 "qcom,pm8921-adc"
14 - reg: should contain the ADC base address in the PMIC, typically
17 - xoadc-ref-supply: should reference a regulator that can supply
21 The following required properties are standard for IO channels, see
[all …]
Dst,stm32-dfsdm-adc.txt1 STMicroelectronics STM32 DFSDM ADC device driver
4 STM32 DFSDM ADC is a sigma delta analog-to-digital converter dedicated to
7 - Sigma delta modulators (motor control, metering...)
8 - PDM microphones (audio digital microphone)
16 ------------------------------------
18 - compatible: Should be one of:
19 "st,stm32h7-dfsdm"
20 "st,stm32mp1-dfsdm"
21 - reg: Offset and length of the DFSDM block register set.
22 - clocks: IP and serial interfaces clocking. Should be set according
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/
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.
11 It has several multiplexed input channels. Conversions can be performed
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.
[all …]
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 …]
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 …]
Dqcom,pm8xxx-xoadc.txt3 The Qualcomm PM8xxx PMICs contain a HK/XO ADC (Housekeeping/Crystal
4 oscillator ADC) encompassing PM8018, PM8038, PM8058 and PM8921.
8 - compatible: should be one of:
9 "qcom,pm8018-adc"
10 "qcom,pm8038-adc"
11 "qcom,pm8058-adc"
12 "qcom,pm8921-adc"
14 - reg: should contain the ADC base address in the PMIC, typically
17 - xoadc-ref-supply: should reference a regulator that can supply
21 The following required properties are standard for IO channels, see
[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:
25 Bitmask of reserved channels, i.e. channels that cannot be
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/input/touchscreen/
Dresistive-adc-touch.txt1 Generic resistive touchscreen ADC
5 - compatible: must be "resistive-adc-touch"
6 The device must be connected to an ADC device that provides channels for
8 Refer to ../iio/iio-bindings.txt for details
9 - iio-channels: must have at least two channels connected to an ADC device.
10 These should correspond to the channels exposed by the ADC device and should
11 have the right index as the ADC device registers them. These channels
13 - iio-channel-names: must have all the channels' names. Mandatory channels
17 - iio-channels: The third channel named "pressure" is optional and can be
18 used if the ADC device also measures pressure besides position.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/touchscreen/
Dresistive-adc-touch.txt1 Generic resistive touchscreen ADC
5 - compatible: must be "resistive-adc-touch"
6 The device must be connected to an ADC device that provides channels for
8 Refer to ../iio/iio-bindings.txt for details
9 - iio-channels: must have at least two channels connected to an ADC device.
10 These should correspond to the channels exposed by the ADC device and should
11 have the right index as the ADC device registers them. These channels
13 - iio-channel-names: must have all the channels' names. Mandatory channels
17 - iio-channels: The third channel named "pressure" is optional and can be
18 used if the ADC device also measures pressure besides position.
[all …]
/kernel/linux/linux-5.10/drivers/iio/adc/
Dmcp320x.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Driver for following ADC chips from Microchip Technology's:
14 * ------------
20 * ------------
23 * ------------
65 const struct iio_chan_spec *channels; member
72 * struct mcp320x - Microchip SPI ADC instance
74 * @msg: SPI message to select a channel and receive a value from the ADC
80 * @chip_info: ADC properties
81 * @tx_buf: buffer for @transfer[0] (not used on single-channel converters)
[all …]
Dstm32-adc.c1 // SPDX-License-Identifier: GPL-2.0
3 * This file is part of STM32 ADC driver
5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved
11 #include <linux/dma-mapping.h>
15 #include <linux/iio/timer/stm32-lptim-trigger.h>
16 #include <linux/iio/timer/stm32-timer-trigger.h>
29 #include "stm32-adc-core.h"
34 /* BOOST bit must be set on STM32H7 when ADC clock is above 20MHz */
37 #define STM32_ADC_CH_MAX 20 /* max number of channels */
55 /* extsel - trigger mux selection value */
[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 */
100 * On a later ADC the decimation factors are defined as
124 * Physical channels which MUST exist on all PM variants in order to provide
156 * struct xoadc_channel - encodes channel properties and defaults
[all …]
Dti-adc084s021.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Driver for Texas Instruments' ADC084S021 ADC chip.
31 __be16 channels[4]; member
39 __be16 rx_buf[5]; /* First 16-bits are trash */
68 * Read an ADC channel and return its value.
70 * @adc: The ADC SPI data.
73 static int adc084s021_adc_conversion(struct adc084s021 *adc, void *data) in adc084s021_adc_conversion() argument
75 int n_words = (adc->spi_trans.len >> 1) - 1; /* Discard first word */ in adc084s021_adc_conversion()
80 ret = spi_sync(adc->spi, &adc->message); in adc084s021_adc_conversion()
85 *(p + i) = adc->rx_buf[i + 1]; in adc084s021_adc_conversion()
[all …]
/kernel/linux/linux-4.19/drivers/iio/adc/
Dmcp320x.c7 * Driver for following ADC chips from Microchip Technology's:
13 * ------------
19 * ------------
22 * ------------
67 const struct iio_chan_spec *channels; member
74 * struct mcp320x - Microchip SPI ADC instance
76 * @msg: SPI message to select a channel and receive a value from the ADC
82 * @chip_info: ADC properties
83 * @tx_buf: buffer for @transfer[0] (not used on single-channel converters)
118 return -EINVAL; in mcp320x_channel_to_tx_data()
[all …]
Dstm32-adc.c1 // SPDX-License-Identifier: GPL-2.0
3 * This file is part of STM32 ADC driver
5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved
11 #include <linux/dma-mapping.h>
15 #include <linux/iio/timer/stm32-lptim-trigger.h>
16 #include <linux/iio/timer/stm32-timer-trigger.h>
28 #include "stm32-adc-core.h"
33 /* BOOST bit must be set on STM32H7 when ADC clock is above 20MHz */
36 #define STM32_ADC_CH_MAX 20 /* max number of channels */
53 /* extsel - trigger mux selection value */
[all …]
Dqcom-pm8xxx-xoadc.c6 * specific-purpose and general purpose ADC converters and channels.
23 #include "qcom-vadc-common.h"
27 * Qualcomm tree. Their kernel has two out-of-tree drivers for the ADC:
28 * drivers/misc/pmic8058-xoadc.c
29 * drivers/hwmon/pm8xxx-adc.c
57 /* Proper ADC registers */
99 * On a later ADC the decimation factors are defined as
123 * Physical channels which MUST exist on all PM variants in order to provide
155 * struct xoadc_channel - encodes channel properties and defaults
162 * @prescale: the channels have hard-coded prescale ratios defined
[all …]
Dti-adc084s021.c4 * Driver for Texas Instruments' ADC084S021 ADC chip.
33 __be16 channels[4]; member
41 __be16 rx_buf[5]; /* First 16-bits are trash */
70 * Read an ADC channel and return its value.
72 * @adc: The ADC SPI data.
75 static int adc084s021_adc_conversion(struct adc084s021 *adc, void *data) in adc084s021_adc_conversion() argument
77 int n_words = (adc->spi_trans.len >> 1) - 1; /* Discard first word */ in adc084s021_adc_conversion()
82 ret = spi_sync(adc->spi, &adc->message); in adc084s021_adc_conversion()
87 *(p + i) = adc->rx_buf[i + 1]; in adc084s021_adc_conversion()
96 struct adc084s021 *adc = iio_priv(indio_dev); in adc084s021_read_raw() local
[all …]
DKconfig2 # ADC drivers
14 tristate "Analog Devices AD7265/AD7266 ADC driver"
27 tristate "Analog Devices AD7291 ADC driver"
31 8 Channel ADC with temperature sensor.
37 tristate "Analog Devices AD7298 ADC driver"
43 8 Channel ADC with temperature sensor.
49 tristate "Analog Devices AD7476 and similar 1-channel ADCs driver"
56 AD7495, AD7910, AD7920, AD7920 SPI analog to digital converters (ADC).
62 tristate "Analog Devices AD7766/AD7767 ADC driver"
67 Say yes here to build support for Analog Devices AD7766, AD7766-1,
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/
Diio-bindings.txt2 from Lars-Peter Clausen [1].
4 Sources of IIO channels can be represented by any node in the device
10 value of a #io-channel-cells property in the IIO provider node.
12 [1] https://marc.info/?l=linux-iio&m=135902119507483&w=2
17 #io-channel-cells: Number of cells in an IIO specifier; Typically 0 for nodes
27 adc: voltage-sensor@35 {
30 #io-channel-cells = <1>;
36 adc@35 {
37 compatible = "some-vendor,some-adc";
40 adc1: iio-device@0 {
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/iio/
Diio-bindings.txt2 from Lars-Peter Clausen [1].
4 Sources of IIO channels can be represented by any node in the device
10 value of a #io-channel-cells property in the IIO provider node.
12 [1] http://marc.info/?l=linux-iio&m=135902119507483&w=2
17 #io-channel-cells: Number of cells in an IIO specifier; Typically 0 for nodes
23 adc: voltage-sensor@35 {
26 #io-channel-cells = <1>;
31 adc@35 {
32 compatible = "some-vendor,some-adc";
35 adc1: iio-device@0 {
[all …]
/kernel/linux/linux-5.10/drivers/hwmon/
Dadcxx.c1 // SPDX-License-Identifier: GPL-2.0-or-later
11 * ADC<bb><c>S<sss>, where
13 * * c is the number of channels (1, 2, 4, 8)
18 * http://www.national.com/ds/DC/ADC<bb><c>S<sss>.pdf
32 #include <linux/hwmon-sysfs.h>
42 u32 channels; member
52 struct adcxx *adc = spi_get_drvdata(spi); in adcxx_show() local
58 if (mutex_lock_interruptible(&adc->lock)) in adcxx_show()
59 return -ERESTARTSYS; in adcxx_show()
61 if (adc->channels == 1) { in adcxx_show()
[all …]
/kernel/linux/linux-4.19/drivers/hwmon/
Dadcxx.c10 * ADC<bb><c>S<sss>, where
12 * * c is the number of channels (1, 2, 4, 8)
17 * http://www.national.com/ds/DC/ADC<bb><c>S<sss>.pdf
45 #include <linux/hwmon-sysfs.h>
55 u32 channels; member
65 struct adcxx *adc = spi_get_drvdata(spi); in adcxx_read() local
71 if (mutex_lock_interruptible(&adc->lock)) in adcxx_read()
72 return -ERESTARTSYS; in adcxx_read()
74 if (adc->channels == 1) { in adcxx_read()
77 tx_buf[0] = attr->index << 3; /* other bits are don't care */ in adcxx_read()
[all …]
/kernel/linux/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 …]

12345678910>>...38