The patch set fixes advertised speeds for QSGMII interfaces, disables
A007273 erratum workaround on non-PowerPC platforms where it does not
apply, enables compilation on ARM64 and addresses a probing issue on
ARM64.
Igal Liberman (1):
fsl/fman: arm: call of_platform_populate() for arm64 platfrom
Madalin Bucur (3):
fsl/fman: fix 1G support for QSGMII interfaces
fsl/fman: A007273 only applies to PPC SoCs
fsl/fman: enable compilation on ARM64
drivers/net/ethernet/freescale/fman/Kconfig | 2 +-
drivers/net/ethernet/freescale/fman/fman.c | 18 ++++++++++++++++++
drivers/net/ethernet/freescale/fman/mac.c | 1 +
3 files changed, 20 insertions(+), 1 deletion(-)
--
2.1.0
=0A=
fman->dev =3D &of_dev->dev;=0A=
=0A=
+#ifdef CONFIG_ARM64=0A=
+ /* call of_platform_populate in order to probe sub-nodes on arm64 */=0A=
+ err =3D of_platform_populate(fm_node, NULL, NULL, &of_dev->dev);=0A=
+ if (err) {=0A=
+ dev_err(&of_dev->dev, "%s: of_platform_populate() failed\n",=0A=
+ __func__);=0A=
+ goto fman_free;=0A=
+ }=0A=
+#endif=0A=
=0A=
Should we remove fsl,fman from the PPC of_device_ids[], so this doesn't=0A=
need an ifdef?=0A=
=0A=
Why is it #ifdef CONFIG_ARM64 rather than #ifndef CONFIG_PPC?=0A=
=0A=
-Scott=0A=
=0A=
fman->dev =3D &of_dev->dev;
+#ifdef CONFIG_ARM64
+ /* call of_platform_populate in order to probe sub-nodes on arm64 */
+ err =3D of_platform_populate(fm_node, NULL, NULL, &of_dev->dev);
+ if (err) {
+ dev_err(&of_dev->dev, "%s: of_platform_populate() failed\n",
+ __func__);
+ goto fman_free;
+ }
+#endif
=20
Should we remove fsl,fman from the PPC of_device_ids[], so this doesn't
need an ifdef?
=20
Why is it #ifdef CONFIG_ARM64 rather than #ifndef CONFIG_PPC?
=20
-Scott
Igal was working on adding ARM64 support when this patch was created, thus =
the
choice of #ifdef CONFIG_ARM64. Unifying this for PPC and ARM64 by always ca=
lling
of_platform_populate() sounds like the best approach. I would need to synch=
ronize
the introduction of this code with the removal of the fsl,fman entry from t=
he
of_device_ids[] array.
Dave, Michael, Scott, is it ok to add to v2 of this patch set the patch tha=
t removes
the compatible "fsl,fman" from arch/powerpc/platforms/85xx/corenet_generic.=
c?
Thanks,
Madalin