[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6e55e911-b771-4938-be9e-a62cbde4c1ba@linaro.org>
Date: Thu, 29 Feb 2024 19:01:14 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Robin Murphy <robin.murphy@....com>
Cc: krzysztof.kozlowski+dt@...aro.org, conor+dt@...nel.org, will@...nel.org,
joro@...tes.org, iommu@...ts.linux.dev, devicetree@...r.kernel.org,
andersson@...nel.org, konrad.dybcio@...aro.org, robdclark@...il.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-arm-msm@...r.kernel.org, quic_cgoldswo@...cinc.com,
quic_sukadev@...cinc.com, quic_pdaly@...cinc.com, quic_sudaraja@...cinc.com,
djakov@...nel.org, Georgi Djakov <quic_c_gdjako@...cinc.com>,
Rob Herring <robh@...nel.org>
Subject: Re: [PATCH v4 01/10] dt-bindings: iommu: Add Translation Buffer Unit
bindings
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@quicinc.com/
Best regards,
Krzysztof
Powered by blists - more mailing lists