Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp301331lqh; Fri, 31 May 2024 01:30:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX2YsNJfUL8TygKkyKpmcopLYgnO1bhrDF92FWcBLoYAJihItVXyvMNMeOt2N6XXphk6yYAypT+yoCcuFkeNvbpV0HtUeqJe2mvcgJ7ng== X-Google-Smtp-Source: AGHT+IHELJTRx4p8NhvOURiy2Jine2zIpkAE3VQqsafqJr/jVdF4c4x6Mq1iRt2qQRigpgQ7XI1+ X-Received: by 2002:a50:9ea5:0:b0:57a:21aa:379f with SMTP id 4fb4d7f45d1cf-57a3647610amr681978a12.38.1717144231367; Fri, 31 May 2024 01:30:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717144231; cv=pass; d=google.com; s=arc-20160816; b=EPeO9G72rN7ZwTKV55CKFmn/H2R2doSAyX3wvNTDoUxz2hIaliVymxGIRBlQRN4af+ gTnq2IXIMpYYcABQoeuy+PypXjDO81QpISFgiXtEXvhuqSwpMGk0gtA7QG7XNRwfkOv4 uQ6ecBFSYJ6GzrXiMSK8rOqlKUj07nPvFFPgV54ho84Vl7BZzc3JTDcTPXGPSUMn4myF c75JnXk/DdV67WsTC8RcYUh+N2t58whrw1gg8mgC9rRbPXlePw9wNqaIwEBS7Ktt+yMf 5G77RPTUBtbQXzU/YU4oo+5oLTKw/PyqqjFshja79Q7sBce4APVnfTKsHm9WcvQRR3zu HNSw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=uekMz47pKS3vx9ijIAmITr9JeXRjL7yHxGIu+2L4LrM=; fh=nQ8uPhhuij0gZFb0JXSBAKGtFeRdFjGFnPvLFe9kG8I=; b=izxJv9k0i4dwaMxiS3Q0+sYLNj8vcz9ruWqJlk48U3yMr9dDkIoqdN6tXlzUveZo5d KhrtSRO4h3B0BcjO5J8m4m8nf7Aq5XinbCFv0pHalWhierQwFtw5nclZC2zWRpCVNWsv a9qV+tzre5LVMtGoeQggiMGMSh9tuISChnPaTynwI3MybzHrV9bOM1SwuTIe6Q2h+wtQ D7WJgohFedwb2vgN0AvPV9Em+f+YOEbsucK7n39WHTwOhsFSVWFjBTjypRfka02VdtMS +wN2Kr4zRDjSRoHd8MrH5q/zRI75hQUagZFr5gXuSUPM1aBF3he7pRQ+lhodAqfKokW2 62aA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Aqs2jdLH; 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-196463-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196463-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 4fb4d7f45d1cf-57a31c77782si722248a12.419.2024.05.31.01.30.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 01:30:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196463-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=Aqs2jdLH; 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-196463-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196463-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 5AFF01F2B627 for ; Fri, 31 May 2024 08:19:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D82278C91; Fri, 31 May 2024 08:19:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Aqs2jdLH" Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (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 D903733993 for ; Fri, 31 May 2024 08:19:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717143559; cv=none; b=DhGTBAsE6qKy3C3zE9X9XInQpVyJBadrOrK26wmjlpQr57gKves3DVfjKySBLhHcQcNYIiz3G7kPzPICMxqLrcuParHGkjZeOtZnFg/dTnFoMHt/1s5Wf+7ZNVys/xB7v9sS9pB1D33qIPdWi33KhSPS9SeJ432ideUkF5bJ9WI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717143559; c=relaxed/simple; bh=/1LErDsp0dac+5zXSqBZN4+xwJ3at4BsPOQIvMtW9+s=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=UwUMOR2EABBRY2OWr7sDY/Xl3plX7unnF7fjvPlwJQiWwased2EJkBfedssEFNw2gR1cgU2GLdi9EeeuiSa2BFSlM4HgTJ31FVk3/If4IQG99kPvnL64ki3dRkkfgbohN9Yj2TRN1+gT09TJX/xMYguq2QUI0DZY1YoTJ27aZQE= 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=Aqs2jdLH; arc=none smtp.client-ip=209.85.221.41 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-wr1-f41.google.com with SMTP id ffacd0b85a97d-35dcc681f70so632939f8f.0 for ; Fri, 31 May 2024 01:19:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717143556; x=1717748356; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=uekMz47pKS3vx9ijIAmITr9JeXRjL7yHxGIu+2L4LrM=; b=Aqs2jdLHYajOdB7MIaAdalyhJ0hSQEExOTMiOpzA3UmDQgkN1owVxJveNEA98KvcZ/ hx3CueJLyMW0S+hOhGgMEQ5c1JSMXAfksHmuNxv4Zhtw5cVl4C9wi7buKFdig/eaX6Fg R7O4uZGLn5TSARtRYVjBrtdtkqhIcUp3amg63F/ue57U3tHny1F0IvjdhSEYg1wTD8rm 9Qo0uoTWuC819WLGmfUKovaOXLjieTvVeQV0f+2VMlJcmA80dBrARIWogsL0aCGr5ey1 kLrDeeWoDdnmEnQKQdtbkAXTaLGSbhKJeC94BItTbDXZQZx7xrXfRPSofSKZKk9CkUmK tXmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717143556; x=1717748356; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=uekMz47pKS3vx9ijIAmITr9JeXRjL7yHxGIu+2L4LrM=; b=gWGXPf/voI6NOlvlx7iH8P2GBoymolHsBvTM2nkXsPINgjbreCD9wwEKG0hZzvpgd8 0B3NI1rdL1buN5OV1CXRIjeXtFqy+/Ruzbgf5v5fUcPotVmi7Yc4H90B+KKDl8qwTSsJ mu7675YhRyPkn/OX7AOXaJetkhy6BlZMlH1h93sTvQ1Y9F7M3B3vbwtGufxpOj1xO+c+ DbE9eQwaMYiRjWc1ZiyY+VIhf2CksGZyiiF4MRk94pO9L1kUTQAk5vjjPeiYYpAE4F8E LCTAiDzRgKbYgMrw6+MfZjmHynjnEZFUPYsQ8jXvC04c/tPiXv28JF8yZ1P6R6JZOsBK Yqrg== X-Forwarded-Encrypted: i=1; AJvYcCWRzbjW2c4zXyXJhx3eG6t0EjN5SYM6hUyI9YZyjQ1bB1Myke1MwEDqx8JlaV7XciGTGBPr9hsyn6OoT/mo2DzZLEh/aZC0H57Aeppi X-Gm-Message-State: AOJu0Yz++bIn5U3quCKRIutohZaQqo8AUG1n3jYLleZPOWOIPnquEAbP Zn6UBx7Slh1fyZGHfgFiAZY8Y7cQc86APXWLHyrxMGHjx8YjRLFIhnsEGAA8SgE= X-Received: by 2002:adf:f704:0:b0:354:f984:3b83 with SMTP id ffacd0b85a97d-35e0f33e90cmr696625f8f.63.1717143556304; Fri, 31 May 2024 01:19:16 -0700 (PDT) Received: from [192.168.2.24] ([110.93.11.116]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35dd04c0f57sm1303386f8f.12.2024.05.31.01.19.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 31 May 2024 01:19:15 -0700 (PDT) Message-ID: Date: Fri, 31 May 2024 10:19:14 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] dt-bindings: remoteproc: k3-dsp: correct optional sram properties for AM62A SoCs To: Hari Nagalla , andersson@kernel.org, mathieu.poirier@linaro.org, robh+dt@kernel.org, devarsht@ti.com, s-anna@ti.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org References: <20240530164816.1051-1-hnagalla@ti.com> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf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U EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240530164816.1051-1-hnagalla@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 30/05/2024 18:48, 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 from v1 to v2: > *) Kept back memory-regions property, as it is unrelated to this patch > correcting the sram property for AM62A C7xv-dsp nodes. > > DT binding check log: > https://paste.sr.ht/~hnagalla/cb26237560a572a17c0874b687353e00b400285a > > v1: https://lore.kernel.org/all/20230810110545.11644-1-hnagalla@ti.com/ > > .../bindings/remoteproc/ti,k3-dsp-rproc.yaml | 15 ++++++++++++++- > 1 file changed, 14 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.yaml > index 9768db8663eb..771cfceb5458 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: Please use allOf (move top one to bottom) and define separate ifs for each variant instead of nesting them. Best regards, Krzysztof