OSDN Git Service

dt-bindings: reference MC peripheral properties in relevant devices
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 6 Feb 2023 09:26:23 +0000 (10:26 +0100)
committerRob Herring <robh@kernel.org>
Tue, 7 Feb 2023 21:47:27 +0000 (15:47 -0600)
commit770ba14bd7fca8a25e6f73ac25dc2cd1377be6fa
tree697104819a65e6e259d9e59b926209947a24e267
parent33887fce47e17cdd4df44f3d98320a27908897fa
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>
Documentation/devicetree/bindings/ata/intel,ixp4xx-compact-flash.yaml
Documentation/devicetree/bindings/mtd/mtd-physmap.yaml
Documentation/devicetree/bindings/serial/8250.yaml
Documentation/devicetree/bindings/watchdog/maxim,max63xx.yaml