Home
last modified time | relevance | path

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

12345678910>>...23

/linux/Documentation/devicetree/bindings/iio/adc/
H A 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
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 …]
H A 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@foss.st.com>
11 - Olivier Moysan <olivier.moysan@foss.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 …]
H A Dti,am3359-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/ti,am3359-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TI AM3359 ADC
10 - Miquel Raynal <miquel.raynal@bootlin.com>
15 - enum:
16 - ti,am3359-adc
17 - ti,am4372-adc
18 - items:
[all …]
H A 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 …]
H A Datmel,sama9260-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/atmel,sama9260-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: AT91 sama9260 and similar Analog to Digital Converter (ADC)
10 - Alexandre Belloni <alexandre.belloni@bootlin.com>
15 - atmel,at91sam9260-adc
16 - atmel,at91sam9rl-adc
17 - atmel,at91sam9g45-adc
18 - atmel,at91sam9x5-adc
[all …]
H A 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-schema
[all...]
H A Daspeed,ast2600-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/aspeed,ast2600-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ADC that forms part of an ASPEED server management processor.
10 - Billy Tsai <billy_tsai@aspeedtech.com>
13 • 10-bits resolution for 16 voltage channels.
15 channels.
16 • Channel scanning can be non-continuous.
17 • Programmable ADC clock frequency.
[all …]
H A Dti,ads1119.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/ti,ads1119.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments ADS1119 ADC
10 - João Paulo Gonçalves <jpaulo.silvagoncalves@gmail.com>
13 The TI ADS1119 is a precision 16-bit ADC over I2C that offers single-ended and
28 reset-gpios:
31 avdd-supply: true
32 dvdd-supply: true
[all …]
/linux/drivers/iio/adc/
H A 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 …]
H A Dmcp3911.c1 // SPDX-License-Identifier: GPL-2.0
3 * Driver for Microchip MCP3911, Two-channel Analog Front End
85 /* Maximal number of channels used by the MCP39XX family */
103 const struct iio_chan_spec *channels; member
106 int (*config)(struct mcp3911 *adc, bool external_vref);
107 int (*get_osr)(struct mcp3911 *adc, u32 *val);
108 int (*set_osr)(struct mcp3911 *adc, u32 val);
109 int (*enable_offset)(struct mcp3911 *adc, boo
124 u32 channels[MCP39XX_MAX_NUM_CHANNELS]; global() member
132 mcp3911_read(struct mcp3911 * adc,u8 reg,u32 * val,u8 len) mcp3911_read() argument
148 mcp3911_write(struct mcp3911 * adc,u8 reg,u32 val,u8 len) mcp3911_write() argument
159 mcp3911_update(struct mcp3911 * adc,u8 reg,u32 mask,u32 val,u8 len) mcp3911_update() argument
173 mcp3910_enable_offset(struct mcp3911 * adc,bool enable) mcp3910_enable_offset() argument
181 mcp3910_get_offset(struct mcp3911 * adc,int channel,int * val) mcp3910_get_offset() argument
186 mcp3910_set_offset(struct mcp3911 * adc,int channel,int val) mcp3910_set_offset() argument
197 mcp3911_enable_offset(struct mcp3911 * adc,bool enable) mcp3911_enable_offset() argument
205 mcp3911_get_offset(struct mcp3911 * adc,int channel,int * val) mcp3911_get_offset() argument
210 mcp3911_set_offset(struct mcp3911 * adc,int channel,int val) mcp3911_set_offset() argument
221 mcp3910_get_osr(struct mcp3911 * adc,u32 * val) mcp3910_get_osr() argument
235 mcp3910_set_osr(struct mcp3911 * adc,u32 val) mcp3910_set_osr() argument
243 mcp3911_set_osr(struct mcp3911 * adc,u32 val) mcp3911_set_osr() argument
251 mcp3911_get_osr(struct mcp3911 * adc,u32 * val) mcp3911_get_osr() argument
265 mcp3910_set_scale(struct mcp3911 * adc,int channel,u32 val) mcp3910_set_scale() argument
272 mcp3911_set_scale(struct mcp3911 * adc,int channel,u32 val) mcp3911_set_scale() argument
318 struct mcp3911 *adc = iio_priv(indio_dev); mcp3911_read_raw() local
356 struct mcp3911 *adc = iio_priv(indio_dev); mcp3911_write_raw() local
490 struct mcp3911 *adc = iio_priv(indio_dev); mcp3911_trigger_handler() local
534 mcp3911_config(struct mcp3911 * adc,bool external_vref) mcp3911_config() argument
600 mcp3910_config(struct mcp3911 * adc,bool external_vref) mcp3910_config() argument
669 struct mcp3911 *adc = iio_trigger_get_drvdata(trig); mcp3911_set_trigger_state() local
688 struct mcp3911 *adc; mcp3911_probe() local
[all...]
H A 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 * adc084s021_adc_conversion() - Read an ADC channel and return its value.
70 * @adc
73 adc084s021_adc_conversion(struct adc084s021 * adc,__be16 * data) adc084s021_adc_conversion() argument
93 struct adc084s021 *adc = iio_priv(indio_dev); adc084s021_read_raw() local
148 struct adc084s021 *adc = iio_priv(indio_dev); adc084s021_buffer_trigger_handler() local
165 struct adc084s021 *adc = iio_priv(indio_dev); adc084s021_buffer_preenable() local
181 struct adc084s021 *adc = iio_priv(indio_dev); adc084s021_buffer_postdisable() local
200 struct adc084s021 *adc; adc084s021_probe() local
[all...]
H A 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>
14 #include <linux/iio/hw-consumer.h>
16 #include <linux/iio/timer/stm32-lptim-trigger.h>
17 #include <linux/iio/timer/stm32-timer-trigger.h>
29 #include "stm32-dfsdm.h"
44 /* Limit filter output resolution to 31 bits. (i.e. sample range is +/-2^30) */
[all …]
H A Dmcp3564.c1 // SPDX-License-Identifier: GPL-2.0+
3 * IIO driver for MCP356X/MCP356XR and MCP346X/MCP346XR series ADC chip family
5 * Copyright (C) 2022-2023 Microchip Technology Inc. and its subsidiaries
10 …s/aemDocuments/documents/MSLD/ProductDocuments/DataSheets/MCP3561-2-4-Family-Data-Sheet-DS20006181…
12 …ds/aemDocuments/documents/APID/ProductDocuments/DataSheets/MCP3561_2_4R-Data-Sheet-DS200006391C.pdf
14 …ProductDocuments/DataSheets/MCP3461-2-4-Two-Four-Eight-Channel-153.6-ksps-Low-Noise-16-Bit-Delta-S…
16 …/aemDocuments/documents/APID/ProductDocuments/DataSheets/MCP3461-2-4R-Family-Data-Sheet-DS20006404…
64 * ADC Output Data Format 32-bit (25-bit right justified data + Channel ID):
65 * CHID[3:0] + SGN extension (4 bits) + 24-bit ADC data.
70 * ADC Output Data Format 32-bit (25-bit right justified data):
[all …]
H A Dti-adc0832.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ADC0831/ADC0832/ADC0834/ADC0838 8-bit ADC driver
7 * Datasheet: https://www.ti.com/lit/ds/symlink/adc0832-n.pdf
33 * Max size needed: 16x 1 byte ADC data + 8 bytes timestamp
34 * May be shorter if not all channels are enabled subject
120 static int adc0831_adc_conversion(struct adc0832 *adc) in adc0831_adc_conversion() argument
122 struct spi_device *spi = adc->spi; in adc0831_adc_conversion()
125 ret = spi_read(spi, &adc->rx_buf, 2); in adc0831_adc_conversion()
130 * Skip TRI-STATE and a leading zero in adc0831_adc_conversion()
132 return (adc->rx_buf[0] << 2 & 0xff) | (adc->rx_buf[1] >> 6); in adc0831_adc_conversion()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # ADC drivers
10 bool "ST-Ericsson AB8500 GPADC driver"
25 tristate "Analog Devices AD4000 ADC Driver"
31 SPI analog to digital converters (ADC).
37 tristate "Analog Device AD4130 ADC Driver"
45 Say yes here to build support for Analog Devices AD4130-8 SPI analog
46 to digital converters (ADC).
52 tristate "Analog Device AD4695 ADC Driver"
59 analog to digital converters (ADC).
[all …]
H A Dingenic-adc.c1 // SPDX-License-Identifier: GPL-2.0
3 * ADC driver for the Ingenic JZ47xx SoCs
4 * Copyright (c) 2019 Artur Rojek <contact@artur-rojek.eu>
6 * based on drivers/mfd/jz4740-adc.c
9 #include <dt-bindings/iio/adc/ingenic,adc.h>
100 const struct iio_chan_spec *channels; member
102 int (*init_clk_div)(struct device *dev, struct ingenic_adc *adc);
116 struct ingenic_adc *adc = iio_priv(iio_dev); in ingenic_adc_set_adcmd() local
118 mutex_lock(&adc->lock); in ingenic_adc_set_adcmd()
121 readl(adc->base + JZ_ADC_REG_ADCMD); in ingenic_adc_set_adcmd()
[all …]
/linux/Documentation/devicetree/bindings/input/touchscreen/
H A Dresistive-adc-touch.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/touchscreen/resistive-adc-touch.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Generic resistive touchscreen ADC
10 - Oleksij Rempel <o.rempel@pengutronix.de>
13 Generic ADC based resistive touchscreen controller
14 The device must be connected to an ADC device that provides channels for
18 - $ref: touchscreen.yaml#
22 const: resistive-adc-touch
[all …]
/linux/drivers/hwmon/
H A 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 …]
/linux/Documentation/devicetree/bindings/thermal/
H A Dqcom-spmi-adc-tm5.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/qcom-spmi-adc-tm5.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm's SPMI PMIC ADC Thermal Monitoring
9 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
11 $ref: thermal-sensor.yaml#
16 - qcom,spmi-adc-tm5
17 - qcom,spmi-adc-tm5-gen2
18 - qcom,adc-tm7 # Incomplete / subject to change
[all …]
H A Dqcom-spmi-adc-tm-hc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/qcom-spmi-adc-tm-hc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm's SPMI PMIC ADC HC Thermal Monitoring
9 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
11 $ref: thermal-sensor.yaml#
15 const: qcom,spmi-adc-tm-hc
23 "#thermal-sensor-cells":
26 "#address-cells":
[all …]
/linux/Documentation/devicetree/bindings/input/
H A 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
18 - $ref: input.yaml#
22 const: adc-joystick
[all …]
/linux/arch/arm/boot/dts/
H A Dcros-adc-thermistors.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
4 * children of the IIO based ADC.
12 &adc {
15 pullup-uv = <1800000>;
16 pullup-ohm = <47000>;
17 pulldown-ohm = <0>;
18 io-channels = <&adc 3>;
22 pullup-uv = <1800000>;
23 pullup-ohm = <47000>;
24 pulldown-ohm = <0>;
[all …]
/linux/Documentation/devicetree/bindings/power/supply/
H A Dadc-battery.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/supply/adc-battery.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ADC battery
10 - Sebastian Reichel <sre@kernel.org>
14 via ADC channels and optionally indicate that the battery is full by
24 - $ref: power-supply.yaml#
28 const: adc-battery
30 charged-gpios:
[all …]
/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-ampere-mtjade.dts1 // SPDX-License-Identifier: GPL-2.0+
2 /dts-v1/;
3 #include "aspeed-g5.dtsi"
4 #include <dt-bindings/gpio/aspeed-gpio.h>
8 compatible = "ampere,mtjade-bmc", "aspeed,ast2500";
12 * i2c bus 50-57 assigned to NVMe slot 0-7
24 * i2c bus 60-67 assigned to NVMe slot 8-15
36 * i2c bus 70-77 assigned to NVMe slot 16-23
48 * i2c bus 80-81 assigned to NVMe M2 slot 0-1
60 stdout-path = &uart5;
[all …]
/linux/Documentation/devicetree/bindings/hwmon/
H A Diio-hwmon.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/hwmon/iio-hwmon.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ADC-attached Hardware Sensor
10 - Jonathan Cameron <jic23@kernel.org>
13 Bindings for hardware monitoring devices connected to ADC controllers
18 const: iio-hwmon
20 io-channels:
24 List of phandles to ADC channels to read the monitoring values
[all …]

12345678910>>...23