Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp1031522rwl; Thu, 10 Aug 2023 05:36:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE2XLmNIktsVhU+5UT2JrNVM5ksqC08QaqDi/edO3hHEuIyc66CMsxOSdqzVoc4KFjhjjjC X-Received: by 2002:a05:6402:2050:b0:523:2816:773b with SMTP id bc16-20020a056402205000b005232816773bmr2187706edb.20.1691670993927; Thu, 10 Aug 2023 05:36:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691670993; cv=none; d=google.com; s=arc-20160816; b=xArUGZxrAeX1pyEbzwYLZjEe6tFgo4IloMG+Vs47Z9kv4ccDZpomdj4u9yylXkkPnu Aq4MCikBA0VUQ2gAjDecKXMnG/6e8XHe/PoyZBl/LIpFQwZSbIlqyyjMJvY70VjWvfhi LrQu13Zb+EayBtktEPuIkf6MP/R5xNx3qRQs+J9CSH118+19gF0MqtXBdc5OoCaV+bPh ZeAqpBqd5huTjrImzPDe1KeXH8Uhrn71QEzqVWuCTbtxBeOWlVxkBrgJRMClmGL2Qte1 Qu1t4u8aIc3BZ7uT+Jt0GdWh3sAoVio8CcxBkd8oxkxaq0C6phOeEFiFxfIStvGJPxsL Lnlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=PVflcmV5/EUDy1cuZfknvEy0uj9dMjDS8ydBn356VLo=; fh=yzH/hg3cdHM+UOJUlsjTV5kWWG6m0zkmyJ+4gtgLGcY=; b=uwmHTtu9qMG1Q41dDXso+q+NWdX7qJDVzYtsCy13YZ0a3H5MBqgCj5EQn5ibejubga q7bDlst990dkfIq5xVGZXKtgoTxZML+oS9JNWqKGX2d5S5gIOv7Zy6Rls/cQlJTzHdRP QHv7PLMM90KEhJ9Kt4BJu8Lm4DRFK9Kp2LRabBcNtq5ZYJIjZVLvbwpe6F9VPYTpOCGr ZjE2l8t1dCLMr4SytmIxd5mcJjGN++vmSPTNNBwOHqiKfD/z5x6m1gpcc/LwdB9dHzuJ HrcXDE+jE17VTNB+xHM7CdsyX88X8kFt8hCnD+Y369T53is1ocKCQ5bjxQhegPMaosU+ mdiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=tKogjRQY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y8-20020a056402134800b005227524ed19si1345231edw.513.2023.08.10.05.36.06; Thu, 10 Aug 2023 05:36:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=tKogjRQY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232999AbjHJLGL (ORCPT + 99 others); Thu, 10 Aug 2023 07:06:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233466AbjHJLGF (ORCPT ); Thu, 10 Aug 2023 07:06:05 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D67D1211B; Thu, 10 Aug 2023 04:06:02 -0700 (PDT) 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 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 -- 2.34.1