mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pawel Dembicki <paweldembicki@gmail.com>
To: linuxppc-dev@lists.ozlabs.org
Cc: rosenp@gmail.com, Pawel Dembicki <paweldembicki@gmail.com>,
	Scott Wood <oss@buserror.net>,
	Madhavan Srinivasan <maddy@linux.ibm.com>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Nicholas Piggin <npiggin@gmail.com>,
	"Christophe Leroy (CS GROUP)" <chleroy@kernel.org>,
	"Ritesh Harjani (IBM)" <ritesh.list@gmail.com>,
	Shrikanth Hegde <sshegde@linux.ibm.com>,
	Frank Li <Frank.Li@nxp.com>, Li Yang <leoyang.li@nxp.com>,
	linux-kernel@vger.kernel.org
Subject: [PATCH] powerpc/85xx: Add fsl,ifc to CoreNet device ids
Date: Tue, 22 Sep 2026 23:05:09 +0200	[thread overview]
Message-ID: <20260922210531.1103068-2-paweldembicki@gmail.com> (raw)

Commit 0bf51cc9e9e5 ("powerpc: dts: mpc85xx: remove "simple-bus"
compatible from ifc node") removed the incorrect compatible string from
IFC nodes. Commit 25957f7c3dac ("powerpc/85xx: Add fsl,ifc to common
device ids") subsequently added an explicit match to mpc85xx_common_ids,
allowing of_platform_bus_probe() to create the IFC platform device.

CoreNet platforms use a separate of_device_ids table, which still lacks
the corresponding match. As IFC is a direct child of the root node on
these platforms, its platform device is not created and the controller
and its flash children are never probed.

Add the missing match to the CoreNet device table.

Fixes: 0bf51cc9e9e5 ("powerpc: dts: mpc85xx: remove "simple-bus" compatible from ifc node")
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
---
 arch/powerpc/platforms/85xx/corenet_generic.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/powerpc/platforms/85xx/corenet_generic.c b/arch/powerpc/platforms/85xx/corenet_generic.c
index c44400e95f55..fe9e7ba5b77e 100644
--- a/arch/powerpc/platforms/85xx/corenet_generic.c
+++ b/arch/powerpc/platforms/85xx/corenet_generic.c
@@ -70,6 +70,9 @@ static const struct of_device_id of_device_ids[] = {
 	{
 		.compatible	= "fsl,fpga-qixis"
 	},
+	{
+		.compatible	= "fsl,ifc",
+	},
 	{
 		.compatible	= "fsl,srio",
 	},
-- 
2.43.0


                 reply	other threads:[~2026-09-22 21:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260922210531.1103068-2-paweldembicki@gmail.com \
    --to=paweldembicki@gmail.com \
    --cc=Frank.Li@nxp.com \
    --cc=chleroy@kernel.org \
    --cc=leoyang.li@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=maddy@linux.ibm.com \
    --cc=mpe@ellerman.id.au \
    --cc=npiggin@gmail.com \
    --cc=oss@buserror.net \
    --cc=ritesh.list@gmail.com \
    --cc=rosenp@gmail.com \
    --cc=sshegde@linux.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®