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 37FCAC27C55 for ; Mon, 10 Jun 2024 17:26:42 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject: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=GZ7Jw/tC1/cW3OA2Np0oWvUsjBqF5U8A6Xh4g+rg+oA=; b=bOiOy9bW/oORuE 48sKYbHrYTBnZU5z0b+bBMytYVaNxMCSCcay3nLm3JhICSeEWnsLmVEFFvtdqaPdUAt4ZmJMqzRZ2 zd8L2Kkq8cpyZRqCKgdJj72r6aGYXmB21qtlOVeSeRX2P1KhQfY5o5dgmgv3wPvU/uG+xKyJNUvJ/ a1woeWxPQVpN0np8X/MnPwGD8kFtgCToI1wksOhz5CBkUoi6y0AOobZBlVYIwhDzrrqoqpSq1jnWH TzxKF77rm8vU9R9LB37HO10ldUebEN4aQt6CaeYcwMhP8/P6vCQfhdo9Ms2Tm3t9BYxUasK8bNoai k0ZnIu3TwClK9kSvifTA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sGimp-00000005yRQ-1FZH; Mon, 10 Jun 2024 17:26:27 +0000 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sGimm-00000005yQX-422y for linux-arm-kernel@lists.infradead.org; Mon, 10 Jun 2024 17:26:26 +0000 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1f70509b811so11154585ad.1 for ; Mon, 10 Jun 2024 10:26:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718040383; x=1718645183; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=z/kTTkUUgstNH0kO/w/zYM9NQPPa4QuRLLbk/mR4trg=; b=oJtrzRMt3bV0ICS+yxMRSNZLp391Gr0Wke8f9nSBlwQVEH33xOn1vLB4y0Bv/usxd5 Qlj14iTrqrC9NrTBn4sgQEKBLwyYJNsY4TLmbpy/bFmZPTEkFvPZ861uG+b8A7L81FpN YlsYD7lHT0hC5X1y7A/47gaOOwAIZhYIUsPKLECFA281miY4usM2MPDCxEQwX4HO/6Hd 3SPO8hbjL2CyfWsc5nhJxzFUaEq73cvKOBNciugHqtOYDFef5i+VrLupDLolF48GnCZy kqyxApGLwY115z9oLwXtmTvAtjEtpWYtX1TBtbscQh++3u+wwtAhBOws5/ExbkDS/m15 a/0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718040383; x=1718645183; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=z/kTTkUUgstNH0kO/w/zYM9NQPPa4QuRLLbk/mR4trg=; b=xQYTB2fXX8mtk7FUFf7PhT3A6uLS0GiU6nfn8r2MkcTv6hnn3nQY2em1pQyiJ8NMb9 vbPubxfDcsvr1H9Jirj+e/Xg5Uz2wDlaPOUMn05+sfJDlZkaw71MIQyAj2lagv1xGhC4 NJnS475gOmHCYIQG4EEqtirnUvlKgrHkIbL3bLibxTYnsRCMTlDDzbOwgCBmn0FHqY1G y19Aj0kjvS72dhPQQCAQ46mPV4HWqAeCM84CpeX4J2/bQZRw9NfcF80L/ok3uIBkL7u+ M7GK7e/RZMf4kXf8y0tut+YN8Jn8y3KmYQOl+eymOF+T16QhrAayfyp7DdzR1upiblO/ 4yew== X-Forwarded-Encrypted: i=1; AJvYcCXkcQeaVN7UjrVpNNb/N9IiEv2H4uw+B14ZVL4FXs9L+OxGV2PzfA4/ZrrAX+jWQjMj4mMkDFkkWvXo1TMeK/khNDz+l7xVcXPYgY9wNvCzvBh2VHM= X-Gm-Message-State: AOJu0YzvG5ZYLsP5R3KwUDfF3gZQUeQKG4GAr20nugAdVG3Ga+fRTH9X dapw3jSwRL9CLt3YynsLCeivZz3h+68Lbz1stW//qnqYxD4/aEkM2UQ85+uUc/U= X-Google-Smtp-Source: AGHT+IH8YAOO/uT7J0A/QVv5pT52XllYU+TIkKyiNkH2Hu0YlR1K/R1KeIL1Bvd96mmeM9shiu/DVQ== X-Received: by 2002:a17:902:ec87:b0:1f7:234b:4f28 with SMTP id d9443c01a7336-1f7234b9815mr13600575ad.25.1718040383611; Mon, 10 Jun 2024 10:26:23 -0700 (PDT) Received: from p14s ([2604:3d09:148c:c800:9b34:fecc:a6c:e2bc]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c2f8fc6dd0sm3568404a91.22.2024.06.10.10.26.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 10:26:23 -0700 (PDT) Date: Mon, 10 Jun 2024 11:26:19 -0600 From: Mathieu Poirier To: Hari Nagalla Subject: Re: [PATCH v3] dt-bindings: remoteproc: k3-dsp: correct optional sram properties for AM62A SoCs Message-ID: References: <20240604171450.2455-1-hnagalla@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240604171450.2455-1-hnagalla@ti.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240610_102625_039248_89B7714A X-CRM114-Status: GOOD ( 18.01 ) 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: , Cc: devicetree@vger.kernel.org, conor+dt@kernel.org, devarsht@ti.com, andersson@kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Jun 04, 2024 at 12:14:50PM -0500, Hari Nagalla wrote: > 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. > > Signed-off-by: Hari Nagalla > --- > Changes in v3: > *) Use allOf keyword with separate ifs for each variant instead > of nested if/else conditions. > > v2: https://lore.kernel.org/all/20240530164816.1051-1-hnagalla@ti.com/ > > .../bindings/remoteproc/ti,k3-dsp-rproc.yaml | 89 +++++++++++-------- > 1 file changed, 51 insertions(+), 38 deletions(-) > Applied Thanks, Mathieu > diff --git a/Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml > index 9768db8663eb..b51bb863d759 100644 > --- a/Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml > +++ b/Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml > @@ -25,9 +25,6 @@ description: | > host processor (Arm CorePac) to perform the device management of the remote > processor and to communicate with the remote processor. > > -allOf: > - - $ref: /schemas/arm/keystone/ti,k3-sci-common.yaml# > - > properties: > compatible: > enum: > @@ -89,41 +86,57 @@ properties: > should be defined as per the generic bindings in, > Documentation/devicetree/bindings/sram/sram.yaml > > -if: > - properties: > - compatible: > - enum: > - - ti,j721e-c66-dsp > -then: > - properties: > - reg: > - items: > - - description: Address and Size of the L2 SRAM internal memory region > - - description: Address and Size of the L1 PRAM internal memory region > - - description: Address and Size of the L1 DRAM internal memory region > - reg-names: > - items: > - - const: l2sram > - - const: l1pram > - - const: l1dram > -else: > - if: > - properties: > - compatible: > - enum: > - - ti,am62a-c7xv-dsp > - - ti,j721e-c71-dsp > - - ti,j721s2-c71-dsp > - then: > - properties: > - reg: > - items: > - - description: Address and Size of the L2 SRAM internal memory region > - - description: Address and Size of the L1 DRAM internal memory region > - reg-names: > - items: > - - const: l2sram > - - const: l1dram > +allOf: > + - if: > + properties: > + compatible: > + enum: > + - ti,j721e-c66-dsp > + then: > + properties: > + reg: > + items: > + - description: Address and Size of the L2 SRAM internal memory region > + - description: Address and Size of the L1 PRAM internal memory region > + - description: Address and Size of the L1 DRAM internal memory region > + reg-names: > + items: > + - const: l2sram > + - const: l1pram > + - const: l1dram > + > + - if: > + properties: > + compatible: > + enum: > + - ti,j721e-c71-dsp > + - ti,j721s2-c71-dsp > + then: > + properties: > + reg: > + items: > + - description: Address and Size of the L2 SRAM internal memory region > + - description: Address and Size of the L1 DRAM internal memory region > + reg-names: > + items: > + - const: l2sram > + - const: l1dram > + > + - 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 > + > + - $ref: /schemas/arm/keystone/ti,k3-sci-common.yaml# > > required: > - compatible > -- > 2.34.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel