|
| 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 | +properties: |
| 19 | + compatible: |
| 20 | + enum: |
| 21 | + - adi,lt8722 |
| 22 | + |
| 23 | + reg: |
| 24 | + maxItems: 1 |
| 25 | + |
| 26 | + enable-gpios: |
| 27 | + description: | |
| 28 | + This pin in used together with the ENABLE_REQ bit in the SPIS_COMMAND |
| 29 | + register to set the state of LT8722. When both the ENABLE_REQ bit and |
| 30 | + the enable GPIO are low, LT8722 is in shutdown mode. When either the |
| 31 | + ENABLE_REQ bit or the enable GPIO is high, LT8722 is active and the |
| 32 | + internal VCC LDO regulator is enabled. The enable GPIO is active high. |
| 33 | + maxItems: 1 |
| 34 | + |
| 35 | + switch-enable-gpios: |
| 36 | + description: | |
| 37 | + This pin is used together with the SWEN_REG bit in the SPIS_COMMAND |
| 38 | + register to set the PWM switching behavior of LT8722. When both the |
| 39 | + SWEN_REG bit and the switch enable GPIO are low, LT8722 PWM switching |
| 40 | + is disabled. When both the SWEN_REG bit and the switch enable GPIO are |
| 41 | + high, LT8722 PWM switching is enabled. The switch enable GPIO is active |
| 42 | + high. |
| 43 | + maxItems: 1 |
| 44 | + |
| 45 | + spi-max-frequency: |
| 46 | + maximum: 10000000 |
| 47 | + |
| 48 | + adi,uv-clamp-microvolt: |
| 49 | + description: Maximum negative output voltage clamp in microvolts. |
| 50 | + minimum: 1250000 |
| 51 | + maximum: 20000000 |
| 52 | + default: 20000000 |
| 53 | + |
| 54 | + adi,ov-clamp-microvolt: |
| 55 | + description: Maximum positive output voltage clamp in microvolts. |
| 56 | + minimum: 1250000 |
| 57 | + maximum: 20000000 |
| 58 | + default: 20000000 |
| 59 | + |
| 60 | + adi,ilimn-microamp: |
| 61 | + description: Maximum negative output current limit in microamps. |
| 62 | + minimum: 637440 |
| 63 | + maximum: 6786000 |
| 64 | + default: 6786000 |
| 65 | + |
| 66 | + adi,ilimp-microamp: |
| 67 | + description: Maximum positive output current limit in microamps. |
| 68 | + minimum: 637440 |
| 69 | + maximum: 6800000 |
| 70 | + default: 6800000 |
| 71 | + |
| 72 | + adi,switch-frequency-hz: |
| 73 | + description: PWM switch frequency. |
| 74 | + enum: [500000, 1000000, 1500000, 2000000, 2500000, 3000000] |
| 75 | + default: 500000 |
| 76 | + |
| 77 | + adi,switch-frequency-adjust: |
| 78 | + description: PWM switch frequency adjustment. |
| 79 | + enum: [0%, 15%, -15%] |
| 80 | + default: 0% |
| 81 | + |
| 82 | + adi,duty-cycle-range: |
| 83 | + description: PWM duty cycle. |
| 84 | + enum: [20%-80%, 15%-85%, 10%-90%] |
| 85 | + default: 20%-80% |
| 86 | + |
| 87 | + adi,vcc-vreg-millivolt: |
| 88 | + description: VCC LCO regulation voltage in millivolts. |
| 89 | + $ref: /schemas/types.yaml#/definitions/uint32 |
| 90 | + enum: [3100, 3400] |
| 91 | + default: 3400 |
| 92 | + |
| 93 | + adi,peak-inductor-current-milliamp: |
| 94 | + description: Typical peak inductor current in milliamps. |
| 95 | + $ref: /schemas/types.yaml#/definitions/uint32 |
| 96 | + enum: [252, 594, 936, 1278, 1620, 1962, 2304, 2646] |
| 97 | + default: 1620 |
| 98 | + |
| 99 | + adi,power-limit-milliwatt: |
| 100 | + description: Linear power stage MOSFET power limit in milliwatts. |
| 101 | + enum: [0, 2000, 3000, 3500] |
| 102 | + default: 0 |
| 103 | + |
| 104 | +required: |
| 105 | + - compatible |
| 106 | + - reg |
| 107 | + - enable-gpios |
| 108 | + - switch-enable-gpios |
| 109 | + |
| 110 | +allOf: |
| 111 | + - $ref: regulator.yaml# |
| 112 | + - $ref: /schemas/spi/spi-peripheral-props.yaml# |
| 113 | + |
| 114 | +unevaluatedProperties: false |
| 115 | + |
| 116 | +examples: |
| 117 | + - | |
| 118 | + #include <dt-bindings/gpio/gpio.h> |
| 119 | + spi { |
| 120 | + #address-cells = <1>; |
| 121 | + #size-cells = <0>; |
| 122 | +
|
| 123 | + regulator@0 { |
| 124 | + compatible = "adi,lt8722"; |
| 125 | + reg = <0>; |
| 126 | + enable-gpios = <&gpio 23 GPIO_ACTIVE_HIGH>; |
| 127 | + switch-enable-gpios = <&gpio 24 GPIO_ACTIVE_HIGH>; |
| 128 | + spi-max-frequency = <10000000>; |
| 129 | + spi-bits-per-word = <8>; |
| 130 | +
|
| 131 | + adi,uv-clamp-microvolt = <20000000>; |
| 132 | + adi,ov-clamp-microvolt = <20000000>; |
| 133 | + adi,ilimn-microamp = <6786000>; |
| 134 | + adi,ilimp-microamp = <6800000>; |
| 135 | + adi,switch-frequency-hz = <500000>; |
| 136 | + adi,switch-frequency-adjust = "0%"; |
| 137 | + adi,duty-cycle-range = "20%-80%"; |
| 138 | + adi,vcc-vreg-millivolt = <3400>; |
| 139 | + adi,peak-inductor-current-milliamp = <1620>; |
| 140 | + adi,power-limit-milliwatt = <0>; |
| 141 | +
|
| 142 | + regulator-min-microvolt = <0>; |
| 143 | + regulator-max-microvolt = <20000000>; |
| 144 | + regulator-soft-start; |
| 145 | + }; |
| 146 | + }; |
0 commit comments