Re: [PATCH v4 7/7] drm/tegra: Add support for 8-bit CPU interface

From: Svyatoslav Ryhel

Date: Fri Oct 23 2026 - 10:20:18 EST


пт, 23 жовт. 2026 р. о 11:26 Svyatoslav Ryhel <clamor95@xxxxxxxxx> пише:
>
> пт, 23 жовт. 2026 р. о 10:53 Mikko Perttunen <mperttunen@xxxxxxxxxx> пише:
> >
...
> > > +MODULE_ALIAS("platform:tegra-dbi");
> > > +MODULE_AUTHOR("Svyatoslav Ryhel <clamor95@xxxxxxxxx>");
> > > +MODULE_DESCRIPTION("Nvidia Tegra20/30 MIPI-DBI Type B driver");
> > > +MODULE_LICENSE("GPL");
> >
> > No separate platform driver or device. If a separate struct device is
> > needed for some technical purpose, we need to create a minimal separate
> > virtual device, but unless there is a strong reason to have that we
> > should be fine with just the dc device.
> >
> > Thank you
> > Mikko
> >
>
> ATM, I use bridge framework to describe interface and I am attaching
> it to RGB since it basically uses RGB to transfer video data. It works
> pretty nice so far.
>
> You propose to replicate how RGB works just for DBI?
>

One of the reasons I used separate pdev was to be able get mipi_dbi
from it using dev_get_drvdata() from patent (dbi bridge in this case).
DBI framework seems to not have a way to pass it in any other way,
unless you know smth I don't.