[PATCH v3 05/22] drm/tilcdc: Convert legacy panel binding via DT overlay at boot time
Kory Maincent
kory.maincent at bootlin.com
Wed Jan 7 01:57:11 PST 2026
On Tue, 6 Jan 2026 13:38:37 -0600
Andrew Davis <afd at ti.com> wrote:
> On 1/6/26 11:42 AM, Kory Maincent (TI.com) wrote:
> > To maintain backward compatibility while removing the deprecated
> > tilcdc_panel driver, add a tilcdc_panel_legacy subdriver that converts
> > the legacy "ti,tilcdc,panel" devicetree binding to the standard
> > panel-dpi binding at early boot.
...
> > + dtbo_start = __dtbo_tilcdc_panel_legacy_begin;
> > + dtbo_size = __dtbo_tilcdc_panel_legacy_end -
> > + __dtbo_tilcdc_panel_legacy_begin;
> > +
> > + ret = of_overlay_fdt_apply(dtbo_start, dtbo_size, &ovcs_id, NULL);
> > + if (ret)
> > + return ret;
>
> Looking over the users of `of_overlay_fdt_apply()` they all seem
> to start with a begin and end address, then have to convert to start
> and size. I wonder if this function should be converted to just take
> begin and end addresses instead.. (not a problem for this series, just
> thinking out loud).
Indeed, I think you are right.
Regards,
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
More information about the linux-arm-kernel
mailing list