[PATCH v10 1/9] dt-bindings: regulator: Document MediaTek MT6316 PMIC Regulators

Mark Brown broonie at kernel.org
Fri Oct 24 11:24:12 PDT 2025


On Fri, Oct 24, 2025 at 05:29:31PM +0100, Conor Dooley wrote:
> On Fri, Oct 24, 2025 at 10:32:13AM +0200, AngeloGioacchino Del Regno wrote:

> > +      regulator-allowed-modes:
> > +        description: |
> > +          Allowed Buck regulator operating modes allowed. Valid values below.

> > +        minItems: 1
> > +        maxItems: 3
> > +        items:
> > +          enum: [ 0, 1, 2 ]

> This property has no default, and the property is not required. Is one
> of these modes the default, or is there another mode beyond what's here
> that is used if the property is absent? Or are all modes allowed with no
> property?

The general approach the regulator API takes with everything is that if
there is no explict configuration then it will simply not touch the
hardware.  If nothing is configured then the hardware will be left in
whatever state we found it in which could be anything as far as we know,
it might vary depending on what was running before and what it was doing.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20251024/ee6233f3/attachment.sig>


More information about the linux-arm-kernel mailing list