1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/regulator/s 4 $id: http://devicetree.org/schemas/regulator/st,stm32-vrefbuf.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: STMicroelectronics STM32 Voltage refere 7 title: STMicroelectronics STM32 Voltage reference buffer 8 8 9 description: | 9 description: | 10 Some STM32 devices embed a voltage reference 10 Some STM32 devices embed a voltage reference buffer which can be used as 11 voltage reference for ADCs, DACs and also as 11 voltage reference for ADCs, DACs and also as voltage reference for external 12 components through the dedicated VREF+ pin. 12 components through the dedicated VREF+ pin. 13 13 14 maintainers: 14 maintainers: 15 - Fabrice Gasnier <fabrice.gasnier@foss.st.co 15 - Fabrice Gasnier <fabrice.gasnier@foss.st.com> 16 16 17 allOf: 17 allOf: 18 - $ref: regulator.yaml# 18 - $ref: regulator.yaml# 19 19 20 properties: 20 properties: 21 compatible: 21 compatible: 22 const: st,stm32-vrefbuf 22 const: st,stm32-vrefbuf 23 23 24 reg: 24 reg: 25 maxItems: 1 25 maxItems: 1 26 26 27 clocks: 27 clocks: 28 maxItems: 1 28 maxItems: 1 29 29 30 vdda-supply: 30 vdda-supply: 31 description: phandle to the vdda input ana 31 description: phandle to the vdda input analog voltage. 32 32 33 access-controllers: 33 access-controllers: 34 minItems: 1 34 minItems: 1 35 maxItems: 2 35 maxItems: 2 36 36 37 required: 37 required: 38 - compatible 38 - compatible 39 - reg 39 - reg 40 - clocks 40 - clocks 41 - vdda-supply 41 - vdda-supply 42 42 43 unevaluatedProperties: false 43 unevaluatedProperties: false 44 44 45 examples: 45 examples: 46 - | 46 - | 47 #include <dt-bindings/clock/stm32mp1-clks. 47 #include <dt-bindings/clock/stm32mp1-clks.h> 48 vrefbuf@50025000 { 48 vrefbuf@50025000 { 49 compatible = "st,stm32-vrefbuf"; 49 compatible = "st,stm32-vrefbuf"; 50 reg = <0x50025000 0x8>; 50 reg = <0x50025000 0x8>; 51 regulator-min-microvolt = <1500000>; 51 regulator-min-microvolt = <1500000>; 52 regulator-max-microvolt = <2500000>; 52 regulator-max-microvolt = <2500000>; 53 clocks = <&rcc VREF>; 53 clocks = <&rcc VREF>; 54 vdda-supply = <&vdda>; 54 vdda-supply = <&vdda>; 55 }; 55 }; 56 56 57 ... 57 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.