Re: [PATCH v5 1/2] regulator: dt-bindings: rtq2208: Add Richtek RTQ2208 SubPMIC
From: Krzysztof Kozlowski
Date: Sat Aug 05 2023 - 17:30:34 EST
On 03/08/2023 08:36, ChiYuan Huang wrote:
> On Wed, Jul 26, 2023 at 03:13:11PM +0800, Alina Yu wrote:
>> Add bindings for Richtek RTQ2208 IC controlled SubPMIC
>>
>> Signed-off-by: Alina Yu <alina_yu@xxxxxxxxxxx>
>> +
>> + richtek,mtp-sel-high:
>> + type: boolean
>> + description:
>> + vout register selection based on this boolean value.
>> + false - Using DVS0 register setting to adjust vout
>> + true - Using DVS1 register setting to adjust vout
>> +
>> + regulators:
>> + type: object
> Just curious.
> It seems this PMIC only support buck/ldo ouput.
> Since Krzysztof already reviewed it, not sure whether to group it into one node is common or not.
> AFAIK, if there's no more function included, to put all on the top level may be better.
>> +
Indeed we tend to avoid empty nodes just as a corresponding part to
Linux device.
Here, I don't know Rob's and Conor's opinion, but for cases of having
more than 2 regulators, having "regulators" node makes sense to me -
nicely organizes that piece of DT which can grow quite big. I can also
live without the "regulators" node.
Best regards,
Krzysztof