[PATCH v9 02/15] dt-bindings: mmc: cdns: Add AMD Pensando Elba SoC

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Sat Jan 21 10:57:02 PST 2023


On 21/01/2023 02:10, Brad Larson wrote:
> +
>  required:
>    - compatible
>    - reg
>    - interrupts
>    - clocks
>  
> +allOf:
> +  - $ref: mmc-controller.yaml
> +  - if:
> +      properties:
> +        compatible:
> +          contains:
> +            const: amd,pensando-elba-sd4hc
> +    then:
> +      required:
> +        - reset-names
> +        - resets

Looks correct, just put required: after properties: below.

> +      properties:
> +        reg:
> +          minItems: 2
> +    else:

Best regards,
Krzysztof




More information about the linux-arm-kernel mailing list