Commit 770ba14b authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Rob Herring
Browse files

dt-bindings: reference MC peripheral properties in relevant devices



Several devices can be attached to memory controllers (or memory-mapped
buses), thus they can come with additional controller-specific
properties, e.g. devices wired under Intel IXP4XX bus: cfi-flash,
intel,ixp4xx-compact-flash, NS8250 serial and MAX6369 watchdog.

Referencing Memory Controller or IXP4XX bus peripheral properties fixes
few dtbs_check warnings like:

  intel-ixp42x-gateworks-gw2348.dtb: ide@1,0: Unevaluated properties are not allowed
    ('intel,ixp4xx-eb-ahb-split-transfers', 'intel,ixp4xx-eb-byte-access', ... ' were unexpected)

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Acked-by: default avatarDamien Le Moal <damien.lemoal@opensource.wdc.com>
Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20230206092624.22922-3-krzysztof.kozlowski@linaro.org


Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 33887fce
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@ required:

allOf:
  - $ref: pata-common.yaml#
  - $ref: /schemas/memory-controllers/intel,ixp4xx-expansion-peripheral-props.yaml#

unevaluatedProperties: false

+1 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@ description: |

allOf:
  - $ref: "mtd.yaml#"
  - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml#

properties:
  compatible:
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ maintainers:

allOf:
  - $ref: serial.yaml#
  - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml#
  - if:
      anyOf:
        - required:
+1 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ title: Maxim 63xx Watchdog Timers

allOf:
  - $ref: "watchdog.yaml#"
  - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml#

maintainers:
  - Marc Zyngier <maz@kernel.org>