Home
last modified time | relevance | path

Searched +full:buffered +full:- +full:vrefn (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/Documentation/devicetree/bindings/iio/adc/
H A Dadi,max11410.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Ibrahim Tilki <Ibrahim.Tilki@analog.com>
21 - adi,max11410
30 interrupt-names:
34 - enum: [gpio0, gpio1]
35 - const: gpio1
37 '#address-cells':
40 '#size-cells':
[all …]
/openbmc/linux/drivers/iio/adc/
H A Dmax11410.c1 // SPDX-License-Identifier: GPL-2.0-only
141 struct regulator *vrefn[3]; member
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()
[all …]
H A Dxilinx-xadc-core.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2013-2014 Analog Devices Inc.
6 * Author: Lars-Peter Clausen <lars@metafoo.de>
9 * - XADC hardmacro: Xilinx UG480
10 * - ZYNQ XADC interface: Xilinx UG585
11 * - AXI XADC interface: Xilinx PG019
36 #include "xilinx-xadc.h"
117 * overloaded by the interrupts that it soft-lockups. For this reason the driver
126 writel(val, xadc->base + reg); in xadc_write_reg()
132 *val = readl(xadc->base + reg); in xadc_read_reg()
[all …]