2018-04-18 07:50:22

by Fabrice Gasnier

[permalink] [raw]
Subject: [PATCH] ARM: dts: stm32: Add vrefbuf support to stm32mp157c

stm32mp157c has vrefbuf regulator that can provide analog reference
voltage from 1500mV to 2500mV.

Signed-off-by: Fabrice Gasnier <[email protected]>
---
arch/arm/boot/dts/stm32mp157c.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi
index bc3eddc..7df3c99 100644
--- a/arch/arm/boot/dts/stm32mp157c.dtsi
+++ b/arch/arm/boot/dts/stm32mp157c.dtsi
@@ -167,6 +167,15 @@
#reset-cells = <1>;
};

+ vrefbuf: vrefbuf@50025000 {
+ compatible = "st,stm32-vrefbuf";
+ reg = <0x50025000 0x8>;
+ regulator-min-microvolt = <1500000>;
+ regulator-max-microvolt = <2500000>;
+ clocks = <&rcc VREF>;
+ status = "disabled";
+ };
+
usart1: serial@5c000000 {
compatible = "st,stm32h7-uart";
reg = <0x5c000000 0x400>;
--
1.9.1



2018-05-02 11:33:30

by Alexandre Torgue

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: stm32: Add vrefbuf support to stm32mp157c

Hi Fabrice,

On 04/18/2018 09:47 AM, Fabrice Gasnier wrote:
> stm32mp157c has vrefbuf regulator that can provide analog reference
> voltage from 1500mV to 2500mV.
>
> Signed-off-by: Fabrice Gasnier <[email protected]>
> ---
> arch/arm/boot/dts/stm32mp157c.dtsi | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi
> index bc3eddc..7df3c99 100644
> --- a/arch/arm/boot/dts/stm32mp157c.dtsi
> +++ b/arch/arm/boot/dts/stm32mp157c.dtsi
> @@ -167,6 +167,15 @@
> #reset-cells = <1>;
> };
>
> + vrefbuf: vrefbuf@50025000 {
> + compatible = "st,stm32-vrefbuf";
> + reg = <0x50025000 0x8>;
> + regulator-min-microvolt = <1500000>;
> + regulator-max-microvolt = <2500000>;
> + clocks = <&rcc VREF>;
> + status = "disabled";
> + };
> +
> usart1: serial@5c000000 {
> compatible = "st,stm32h7-uart";
> reg = <0x5c000000 0x400>;
>

Applied on stm32-next.

Thanks.
Alex