[PATCH v4 07/29] misc: lan966x_pci: Use simple-platform-bus

Herve Codina
2025-10-15T07:17:43Z

The simple-bus driver doesn't populate its child devices during its
probe. This confuses fw_devlink and results in wrong or missing
devlinks.

simple-platform-bus has been introduced to fix the issue.

Use this newly introduce driver instead of simple-bus.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
---
drivers/misc/lan966x_pci.dtso | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/misc/lan966x_pci.dtso b/drivers/misc/lan966x_pci.dtso
index 7b196b0a0eb6..47d61dc963c7 100644
--- a/drivers/misc/lan966x_pci.dtso
+++ b/drivers/misc/lan966x_pci.dtso
@@ -48,7 +48,7 @@ sys_clk: clock-15625000 {
};

pci-ep-bus@0 {
- compatible = "simple-bus";
+ compatible = "simple-platform-bus";
#address-cells = <1>;
#size-cells = <1>;

--
2.51.0