External email: Use caution opening links or attachmentsvi/csi.c are common drivers for all Tegras. All Tegra chip specific related programming for both vi and csi were already moved to Tegra210.c based on prior feedbacks.
25.04.2020 01:00, Sowjanya Komatineni ÐÐÑÐÑ:
On 4/24/20 8:07 AM, Dmitry Osipenko wrote:It will be nice to factor out the Tegra210-specific VI/CSI OPS into a
External email: Use caution opening links or attachmentsyes these can be removed
24.04.2020 06:55, Sowjanya Komatineni ÐÐÑÐÑ:
Is this driver compiled as a single kernel module file?
+MODULE_AUTHOR("Sowjanya Komatineni <skomatineni@xxxxxxxxxx>");...
+MODULE_DESCRIPTION("NVIDIA Tegra CSI Device Driver");
+MODULE_LICENSE("GPL v2");
+MODULE_AUTHOR("Sowjanya Komatineni <skomatineni@xxxxxxxxxx>");I don't think that these macros are needed in that case.
+MODULE_DESCRIPTION("NVIDIA Tegra Video Input Device Driver");
+MODULE_LICENSE("GPL v2");
The video.c should be enough, isn't it?
separate driver module (say tegra210-vi) to ease supporting of other
Tegra versions. Of course this could be done later on, although I
suppose the amount of hassle could be reduced if it's done from the start.