Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20230206092624.22922-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Rob Herring
770ba14b 33887fce

+4
+1
Documentation/devicetree/bindings/ata/intel,ixp4xx-compact-flash.yaml
··· 35 35 36 36 allOf: 37 37 - $ref: pata-common.yaml# 38 + - $ref: /schemas/memory-controllers/intel,ixp4xx-expansion-peripheral-props.yaml# 38 39 39 40 unevaluatedProperties: false 40 41
+1
Documentation/devicetree/bindings/mtd/mtd-physmap.yaml
··· 15 15 16 16 allOf: 17 17 - $ref: "mtd.yaml#" 18 + - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml# 18 19 19 20 properties: 20 21 compatible:
+1
Documentation/devicetree/bindings/serial/8250.yaml
··· 11 11 12 12 allOf: 13 13 - $ref: serial.yaml# 14 + - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml# 14 15 - if: 15 16 anyOf: 16 17 - required:
+1
Documentation/devicetree/bindings/watchdog/maxim,max63xx.yaml
··· 8 8 9 9 allOf: 10 10 - $ref: "watchdog.yaml#" 11 + - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml# 11 12 12 13 maintainers: 13 14 - Marc Zyngier <maz@kernel.org>