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

Eddie James
2024-05-01T16:06:22Z

On 4/30/24 02:01, Krzysztof Kozlowski wrote:
> 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.

Ack.

Thanks,

Eddie

>
>
>> +
>> + 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.

Ack.

>
> Best regards,
> Krzysztof
>