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

dt-bindings: hwmon: Add nuvoton,nct6775

These Super I/O chips have an i2c interface that some systems expose
to a BMC; the BMC's device tree can now describe that via this
binding.

Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220428012707.24921-2-zev@bewilderbeest.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Zev Weiss and committed by
Guenter Roeck
801549da 76412408

+57
+57
Documentation/devicetree/bindings/hwmon/nuvoton,nct6775.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + 5 + $id: http://devicetree.org/schemas/hwmon/nuvoton,nct6775.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 + 8 + title: Nuvoton NCT6775 and compatible Super I/O chips 9 + 10 + maintainers: 11 + - Zev Weiss <zev@bewilderbeest.net> 12 + 13 + properties: 14 + compatible: 15 + enum: 16 + - nuvoton,nct6106 17 + - nuvoton,nct6116 18 + - nuvoton,nct6775 19 + - nuvoton,nct6776 20 + - nuvoton,nct6779 21 + - nuvoton,nct6791 22 + - nuvoton,nct6792 23 + - nuvoton,nct6793 24 + - nuvoton,nct6795 25 + - nuvoton,nct6796 26 + - nuvoton,nct6797 27 + - nuvoton,nct6798 28 + 29 + reg: 30 + maxItems: 1 31 + 32 + nuvoton,tsi-channel-mask: 33 + description: 34 + Bitmask indicating which TSI temperature sensor channels are 35 + active. LSB is TSI0, bit 1 is TSI1, etc. 36 + $ref: /schemas/types.yaml#/definitions/uint32 37 + maximum: 0xff 38 + default: 0 39 + 40 + required: 41 + - compatible 42 + - reg 43 + 44 + additionalProperties: false 45 + 46 + examples: 47 + - | 48 + i2c { 49 + #address-cells = <1>; 50 + #size-cells = <0>; 51 + 52 + superio@4d { 53 + compatible = "nuvoton,nct6779"; 54 + reg = <0x4d>; 55 + nuvoton,tsi-channel-mask = <0x03>; 56 + }; 57 + };