121b2c471SBenjamin Gaignard# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 221b2c471SBenjamin Gaignard%YAML 1.2 321b2c471SBenjamin Gaignard--- 421b2c471SBenjamin Gaignard$id: http://devicetree.org/schemas/regulator/st,stm32-vrefbuf.yaml# 521b2c471SBenjamin Gaignard$schema: http://devicetree.org/meta-schemas/core.yaml# 621b2c471SBenjamin Gaignard 721b2c471SBenjamin Gaignardtitle: STMicroelectronics STM32 Voltage reference buffer bindings 821b2c471SBenjamin Gaignard 921b2c471SBenjamin Gaignarddescription: | 1021b2c471SBenjamin Gaignard Some STM32 devices embed a voltage reference buffer which can be used as 1121b2c471SBenjamin Gaignard voltage reference for ADCs, DACs and also as voltage reference for external 1221b2c471SBenjamin Gaignard components through the dedicated VREF+ pin. 1321b2c471SBenjamin Gaignard 1421b2c471SBenjamin Gaignardmaintainers: 1521b2c471SBenjamin Gaignard - Fabrice Gasnier <fabrice.gasnier@st.com> 1621b2c471SBenjamin Gaignard 1721b2c471SBenjamin GaignardallOf: 1821b2c471SBenjamin Gaignard - $ref: "regulator.yaml#" 1921b2c471SBenjamin Gaignard 2021b2c471SBenjamin Gaignardproperties: 2121b2c471SBenjamin Gaignard compatible: 2221b2c471SBenjamin Gaignard const: st,stm32-vrefbuf 2321b2c471SBenjamin Gaignard 2421b2c471SBenjamin Gaignard reg: 2521b2c471SBenjamin Gaignard maxItems: 1 2621b2c471SBenjamin Gaignard 2721b2c471SBenjamin Gaignard clocks: 2821b2c471SBenjamin Gaignard maxItems: 1 2921b2c471SBenjamin Gaignard 3021b2c471SBenjamin Gaignard vdda-supply: 3121b2c471SBenjamin Gaignard description: phandle to the vdda input analog voltage. 3221b2c471SBenjamin Gaignard 3321b2c471SBenjamin Gaignardrequired: 3421b2c471SBenjamin Gaignard - compatible 3521b2c471SBenjamin Gaignard - reg 3621b2c471SBenjamin Gaignard - clocks 3721b2c471SBenjamin Gaignard - vdda-supply 3821b2c471SBenjamin Gaignard 3921b2c471SBenjamin Gaignardexamples: 4021b2c471SBenjamin Gaignard - | 4121b2c471SBenjamin Gaignard #include <dt-bindings/clock/stm32mp1-clks.h> 4221b2c471SBenjamin Gaignard vrefbuf@50025000 { 4321b2c471SBenjamin Gaignard compatible = "st,stm32-vrefbuf"; 4421b2c471SBenjamin Gaignard reg = <0x50025000 0x8>; 4521b2c471SBenjamin Gaignard regulator-min-microvolt = <1500000>; 4621b2c471SBenjamin Gaignard regulator-max-microvolt = <2500000>; 4721b2c471SBenjamin Gaignard clocks = <&rcc VREF>; 4821b2c471SBenjamin Gaignard vdda-supply = <&vdda>; 4921b2c471SBenjamin Gaignard }; 5021b2c471SBenjamin Gaignard 5121b2c471SBenjamin Gaignard... 5221b2c471SBenjamin Gaignard 53