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 Winbond W83781D

This adds a device tree binding for the Winbond W83781D and its
sibling HW monitoring ICs. This is used in for example the Freecom
FSG-3 router/NAS.

Cc: devicetree@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210729230543.2853485-1-linus.walleij@linaro.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Linus Walleij and committed by
Guenter Roeck
542613a2 e104d530

+41
+41
Documentation/devicetree/bindings/hwmon/winbond,w83781d.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + 5 + $id: http://devicetree.org/schemas/hwmon/winbond,w83781d.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 + 8 + title: Winbond W83781 and compatible hardware monitor IC 9 + 10 + maintainers: 11 + - Linus Walleij <linus.walleij@linaro.org> 12 + 13 + properties: 14 + compatible: 15 + enum: 16 + - winbond,w83781d 17 + - winbond,w83781g 18 + - winbond,w83782d 19 + - winbond,w83783s 20 + - asus,as99127f 21 + 22 + reg: 23 + maxItems: 1 24 + 25 + required: 26 + - compatible 27 + - reg 28 + 29 + additionalProperties: false 30 + 31 + examples: 32 + - | 33 + i2c { 34 + #address-cells = <1>; 35 + #size-cells = <0>; 36 + 37 + temperature-sensor@28 { 38 + compatible = "winbond,w83781d"; 39 + reg = <0x28>; 40 + }; 41 + };