Skip to content

Commit

Permalink
regulator: Add STM32 Voltage Reference Buffer
Browse files Browse the repository at this point in the history
Document STM32 VREFBUF (voltage reference buffer) which can be used as
voltage reference for ADCs, DACs and external components.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Fabrice Gasnier authored and Mark Brown committed Aug 30, 2017
1 parent 5771a8c commit ef7bb29
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Documentation/devicetree/bindings/regulator/st,stm32-vrefbuf.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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.

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>;
};

0 comments on commit ef7bb29

Please sign in to comment.