Re: [PATCH v4 1/4] mfd: wm831x: Support software nodes for DCDC regulators

From: Mark Brown

Date: Fri Nov 06 2026 - 09:22:38 EST


On Thu, Nov 05, 2026 at 10:07:06AM -0800, Dmitry Torokhov wrote:

> Hopefully you do not need to pay too much attention to them as they are
> hidden in the legacy board code.

Which does get reduced error checking and questionable readability
benefits :/

> The benefit is that using them makes the driver exercise the same code
> paths as it would on DT system (unless you insist that the driver is
> very special and should only use of_* API) and allows dropping support
> for bespoke platform data (in most cases).

IIRC all those drivers handle DT by parsing it into a platform data
struct or just don't have DT bindings anyway, and it's worth being aware
that ACPI has some rather different ideas about how audio should look to
DT.

Attachment: signature.asc
Description: PGP signature