powerpc/85xx: Add fsl,ifc to common device ids
Subsystems (2)
PATCH 1/1 powerpc/85xx: Add fsl,ifc to common device ids
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 <[email protected]>
--- arch/powerpc/platforms/85xx/common.c | 2 ++ 1 file changed, 2 insertions(+)
arch/powerpc/platforms/85xx/common.c +2 -0
@@ -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", }, {}, };
Signature · 1 line
2.54.0
Quoted 9 lines · Rosen Penev
Add fsl,ifc to
mpc85xx_common_idsso thatof_platform_bus_probecreates 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")[...]
Applied to powerpc/fixes.
[1/1] powerpc/85xx: Add fsl,ifc to common device ids
https://git.kernel.org/powerpc/c/25957f7c3dac3265332d766b71233e3622f17e14
cheers