Re: [PATCH 3/5] dt-bindings: i2c: qcom,i2c-geni: Allow no qup-core icc path

From: Krzysztof Kozlowski
Date: Mon Jul 03 2023 - 10:59:37 EST


On 03/07/2023 16:36, Krzysztof Kozlowski wrote:
> On 03/07/2023 15:31, Konrad Dybcio wrote:
>> Some SoCs (like SM8150 and SM8250) don't seem to provide a qup-core path.
>> Allow such case.
>>
>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

Un-reviewed. Don't define properties in oneOf, instead use the syntax I
pointed out in other patch. If you remove interconnects from this
example, you will reproduce the error.

This should be something like:
interconnects:


minItems: 2
maxItems: 3

interconnect-names:
oneOf:
- items:
- const: qup-config
- const: qup-memory

- items:
- const: qup-core
- const: qup-config
- const: qup-memory


Best regards,
Krzysztof