Skip to content

Commit

Permalink
dts: arm: atmel: samx7x: move SAM E70/V71 DMA header to dt-bindings
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
henrikbrixandersen committed Jan 9, 2025
1 parent e673ebe commit 7a605b5
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 73 deletions.
66 changes: 0 additions & 66 deletions dts/arm/atmel/dma_atmel_samv71.h

This file was deleted.

1 change: 0 additions & 1 deletion dts/arm/atmel/same70.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@
*/

#include <atmel/samx7x.dtsi>
#include "dma_atmel_same70.h"
1 change: 0 additions & 1 deletion dts/arm/atmel/same70b.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
*/

#include <atmel/samx7xb.dtsi>
#include "dma_atmel_same70.h"
1 change: 0 additions & 1 deletion dts/arm/atmel/samv71.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
*/

#include <atmel/samx7x.dtsi>
#include "dma_atmel_samv71.h"
1 change: 0 additions & 1 deletion dts/arm/atmel/samv71b.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
*/

#include <atmel/samx7xb.dtsi>
#include "dma_atmel_samv71.h"
1 change: 1 addition & 0 deletions dts/arm/atmel/samx7x.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <zephyr/dt-bindings/gpio/gpio.h>
#include <zephyr/dt-bindings/pwm/pwm.h>
#include <zephyr/dt-bindings/clock/atmel_sam_pmc.h>
#include <zephyr/dt-bindings/dma/atmel_samx7x_dma.h>

/ {
aliases {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* SPDX-License-Identifier: Apache-2.0
*/

#ifndef DMA_ATMEL_SAME70_H_
#define DMA_ATMEL_SAME70_H_
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ATMEL_SAMX7X_DMA_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_ATMEL_SAMX7X_DMA_H_

/**
* SAMx7x Peripheral Hardware Request HW Interface Number (XDMAC_CC.PERID).
Expand Down Expand Up @@ -63,4 +63,4 @@
#define DMA_PERID_I2SC1_TX_R 50
#define DMA_PERID_I2SC1_RX_R 51

#endif /* DMA_ATMEL_SAME70_H_ */
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_ATMEL_SAMX7X_DMA_H_ */

0 comments on commit 7a605b5

Please sign in to comment.