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

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Tue Feb 21 20:38:48 AEDT 2023


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



More information about the Linux-aspeed mailing list