dma: ti: k3-udma: Implement dma_get_cfg() interface
[platform/kernel/u-boot.git] / include / linux / soc / ti / ti-udma.h
index e9d4226..04e354f 100644 (file)
@@ -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 */