Re: [PATCH v4 06/17] dt-bindings: fsi: Document the FSI controller common properties

From: Krzysztof Kozlowski
Date: Tue Apr 30 2024 - 03:02:06 EST


On 29/04/2024 23:01, Eddie James wrote:
> +
> +patternProperties:
> + "cfam@[0-9a-f],[0-9a-f]":
> + type: object
> + properties:
> + chip-id:
> + $ref: /schemas/types.yaml#/definitions/uint32
> + description:
> + Processor index

fsi.txt tells a bit more about it, so extend the description.


> +
> + reg:
> + maxItems: 1
> +
> + "#address-cells":
> + const: 1
> +
> + "#size-cells":
> + const: 1
> +
> + required:
> + - reg
> +
> + additionalProperties: true
> +
> +additionalProperties: true
> +
> +examples:
> + - |
> + fsi {
> + #address-cells = <2>;
> + #size-cells = <0>;
> +
> + cfam@0,0 {
> + reg = <0 0>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> + chip-id = <0>;
> + };
> + };

Drop the example, it's not being validated/used.

Best regards,
Krzysztof