[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6e39a154-219e-96d1-f91e-e2e0990d8f0f@st.com>
Date: Wed, 2 May 2018 14:27:00 +0200
From: Alexandre Torgue <alexandre.torgue@...com>
To: Fabrice Gasnier <fabrice.gasnier@...com>, <robh+dt@...nel.org>
CC: <mcoquelin.stm32@...il.com>, <mark.rutland@....com>,
<linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ARM: dts: stm32: Add DAC support to stm32mp157c
Hi Fabrice
On 04/18/2018 05:46 PM, Fabrice Gasnier wrote:
> Add support for DAC (Digital to Analog Converter) to STM32MP157C.
> STM32MP157C DAC has two output channels.
>
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@...com>
> ---
> arch/arm/boot/dts/stm32mp157c.dtsi | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi
> index bc3eddc..fd44b4d 100644
> --- a/arch/arm/boot/dts/stm32mp157c.dtsi
> +++ b/arch/arm/boot/dts/stm32mp157c.dtsi
> @@ -136,6 +136,30 @@
> status = "disabled";
> };
>
> + dac: dac@...17000 {
> + compatible = "st,stm32h7-dac-core";
> + reg = <0x40017000 0x400>;
> + clocks = <&rcc DAC12>;
> + clock-names = "pclk";
> + #address-cells = <1>;
> + #size-cells = <0>;
> + status = "disabled";
> +
> + dac1: dac@1 {
> + compatible = "st,stm32-dac";
> + #io-channels-cells = <1>;
> + reg = <1>;
> + status = "disabled";
> + };
> +
> + dac2: dac@2 {
> + compatible = "st,stm32-dac";
> + #io-channels-cells = <1>;
> + reg = <2>;
> + status = "disabled";
> + };
> + };
> +
> uart7: serial@...18000 {
> compatible = "st,stm32h7-uart";
> reg = <0x40018000 0x400>;
>
Applied on stm32-next.
Thanks.
Alex
Powered by blists - more mailing lists