summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/regulator/st,stm32-booster.txt
diff options
context:
space:
mode:
authorFabrice Gasnier <fabrice.gasnier@st.com>2019-07-01 11:14:22 +0300
committerMark Brown <broonie@kernel.org>2019-07-02 14:45:24 +0300
commitd6d02bc6e80453ca004e101eae28d741bde54426 (patch)
tree61f2cc2950f8bb140bac720af3455e0970082f63 /Documentation/devicetree/bindings/regulator/st,stm32-booster.txt
parent4e210fbeee8e2f0eb04761c624fcccc8401eba4c (diff)
downloadlinux-d6d02bc6e80453ca004e101eae28d741bde54426.tar.xz
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>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator/st,stm32-booster.txt')
-rw-r--r--Documentation/devicetree/bindings/regulator/st,stm32-booster.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/st,stm32-booster.txt b/Documentation/devicetree/bindings/regulator/st,stm32-booster.txt
new file mode 100644
index 000000000000..479ad4c8758e
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/st,stm32-booster.txt
@@ -0,0 +1,18 @@
+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>;
+ };