Home
last modified time | relevance | path

Searched +full:max5432 +full:- +full:max5435 (Results 1 – 3 of 3) sorted by relevance

/linux/Documentation/devicetree/bindings/iio/potentiometer/
H A Dmax5432.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/iio/potentiometer/max5432.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Maxim Integrated MAX5432-MAX5435 Digital Potentiometers
10 - Martin Kaiser <martin@kaiser.cx>
13 Maxim Integrated MAX5432-MAX5435 Digital Potentiometers connected via I2C
16 https://datasheets.maximintegrated.com/en/ds/MAX5432-MAX5435.pdf
21 - maxim,max5432
22 - maxim,max5433
[all …]
/linux/drivers/iio/potentiometer/
H A Dmax5432.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Maxim Integrated MAX5432-MAX5435 digital potentiometer driver
7 * https://datasheets.maximintegrated.com/en/ds/MAX5432-MAX5435.pdf
50 return -EINVAL; in max5432_read_raw()
52 if (unlikely(data->ohm > INT_MAX)) in max5432_read_raw()
53 return -ERANGE; in max5432_read_raw()
55 *val = data->ohm; in max5432_read_raw()
69 return -EINVAL; in max5432_write_raw()
72 return -EINVAL; in max5432_write_raw()
75 return -EINVAL; in max5432_write_raw()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
39 config MAX5432 config
40 tristate "Maxim MAX5432-MAX5435 Digital Potentiometer driver"
44 MAX5432, MAX5433, MAX5434 and MAX5435 digital
48 module will be called max5432.
51 tristate "Maxim MAX5481-MAX5484 Digital Potentiometer driver"