Re: [PATCH v5 0/2] Add ASPEED AST2600 I2Cv2 controller driver

From: Krzysztof Kozlowski
Date: Tue Feb 21 2023 - 04:38:59 EST


On 21/02/2023 02:12, Ryan Chen wrote:
>> Yes. New compatible and new syscon phandle (constrained to specific
>> compatibles in allOf:if:then:) to the old binding.
> Thank your guidance.
> The following is my sample modify, if my understand is correct, I will update in patch1 thread discussion.
> I need add in original aspeed,i2c.yaml not aspeed,i2cv2.yaml
> allOf:
> - $ref: /schemas/i2c/i2c-controller.yaml#
> - if:
> properties:
> compatible:
> contains:
> const: aspeed,ast2600-i2cv2
>
> then:
> required:
> - aspeed,gr

else:
properties:
aspeed,gr: false

Best regards,
Krzysztof