LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] ARM: dts: stm32: Add vrefbuf support to stm32mp157c
@ 2018-04-18  7:47 Fabrice Gasnier
  2018-05-02 11:31 ` Alexandre Torgue
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Gasnier @ 2018-04-18  7:47 UTC (permalink / raw)
  To: alexandre.torgue, robh+dt
  Cc: mcoquelin.stm32, mark.rutland, linux-arm-kernel, devicetree,
	linux-kernel, fabrice.gasnier

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

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
---
 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: dts: stm32: Add vrefbuf support to stm32mp157c
  2018-04-18  7:47 [PATCH] ARM: dts: stm32: Add vrefbuf support to stm32mp157c Fabrice Gasnier
@ 2018-05-02 11:31 ` Alexandre Torgue
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Torgue @ 2018-05-02 11:31 UTC (permalink / raw)
  To: Fabrice Gasnier, robh+dt
  Cc: mcoquelin.stm32, mark.rutland, linux-arm-kernel, devicetree,
	linux-kernel

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 <fabrice.gasnier@st.com>
> ---
>   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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-02 11:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-18  7:47 [PATCH] ARM: dts: stm32: Add vrefbuf support to stm32mp157c Fabrice Gasnier
2018-05-02 11:31 ` Alexandre Torgue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).