lkml.org 
[lkml]   [2022]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH v5 2/6] dt-bindings: PCI: renesas,pci-rcar-gen2: Add device tree support for r9a06g032
    From
    On 20/05/2022 10:23, Herve Codina wrote:
    > The yaml has the following structure and so has 2 AllOf:
    > ...
    > allOf:
    > - $ref: /schemas/pci/pci-bus.yaml#
    >
    > properties:
    > compatible:
    > ...
    > allOf:
    > - if:

    (...)

    >
    > Is having a 'allOf' for schemas inclusion and a 'allOf' for conditionnal
    > parts allowed ?

    Only one allOf for all of such (ref + if), located before
    additionalProperties:
    https://elixir.bootlin.com/linux/v5.18-rc7/source/Documentation/devicetree/bindings/example-schema.yaml#L211


    Best regards,
    Krzysztof

    \
     
     \ /
      Last update: 2022-05-20 10:33    [W:7.259 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site