From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8A01BC7EE2A for ; Wed, 25 Jun 2025 20:35:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4S/a0HuRk3Pc/QrTRjScWjvt8N3aw9CW/Dm9jxiXli0=; b=x+pFFb4tZwflIe lbENZcCiyoJupZ7KfJrEWW2mtMoi0vqog1XAB6+Hc2Rr+igqktFYM7skgicmOSMAXu2szhrAHxfiY xq70BdMyw2EfNk8p/KYI1u7G9LaQKKJ5sDC9ou1CycLrM7fuPVOp+wXk+qt+oWohahhY1stn2Vtrl g3+c/MqmkzROeD7SkmQLhUEeGlPpOemS3KfJNif82cK4qxl6g2hED1lFwsfRJxZqKnwhqh02Ke2bZ JzE55Re7PG8CDUQqdrlNzTjeYXMLE1p+ZD0wKMUlr1zOHMvFJUENscget/KG9fhNfLUY1hDhxWIe3 tSbt4vtEDxOizYbUOCnA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uUWqJ-00000009s1o-0uYX; Wed, 25 Jun 2025 20:35:39 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uUVbT-00000009j8F-0fsf for linux-riscv@lists.infradead.org; Wed, 25 Jun 2025 19:16:15 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 5299661151; Wed, 25 Jun 2025 19:16:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D58DBC4CEEA; Wed, 25 Jun 2025 19:16:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1750878974; bh=3xx8v1UwfRqi0ZG+i5McWZ2XEzZuimQytzqJT5SglHc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ll2ev9x+mDm8fPwuaepM18THd82jsyPWzG1/HqjPrZGqYpAzaSSUdOof59nOSs7rO 2u3wLcOS0vbFia4CRWStDdB+amoW4c7rRUfueX91+SbCUNc5BdtdepjG4dus7voYR+ HtwGuwjRm+c2GtlaamNxkd819845Wo0pT0gRxPhoOsosCJGyVKqBLrVB/SlLHZQKI0 32owTpKRMV7oaDrPeMCMSBy95Or3G9HSoVih9qazQ4LZpKfwnHCUVJytV4JgCF/xvd b5Gk1VBplToldZh8xhEKFCiO7EcenEo2YdWqXI53zv4pOOvUPJf1uC2LXHbqXCUMAq IaV6JW0gJ6bTA== Date: Wed, 25 Jun 2025 14:16:13 -0500 From: Rob Herring To: Junhui Liu Cc: Bjorn Andersson , Mathieu Poirier , Krzysztof Kozlowski , Conor Dooley , Chen Wang , Inochi Amaoto , Philipp Zabel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, sophgo@lists.linux.dev, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH 1/2] dt-bindings: remoteproc: Add C906L rproc for Sophgo CV1800B SoC Message-ID: <20250625191613.GA2059062-robh@kernel.org> References: <20250608-cv1800-rproc-v1-0-57cf66cdf6a3@pigmoral.tech> <20250608-cv1800-rproc-v1-1-57cf66cdf6a3@pigmoral.tech> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20250608-cv1800-rproc-v1-1-57cf66cdf6a3@pigmoral.tech> X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Sun, Jun 08, 2025 at 10:37:39AM +0800, Junhui Liu wrote: > Add C906L remote processor for CV1800B SoC, which is an asymmetric > processor typically running RTOS. > > Signed-off-by: Junhui Liu > --- > .../bindings/remoteproc/sophgo,cv1800b-c906l.yaml | 68 ++++++++++++++++++++++ > 1 file changed, 68 insertions(+) > > diff --git a/Documentation/devicetree/bindings/remoteproc/sophgo,cv1800b-c906l.yaml b/Documentation/devicetree/bindings/remoteproc/sophgo,cv1800b-c906l.yaml > new file mode 100644 > index 0000000000000000000000000000000000000000..455e957dec01c16424c49ebe5ef451883b0c3d4a > --- /dev/null > +++ b/Documentation/devicetree/bindings/remoteproc/sophgo,cv1800b-c906l.yaml > @@ -0,0 +1,68 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/remoteproc/sophgo,cv1800b-c906l.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Sophgo C906L remote processor controller for CV1800B SoC > + > +maintainers: > + - Junhui Liu > + > +description: > + Document the bindings for the C906L remoteproc component that loads and boots > + firmwares on the CV1800B SoC. > + > +properties: > + compatible: > + const: sophgo,cv1800b-c906l > + > + firmware-name: > + $ref: /schemas/types.yaml#/definitions/string Already has a type. You just need 'maxItems: 1'. > + description: > + The name of the firmware file to load for this remote processor, relative > + to the firmware search path (typically /lib/firmware/). That's the same for every 'firmware-name' instance. So drop. Is there a default name? > + > + memory-region: maxItems: 1 > + description: > + Phandle to a reserved memory region that is used to load the firmware for > + this remote processor. The remote processor will use this memory region > + as its execution memory. > + > + resets: > + maxItems: 1 > + > + sophgo,syscon: > + $ref: /schemas/types.yaml#/definitions/phandle > + description: > + A phandle to the SEC_SYS region, used for configuration of the remote processor. > + > +required: > + - compatible > + - firmware-name > + - memory-region > + - resets > + - sophgo,syscon > + > +additionalProperties: false > + > +examples: > + - | > + reserved-memory { > + #address-cells = <1>; > + #size-cells = <1>; > + ranges; > + > + c906l_mem: region@83f40000 { > + reg = <0x83f40000 0xc0000>; > + no-map; > + }; > + }; Drop. No need to show how /reserved-memory works here. > + > + c906l-rproc { > + compatible = "sophgo,cv1800b-c906l"; > + firmware-name = "c906l-firmware.elf"; > + memory-region = <&c906l_mem>; > + resets = <&rst 294>; > + sophgo,syscon = <&sec_sys>; > + }; > > -- > 2.49.0 > _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv