Re: [PATCH] regulator: scmi: Allow for zero voltage domains

From: Cristian Marussi
Date: Thu Jan 26 2023 - 17:03:22 EST


On Thu, Jan 26, 2023 at 06:38:20PM +0000, Mark Brown wrote:
> On Thu, Jan 26, 2023 at 06:05:11PM +0000, Cristian Marussi wrote:
> > SCMI Voltage protocol allows the platform to report no voltage domains
> > on discovery, while warning the user about such an odd configuration.
>
> This patch removes all diagnostics in this case?

You'll still see a warning from the SCMI core Voltage Protocol saying:

"No Voltage domains found."

but nothing from the regulator driver itself which will successfully probe,
albeit not creating any regulators...if this is what you mean.

Thanks for having a look,
Cristian