[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a227bc1b-60df-4c0c-9f0f-ba89c96b78a7@kernel.org>
Date: Wed, 21 May 2025 18:22:42 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Samuel Kayode <samuel.kayode@...oirfairelinux.com>
Cc: Lee Jones <lee@...nel.org>, Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>, Dmitry Torokhov
<dmitry.torokhov@...il.com>, Sebastian Reichel <sre@...nel.org>,
Robin Gong <yibin.gong@....com>, linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org, linux-imx@....com, linux-input@...r.kernel.org,
Abel Vesa <abelvesa@...ux.com>, Abel Vesa <abel.vesa@....com>,
Robin Gong <b38343@...escale.com>, Enric Balletbo Serra
<eballetbo@...il.com>, Conor Dooley <conor+dt@...nel.org>,
devicetree@...r.kernel.org, Rob Herring <robh@...nel.org>
Subject: Re: [PATCH v2 4/9] dt-bindings: mfd: add pf1550
On 21/05/2025 18:16, Samuel Kayode wrote:
> On Sat, May 17, 2025 at 01:16:38PM +0200, Krzysztof Kozlowski wrote:
>>> + maxItems: 1
>>> +
>>> + interrupts:
>>> + maxItems: 1
>>> +
>>> + regulators:
>>> + $ref: /schemas/regulator/pf1550.yaml
>>> +
>>> + charger:
>>> + $ref: /schemas/power/supply/pf1550_charger.yaml
>>> +
>>> + onkey:
>>> + $ref: /schemas/input/pf1550_onkey.yaml
>>
>> This makes merging via separate trees not possible...
>>
>> Just fold everything here, drop compatibles and then put binding in the
>> regulator. Unless children are re-usable which would justify
>> compatibles, but then please provide arguments for that.
>
> Yes, compatibles are not needed for the children. For adding binding to the
> regulator, did you mean for all children: charger and onkey included? So,
> replacing the separate yaml for all children with bindings in the mfd yaml?
Up to you. Onkey looks small so could be folded for sure, but other
bindings are not big either, so I would personally fold everything.
Otherwise you will need to be sure MFD is not applied before they reach
mainline.
Due to lack of testing I did not review charger patch, but just after
quick glance I see already that you miss power supply ref, thus it seems
you duplicate some of the existing properties from monitored-battery.
Best regards,
Krzysztof
Powered by blists - more mailing lists