Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: hwmon: Add bindings for max31760

Adding bindings for Analog Devices MAX31760 Fan-Speed Controller

Signed-off-by: Ibrahim Tilki <Ibrahim.Tilki@analog.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220910171945.48088-4-Ibrahim.Tilki@analog.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Ibrahim Tilki and committed by
Guenter Roeck
479d14cf 8e27c2fd

+42
+42
Documentation/devicetree/bindings/hwmon/adi,max31760.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/hwmon/adi,max31760.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Analog Devices MAX31760 Fan-Speed Controller 8 + 9 + maintainers: 10 + - Ibrahim Tilki <Ibrahim.Tilki@analog.com> 11 + 12 + description: | 13 + Analog Devices MAX31760 Fan-Speed Controller 14 + https://datasheets.maximintegrated.com/en/ds/MAX31760.pdf 15 + 16 + properties: 17 + compatible: 18 + enum: 19 + - adi,max31760 20 + 21 + reg: 22 + description: I2C address of slave device. 23 + minimum: 0x50 24 + maximum: 0x57 25 + 26 + required: 27 + - compatible 28 + - reg 29 + 30 + additionalProperties: false 31 + 32 + examples: 33 + - | 34 + i2c { 35 + #address-cells = <1>; 36 + #size-cells = <0>; 37 + 38 + fan-controller@50 { 39 + reg = <0x50>; 40 + compatible = "adi,max31760"; 41 + }; 42 + };