Home
last modified time | relevance | path

Searched +full:vref +full:- +full:buffered (Results 1 – 10 of 10) sorted by relevance

/linux/Documentation/devicetree/bindings/iio/dac/
H A Dmicrochip,mcp4725.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Tomas Novotny <tomas@novotny.cz>
15 - microchip,mcp4725
16 - microchip,mcp4726
21 vdd-supply:
24 For the mcp4726 it will be used as the reference voltage if vref-supply
27 vref-supply:
29 Vref pin is used as a voltage reference when this supply is specified.
[all …]
H A Dadi,ad3530r.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Kim Seer Paller <kimseer.paller@analog.com>
13 The AD3530/AD3530R (8-channel) and AD3531/AD3531R (4-channel) are low-power,
14 16-bit, buffered voltage output digital-to-analog converters (DACs) with
15 software-programmable gain controls, providing full-scale output spans of 2.5V
20 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3530_ad530r.pdf
21 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3531-ad3531r.pdf
26 - adi,ad3530
[all …]
/linux/Documentation/devicetree/bindings/iio/adc/
H A Dadi,ad7949.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Charles-Antoine Couret <charles-antoine.couret@essensium.com>
15 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7949.pdf
17 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7682_7689.pdf
22 - adi,ad7682
23 - adi,ad7689
24 - adi,ad7949
29 vrefin-supply:
[all …]
/linux/drivers/iio/adc/
H A Dmax11410.c1 // SPDX-License-Identifier: GPL-2.0-only
175 /* This driver only needs to write 8-bit registers */ in max11410_write_reg()
177 return -EINVAL; in max11410_write_reg()
179 return regmap_write(st->regmap, reg, val); in max11410_write_reg()
188 ret = regmap_bulk_read(st->regmap, reg, &st->scan.data, 3); in max11410_read_reg()
192 *val = get_unaligned_be24(&st->scan.data); in max11410_read_reg()
196 return regmap_read(st->regmap, reg, val); in max11410_read_reg()
204 return st->avdd; in max11410_get_vrefp()
206 return st->vrefp[refsel]; in max11410_get_vrefp()
215 return st->vrefn[refsel]; in max11410_get_vrefn()
[all …]
H A Dad7791.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Author: Lars-Peter Clausen <lars@metafoo.de>
71 .differential = (_channel2 == -1 ? 0 : 1), \
99 __AD7991_CHANNEL(_si, _channel, -1, _address, _bits, \
111 __AD7991_CHANNEL(_si, _channel, -1, _address, _bits, \
244 st->mode &= ~AD7791_MODE_SEL_MASK; in ad7791_set_mode()
245 st->mode |= AD7791_MODE_SEL(mode); in ad7791_set_mode()
247 return ad_sd_write_reg(sd, AD7791_REG_MODE, sizeof(st->mode), st->mode); in ad7791_set_mode()
264 bool unipolar = !!(st->mode & AD7791_MODE_UNIPOLAR); in ad7791_read_raw()
272 * Unipolar: 0 to VREF in ad7791_read_raw()
[all …]
H A Dmax1363.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (C) 2008-2010 Jonathan Cameron
7 * Copyright (C) 2002-2004 Stefan Eletzhofer
53 /* think about including max11600 etc - more settings */
60 /* max1363 only - though don't care on others.
81 /* max123{6-9} only */
84 /* max1363 only - merely part of channel selects or don't care for others */
89 /* max1363 strictly 0x06 - but doesn't matter */
96 * struct max1363_mode - scan mode information
124 * struct max1363_chip_info - chip specifc information
[all …]
H A Dad4170-4.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Analog Devices AD4170-4 ADC driver
6 * Author: Ana-Maria Cusco <ana-maria.cusco@analog.com>
17 #include <linux/clk-provider.h>
81 /* AD4170_CONFIG_A_REG - INTERFACE_CONFIG_A REGISTER */
246 [AD4170_CHAN_SETUP_REG(0) ... AD4170_CHAN_MAP_REG(AD4170_MAX_ADC_CHANNELS - 1)] = 2,
249 * also interleaved but MISC, AFE, FILTER, FILTER_FS, OFFSET are 16-bit
250 * while OFFSET, GAIN are 24-bit registers so we can't init them all to
278 AD4170_REF_BUF_PRE, /* Pre-charge referrence buffer */
283 /* maps adi,positive/negative-reference-buffer property values to enum */
[all …]
H A Dad7380.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * ad7380/1 : https://www.analog.com/media/en/technical-documentation/data-sheets/AD7380-7381.pdf
10 * ad7383/4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7383-7384.pdf
11 …* ad7386/7/8 : https://www.analog.com/media/en/technical-documentation/data-sheets/AD7386-7387-738…
12 * ad7380-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7380-4.pdf
13 * ad7381-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7381-4.pdf
14 …* ad7383/4-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7383-4-ad7384
15 …* ad7386/7/8-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7386-4-7387
16 * ad7389-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7389-4.pdf
17 * adaq4370-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/adaq4370-4.pdf
[all …]
H A Dad7192.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright 2011-2015 Analog Devices Inc.
12 #include <linux/clk-provider.h>
36 #define AD7192_REG_COMM 0 /* Communications Register (WO, 8-bit) */
37 #define AD7192_REG_STAT 0 /* Status Register (RO, 8-bit) */
38 #define AD7192_REG_MODE 1 /* Mode Register (RW, 24-bit */
39 #define AD7192_REG_CONF 2 /* Configuration Register (RW, 24-bit) */
40 #define AD7192_REG_DATA 3 /* Data Register (RO, 24/32-bit) */
41 #define AD7192_REG_ID 4 /* ID Register (RO, 8-bit) */
42 #define AD7192_REG_GPOCON 5 /* GPOCON Register (RO, 8-bit) */
[all …]
/linux/drivers/iio/dac/
H A Dmcp4725.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * mcp4725.c - Support for Microchip MCP4725/6
9 * driver for the Microchip I2C 12-bit digital-to-analog converter (DAC)
10 * (7-bit I2C slave address 0x60, the three LSBs can be configured in
55 outbuf[0] = (data->powerdown_mode + 1) << 4; in mcp4725_suspend()
57 data->powerdown = true; in mcp4725_suspend()
59 ret = i2c_master_send(data->client, outbuf, 2); in mcp4725_suspend()
63 return -EIO; in mcp4725_suspend()
75 outbuf[0] = (data->dac_value >> 8) & 0xf; in mcp4725_resume()
76 outbuf[1] = data->dac_value & 0xff; in mcp4725_resume()
[all …]