[PATCH v2 4/7] reset: Add BCMBCA block resets through the PMB

Linus Walleij linusw at kernel.org
Thu Nov 5 06:09:14 PST 2026


On Tue, Nov 3, 2026 at 12:28 PM Philipp Zabel <p.zabel at pengutronix.de> wrote:

> > +     unsigned int i, zone;
> > +     int ret;
> > +
> > +     for (i = 0; i < ARRAY_SIZE(power); i++) {
> > +             for (zone = 0; zone < power[i].zones; zone++) {
> > +                     ret = bcm6846_power_on_zone(rst, power[i].device, zone);
> > +                     if (ret) {
> > +                             dev_err(rst->rcdev.dev,
> > +                                     "XRDP power-up failed at PMB bus 1 device %u zone %u: %d\n",
> > +                                     power[i].device, zone, ret);
> > +                             bcmbca_pmb_reset_cleanup(rst, group);
> > +                             return ret;
> > +                     }
> > +             }
> > +     }
>
> This doesn't look like it belongs in the reset controller driver.
> Are these power domains?

Indeed.

I was trying several times to restrict the scope of the MFD subdrivers
but they have this tendency to all require each other so I'll just bite the
bullet and implement the power domains too :D

I'll fix the rest of the review comments.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list