From: Mårten Lindahl Date: Mon, 8 May 2023 13:14:07 +0000 (+0200) Subject: regulator: dt-bindings: Add bindings for TPS6287x X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=034008dd227877cca1588d66e2df505f5fae26c9;p=linux.git regulator: dt-bindings: Add bindings for TPS6287x Add bindings for the TPS62870/TPS62871/TPS62872/TPS62873 voltage regulators. Signed-off-by: Mårten Lindahl + +allOf: + - $ref: regulator.yaml# + +properties: + compatible: + enum: + - ti,tps62870 + - ti,tps62871 + - ti,tps62872 + - ti,tps62873 + + reg: + maxItems: 1 + + regulator-initial-mode: + enum: [ 1, 2 ] + description: 1 - Forced PWM mode, 2 - Low power mode + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + regulator@41 { + compatible = "ti,tps62873"; + reg = <0x41>; + regulator-name = "+0.75V"; + regulator-min-microvolt = <400000>; + regulator-max-microvolt = <1675000>; + regulator-initial-mode = <1>; + }; + }; + +...