Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1685012 > unrolled thread
| Started by | Fabrice Gasnier <fabrice.gasnier@st.com> |
|---|---|
| First post | 2017-07-11 14:40 +0200 |
| Last post | 2017-07-11 14:40 +0200 |
| Articles | 2 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH 0/3] Add support for STM32 vrefbuf regulator Fabrice Gasnier <fabrice.gasnier@st.com> - 2017-07-11 14:40 +0200
[PATCH 3/3] ARM: dts: stm32: add vrefbuf to stm32h743 Fabrice Gasnier <fabrice.gasnier@st.com> - 2017-07-11 14:40 +0200
| From | Fabrice Gasnier <fabrice.gasnier@st.com> |
|---|---|
| Date | 2017-07-11 14:40 +0200 |
| Subject | [PATCH 0/3] Add support for STM32 vrefbuf regulator |
| Message-ID | <u22Cl-2fW-9@gated-at.bofh.it> |
Some STM32 devices embed a voltage reference buffer which can be used as voltage reference for ADCs, DACs and also as voltage reference for external components through the dedicated VREF+ pin. This patchset adds vrefbuf regulator driver, device tree bindings and vrefbuf device tree node for STM32H7 SoC. Fabrice Gasnier (3): dt-bindings: regulator: Add STM32 Voltage Reference Buffer regulator: Add support for stm32-vrefbuf ARM: dts: stm32: add vrefbuf to stm32h743 .../bindings/regulator/st,stm32-vrefbuf.txt | 20 ++ arch/arm/boot/dts/stm32h743.dtsi | 9 + drivers/regulator/Kconfig | 12 ++ drivers/regulator/Makefile | 1 + drivers/regulator/stm32-vrefbuf.c | 215 +++++++++++++++++++++ 5 files changed, 257 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/st,stm32-vrefbuf.txt create mode 100644 drivers/regulator/stm32-vrefbuf.c -- 1.9.1
[toc] | [next] | [standalone]
| From | Fabrice Gasnier <fabrice.gasnier@st.com> |
|---|---|
| Date | 2017-07-11 14:40 +0200 |
| Subject | [PATCH 3/3] ARM: dts: stm32: add vrefbuf to stm32h743 |
| Message-ID | <u22Cm-2fW-17@gated-at.bofh.it> |
| In reply to | #1685012 |
Add STM32H743 VREFBUF (Voltage Reference Buffer) definition.
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
---
arch/arm/boot/dts/stm32h743.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi
index 4685629..c57096a 100644
--- a/arch/arm/boot/dts/stm32h743.dtsi
+++ b/arch/arm/boot/dts/stm32h743.dtsi
@@ -74,6 +74,15 @@
interrupts = <50>;
clocks = <&timer_clk>;
};
+
+ vrefbuf: regulator@58003C00 {
+ compatible = "st,stm32-vrefbuf";
+ reg = <0x58003C00 0x8>;
+ clocks = <&timer_clk>;
+ regulator-min-microvolt = <1500000>;
+ regulator-max-microvolt = <2500000>;
+ status = "disabled";
+ };
};
};
--
1.9.1
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web