On Mon, Sep 14, 2026 at 11:02 PM Frank Li <[email protected]> wrote:
> On Mon, Sep 14, 2026 at 01:54:45PM +0200, Linus Walleij wrote:

> >       if (base->plat_data->use_esram_lcla) {
> > +             np_lcla = of_parse_phandle(np, "sram", 1);
> > +             if (!np_lcla) {
> > +                     dev_err(dev, "no LCLA SRAM node\n");
> > +                     ret = -EINVAL;
> > +                     goto destroy_cache;
> > +             }
>
> sram is used at many place, is it good to put into
> drivers/of/property.c DEFINE_SIMPLE_PROP to avoid set up device link by
> each driver?

I have absolutely no idea if that is a good idea or how to
even use that macro.

But Saravana will know, so let's ask him!

Yours,
Linus Walleij

Reply via email to