Re: [PATCH v4 1/2] regulator: dt-bindings: rtq2208: Add Richtek RTQ2208 SubPMIC
From: Alina Yu
Date: Fri Jul 21 2023 - 02:28:41 EST
Hi,
Krzysztof:
> > ...
> >
> >>> +
> >>> + regulator-mode:
> >>> + enum: [0, 1]
> >>> + description:
> >>> + describe buck initial operating mode in suspend state.
> >>
> >> There is no such property on this level. Aren't you mixing initial one?
> >
> > It's the initial mode in suspend-mem state, should I modify that like this ?
> > patternProperties:
> > "^regulator-state-(standby|mem|disk)$":
> > type: object
> > $ref: regulator.yaml#
> > properties:
> > regulator-mode:
> > enum: [0, 1]
> > description:
> > describe byck initial operating mode in suspend state.
>
> Please check how other bindings do it.
>
If I modify that like this, will it be correct ?
...
regulator-state-mem:
type: object
$ref: regulator.yaml#
properties:
regulator-mode:
description:
describe buck initial operating mode in suspend state.
0 - Auto mode
1 - FCCM
Best regards,
Alina