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 ADM1266

Add bindings for the Analog Devices ADM1266 sequencer.

Signed-off-by: Alexandru Tachici <alexandru.tachici@analog.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20200812142055.9213-7-alexandru.tachici@analog.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Alexandru Tachici and committed by
Guenter Roeck
0c92ddcc 15609d18

+51
+51
Documentation/devicetree/bindings/hwmon/adi,adm1266.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,adm1266.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Analog Devices ADM1266 Cascadable Super Sequencer with Margin 8 + Control and Fault Recording 9 + 10 + maintainers: 11 + - Alexandru Tachici <alexandru.tachici@analog.com> 12 + 13 + description: | 14 + Analog Devices ADM1266 Cascadable Super Sequencer with Margin 15 + Control and Fault Recording. 16 + https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1266.pdf 17 + 18 + properties: 19 + compatible: 20 + enum: 21 + - adi,adm1266 22 + 23 + reg: 24 + description: | 25 + I2C address of slave device. 26 + items: 27 + minimum: 0x40 28 + maximum: 0x4F 29 + 30 + avcc-supply: 31 + description: | 32 + Phandle to the Avcc power supply. 33 + 34 + required: 35 + - compatible 36 + - reg 37 + 38 + additionalProperties: false 39 + 40 + examples: 41 + - | 42 + i2c0 { 43 + #address-cells = <1>; 44 + #size-cells = <0>; 45 + 46 + adm1266@40 { 47 + compatible = "adi,adm1266"; 48 + reg = <0x40>; 49 + }; 50 + }; 51 + ...