Home
last modified time | relevance | path

Searched +full:max31827 +full:- +full:max31829 (Results 1 – 2 of 2) sorted by relevance

/linux/Documentation/devicetree/bindings/hwmon/
H A Dadi,max31827.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/hwmon/adi,max31827.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices MAX31827, MAX31828, MAX31829 Low-Power Temperature Switch
10 - Daniel Matyas <daniel.matyas@analog.com>
13 Analog Devices MAX31827, MAX31828, MAX31829 Low-Power Temperature Switch with
15 https://www.analog.com/media/en/technical-documentation/data-sheets/MAX31827-MAX31829.pdf
20 - const: adi,max31827
21 - items:
[all …]
/linux/drivers/hwmon/
H A Dmax31827.c1 // SPDX-License-Identifier: GPL-2.0
3 * max31827.c - Support for Maxim Low-Power Switch
55 enum chips { max31827 = 1, max31828, max31829 }; enumerator
130 mutex_lock(&st->lock); in shutdown_write()
132 if (!st->enable) { in shutdown_write()
134 ret = regmap_write(st->regmap, reg, val); in shutdown_write()
136 ret = regmap_update_bits(st->regmap, reg, mask, val); in shutdown_write()
140 ret = regmap_read(st->regmap, MAX31827_CONFIGURATION_REG, &cfg); in shutdown_write()
147 ret = regmap_write(st->regmap, MAX31827_CONFIGURATION_REG, cfg); in shutdown_write()
152 ret = regmap_write(st->regmap, reg, val); in shutdown_write()
[all …]