1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2021 Xilinx Inc.
9 #include <dma-uclass.h>
11 #include <dm/device_compat.h>
14 * struct zynqmp_dpdma_priv - Private structure
15 * @dev: Device uclass for video_ops
17 struct zynqmp_dpdma_priv {
21 static int zynqmp_dpdma_probe(struct udevice *dev)
23 /* Only placeholder for power domain driver */
27 static const struct dma_ops zynqmp_dpdma_ops = {
30 static const struct udevice_id zynqmp_dpdma_ids[] = {
31 { .compatible = "xlnx,zynqmp-dpdma" },
35 U_BOOT_DRIVER(zynqmp_dpdma) = {
36 .name = "zynqmp_dpdma",
38 .of_match = zynqmp_dpdma_ids,
39 .ops = &zynqmp_dpdma_ops,
40 .probe = zynqmp_dpdma_probe,
41 .priv_auto = sizeof(struct zynqmp_dpdma_priv),