Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp544172rwl; Wed, 9 Aug 2023 19:58:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFxdwB2dURGenKeVF/g+eocUk0+aAS9xVb2rxxklpnU31uknTWy4GFRqnTgPrSpE9kwWryA X-Received: by 2002:a17:90a:f291:b0:268:6339:318 with SMTP id fs17-20020a17090af29100b0026863390318mr985826pjb.30.1691636306991; Wed, 09 Aug 2023 19:58:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691636306; cv=none; d=google.com; s=arc-20160816; b=fYaBQIorYzJKnrbiZMNMWAYYHeqh4bNg5tACl3+A9kx2urOtrtnGVgiYZUSqsSnv8f fyEZNNieh/elVJnZ0HEh+RFmbEc+XnPVL+cyA9rMi73/rmuHUekEPymAAS/tCrYyPnpD PJTUnx5aIGEc7m/vqsasYbfyeKEe/pjIkPPsmZRi06chjWqnETDjn0IfRcKGVBt9Y4rR UpGq8wvr8B5dCmDpGvQ0brovX1RflCYzsUaOLyaUzjtDbXnSx3r1CL2I3gpy0NitFHC8 5X3IwkhNevGNvU5/ZItbkg+tgR+EB5z3ST8ZYCCRQMnQG8iFPtJC1B17izqDRDkyOxBJ pBZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=rJ1sKVG1Ox9z+jBJFizjGnLx/clE2nXAoqEkNrD60Rg=; fh=wS5k+JeFfgu5NpFQlFZZaf58TkOiEiu0DO1LsfaWBqU=; b=O7XzOURLZigkWuE6suXsNMW2/lBd4+D0nB7AJ/j20qXR5bvv0BkP6X2NQEh4JuRCyS bENINvy5Bw6+YrzRdho7i/DLGLR7n4QBzzo7TbSC9Fo88SBJJcDHZeeGguIsPSTqZKIq RJLCcIUSX5Yaol2Xs/SqeKINRJqw0f/hP3t9qtKr7alRQdJtR0x2hxsw1CnLlzsWlTWW +P/XvOHSfQ0ByP5PHLj4GdkzR5Fma16z77odyWpP0TH1rI2Zoyotw/D4WnTvJTKP1ATi lxTzCuJqh2XwGGBIUT0XYfteFy8+IezVxMW9hyxDN+VBs+GNWko4pGkVtX6DiE7Dmr0x 4/2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=WWSIo7tE; 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 v16-20020a17090a899000b002691e035572si2671179pjn.17.2023.08.09.19.58.14; Wed, 09 Aug 2023 19:58:26 -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=WWSIo7tE; 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 S230497AbjHJA7B (ORCPT + 99 others); Wed, 9 Aug 2023 20:59:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229776AbjHJA7A (ORCPT ); Wed, 9 Aug 2023 20:59:00 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 612A61994; Wed, 9 Aug 2023 17:59:00 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 37A0wsDD009455; Wed, 9 Aug 2023 19:58:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1691629134; bh=rJ1sKVG1Ox9z+jBJFizjGnLx/clE2nXAoqEkNrD60Rg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=WWSIo7tEnIuOTnWV2OfOZ1WSXZIGF0JGrnrchZUshD9MIP+TgFijMJqYKI9tCjQPH YRZNMlkJYGUShAuuaubTth766dFzwC97mhEvLv92FVgED70KfLhaAlXmrkTIA/NF1w fNZS0wYbOjd/5N5hfB/C/xveL07/1vTWRzqHjP2w= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 37A0wsJ4072661 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 9 Aug 2023 19:58:54 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 9 Aug 2023 19:58:53 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE113.ent.ti.com (157.170.170.24) 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; Wed, 9 Aug 2023 19:58:53 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 37A0wr2F030688; Wed, 9 Aug 2023 19:58:53 -0500 From: Hari Nagalla To: , , , , , CC: , , Subject: [PATCH v2 1/5] dt-bindings: remoteproc: k3-dsp: correct optional sram properties for AM62A SoCs Date: Wed, 9 Aug 2023 19:58:46 -0500 Message-ID: <20230810005850.21998-2-hnagalla@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230810005850.21998-1-hnagalla@ti.com> References: <20230810005850.21998-1-hnagalla@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 --- Changes since v1: - Corrected dsp node binding doc file to fix yamllint warnings for am62a. .../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