summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFabrice Gasnier <fabrice.gasnier@st.com>2018-04-26 18:00:46 +0300
committerTom Rini <trini@konsulko.com>2018-05-08 16:07:39 +0300
commit93cf0ae7758d66475963a6b2186e41c51a1840aa (patch)
tree888f61744cfc5af325ecaf78de55420014f00e70 /doc
parent743f6c4ae12ee62d42c5a0626aa19ea6d2cdceb3 (diff)
downloadu-boot-93cf0ae7758d66475963a6b2186e41c51a1840aa.tar.xz
power: regulator: Add support for stm32-vrefbuf
Add regulator driver for STM32 voltage reference buffer which can be used as voltage reference for ADCs, DACs and external components through dedicated VREF+ pin. Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/device-tree-bindings/regulator/st,stm32-vrefbuf.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/regulator/st,stm32-vrefbuf.txt b/doc/device-tree-bindings/regulator/st,stm32-vrefbuf.txt
new file mode 100644
index 0000000000..0f6b6feda3
--- /dev/null
+++ b/doc/device-tree-bindings/regulator/st,stm32-vrefbuf.txt
@@ -0,0 +1,23 @@
+STM32 VREFBUF - Voltage reference buffer
+
+Some STM32 devices embed a voltage reference buffer which can be used as
+voltage reference for ADCs, DACs and also as voltage reference for external
+components through the dedicated VREF+ pin.
+
+Required properties:
+- compatible: Must be "st,stm32-vrefbuf".
+- reg: Offset and length of VREFBUF register set.
+- clocks: Must contain an entry for peripheral clock.
+
+Optional properties:
+- vdda-supply: Phandle to the parent vdda supply regulator node.
+
+Example:
+ vrefbuf: regulator@58003c00 {
+ compatible = "st,stm32-vrefbuf";
+ reg = <0x58003C00 0x8>;
+ clocks = <&rcc VREF_CK>;
+ regulator-min-microvolt = <1500000>;
+ regulator-max-microvolt = <2500000>;
+ vdda-supply = <&vdda>;
+ };