From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.246.85.4 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795086052; b=fY16KrWiqSg/V44kZRQ7C12ZAeLVg5C+NDUO6Fn6vqoPYD2A6yX1zs97GngmH9vL6fRL QNK5MJKa7RzUKGsUuTbF+jgrPO/r7dX/mEZqwJrOjs7wNybyIzBHWiwSowUKQJVM5aIK3 jTuEO8fR2qaEIFzVdebP+chx6IzNGBSoy0ZZV7F/Hpu/9EH0AiOr+TPhXbMIaMW1Xjyea o51Sc6go/7QchyYo1tNpw5XXZS9bRL/UHwjjrqPpMy+QIkZaqquy8ld4YsBurBb5h0Tco V0SRclbewPtuAzG+TeBSpRiI8PvZh9szXLJ3YsBFnB0+W+uyKRot4tbM3vS7A9sNnNQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795086052; h=DMARC-Filter:Received:Received:Received:DKIM-Signature:From:To:Cc: Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:X-Last-TLS-Session-Version; bh=sfUMDLC0E22rep4FDmPzBeyywhsxbumM+Fv7jNI+gdQ=; b=U/pFOCzsMIcLIv4LZGAb8ajTjTwnLQU7TIIjebOBVq/jb952X0eIDyDo0N3gFud5nK+R ZVbeKrxYbnULN/zXs8WL8WDX1a4psy002CtTtw5ron3Q9JHZHysyjNkDfgOjyI/2jHTfr GtauslS/S1yXxEQzhN3ECqVHkZ8CivprNTIvJN4bVJVQFql9pL8YhwQDP+HHjDk2s4mHx n2ioXx49Ld2gYZi+2thfs5gdluysaD0QAimtrCgG8kcuYAvXTxieGIyNfpaUOvYbzGuAz KQYP02RSmI1Lq1kzBdmT6A9CHNp2WsCG4LMPlePGSyNh3oUgALRcqufIogAh2qNHNLQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=v5Am7MQb; arc=none smtp.remote-ip=185.246.85.4 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C2EDD606A32C for ; Thu, 19 Nov 2026 11:00:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C2EDD606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=v5Am7MQb Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 86D894E41663; Thu, 19 Nov 2026 11:00:50 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 5A3ED60237; Thu, 19 Nov 2026 11:00:50 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id D512A11BC0ED5; Thu, 19 Nov 2026 12:00:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1795086048; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=sfUMDLC0E22rep4FDmPzBeyywhsxbumM+Fv7jNI+gdQ=; b=v5Am7MQb5ExI0e4Fs0d026Nwlwk2VYY594seRtZCGf9OMSiq5Ui++9aseq7iT1o9X8q3+c glDFhs/xYYvnYUpUCP86QZoex8z8iWe18xlQY8Z/3JV+wo9eKUaIcDHwL91EzyOhITicnG JdAteBNP7tzIEKUPsXW3jYcu0UKYwex4qOGMTRe+XX+kr4qcc+3cSKUiIfxVrOjBy4F/xr b36tiXcs8Ga3aNnBvy+BSt9Wk1DLghucOdF8eG61OKcERXzpsaZoImFceyYjWCdD9p1Pa4 HysBthyJawd6Wv5Dp76ndggyJKoU0O/RJjpOGNUWKfurr1f+qPHqrsIwiWwBQA== From: Herve Codina To: Andrew Lunn , Rob Herring , Saravana Kannan , Geert Uytterhoeven , Kalle Niemi , Matti Vaittinen , Aaro Koskinen , Andreas Kemnade , Kevin Hilman , Roger Quadros , Tony Lindgren , Russell King , Greg Kroah-Hartman , "Rafael J. Wysocki" , Danilo Krummrich , Johan Hovold Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, driver-core@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Allan Nielsen , Horatiu Vultur , Daniel Machon , Steen Hegelund , Luca Ceresoli , Thomas Petazzoni , Herve Codina Subject: [PATCH v10 4/5] ARM: OMAP2+: pdata-quirks: Pass auxdata for simple-bus devices Date: Thu, 19 Nov 2026 12:00:10 +0100 Message-ID: <20261119110014.582363-5-herve.codina@bootlin.com> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261119110014.582363-1-herve.codina@bootlin.com> References: <20261119110014.582363-1-herve.codina@bootlin.com> X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 The simple-pm-bus driver takes the of_dev_auxdata lookup table from the platform data of the bus device, following the convention introduced for "simple-pm-bus" by commit eda080eabf5b ("drivers: bus: simple-pm-bus: Fix compatibility with simple-bus for auxdata"). omap_auxdata_lookup only has an entry for the "simple-pm-bus" compatible, so a simple-bus node created by of_platform_populate() with this lookup table has no platform data, and the lookup table is not available to the driver for that bus. As a prerequisite for introducing platform device population for bus-only devices in the simple-pm-bus driver, the lookup table must also be available on simple-bus devices. When the driver populates the children of such a bus from its probe(), it takes the lookup table from the platform data of the bus device; otherwise those children are created without the bus_id and platform_data overrides. Add the corresponding "simple-bus" entry, mapping it to the same table as the "simple-pm-bus" one. Signed-off-by: Herve Codina --- arch/arm/mach-omap2/pdata-quirks.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c index b947bacf23a3..f591a94d9c73 100644 --- a/arch/arm/mach-omap2/pdata-quirks.c +++ b/arch/arm/mach-omap2/pdata-quirks.c @@ -491,6 +491,7 @@ static struct of_dev_auxdata omap_auxdata_lookup[] = { #endif /* Common auxdata */ OF_DEV_AUXDATA("simple-pm-bus", 0, NULL, omap_auxdata_lookup), + OF_DEV_AUXDATA("simple-bus", 0, NULL, omap_auxdata_lookup), OF_DEV_AUXDATA("ti,sysc", 0, NULL, &ti_sysc_pdata), OF_DEV_AUXDATA("pinctrl-single", 0, NULL, &pcs_pdata), OF_DEV_AUXDATA("ti,omap-prm-inst", 0, NULL, &ti_prm_pdata), -- 2.56.0