summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-12-09 13:48:22 -0500
committerTom Rini <trini@konsulko.com>2019-12-09 13:48:22 -0500
commitac1ca99926606faf5e2d37771680ed97d66ee5ab (patch)
treefee2ab721b2a27800726b8a4d3528bfdf1d5dba6 /include/linux
parent0c5c3f293554614416a188d16a8c05e0a6c5bfbb (diff)
parent2c4e067d493d031d1267eea1c635d1eab93ce8f7 (diff)
downloadu-boot-ac1ca99926606faf5e2d37771680ed97d66ee5ab.tar.gz
Merge branch 'master' of https://gitlab.denx.de/u-boot/custodians/u-boot-netWIP/09Dec2019
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/soc/ti/ti-udma.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/soc/ti/ti-udma.h b/include/linux/soc/ti/ti-udma.h
index e9d4226c48..04e354fb2d 100644
--- a/include/linux/soc/ti/ti-udma.h
+++ b/include/linux/soc/ti/ti-udma.h
@@ -21,4 +21,23 @@ struct ti_udma_drv_packet_data {
u32 dest_tag;
};
+/**
+ * struct ti_udma_drv_chan_cfg_data - TI UDMA per channel specific
+ * configuration data
+ *
+ * @flow_id_base: Start index of flow ID allocated to this channel
+ * @flow_id_cnt: Number of flows allocated for this channel starting at
+ * flow_id_base
+ *
+ * TI UDMA channel specific data returned as part of dma_get_cfg() call
+ * from the DMA client driver.
+ */
+struct ti_udma_drv_chan_cfg_data {
+ u32 flow_id_base;
+ u32 flow_id_cnt;
+};
+
+/* TI UDMA specific flag IDs for dma_get_cfg() call */
+#define TI_UDMA_CHAN_PRIV_INFO 0
+
#endif /* __TI_UDMA_H */