Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp508124lqp; Mon, 10 Jun 2024 10:26:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXb5cdCpSt0fPCQhM0UCKvOSbLoSYWP7wcOlgGs0wHgT0EbIL+3WnA5IvmM2OBW1UXLgN12IWLaA+6b1Furw0Wkct4B6/jekezv0XEt1w== X-Google-Smtp-Source: AGHT+IG34O9p71LmRJuffat6/h8MQQqNqyxkdd4PzRGZJzYrVU4NnQgepRS6l5gZ2tVVjFc0Nyc5 X-Received: by 2002:a05:6512:1313:b0:52b:bd50:baed with SMTP id 2adb3069b0e04-52bbd50bb20mr8847224e87.61.1718040398400; Mon, 10 Jun 2024 10:26:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718040398; cv=pass; d=google.com; s=arc-20160816; b=yNn6LntLMkZChiehNn3J934atSD51jcRFpCGIyFGcLPY8XQ0n00+DJ+tUf87JRqE+s Hl+vBNNjg46C77LxGwxtiEe6DF2OCB92zZGsLD+1a0NVOqda5fP2R4Tfxy2exnl/6Lkw l8fZp7MTbwXWgmkW6Gs2pQxw52ZDUNYP9yHiucVABPwGB5zI1V0W2gPw2p6vuBbpb2O5 fL0rhbTf46vi3nBTkO2jgxWJ5jMCV78k2eMMLxK+VKbDQE9Ws4Q9u7hVhzvj+9zw+7UF iWDKKKI2xW1ggYzj6fLATU50OW3My9iRkpz69gtAgO+Ox0P1kpNAkSEf6M7YHfakjG07 Yt0Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=z/kTTkUUgstNH0kO/w/zYM9NQPPa4QuRLLbk/mR4trg=; fh=oTvVcZPrTCVXDAaALUYY3IkKIN2K7AF9QpozVagjUco=; b=cjQOEtiP7Afojvx8jt4rDdVZnhyxQ9CQ8WryVsOt+lbBIQ9iS32r8/q/56aInr+sv1 EEARqKP0kR4CIFSOl/GsQoXaUdTCB8z9anXVjfNk5wahkBC32B11AZ1GXaxHd8xxuTmE C2oESLn8k2oC+TBHAemmTGgR73qdulFhc8ufJkAeqRQuGvRwa4JjrkNWNRzw3qUU56E2 KnTVnc+s6oNae/XIwEinztePc86XiYfH1/eKfv0OAshqTInNjICgM+CzVPgF85Cyurvo tVOoQShICMZIA71kC4RHadk2JvWLD3Ms/e6T7kwXHFxQabna3/oYe1HCGk4biNznG7Bc 2CIQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qlUCcM8P; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-208649-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208649-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6f131fa912si191136166b.806.2024.06.10.10.26.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 10:26:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208649-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qlUCcM8P; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-208649-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208649-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E05841F22A80 for ; Mon, 10 Jun 2024 17:26:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 66617147C8A; Mon, 10 Jun 2024 17:26:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="qlUCcM8P" Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40DEC14601E for ; Mon, 10 Jun 2024 17:26:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718040386; cv=none; b=Yh8nQJZQlsXor7Pe4YketIwS2chK2RHfTXb9v+74llG5hW4e6nsQ4C3fp4/TwN/v58FQ5ZlITo51NeyLfViaIZqHmhgG7RX1cIp6pyWx6VdUq2h9fLmlHBHAEDY56dcAMvh1AReFTLY3RWRD0cZxapPpVmbdnXhZtp7Ueeu4Ous= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718040386; c=relaxed/simple; bh=Q/MZThhTl0D4X3vzKFJNi7/NHlOmG0Lu7+ra8XkSC8M=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Od/5W+jo1Bxao0ct8mTdtUi7vd3FLd1vT/9Tci/fKQea2KE3EXvCjEc5C8aJuqU1AjsgbkGFyAdBlFeHCHv1l0Mu19fCk+g1YCK8BHtUFTa+ZqNYVvP6oaDeoUFtR1xp2bikaKmHKzOzlzktu2vhSWF68jOrAzUKw9HOwpiKrJw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=qlUCcM8P; arc=none smtp.client-ip=209.85.214.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1f70c457823so8752595ad.3 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=vger.kernel.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=qlUCcM8PZqanmM5+PHgvuW/bmNqqHiiv5Eel9/9v5McLAdeBqxcVEAY/hzLEOLmsKJ JtdPGLRxa69c+FHGAB3U+64ZIJZMnvCAV0UOFWm6m+k9/pemCSHvAbLUbilmJo0zKP2N nVqacfecU75kSSV9NSPcBGjladRxTeczkXwbwBaK0w4Yn6ndu64GnaAq2ike9n+vN9+6 Z/WaAxuBth6/s1LQEjKFAjXmH+kviynTB6MbPD9J0Bq+8OLYWVPB+oYgGD6yv5YzSIwC apAEeRhXVQv+H3bEu0Hud4ON4SM54mt4z2h2ozJjy96AOFZeJmIkWc66MI2yjUzm4Mvc rCFQ== 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=FiP5TzzatnGr55B+iILvVOHEZ6ebSErBy1Dywjj9IbsarYS/7m/CkeKggIAuPf3aaI aYG4elGgmeLMMoY1tmL153bCZkZbUSVW/pVFmuS57VqiHi56qgwj+/WWM3WNR89o3OF9 0uSGZ9qIAEU8zblpwPag/gnyJiq+Qzgsik3R029KvWqDK+TJmM2TzbkX1E4mSuY5baIq wml9N9EkQU73Xp7TWBDd4BasaeWAm2k1gLPs4nstjhkSS+CjeTOP3DEXzfrIY+qaL3ul N+PJZNk90gswuwpOaSpaxL6iJGLVfOSxpcea2cdzLEpvEKLYIAjyZKiDxjaicP5hm/Nv IwoQ== X-Forwarded-Encrypted: i=1; AJvYcCWBGP21LPM43iRyCCtBADlHGEq4yzewDzEvRmzlx9bme5/lwp5WdD6LyBujisuWah6yidehH4p7l6pDIEKPi/9JpJ1UahvNbIqrMN1M X-Gm-Message-State: AOJu0Yz8qZVCSlO8TvSnr4aESAKhywtDYGKroFRwuA+8KQXFtMkV1qEu VmpkOI+SGzZJY3w0vKpThJOnNpm5Eqc21bm7brmXda/FxiadqG4gM4K0h2pHMBA= 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 Cc: andersson@kernel.org, robh+dt@kernel.org, devarsht@ti.com, s-anna@ti.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240604171450.2455-1-hnagalla@ti.com> 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 >