Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Fabrice Gasnier and committed by
Mark Brown
d6d02bc6 4e210fbe

+18
+18
Documentation/devicetree/bindings/regulator/st,stm32-booster.txt
··· 1 + STM32 BOOSTER - Booster for ADC analog input switches 2 + 3 + Some STM32 devices embed a 3.3V booster supplied by Vdda, that can be used 4 + to supply ADC analog input switches. 5 + 6 + Required properties: 7 + - compatible: Should be one of: 8 + "st,stm32h7-booster" 9 + "st,stm32mp1-booster" 10 + - st,syscfg: Phandle to system configuration controller. 11 + - vdda-supply: Phandle to the vdda input analog voltage. 12 + 13 + Example: 14 + booster: regulator-booster { 15 + compatible = "st,stm32mp1-booster"; 16 + st,syscfg = <&syscfg>; 17 + vdda-supply = <&vdda>; 18 + };