From patchwork Thu Aug 10 11:05:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hari Nagalla X-Patchwork-Id: 13349285 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 9AF5EC001E0 for ; Thu, 10 Aug 2023 11:06:30 +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:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=YjPLIXmTcoEXSMnycypePShtGJPNBS+MYMQeyHoeZHc=; b=kBxb731TqboPo7 a6mF6rwZt0FB53xqJEJbKShxB6eO4P5y2kC5kJX2QTTRgyqFA3NAP1XpAWqeSXBK5W1b81KDnrsi/ WtdtibnVu4kpIITC8NNEDJ3qHD2sP1mPyXmVNe3qREc6WULJ5SP/jkZTR53DYs6YbhXyG4EXMgClo EwSr+uar3DvX25pjocL9ztL1NXewjMhAG5EX/+H9+Jr9Nx9mg3nekU2BPmZ6sDjpQvgte5X75y1gK 4lMyGmHYqSOV7mFP+OMNwnweosdyKN94BTyIBakzbgbs5hihaIagEN1JTPSUrZRNMjvUm/zPRZDhk j97at+RysJC1LGo6yeTg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qU3UR-007KnP-1O; Thu, 10 Aug 2023 11:06:03 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qU3UO-007KmO-2W for linux-arm-kernel@lists.infradead.org; Thu, 10 Aug 2023 11:06:02 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 37AB5tO7088044; Thu, 10 Aug 2023 06:05:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1691665555; bh=PVflcmV5/EUDy1cuZfknvEy0uj9dMjDS8ydBn356VLo=; h=From:To:CC:Subject:Date; b=tKogjRQYsipTbS79UiNIQjJUS31SfM2UJb82yJj/qYkp85l610+udEwB3IDS557vZ 7aTK7bKU4UhYnMZDrTLI0jsSd7Pd9CFP7EVrGEpWJxQzu7BRwQqsagkOazFqB0Keq4 KMTrgUBm0iBLpYvgSORgaohirHc9qnp00nd1rD5I= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 37AB5t2W049300 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 10 Aug 2023 06:05:55 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 10 Aug 2023 06:05:55 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 10 Aug 2023 06:05:55 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 37AB5txa041652; Thu, 10 Aug 2023 06:05:55 -0500 From: Hari Nagalla To: , , , , , CC: , , , Subject: [PATCH] dt-bindings: remoteproc: k3-dsp: correct optional sram properties for AM62A SoCs Date: Thu, 10 Aug 2023 06:05:45 -0500 Message-ID: <20230810110545.11644-1-hnagalla@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230810_040600_917856_290A8958 X-CRM114-Status: GOOD ( 10.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The C7xv-dsp on AM62A have 32KB L1 I-cache and a 64KB L1 D-cache. It does not have an addressable l1dram . So, remove this optional sram property from the bindings to fix device tree build warnings. Also set the 'memory-regions' property as optional. This is because the remote processors can function without carveout regions. Signed-off-by: Hari Nagalla --- .../bindings/remoteproc/ti,k3-dsp-rproc.yaml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml index f16e90380df1..8dd22c57e22d 100644 --- a/Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml +++ b/Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml @@ -111,7 +111,6 @@ else: properties: compatible: enum: - - ti,am62a-c7xv-dsp - ti,j721e-c71-dsp - ti,j721s2-c71-dsp then: @@ -124,6 +123,20 @@ else: items: - const: l2sram - const: l1dram + else: + if: + properties: + compatible: + enum: + - ti,am62a-c7xv-dsp + then: + properties: + reg: + items: + - description: Address and Size of the L2 SRAM internal memory region + reg-names: + items: + - const: l2sram required: - compatible @@ -135,7 +148,6 @@ required: - resets - firmware-name - mboxes - - memory-region unevaluatedProperties: false