External email: Use caution opening links or attachments
26.04.2020 05:10, Dmitry Osipenko ÐÐÑÐÑ:
...
Maybe video.c csi.c vi.c could be moved into a separate module, somewhatcurrently other Tegra host1x driver (drm) also does similar. SingleDRM driver has a proper separation of the sub-drivers where sub-driver
module for all Tegra SoCs.
won't load on unsupported hardware. The tegra-video driver should do the
same, i.e. VI and CSI should be individual drivers (and not OPS). There
could be a some common core, but for now it's not obvious to me what
that core should be, maybe just the video.c.
like a common driver framework. Then the individual CSI/VI drivers will
use those common helpers.. Just a quick thought.