xref: /linux/Documentation/devicetree/bindings/regulator/st,stm32-booster.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/regulator/st,stm32-booster.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: STMicroelectronics STM32 booster for ADC analog input switches
8
9maintainers:
10  - Fabrice Gasnier <fabrice.gasnier@foss.st.com>
11
12description: |
13  Some STM32 devices embed a 3.3V booster supplied by Vdda, that can be used
14  to supply ADC analog input switches.
15
16allOf:
17  - $ref: regulator.yaml#
18
19properties:
20  compatible:
21    enum:
22      - st,stm32h7-booster
23      - st,stm32mp1-booster
24
25  st,syscfg:
26    $ref: /schemas/types.yaml#/definitions/phandle
27    description: phandle to system configuration controller.
28
29  vdda-supply:
30    description: phandle to the vdda input analog voltage.
31
32required:
33  - compatible
34  - st,syscfg
35  - vdda-supply
36
37unevaluatedProperties: false
38
39examples:
40  - |
41    regulator-booster {
42      compatible = "st,stm32mp1-booster";
43      st,syscfg = <&syscfg>;
44      vdda-supply = <&vdda>;
45    };
46
47...
48