Re: [PATCH] ASoC: dt-bindings: mt6358: Convert to dtschema

From: Krzysztof Kozlowski
Date: Fri Jun 07 2024 - 02:56:27 EST


On 06/06/2024 16:19, Kartik Agarwala wrote:
>>> + Must be a child node of PMIC wrapper.
>>
>> Did you update the PMIC wrapper binding with ref to this?
>>
>
> Hi Krzysztof,
>
> I apologize incase this is something obvious but I am still not sure
> if I understand what you expect here. Could you please explain this
> a bit more? I thought that you wanted me to convert the Mediatek PMIC
> wrapper but it already seems to be in DT-Schema format.[1]
>
> [1]: https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/soc/mediatek/mediatek%2Cpwrap.yaml

If this is a child of some node (PMIC wrapper), then parent node should
reference this schema. Please make the parent example complete and
validate it. Otherwise above statement - must be a child ...- is false.

Best regards,
Krzysztof