st,stm32-booster.yaml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. title: STMicroelectronics STM32 booster for ADC analog input switches
  7. maintainers:
  8. - Fabrice Gasnier <fabrice.gasnier@foss.st.com>
  9. description: |
  10. Some STM32 devices embed a 3.3V booster supplied by Vdda, that can be used
  11. to supply ADC analog input switches.
  12. allOf:
  13. - $ref: regulator.yaml#
  14. properties:
  15. compatible:
  16. enum:
  17. - st,stm32h7-booster
  18. - st,stm32mp1-booster
  19. st,syscfg:
  20. $ref: /schemas/types.yaml#/definitions/phandle
  21. description: phandle to system configuration controller.
  22. vdda-supply:
  23. description: phandle to the vdda input analog voltage.
  24. required:
  25. - compatible
  26. - st,syscfg
  27. - vdda-supply
  28. unevaluatedProperties: false
  29. examples:
  30. - |
  31. regulator-booster {
  32. compatible = "st,stm32mp1-booster";
  33. st,syscfg = <&syscfg>;
  34. vdda-supply = <&vdda>;
  35. };
  36. ...