Home
last modified time | relevance | path

Searched +full:stm32 +full:- +full:vrefbuf (Results 1 – 3 of 3) sorted by relevance

/linux/Documentation/devicetree/bindings/regulator/
H A Dst,stm32-vrefbuf.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
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
10 Some STM32 devices embed a voltage reference buffer which can be used as
15 - Fabrice Gasnier <fabrice.gasnier@foss.st.com>
18 - $ref: regulator.yaml#
22 const: st,stm32-vrefbuf
30 vdda-supply:
[all …]
/linux/drivers/regulator/
H A Dstm32-vrefbuf.c1 // SPDX-License-Identifier: GPL-2.0-only
19 /* STM32 VREFBUF registers */
22 /* STM32 VREFBUF CSR bitfields */
47 ret = pm_runtime_resume_and_get(priv->dev); in stm32_vrefbuf_enable()
51 val = readl_relaxed(priv->base + STM32_VREFBUF_CSR); in stm32_vrefbuf_enable()
53 writel_relaxed(val, priv->base + STM32_VREFBUF_CSR); in stm32_vrefbuf_enable()
56 * Vrefbuf startup time depends on external capacitor: wait here for in stm32_vrefbuf_enable()
61 ret = readl_poll_timeout(priv->base + STM32_VREFBUF_CSR, val, in stm32_vrefbuf_enable()
64 dev_err(&rdev->dev, "stm32 vrefbuf timed out!\n"); in stm32_vrefbuf_enable()
65 val = readl_relaxed(priv->base + STM32_VREFBUF_CSR); in stm32_vrefbuf_enable()
[all …]
/linux/arch/arm/boot/dts/st/
H A Dstm32h743.dtsi2 * Copyright 2017 - Alexandre Torgue <alexandre.torgue@st.com>
4 * This file is dual-licensed: you can use it either under the terms
43 #include "../armv7-m.dtsi"
44 #include <dt-bindings/clock/stm32h7-clks.h>
45 #include <dt-bindings/mfd/stm32h7-rcc.h>
46 #include <dt-bindings/interrupt-controller/irq.h>
49 #address-cells = <1>;
50 #size-cells = <1>;
53 clk_hse: clk-hse {
54 #clock-cells = <0>;
[all …]