Message ID | cover.1747409892.git.samuel.kayode@savoirfairelinux.com |
---|---|
Headers | show |
Series | add support for pf1550 PMIC MFD-based drivers | expand |
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