]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: dts: marvell: only enable complete sata nodes
authorFrank Wunderlich <frank-w@public-files.de>
Fri, 3 Jan 2025 10:37:21 +0000 (11:37 +0100)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Wed, 8 Jan 2025 08:24:38 +0000 (09:24 +0100)
commit30023876aef49935da115d51c8cbea8746d8c6fa
tree7986b58a55e33e694af5a530de92f69da6f3da7e
parent09cdb973afa7a18ce8e66807daff94609cc4b8a4
arm64: dts: marvell: only enable complete sata nodes

The ahci-platform binding requires phys/target-supply property.

After converting the binding to yaml the following files
reporting "'anyOf' conditional failed" on

sata@540000: sata-port@0

armada-7040-db.dts
armada-8040-clearfog-gt-8k.dts
armada-8040-mcbin.dts
armada-8040-mcbin-singleshot.dts
cn9130-db.dts
cn9130-db-B.dts
cn9131-db.dts
cn9131-db-B.dts
cn9132-db.dts
cn9132-db-B.dts

the following files reporting 'anyOf' conditional failed on

sata@540000: sata-port@1

cn9132-db.dts
cn9132-db-B.dts
cn9130-crb-B.dts

'phys' is a required property
'target-supply' is a required property
>From schema: Documentation/devicetree/bindings/ata/ahci-platform.yaml

This is caused by defining sata-ports incomplete in armada-cp11x.dtsi
and overriding only a subset of ports with the needed
phys/target-supply property.

Fix this by disabling the node-templates and enabling the needed nodes.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-7040-db.dts
arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts
arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
arch/arm64/boot/dts/marvell/armada-8040-db.dts
arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi
arch/arm64/boot/dts/marvell/armada-8040-puzzle-m801.dts
arch/arm64/boot/dts/marvell/armada-cp11x.dtsi
arch/arm64/boot/dts/marvell/cn9130-crb-B.dts
arch/arm64/boot/dts/marvell/cn9131-db.dtsi
arch/arm64/boot/dts/marvell/cn9132-db.dtsi