|
| 1 | +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 | +# Copyright (c) 2023 Analog Devices, Inc. |
| 3 | +%YAML 1.2 |
| 4 | +--- |
| 5 | +$id: http://devicetree.org/schemas/regulator/adi,lt8722-regulator.yaml# |
| 6 | +$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 7 | + |
| 8 | +title: Analog Devices LT8722 Ultracompact Full Bridge Driver |
| 9 | + |
| 10 | +maintainers: |
| 11 | + - Ramon Cristopher Calam <[email protected]> |
| 12 | + |
| 13 | +description: | |
| 14 | + The Analog Devices LT8722 is a high performance, high efficiency, 15V input, |
| 15 | + 4A monolithic full bridge DC/DC converter. This converter has 92.5% efficiency |
| 16 | + with high power output of 54W for fine control TEC driving applications. |
| 17 | + |
| 18 | +allOf: |
| 19 | + - $ref: regulator.yaml# |
| 20 | + |
| 21 | +properties: |
| 22 | + compatible: |
| 23 | + enum: |
| 24 | + - adi,lt8722 |
| 25 | + |
| 26 | + reg: |
| 27 | + maxItems: 1 |
| 28 | + |
| 29 | + en-gpios: |
| 30 | + maxItems: 1 |
| 31 | + description: Active high enable GPIO pin for the regulator. |
| 32 | + |
| 33 | + swen-gpios: |
| 34 | + maxItems: 1 |
| 35 | + description: Active high switch enable GPIO pin for the regulator. |
| 36 | + |
| 37 | + spi-max-frequency: |
| 38 | + maximum: 10000000 |
| 39 | + |
| 40 | + spi-bits-per-word: |
| 41 | + const: 8 |
| 42 | + |
| 43 | + adi,uv-clamp-microvolt: |
| 44 | + minimum: 1250000 |
| 45 | + maximum: 20000000 |
| 46 | + description: | |
| 47 | + Maximum negative output voltage clamp in microvolts. |
| 48 | + Defaults to 20000000 if not specified. |
| 49 | + |
| 50 | + adi,ov-clamp-microvolt: |
| 51 | + minimum: 1250000 |
| 52 | + maximum: 20000000 |
| 53 | + description: | |
| 54 | + Maximum positive output voltage clamp in microvolts. |
| 55 | + Defaults to 20000000 if not specified. |
| 56 | + |
| 57 | + adi,switch-frequency-hz: |
| 58 | + enum: [500000, 1000000, 1500000, 2000000, 2500000, 3000000] |
| 59 | + description: | |
| 60 | + PWM switch frequency. |
| 61 | + Defaults to 500000 if not specified. |
| 62 | + |
| 63 | + adi,switch-frequency-adjust: |
| 64 | + enum: [0, 1, 2] |
| 65 | + description: | |
| 66 | + PWM switch frequency adjustment, values map to: |
| 67 | + - 0: 0% |
| 68 | + - 1: 15% |
| 69 | + - 2: -15% |
| 70 | + Defaults to 0% if not specified. |
| 71 | + |
| 72 | + adi,duty-cycle-range: |
| 73 | + enum: [0, 1, 2] |
| 74 | + description: | |
| 75 | + PWM duty cycle, values map to: |
| 76 | + - 0: 20% to 80% |
| 77 | + - 1: 15% to 85% |
| 78 | + - 2: 10% to 90% |
| 79 | + Defaults to 20% to 80% if not specified. |
| 80 | + |
| 81 | + adi,vcc-vreg-millivolt: |
| 82 | + enum: [3100, 3400] |
| 83 | + description: | |
| 84 | + VCC LCO regulation voltage in millivolts. |
| 85 | + Defaults to 3400 if not specified. |
| 86 | + |
| 87 | + adi,peak-inductor-current-milliamp: |
| 88 | + enum: [252, 594, 936, 1278, 1620, 1962, 2304, 2646] |
| 89 | + description: | |
| 90 | + Typical peak inductor current in milliamps. |
| 91 | + Defaults to 1620 if not specified. |
| 92 | + |
| 93 | + adi,power-limit-milliwatt: |
| 94 | + enum: [0, 2000, 3000, 3500] |
| 95 | + description: | |
| 96 | + Linear power stage MOSFET power limit in milliwatts. |
| 97 | + Defaults to 0 (No Limit) if not specified. |
| 98 | + |
| 99 | + required: |
| 100 | + - compatible |
| 101 | + - reg |
| 102 | + - en-gpios |
| 103 | + - swen-gpios |
| 104 | + |
| 105 | +examples: |
| 106 | + - | |
| 107 | + spi { |
| 108 | + #address-cells = <1>; |
| 109 | + #size-cells = <0>; |
| 110 | + |
| 111 | + regulator@0 { |
| 112 | + compatible = "adi,lt8722"; |
| 113 | + reg = <0>; |
| 114 | + en-gpios = <&gpio 23 GPIO_ACTIVE_HIGH>; |
| 115 | + swen-gpios = <&gpio 24 GPIO_ACTIVE_HIGH>; |
| 116 | + spi-max-frequency = <10000000>; |
| 117 | + spi-bits-per-word = <8>; |
| 118 | + |
| 119 | + adi,uv-clamp-microvolt = <5000000>; |
| 120 | + adi,ov-clamp-microvolt = <5000000>; |
| 121 | + adi,switch-frequency-hz = <2000000>; |
| 122 | + adi,switch-frequency-adjust = <2>; |
| 123 | + adi,duty-cycle-range = <1>; |
| 124 | + adi,vcc-vreg-millivolt = <3400>; |
| 125 | + adi,peak-inductor-current-milliamp = <1620>; |
| 126 | + adi,power-limit-milliwatt = <3500>; |
| 127 | + |
| 128 | + regulator-min-microvolt = <0>; |
| 129 | + regulator-max-microvolt = <20000000>; |
| 130 | + regualtor-min-microamp = <0>; |
| 131 | + regulator-max-microamp = <6800000>; |
| 132 | + regulator-soft-start; |
| 133 | + }; |
| 134 | + }; |
0 commit comments