Re: [PATCH] dt-bindings: mfd: mediatek,mt6357: Fixup reference to pwrap node

From: Krzysztof Kozlowski
Date: Mon Aug 26 2024 - 12:07:22 EST


On 26/08/2024 17:50, Conor Dooley wrote:
> On Mon, Aug 26, 2024 at 02:54:15PM +0800, Macpaul Lin wrote:
>> The mt6357 is a subnode of pwrap node. Previously, the documentation
>> only included a note in the description of mt6357. This change adds the
>> appropriate $ref for pwrap to ensure clarity and correctness.
>
> I think this change is wrong and the existing binding is fine.
> Adding the ref overcomplicates the binding completely, and stating that
> this is a child node of another device is sufficient.
>
> Instead, if anything, the pwrap binding should have a ref to /this/
> binding.

Yes or list allowed compatibles for child node.

Best regards,
Krzysztof