1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/hwmon/maxim,max20730.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Maxim max20730 8 9maintainers: 10 - Jean Delvare <jdelvare@suse.com> 11 - Guenter Roeck <linux@roeck-us.net> 12 13description: | 14 The MAX20730 is a fully integrated, highly efficient switching regulator 15 with PMBus for applications operating from 4.5V to 16V and requiring 16 up to 25A (max) load. This single-chip regulator provides extremely 17 compact, high efficiency power-delivery solutions with high-precision 18 output voltages and excellent transient response. 19 20 Datasheets: 21 https://datasheets.maximintegrated.com/en/ds/MAX20730.pdf 22 https://datasheets.maximintegrated.com/en/ds/MAX20734.pdf 23 https://datasheets.maximintegrated.com/en/ds/MAX20743.pdf 24 25properties: 26 compatible: 27 enum: 28 - maxim,max20730 29 - maxim,max20734 30 - maxim,max20743 31 32 reg: 33 maxItems: 1 34 35 vout-voltage-divider: 36 description: | 37 If voltage divider present at vout, the voltage at voltage sensor pin 38 will be scaled. The properties will convert the raw reading to a more 39 meaningful number if voltage divider present. It has two numbers, 40 the first number is the output resistor, the second number is the total 41 resistance. Therefore, the adjusted vout is equal to 42 Vout = Vout * output_resistance / total resistance. 43 $ref: /schemas/types.yaml#/definitions/uint32-array 44 minItems: 2 45 maxItems: 2 46 47required: 48 - compatible 49 - reg 50 51additionalProperties: false 52 53examples: 54 - | 55 i2c { 56 #address-cells = <1>; 57 #size-cells = <0>; 58 59 max20730@10 { 60 compatible = "maxim,max20730"; 61 reg = <0x10>; 62 vout-voltage-divider = <1000 2000>; // vout would be scaled to 0.5 63 }; 64 }; 65