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 784e85359SKrzysztof Kozlowskititle: STMicroelectronics STM32 Voltage reference buffer 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: 15f4eedebdSPatrice Chotard - Fabrice Gasnier <fabrice.gasnier@foss.st.com> 1621b2c471SBenjamin Gaignard 1721b2c471SBenjamin GaignardallOf: 18*cff5c895SRob Herring - $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 396fdc6e23SRob HerringunevaluatedProperties: false 406fdc6e23SRob Herring 4121b2c471SBenjamin Gaignardexamples: 4221b2c471SBenjamin Gaignard - | 4321b2c471SBenjamin Gaignard #include <dt-bindings/clock/stm32mp1-clks.h> 4421b2c471SBenjamin Gaignard vrefbuf@50025000 { 4521b2c471SBenjamin Gaignard compatible = "st,stm32-vrefbuf"; 4621b2c471SBenjamin Gaignard reg = <0x50025000 0x8>; 4721b2c471SBenjamin Gaignard regulator-min-microvolt = <1500000>; 4821b2c471SBenjamin Gaignard regulator-max-microvolt = <2500000>; 4921b2c471SBenjamin Gaignard clocks = <&rcc VREF>; 5021b2c471SBenjamin Gaignard vdda-supply = <&vdda>; 5121b2c471SBenjamin Gaignard }; 5221b2c471SBenjamin Gaignard 5321b2c471SBenjamin Gaignard... 54