Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1508427

[PATCH 10/10] ARM: dts: stm32f429: Add dma support to adc

From Fabrice Gasnier <fabrice.gasnier@st.com>
Newsgroups linux.kernel
Subject [PATCH 10/10] ARM: dts: stm32f429: Add dma support to adc
Date 2016-10-25 18:30 +0200
Message-ID <swcLU-83d-47@gated-at.bofh.it> (permalink)
References <swcLT-83d-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Configure STM32 ADC to use dma by default.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
---
 arch/arm/boot/dts/stm32f429.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi
index 3fcd941..a00f7a6 100644
--- a/arch/arm/boot/dts/stm32f429.dtsi
+++ b/arch/arm/boot/dts/stm32f429.dtsi
@@ -186,6 +186,8 @@
 				#io-channel-cells = <1>;
 				reg = <0x0>;
 				clocks = <&rcc 0 168>;
+				dmas = <&dma2 0 0 0x400 0x0>;
+				dma-names = "rx";
 				status = "disabled";
 			};
 
@@ -201,6 +203,8 @@
 				#io-channel-cells = <1>;
 				reg = <0x100>;
 				clocks = <&rcc 0 169>;
+				dmas = <&dma2 3 1 0x400 0x0>;
+				dma-names = "rx";
 				status = "disabled";
 			};
 
@@ -216,6 +220,8 @@
 				#io-channel-cells = <1>;
 				reg = <0x200>;
 				clocks = <&rcc 0 170>;
+				dmas = <&dma2 1 2 0x400 0x0>;
+				dma-names = "rx";
 				status = "disabled";
 			};
 
-- 
1.9.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/10] Add support for STM32 ADC Fabrice Gasnier <fabrice.gasnier@st.com> - 2016-10-25 18:30 +0200
  [PATCH 10/10] ARM: dts: stm32f429: Add dma support to adc Fabrice Gasnier <fabrice.gasnier@st.com> - 2016-10-25 18:30 +0200
  [PATCH 01/10] Documentation: dt-bindings: Document STM32 ADC DT bindings Fabrice Gasnier <fabrice.gasnier@st.com> - 2016-10-25 18:30 +0200
  [PATCH 06/10] iio: adc: stm32: add ext attrs to configure sampling time Fabrice Gasnier <fabrice.gasnier@st.com> - 2016-10-25 18:30 +0200
  [PATCH 03/10] iio: adc: stm32: add optional dma support Fabrice Gasnier <fabrice.gasnier@st.com> - 2016-10-25 18:30 +0200
  [PATCH 04/10] iio: adc: stm32: add optional support for exti gpios Fabrice Gasnier <fabrice.gasnier@st.com> - 2016-10-25 18:40 +0200

csiph-web