Skip to content

Commit c46247b

Browse files
dts: arm: atmel: samx7x: move SAM E70/V71 DMA header to dt-bindings
Move the Atmel SAM E70/V71 DMA PERIDs header file to include/zephyr/dt-bindings/dma and unify it for use with the entire product family (SAM E70/S70/V70/V71). Signed-off-by: Henrik Brix Andersen <[email protected]>
1 parent b76d592 commit c46247b

File tree

7 files changed

+5
-75
lines changed

7 files changed

+5
-75
lines changed

dts/arm/atmel/dma_atmel_samv71.h

Lines changed: 0 additions & 67 deletions
This file was deleted.

dts/arm/atmel/same70.dtsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@
66
*/
77

88
#include <atmel/samx7x.dtsi>
9-
#include "dma_atmel_same70.h"

dts/arm/atmel/same70b.dtsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@
55
*/
66

77
#include <atmel/samx7xb.dtsi>
8-
#include "dma_atmel_same70.h"

dts/arm/atmel/samv71.dtsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@
55
*/
66

77
#include <atmel/samx7x.dtsi>
8-
#include "dma_atmel_samv71.h"

dts/arm/atmel/samv71b.dtsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@
55
*/
66

77
#include <atmel/samx7xb.dtsi>
8-
#include "dma_atmel_samv71.h"

dts/arm/atmel/samx7x.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <zephyr/dt-bindings/gpio/gpio.h>
1212
#include <zephyr/dt-bindings/pwm/pwm.h>
1313
#include <zephyr/dt-bindings/clock/atmel_sam_pmc.h>
14+
#include <zephyr/dt-bindings/dma/atmel_samx7x_dma.h>
1415

1516
/ {
1617
aliases {

dts/arm/atmel/dma_atmel_same70.h renamed to include/zephyr/dt-bindings/dma/atmel_samx7x_dma.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

6-
#ifndef DMA_ATMEL_SAME70_H_
7-
#define DMA_ATMEL_SAME70_H_
6+
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ATMEL_SAMX7X_DMA_H_
7+
#define ZEPHYR_INCLUDE_DT_BINDINGS_ATMEL_SAMX7X_DMA_H_
88

99
/**
10-
* SAMx7x Peripheral Hardware Request HW Interface Number (XDMAC_CC.PERID).
10+
* Atmel SAMx7x Peripheral Hardware Request HW Interface Number (XDMAC_CC.PERID).
1111
*
1212
* See table Table 35-1. Peripheral Hardware Requests in the SAM E70/S70/V70/V71 datasheet.
1313
*/
@@ -64,4 +64,4 @@
6464
#define DMA_PERID_I2SC1_TX_R 50
6565
#define DMA_PERID_I2SC1_RX_R 51
6666

67-
#endif /* DMA_ATMEL_SAME70_H_ */
67+
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_ATMEL_SAMX7X_DMA_H_ */

0 commit comments

Comments
 (0)