From nobody Mon Dec 1 21:29:46 2025 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 408A5335BDC for ; Mon, 1 Dec 2025 17:12:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764609135; cv=none; b=D/69USoUTpd16jU6Hl9GbAKpZgNIQ5yKLAl+pKaimPbxqu1fVM09eQP9/gAq2C6GGUhQbKVG0X3CJ6ilWhTi5ieZlemafhN55WvbZtKN9OdUhmQYKPN21zYkluYPDGZeR7YXvKyzTne9RrH5H3VQMHmLFub295YnoBpq5kGiXZo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764609135; c=relaxed/simple; bh=zSwofAJNITs/gz244K8KSNxIOrxGyDD+1aCeJ44J5AY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Uesm1+jVeryrc579uIpLl7bFHarTh+BpbBU74+V5vKAhhX/JclyYPDpzmb6GPOdAeXSFkDyAEzV9Rq9ISbzKSpNPLAGXpXYIE3sMNpxhHppV0Yd8dk7WOhqXlqizASY97VlbiAGf21VuO01C1Qv1kMsnFEIV1bIK6xiYVxDghAA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from dude02.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::28]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1vQ7RX-0002dz-FK; Mon, 01 Dec 2025 18:12:07 +0100 From: Marco Felsch Date: Mon, 01 Dec 2025 18:12:07 +0100 Subject: [PATCH 3/3] pmdomain: imx93-blk-ctrl: add support for optional subnodes Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251201-v6-18-topic-imx93-blkctrl-v1-3-b57a72e60105@pengutronix.de> References: <20251201-v6-18-topic-imx93-blkctrl-v1-0-b57a72e60105@pengutronix.de> In-Reply-To: <20251201-v6-18-topic-imx93-blkctrl-v1-0-b57a72e60105@pengutronix.de> To: Ulf Hansson , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: linux-pm@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Marco Felsch X-Mailer: b4 0.14.2 X-SA-Exim-Connect-IP: 2a0a:edc0:0:1101:1d::28 X-SA-Exim-Mail-From: m.felsch@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org This particular block can have DT subnodes describing the LVDS LDB, MIPI DSI and parallel DPI bridge. Scan for possible sub-devices within the driver, instead of misusing the simple-bus to perform the scan. Signed-off-by: Marco Felsch --- drivers/pmdomain/imx/imx93-blk-ctrl.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/pmdomain/imx/imx93-blk-ctrl.c b/drivers/pmdomain/imx/i= mx93-blk-ctrl.c index 13b0de6dd689cf944e034f7666a4e97b0118e3bd..8f79cabe07face872cb396bfb73= 29c230c4a97fe 100644 --- a/drivers/pmdomain/imx/imx93-blk-ctrl.c +++ b/drivers/pmdomain/imx/imx93-blk-ctrl.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -311,6 +312,10 @@ static int imx93_blk_ctrl_probe(struct platform_device= *pdev) if (ret) return dev_err_probe(dev, ret, "failed to add genpd_provider release cal= lback\n"); =20 + ret =3D devm_of_platform_populate(dev); + if (ret) + return dev_err_probe(dev, ret, "failed to populate blk-ctrl sub-devices\= n"); + return 0; } =20 --=20 2.47.3