xref: /freebsd-src/sys/contrib/device-tree/Bindings/regulator/st,stm32-booster.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/regulator/st,stm32-booster.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: STMicroelectronics STM32 booster for ADC analog input switches
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
108cc087a1SEmmanuel Vadot  - Fabrice Gasnier <fabrice.gasnier@foss.st.com>
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel Vadotdescription: |
13c66ec88fSEmmanuel Vadot  Some STM32 devices embed a 3.3V booster supplied by Vdda, that can be used
14c66ec88fSEmmanuel Vadot  to supply ADC analog input switches.
15c66ec88fSEmmanuel Vadot
16c66ec88fSEmmanuel VadotallOf:
17*fac71e4eSEmmanuel Vadot  - $ref: regulator.yaml#
18c66ec88fSEmmanuel Vadot
19c66ec88fSEmmanuel Vadotproperties:
20c66ec88fSEmmanuel Vadot  compatible:
21c66ec88fSEmmanuel Vadot    enum:
22c66ec88fSEmmanuel Vadot      - st,stm32h7-booster
23c66ec88fSEmmanuel Vadot      - st,stm32mp1-booster
24c66ec88fSEmmanuel Vadot
25c66ec88fSEmmanuel Vadot  st,syscfg:
26*fac71e4eSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle
27c66ec88fSEmmanuel Vadot    description: phandle to system configuration controller.
28c66ec88fSEmmanuel Vadot
29c66ec88fSEmmanuel Vadot  vdda-supply:
30c66ec88fSEmmanuel Vadot    description: phandle to the vdda input analog voltage.
31c66ec88fSEmmanuel Vadot
32c66ec88fSEmmanuel Vadotrequired:
33c66ec88fSEmmanuel Vadot  - compatible
34c66ec88fSEmmanuel Vadot  - st,syscfg
35c66ec88fSEmmanuel Vadot  - vdda-supply
36c66ec88fSEmmanuel Vadot
376be33864SEmmanuel VadotunevaluatedProperties: false
386be33864SEmmanuel Vadot
39c66ec88fSEmmanuel Vadotexamples:
40c66ec88fSEmmanuel Vadot  - |
41c66ec88fSEmmanuel Vadot    regulator-booster {
42c66ec88fSEmmanuel Vadot      compatible = "st,stm32mp1-booster";
43c66ec88fSEmmanuel Vadot      st,syscfg = <&syscfg>;
44c66ec88fSEmmanuel Vadot      vdda-supply = <&vdda>;
45c66ec88fSEmmanuel Vadot    };
46c66ec88fSEmmanuel Vadot
47c66ec88fSEmmanuel Vadot...
48