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 7c66ec88fSEmmanuel Vadottitle: STMicroelectronics STM32 Voltage reference buffer bindings 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: 15c66ec88fSEmmanuel Vadot - Fabrice Gasnier <fabrice.gasnier@st.com> 16c66ec88fSEmmanuel Vadot 17c66ec88fSEmmanuel VadotallOf: 18c66ec88fSEmmanuel 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 39*6be33864SEmmanuel VadotunevaluatedProperties: false 40*6be33864SEmmanuel 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... 54c66ec88fSEmmanuel Vadot 55