Home
last modified time | relevance | path

Searched +full:refbuf +full:- +full:enable (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/iio/amplifiers/
Dadi,ada4250.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Antoniu Miclaus <antoniu.miclaus@analog.com>
18 - adi,ada4250
23 avdd-supply: true
25 adi,refbuf-enable:
27 Enable internal buffer to drive the reference pin.
31 - compatible
32 - reg
[all …]
/Linux-v6.1/drivers/iio/amplifiers/
Dada4250.c1 // SPDX-License-Identifier: GPL-2.0-only
91 if (st->bias == 0 || st->bias == 3) in ada4250_set_offset_uv()
92 return -EINVAL; in ada4250_set_offset_uv()
94 voltage_v = regulator_get_voltage(st->reg); in ada4250_set_offset_uv()
97 if (st->bias == ADA4250_BIAS_AVDD) in ada4250_set_offset_uv()
102 x[1] = 126 * (x[0] - 1); in ada4250_set_offset_uv()
107 if (st->gain == 0) in ada4250_set_offset_uv()
108 return -EINVAL; in ada4250_set_offset_uv()
115 * 2 | X1*127 | X1=0.126(AVDD-1) | X1*3*127 | X1*3 | in ada4250_set_offset_uv()
124 max_vos = x[st->gain] * 127 * ((1 << (i + 1)) - 1); in ada4250_set_offset_uv()
[all …]