Re: [PATCH V4 2/6] dt-bindings: regulator: Add pm8008 regulator bindings

From: Satya Priya Kakitapalli (Temp)
Date: Mon Dec 06 2021 - 08:43:15 EST



On 11/25/2021 8:54 PM, Mark Brown wrote:
On Fri, Nov 19, 2021 at 03:12:29PM +0530, Satya Priya wrote:

+properties:
+ compatible:
+ const: qcom,pm8008-regulators
Why are we adding a separate compatible for this when we already know
that this is a pm8008 based on the parent?


For the regulator driver to be probed we do need a separate compatible right? may be I didn't get your question..

My understanding is we should have a separate compatible for each peripheral under the parent mfd node.. like gpios, temp alarm, regulators etc..


+ vdd_l1_l2-supply:
+ description: Input supply phandle of ldo1 and ldo2 regulators.
These supply nodes should be chip level, they're going into the chip and
in general the expectation is that you should be able to describe the
supplies going into a device without worrying about how or if any
particular OS splits things up.

So, if i understand correctly, we don't have to mention these in the documentation as these are handled at framework level?