WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / regulator / st,stm32-vrefbuf.yaml
blob3cd4a254e4cba1adfe6d1ba0686911ffc3ae6a34
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/regulator/st,stm32-vrefbuf.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics STM32 Voltage reference buffer bindings
9 description: |
10   Some STM32 devices embed a voltage reference buffer which can be used as
11   voltage reference for ADCs, DACs and also as voltage reference for external
12   components through the dedicated VREF+ pin.
14 maintainers:
15   - Fabrice Gasnier <fabrice.gasnier@st.com>
17 allOf:
18   - $ref: "regulator.yaml#"
20 properties:
21   compatible:
22     const: st,stm32-vrefbuf
24   reg:
25     maxItems: 1
27   clocks:
28     maxItems: 1
30   vdda-supply:
31     description: phandle to the vdda input analog voltage.
33 required:
34   - compatible
35   - reg
36   - clocks
37   - vdda-supply
39 unevaluatedProperties: false
41 examples:
42   - |
43     #include <dt-bindings/clock/stm32mp1-clks.h>
44     vrefbuf@50025000 {
45       compatible = "st,stm32-vrefbuf";
46       reg = <0x50025000 0x8>;
47       regulator-min-microvolt = <1500000>;
48       regulator-max-microvolt = <2500000>;
49       clocks = <&rcc VREF>;
50       vdda-supply = <&vdda>;
51     };
53 ...