From: Sowjanya Komatineni Subject: Re: [RFC PATCH v10 6/9] media: tegra: Add Tegra210 Video input driver Date: Sat, 25 Apr 2020 15:11:36 -0700 Message-ID: References: <1587700513-28449-1-git-send-email-skomatineni@nvidia.com> <1587700513-28449-7-git-send-email-skomatineni@nvidia.com> <3155e0d2-94b0-6e0a-bf35-b3560c201039@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Language: en-US Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Dmitry Osipenko , thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org, frankc-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org, hverkuil-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org, sakari.ailus-X3B1VOXEql0@public.gmane.org, helen.koike-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org Cc: sboyd-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, linux-media-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-tegra@vger.kernel.org On 4/25/20 3:08 PM, Dmitry Osipenko wrote: > External email: Use caution opening links or attachments > > > 25.04.2020 01:00, Sowjanya Komatineni =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >> On 4/24/20 8:07 AM, Dmitry Osipenko wrote: >>> External email: Use caution opening links or attachments >>> >>> >>> 24.04.2020 06:55, Sowjanya Komatineni =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >>> >>> Is this driver compiled as a single kernel module file? >>> >>>> +MODULE_AUTHOR("Sowjanya Komatineni "); >>>> +MODULE_DESCRIPTION("NVIDIA Tegra CSI Device Driver"); >>>> +MODULE_LICENSE("GPL v2"); >>> ... >>>> +MODULE_AUTHOR("Sowjanya Komatineni "); >>>> +MODULE_DESCRIPTION("NVIDIA Tegra Video Input Device Driver"); >>>> +MODULE_LICENSE("GPL v2"); >>> I don't think that these macros are needed in that case. >>> The video.c should be enough, isn't it? >> yes these can be removed > It will be nice to factor out the Tegra210-specific VI/CSI OPS into a > 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= . vi/csi.c are common drivers for all Tegras. All Tegra chip specific=20 related programming for both vi and csi were already moved to Tegra210.c=20 based on prior feedbacks.