From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D24AD3368B2; Tue, 7 Apr 2026 19:44:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775591091; cv=none; b=VeC38H75dT4Q0t2YrMuynnbFrLB6Fb2lC42a0Gv6OkKnz3X2ogdd8vKv3fSS+NETdp13xD1MfWDoM1PSfxiKGXvzSF51HO8LrruNHqeqbOgmR9lLre75TNmiwg8V1rujNHH5v2MkDweCRYN9csxWa4HUtbnLuAd6Pv00Xx4f8Uo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775591091; c=relaxed/simple; bh=SKAFaaFdKuQzJeQHb501QmOdWc9hK4UYaByCoM39Rhg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GQbQE31gefKmJnYw3iCAaGh1202JepkuJfp3k1HuSkrTX39gc5wYa6awHEDq7gur4iZjmpKVX6NVVngyLHP5naAusnpdkfjtQN7/2rs2Otaj4Y5XBlyHU+5WcDe7ZU7Ff4oQpmQoCYBPQWPf2izdORTBOkSYRxR7wCPq/IiAl6U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=V9VEnleF; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="V9VEnleF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40DB2C116C6; Tue, 7 Apr 2026 19:44:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1775591091; bh=SKAFaaFdKuQzJeQHb501QmOdWc9hK4UYaByCoM39Rhg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=V9VEnleFDFq0gSwXG9RGpKwBchSL6GpLomnphcGlzmy+7t7OLI5cDCnZ8tIaWPQU5 Ba3JRzDfE77sCyRKU8VGymk/VSlgFjqKXPjnOOF6Uq5AXWPqqFQ7bYxTUpupW9gt0j sUY+uQ3vweKZ59R71VE7FCDxiOSSRcQlDmnOWriD9RhOv4ENDv5k9Q+NVsYeGJuLhF jYTY4u3VcZXRqly8sjy2/TrfEck3kFYZC4vJWDcyNcoU3rF4FXU33HRDEwYUwrNZix APnoTItamTPtt7Bnq4ooof5aYTqRC49UWDc5eUXDMWVjzOfmSmX8lUh2PCCkOuxqIA vO7M4SXURJ3rA== Date: Tue, 7 Apr 2026 14:44:49 -0500 From: Rob Herring To: "Miquel Raynal (Schneider Electric)" Cc: Michael Turquette , Stephen Boyd , Krzysztof Kozlowski , Conor Dooley , Thomas Gleixner , Olivia Mackall , Herbert Xu , Jayesh Choudhary , "David S. Miller" , Christian Marangi , Antoine Tenart , Geert Uytterhoeven , Magnus Damm , Thomas Petazzoni , Pascal EBERHARD , Wolfram Sang , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH 05/16] dt-bindings: bus: eip150: Describe the EIP-150 container node Message-ID: <20260407194449.GA3542959-robh@kernel.org> References: <20260327-schneider-v7-0-rc1-crypto-v1-0-5e6ff7853994@bootlin.com> <20260327-schneider-v7-0-rc1-crypto-v1-5-5e6ff7853994@bootlin.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260327-schneider-v7-0-rc1-crypto-v1-5-5e6ff7853994@bootlin.com> On Fri, Mar 27, 2026 at 09:09:27PM +0100, Miquel Raynal (Schneider Electric) wrote: > Part of Inside-Secure's SafeXcel family, the EIP-150 is some kind of > container node composed of: > - a public key accelerator, > - random number generator, > - an interrupt controller. > > It also acts as proxy for the clocks. > > Signed-off-by: Miquel Raynal (Schneider Electric) > --- > .../bus/inside-secure,safexcel-eip150.yaml | 58 ++++++++++++++++++++++ > 1 file changed, 58 insertions(+) > > diff --git a/Documentation/devicetree/bindings/bus/inside-secure,safexcel-eip150.yaml b/Documentation/devicetree/bindings/bus/inside-secure,safexcel-eip150.yaml > new file mode 100644 > index 000000000000..1b3d83a852f5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/bus/inside-secure,safexcel-eip150.yaml > @@ -0,0 +1,58 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/bus/inside-secure,safexcel-eip150.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Inside-Secure SafeXcel EIP-150 container > + > +maintainers: > + - Miquel Raynal > + > +description: > + The EIP-150 is a hardware container, it has its own interrupt > + controller inside to which a random number generator and a public key > + accelerator are wired. > + > +allOf: > + - $ref: simple-pm-bus.yaml# > + - $ref: /schemas/clock/clock-nexus-node.yaml# Generally, if a schema has 'select: true', you don't reference it as it has already been applied. And you have to list the properties here anyways because you need to define how many #clock-cells for example. > + > +properties: > + compatible: > + items: > + - const: inside-secure,safexcel-eip150 > + - {} # simple-pm-bus, but not listed here to avoid false select > + > + clocks: > + minItems: 1 Seems to me you are adding this to satisfy simple-pm-bus. Maybe this should just be simple-bus? > + > + "#address-cells": > + const: 1 > + > + "#size-cells": > + const: 1 > + > + ranges: true > + > +patternProperties: > + "^interrupt-controller@[0-9a-f]+$": > + type: object > + $ref: /schemas/interrupt-controller/inside-secure,safexcel-eip201.yaml# Better to just list a compatible you require. Like this, the schema is applied twice. > + > + "^rng@[0-9a-f]+$": > + type: object > + $ref: /schemas/rng/inside-secure,safexcel-eip76.yaml# > + > + "^crypto@[0-9a-f]+$": > + type: object > + $ref: /schemas/crypto/inside-secure,safexcel-eip28.yaml# > + > +required: > + - compatible > + - clocks > + - "#address-cells" > + - "#size-cells" > + - ranges The bus schema requires all these already. Rob