Re: [PATCH v2 1/1] drm/tyr: make SRAM supply optional like panthor

From: Boris Brezillon

Date: Thu Feb 12 2026 - 08:52:44 EST


On Thu, 12 Feb 2026 13:13:31 +0000
Mark Brown <broonie@xxxxxxxxxx> wrote:

> On Thu, Feb 12, 2026 at 01:46:01PM +0100, Boris Brezillon wrote:
> > Mark Brown <broonie@xxxxxxxxxx> wrote:
>
> > > The panthor driver is buggy here and should be fixed, the driver should
> > > treat the supply as mandatory and let the system integration work out
> > > how it's actually made available.
>
> > > Trying to open code this just breaks the error handling.
>
> > Maybe, but the thing is, the DT bindings have been accepted already,
> > and it's not something we can easily change. What we can do is make this
> > sram-supply mandatory for new compatibles, but we can't force it on
> > older/existing SoCs without breaking backward-DT compat.
>
> In practice you can because we do sub in a dummy regulator for missing
> supplies, it produces a warning but works fine. If we didn't do this
> it'd be basically impossible to add regulator support to anything at any
> point after the original merge which is clearly not reasonable.

Okay, I guess we need to fix panthor then...