From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 E56333126A7; Wed, 15 Oct 2025 07:17:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760512628; cv=none; b=YIJAMQ3QR+WCbxbjcVWwED4SP0EqmgG9gLG5l/AxrrREnL3XkJFpLLH6W8vREfgFqjfV18bG3UkJLrMQuxH5EmSppEwsSALPQsp8gRhbF4jTuBxQ7ns4AfrvWTNp0rw3Si/FFagf6LPzUjW6S+Qlr0b7WmscPpsgIr5ehTWwLR4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760512628; c=relaxed/simple; bh=c59SNoKAf2jx0YBepzA6trFAjeOhj3WeCNa2+9Ie0eM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=m6Y1KREYkQZng+wheZUC4Cn8zL5LyNBI96BoWMaXnq+zJcfGhDCIx09m+DYo6wfbZbW1poooi4/qjSMBvrobZMmW+AfRpTUT7jLv9kVky60kRRvNsdGAdUjDAhRtoV7fGxk3ZtwWuLg+VQS1u8tbBCh0WrLpqc+yQ/YeudHJAgU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=mYeoej46; arc=none smtp.client-ip=185.246.85.4 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.b="mYeoej46" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 6102B4E410C3; Wed, 15 Oct 2025 07:17:05 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 330C9606F9; Wed, 15 Oct 2025 07:17:05 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 559FC102F22BB; Wed, 15 Oct 2025 09:16:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1760512621; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=fHuXl7R1JDrl2sFImq8rQjfFvo0Z+fh79Pfu/rIAZ88=; b=mYeoej46keYmE1YmeIcFkBPZxlMzp9eUgBkwIor+3ZWopE2KNgfIpzmqgOftiOTCyUMPhC 8bPQqn9hpl0fJrJd0YLxhTgUjsg17A1UQlSFzQuAqPq8+BIfyTODPeVxIOEOF6RkpAbJnz +fn+4pXprFr+3uf37l5mkJSACU42hxbP+fzfHEFJaMj4wl3z1YLr5uTE1Leo1RrI6e3q7d uDawIcq8rVhumm1O1YEx7hbFBEMVnuGybd81f6bOFMENGzHxMivmR+oVAjB3ldd5RCvF9E vqNgz2a/H2eMQSRYp+iY4wrh8VSiDs+vmIh62xoQ2T6qq0ehw2WK0fC35g/MwQ== From: Herve Codina To: Andrew Lunn , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Greg Kroah-Hartman , "Rafael J. Wysocki" , Danilo Krummrich , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Michael Turquette , Stephen Boyd , Andi Shyti , Wolfram Sang , Peter Rosin , Arnd Bergmann , Herve Codina , Saravana Kannan , Bjorn Helgaas , Charles Keepax , Richard Fitzgerald , David Rhodes , Linus Walleij , Ulf Hansson , Mark Brown , Andy Shevchenko , Daniel Scally , Heikki Krogerus , Sakari Ailus , Len Brown , Davidlohr Bueso , Jonathan Cameron , Dave Jiang , Alison Schofield , Vishal Verma , Ira Weiny , Dan Williams , Geert Uytterhoeven Cc: Wolfram Sang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-i2c@vger.kernel.org, linux-pci@vger.kernel.org, linux-sound@vger.kernel.org, patches@opensource.cirrus.com, linux-gpio@vger.kernel.org, linux-pm@vger.kernel.org, linux-spi@vger.kernel.org, linux-acpi@vger.kernel.org, linux-cxl@vger.kernel.org, Allan Nielsen , Horatiu Vultur , Steen Hegelund , Luca Ceresoli , Thomas Petazzoni Subject: [PATCH v4 05/29] dt-bindings: bus: Add simple-platform-bus Date: Wed, 15 Oct 2025 09:13:52 +0200 Message-ID: <20251015071420.1173068-6-herve.codina@bootlin.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251015071420.1173068-1-herve.codina@bootlin.com> References: <20251015071420.1173068-1-herve.codina@bootlin.com> Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 A Simple Platform Bus is a transparent bus that doesn't need a specific driver to perform operations at bus level. Similar to simple-bus, a Simple Platform Bus allows to automatically instantiate devices connected to this bus. Those devices are instantiated only by the Simple Platform Bus probe function itself. Signed-off-by: Herve Codina --- .../bindings/bus/simple-platform-bus.yaml | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/bus/simple-platform-bus.yaml diff --git a/Documentation/devicetree/bindings/bus/simple-platform-bus.yaml b/Documentation/devicetree/bindings/bus/simple-platform-bus.yaml new file mode 100644 index 000000000000..47f0b4e13c2f --- /dev/null +++ b/Documentation/devicetree/bindings/bus/simple-platform-bus.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bus/simple-platform-bus.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Simple Platform Bus + +maintainers: + - Herve Codina + +description: | + A Simple Platform Bus is a transparent bus that doesn't need a specific + driver to perform operations at bus level. + + Similar to simple-bus, a Simple Platform Bus allows to automatically + instantiate devices connected to this bus. Those devices are instantiated + only by the Simple Platform Bus probe function itself. + +properties: + $nodename: + pattern: "^bus(@[0-9a-f]+)?$" + + compatible: + const: simple-platform-bus + + '#address-cells': + enum: [ 1, 2 ] + + '#size-cells': + enum: [ 1, 2 ] + + ranges: true + +required: + - compatible + - '#address-cells' + - '#size-cells' + +additionalProperties: false + +examples: + - | + + bus { + compatible = "simple-platform-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + }; -- 2.51.0