1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/regulator/st,stm32-vrefbuf.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: STMicroelectronics STM32 Voltage reference buffer
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotdescription: |
10c66ec88fSEmmanuel Vadot  Some STM32 devices embed a voltage reference buffer which can be used as
11c66ec88fSEmmanuel Vadot  voltage reference for ADCs, DACs and also as voltage reference for external
12c66ec88fSEmmanuel Vadot  components through the dedicated VREF+ pin.
13c66ec88fSEmmanuel Vadot
14c66ec88fSEmmanuel Vadotmaintainers:
158cc087a1SEmmanuel Vadot  - Fabrice Gasnier <fabrice.gasnier@foss.st.com>
16c66ec88fSEmmanuel Vadot
17c66ec88fSEmmanuel VadotallOf:
18*fac71e4eSEmmanuel Vadot  - $ref: regulator.yaml#
19c66ec88fSEmmanuel Vadot
20c66ec88fSEmmanuel Vadotproperties:
21c66ec88fSEmmanuel Vadot  compatible:
22c66ec88fSEmmanuel Vadot    const: st,stm32-vrefbuf
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel Vadot  reg:
25c66ec88fSEmmanuel Vadot    maxItems: 1
26c66ec88fSEmmanuel Vadot
27c66ec88fSEmmanuel Vadot  clocks:
28c66ec88fSEmmanuel Vadot    maxItems: 1
29c66ec88fSEmmanuel Vadot
30c66ec88fSEmmanuel Vadot  vdda-supply:
31c66ec88fSEmmanuel Vadot    description: phandle to the vdda input analog voltage.
32c66ec88fSEmmanuel Vadot
33c66ec88fSEmmanuel Vadotrequired:
34c66ec88fSEmmanuel Vadot  - compatible
35c66ec88fSEmmanuel Vadot  - reg
36c66ec88fSEmmanuel Vadot  - clocks
37c66ec88fSEmmanuel Vadot  - vdda-supply
38c66ec88fSEmmanuel Vadot
396be33864SEmmanuel VadotunevaluatedProperties: false
406be33864SEmmanuel Vadot
41c66ec88fSEmmanuel Vadotexamples:
42c66ec88fSEmmanuel Vadot  - |
43c66ec88fSEmmanuel Vadot    #include <dt-bindings/clock/stm32mp1-clks.h>
44c66ec88fSEmmanuel Vadot    vrefbuf@50025000 {
45c66ec88fSEmmanuel Vadot      compatible = "st,stm32-vrefbuf";
46c66ec88fSEmmanuel Vadot      reg = <0x50025000 0x8>;
47c66ec88fSEmmanuel Vadot      regulator-min-microvolt = <1500000>;
48c66ec88fSEmmanuel Vadot      regulator-max-microvolt = <2500000>;
49c66ec88fSEmmanuel Vadot      clocks = <&rcc VREF>;
50c66ec88fSEmmanuel Vadot      vdda-supply = <&vdda>;
51c66ec88fSEmmanuel Vadot    };
52c66ec88fSEmmanuel Vadot
53c66ec88fSEmmanuel Vadot...
54