diff options
author | Vinod Koul <vkoul@kernel.org> | 2018-12-31 19:31:42 +0530 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2018-12-31 19:31:42 +0530 |
commit | 010299bfc2df19c2c330c75c048805939e5ab91b (patch) | |
tree | 077dbb9274da3b36bcbbe4dcfc18f93ac0590074 /include/dt-bindings/dma/dw-dmac.h | |
parent | Merge branch 'topic/dmatest' into for-linus (diff) | |
parent | dmaengine: dw-dmac: implement dma protection control setting (diff) | |
download | linux-dev-010299bfc2df19c2c330c75c048805939e5ab91b.tar.xz linux-dev-010299bfc2df19c2c330c75c048805939e5ab91b.zip |
Merge branch 'topic/dw' into for-linus
Diffstat (limited to 'include/dt-bindings/dma/dw-dmac.h')
-rw-r--r-- | include/dt-bindings/dma/dw-dmac.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/dt-bindings/dma/dw-dmac.h b/include/dt-bindings/dma/dw-dmac.h new file mode 100644 index 000000000000..d1ca705c95b3 --- /dev/null +++ b/include/dt-bindings/dma/dw-dmac.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ + +#ifndef __DT_BINDINGS_DMA_DW_DMAC_H__ +#define __DT_BINDINGS_DMA_DW_DMAC_H__ + +/* + * Protection Control bits provide protection against illegal transactions. + * The protection bits[0:2] are one-to-one mapped to AHB HPROT[3:1] signals. + */ +#define DW_DMAC_HPROT1_PRIVILEGED_MODE (1 << 0) /* Privileged Mode */ +#define DW_DMAC_HPROT2_BUFFERABLE (1 << 1) /* DMA is bufferable */ +#define DW_DMAC_HPROT3_CACHEABLE (1 << 2) /* DMA is cacheable */ + +#endif /* __DT_BINDINGS_DMA_DW_DMAC_H__ */ |