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 bindings
8
9maintainers:
10  - Fabrice Gasnier <fabrice.gasnier@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    allOf:
27      - $ref: "/schemas/types.yaml#/definitions/phandle-array"
28    description: phandle to system configuration controller.
29
30  vdda-supply:
31    description: phandle to the vdda input analog voltage.
32
33required:
34  - compatible
35  - st,syscfg
36  - vdda-supply
37
38examples:
39  - |
40    regulator-booster {
41      compatible = "st,stm32mp1-booster";
42      st,syscfg = <&syscfg>;
43      vdda-supply = <&vdda>;
44    };
45
46...
47