Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1697774
| From | Alexandre Torgue <alexandre.torgue@st.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 4/4] ARM: dts: stm32: Add DAC support on stm32f429 |
| Date | 2017-07-27 09:40 +0200 |
| Message-ID | <u7LyO-3dv-7@gated-at.bofh.it> (permalink) |
| References | <u1GVb-5yK-3@gated-at.bofh.it> <u1GVb-5yK-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi,
On 07/10/2017 03:24 PM, Fabrice Gasnier wrote:
> Add support for DAC (Digital to Analog Converter) to STM32F429.
> STM32F429 DAC has two output channels.
>
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
> ---
> arch/arm/boot/dts/stm32f429.dtsi | 25 +++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi
> index b2a2b5c..f15f633 100644
> --- a/arch/arm/boot/dts/stm32f429.dtsi
> +++ b/arch/arm/boot/dts/stm32f429.dtsi
> @@ -354,6 +354,31 @@
> status = "disabled";
> };
>
> + dac: dac@40007400 {
> + compatible = "st,stm32f4-dac-core";
> + reg = <0x40007400 0x400>;
> + resets = <&rcc STM32F4_APB1_RESET(DAC)>;
> + clocks = <&rcc 0 STM32F4_APB1_CLOCK(DAC)>;
> + 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";
> + };
> + };
> +
> usart7: serial@40007800 {
> compatible = "st,stm32-usart", "st,stm32-uart";
> reg = <0x40007800 0x400>;
>
Applied on stm32-dt-for-v4.14 branch.
Thanks
Alex
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH 4/4] ARM: dts: stm32: Add DAC support on stm32f429 Alexandre Torgue <alexandre.torgue@st.com> - 2017-07-27 09:40 +0200
csiph-web