[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e2cc9724-1ac3-53c4-e33a-197262b989a2@gpxsee.org>
Date: Wed, 18 Jan 2023 16:20:39 +0100
From: Martin Tůma <tumic@...see.org>
To: Vinod Koul <vkoul@...nel.org>, Lizhi Hou <lizhi.hou@....com>
Cc: dmaengine@...r.kernel.org, linux-kernel@...r.kernel.org,
max.zhen@....com, sonal.santan@....com, larry.liu@....com,
brian.xu@....com
Subject: Re: [RESEND PATCH V11 XDMA 1/2] dmaengine: xilinx: xdma: Add xilinx
xdma driver
>> +static struct platform_driver xdma_driver = {
>> + .driver = {
>> + .name = "xdma",
>> + },
>> + .id_table = xdma_id_table,
>> + .probe = xdma_probe,
>> + .remove = xdma_remove,
>> +};
>> +
>> +module_platform_driver(xdma_driver);
>
> who creates this platform device? Any reason why this is not a _real_
> device?
>
The platform device is created by the PCIe card device/driver that uses
XDMA. See for example our mgb4 v4l2 driver:
https://patchwork.kernel.org/project/linux-media/patch/20230113172636.2590-2-tumic@gpxsee.org/
M.
Powered by blists - more mailing lists