Re: [PATCH v2 3/4] regulator: dt-bindings: maxim,max77693: convert to dtschema

From: Mark Brown
Date: Mon Feb 14 2022 - 11:51:33 EST


On Mon, Feb 14, 2022 at 05:45:40PM +0100, Krzysztof Kozlowski wrote:
> On 14/02/2022 17:41, Mark Brown wrote:
> >> + properties:
> >> + regulator-name: true
> >> + regulator-always-on: true
> >> + regulator-boot-on: true

> > Why are these specific generic regulator properties enumerated?

> additionalProperties=false is used, so all properties, also ones from
> regulator.yaml, have to be mentioned.

> Why this approach was used? Because the hardware here is very limited,
> so no other properties are expected. No other features are supported.

That's not going to scale well if we add any new features in the core,
and doesn't include things like coupling which could be applied to any
regulator.

Attachment: signature.asc
Description: PGP signature