]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
powerpc/85xx: Add fsl,ifc to common device ids
authorRosen Penev <rosenp@gmail.com>
Thu, 4 Jun 2026 04:33:09 +0000 (21:33 -0700)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Wed, 15 Jul 2026 02:33:28 +0000 (08:03 +0530)
Add fsl,ifc to mpc85xx_common_ids so that of_platform_bus_probe
creates a platform device for the IFC node even without 'simple-bus'
in its compatible property. On P1010 and similar platforms the IFC
node is a direct child of the root, so it must be explicitly matched
to be populated.

Fixes: 0bf51cc9e9e5 ("powerpc: dts: mpc85xx: remove "simple-bus" compatible from ifc node")
Assisted-by: opencode:big-pickle
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20260604043309.91280-1-rosenp@gmail.com
arch/powerpc/platforms/85xx/common.c

index 757811155587db40a68b7c22b7b56f72941cbea2..c11deb2f50ed45a7b36c352f4a61f71066993d7e 100644 (file)
@@ -42,6 +42,8 @@ static const struct of_device_id mpc85xx_common_ids[] __initconst = {
        { .compatible = "fsl,qoriq-pcie-v2.3", },
        { .compatible = "fsl,qoriq-pcie-v2.2", },
        { .compatible = "fsl,fman", },
+       /* IFC NAND and NOR controllers */
+       { .compatible = "fsl,ifc", },
        {},
 };