[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0599e7ac-bd06-8d56-b510-0f27f4cc6790@gmail.com>
Date: Tue, 19 Apr 2022 20:45:07 +0300
From: Markuss Broks <markuss.broks@...il.com>
To: Mark Brown <broonie@...nel.org>
Cc: linux-kernel@...r.kernel.org, phone-devel@...r.kernel.org,
~postmarketos/upstreaming@...ts.sr.ht,
Lee Jones <lee.jones@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>,
Liam Girdwood <lgirdwood@...il.com>, devicetree@...r.kernel.org
Subject: Re: [PATCH v4 1/4] dt-bindings: regulator: Add bindings for Silicon
Mitus SM5703 regulators
Hi Mark,
On 4/19/22 19:56, Mark Brown wrote:
> On Tue, Apr 19, 2022 at 07:00:54PM +0300, Markuss Broks wrote:
>
>> +description: |
>> + SM5703 regulators node should be a sub node of the SM5703 MFD node. See SM5703 MFD
>> + bindings at Documentation/devicetree/bindings/mfd/siliconmitus,sm5703.yaml
> Why is this a separate binding with a compatible rather than just being
> part of the main MFD binding? Alternatively, why aren't the regulators
> described individually in the DT (ie, one node/compatible per regulator)?
I took an example from the rohm,bd71847-pmic.yaml MFD binding, they have
regulators at a separate regulators { } node, with a separate dt-binding
for it. I'm not sure what should I do, I'd be more than happy to follow
a better example if you can show me it.
- Markuss
Powered by blists - more mailing lists