Re: [PATCH v4 01/10] dt-bindings: iommu: Add Translation Buffer Unit bindings

From: Krzysztof Kozlowski
Date: Thu Feb 29 2024 - 13:01:34 EST


On 12/02/2024 20:12, Robin Murphy wrote:
>>> + '#address-cells':
>>> + enum: [ 1, 2 ]
>>> +
>>> + '#size-cells':
>>> + enum: [ 1, 2 ]
>>> +
>>> + ranges: true
>>> +
>>> +patternProperties:
>>> + "^tbu@[0-9a-f]+$":
>>> + description: TBU child nodes
>>> + type: object
>>> + $ref: tbu-common.yaml#
>>
>> additionalProperties: false
>>
>>
>> However, that's going to break with the extra QCom properties. In
>> json-schema, you can't have 2 schemas and extend the properties of
>> their child nodes. The validator doesn't "see" the child node schemas at
>> the same time. You are going to have to move QCom SMMU to its own schema
>> and remove it from arm,smmu.yaml.
>
> Although this common binding is pretty pointless - sorry I missed the
> previous discussion, but these TBU registers are on obscure debugging

Hi Robin,

I am not sure if your comments were resolved (no response here), so
please kindly check if nothing got lost from your feedback in v5:

https://lore.kernel.org/all/20240226172218.69486-2-quic_c_gdjako@xxxxxxxxxxx/

Best regards,
Krzysztof