mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-27 15:12:21 +00:00
93cf0ae775
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>
23 lines
731 B
Text
23 lines
731 B
Text
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>;
|
|
};
|