Re: 回覆: [PATCH v2 03/10] dt-bindings: PCI: Add ASPEED PCIe RC support

From: Krzysztof Kozlowski
Date: Mon Jul 21 2025 - 03:00:53 EST


On 21/07/2025 05:44, Jacky Chou wrote:
>>> +patternProperties:
>>> + "^pcie@[0-9a-f,]+$":
>>
>> Why do you need it? Also, order things according to example schema.
>>
>
> Thanks for your question.
>
> In the v1 discussion, another reviewer suggested that we should support a
> multi-port structure for the PCIe root complex,
> where each port is represented as a child node (e.g., pcie@...).
> That's why patternProperties was added here — to explicitly allow such
> subnodes and validate them properly.

And schema does not allow it already?

Best regards,
Krzysztof