[PATCH] video: stm32: dsi: add .of_to_plat callback
Tom Rini
trini at konsulko.com
Fri Mar 6 23:33:17 CET 2026
On Mon, Mar 02, 2026 at 05:23:23PM +0100, Raphaël Gallais-Pou wrote:
> Hi,
>
> Can this one be picked up for v2026.04 or is there something I should do ?
Patrick, Patrice, should I take this directly or is there some
objection? Thanks!
>
> Best regards,
> Raphaël
>
> On 2/24/26 11:01, Patrick DELAUNAY wrote:
> > Hi,
> >
> > On 2/5/26 00:35, Raphael Gallais-Pou wrote:
> > > Drivers should extract device-tree data before probing via the
> > > .of_to_plat hook.
> > >
> > > Implement it for stm32_dsi driver. By doing so, it also solve a
> > > variable shadowing in stm32_dsi_probe() where &clk was used as
> > > peripheral clock and ref clock.
> > >
> > > For readability some struct have been renamed such as:
> > >
> > > * struct stm32_dsi_priv *dsi -> struct stm32_dsi_priv *priv
> > > * struct clk clk -> struct clk pclk
> > >
> > > Signed-off-by: Raphael Gallais-Pou <rgallaispou at gmail.com>
> > > ---
> > > This patch has been tested on stm32mp157c-dk2 board.
> > > ---
> > > drivers/video/stm32/stm32_dsi.c | 168 +++++++++++++++++++++
> > > +------------------
> > > 1 file changed, 91 insertions(+), 77 deletions(-)
> > >
> >
> >
> > Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
> >
> > Thanks
> > Patrick
> >
>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260306/f2f17f99/attachment.sig>
More information about the U-Boot
mailing list