diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2014-07-19 12:48:45 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-08-04 13:27:35 +0530 |
commit | 94c7b6fc7cd1b29d987592ce7eecd902f6728db4 (patch) | |
tree | 6c98ac2856d11583da758e7bd82ba42853dbe7f0 /include/dt-bindings | |
parent | ed64610f29414c0ea782bb6a462a3be72e7704dd (diff) |
dmaengine: add device tree binding documentation for the nbpfaxi driver
The nbpfaxi dmaengine driver doesn't define any new bindings, it only
uses standard dmaengine bindings and defines 3 flags for the 3rd parameter
of the "dmas" property.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r-- | include/dt-bindings/dma/nbpfaxi.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/dt-bindings/dma/nbpfaxi.h b/include/dt-bindings/dma/nbpfaxi.h new file mode 100644 index 00000000000..c1a5b9e0d6a --- /dev/null +++ b/include/dt-bindings/dma/nbpfaxi.h @@ -0,0 +1,20 @@ +/* + * Copyright (C) 2013-2014 Renesas Electronics Europe Ltd. + * Author: Guennadi Liakhovetski <g.liakhovetski@gmx.de> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of version 2 of the GNU General Public License as + * published by the Free Software Foundation. + */ + +#ifndef DT_BINDINGS_NBPFAXI_H +#define DT_BINDINGS_NBPFAXI_H + +/** + * Use "#dma-cells = <2>;" with the second integer defining slave DMA flags: + */ +#define NBPF_SLAVE_RQ_HIGH 1 +#define NBPF_SLAVE_RQ_LOW 2 +#define NBPF_SLAVE_RQ_LEVEL 4 + +#endif |