Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit d6d02bc6 authored by Fabrice Gasnier's avatar Fabrice Gasnier Committed by Mark Brown
Browse files

dt-bindings: regulator: add support for the stm32-booster



Document the 3.3V booster regulator embedded in stm32h7 and stm32mp1
devices, that can be used to supply ADC analog input switches.
It's controlled by using system configuration registers (SYSCFG).
Introduce two compatibles as the booster regulator is controlled by:
- a unique register/bit in STM32H7
- a set/clear register pair in STM32MP1

Signed-off-by: default avatarFabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 4e210fbe
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
STM32 BOOSTER - Booster for ADC analog input switches

Some STM32 devices embed a 3.3V booster supplied by Vdda, that can be used
to supply ADC analog input switches.

Required properties:
- compatible: Should be one of:
  "st,stm32h7-booster"
  "st,stm32mp1-booster"
- st,syscfg: Phandle to system configuration controller.
- vdda-supply: Phandle to the vdda input analog voltage.

Example:
	booster: regulator-booster {
		compatible = "st,stm32mp1-booster";
		st,syscfg = <&syscfg>;
		vdda-supply = <&vdda>;
	};