mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-21 17:38:51 +09:00
![Fabrice Gasnier](/assets/img/avatar_default.png)
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>
24 lines
731 B
Plaintext
24 lines
731 B
Plaintext
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>;
|
|
};
|