Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1351790lqt; Wed, 20 Mar 2024 00:41:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVDZJTyBiOzAYeb4Zjke1TCCedPVnH1Yq6OZbGQa5V1kKRrXUGZBcI1DT1kKLkO/QhBKtWc0R6xYvUEnEf65hr0JPKdN43DRXtM80CVJA== X-Google-Smtp-Source: AGHT+IEkDkMCZ9xPzsTPPFwrvCesPgmMggqSi0lFF51zA7W4i5CzKQr3id9hwSmCw6cJ9S6Tmqgk X-Received: by 2002:a0c:fa44:0:b0:691:149c:c483 with SMTP id k4-20020a0cfa44000000b00691149cc483mr16485359qvo.49.1710920473111; Wed, 20 Mar 2024 00:41:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710920473; cv=pass; d=google.com; s=arc-20160816; b=zohdzVAHoZ/YYs9fRZfvLfaUPZ4x2Ptw5eE4hTpwVuyEIS9ed/RgtFWcbQ9YeuuSNa oHP8HzHpx0ZL92BXdJjiII5ou6UrBJgRdnwDJb8dGrqte/6Gb4sfin3A/+mQ0WYYOHm2 rDOF1hagYetMsPgyDwQ1V+tRM/WGzpqMfJhfQ4uSajaAntXr3dhuNCUadzGRj459yqL7 9WK9hjq8UiNUWtyIkUT/AIC1qe4Nnk2M0/H7OSEU62K8hPfisABjrLrbpAa/QB6Kq9SG GOR2BT8D/hjd/s69DeXDvVmLs6bCFCYwWQv8N29AZozBraPTq1Pq5j2LLlTAQCO5QJQ2 1i7w== 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:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=Cr7htSzCFkClIpdgKH59ksEZHuRQfkmuVUuqqnpC51Q=; fh=DTCYQiW+hoM25ZWBtlHVR8bQHiLfA8OP2RSuxEm/FOQ=; b=cbox0xpcq8gAw8uAmzeqT1pKFImvHgoUnSxWZ4G15ioZ23gz0lePICUQeeY+a4qv8u ojfpOHjNBRCFn8wP4jzm5rG64+OJmdA1lD2ZdNwQntj3gwv7aTK3rpRHrBhHizr27W+Q T+Inr0UPt/SY9CuYtq2iFkceJ6yhQjrKbN97rMCHSZF/Kq6p5Q8O1ZR5q8vO3xexajFz rWBJbW7ZAjwP9B/pUSzgvIS8GZYTpu9Fwz1P1IGFnbH2rAFdGCADBQRXu6icJ1yxSUJu how3zmkAYUVRPQ4s/LwjReeDgbJH/qMJUGhiuigopRRx97ohBxSinvECmfUiuV8ikXH9 ml/g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kyiAipYY; 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-108565-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108565-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id r20-20020a056214125400b0069153ef93b2si12735792qvv.433.2024.03.20.00.41.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 00:41:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108565-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kyiAipYY; 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-108565-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108565-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id AE36C1C21BE7 for ; Wed, 20 Mar 2024 07:41:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 62E5B23770; Wed, 20 Mar 2024 07:41:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="kyiAipYY" Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (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 29AB22C69C for ; Wed, 20 Mar 2024 07:41:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710920465; cv=none; b=YENKn0f3/JYC7ft5PIIoVfc3iUcLgff/X/j3rNhks0j1JScklUwwOT1H270GXiRxRyRMb/nfZrEXy5qgXVtkmkmYG+9ZV12DI6j1Vp6BpGzqmPomZBrtJM+YkM94pRtz7XgE6FxnfFtcy0gI10/5vSzNLqmCNy5n56MNb7ICyos= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710920465; c=relaxed/simple; bh=z09uYNetoJlG6Qu6w84y4RmSjwiOD/AIU0NxKvx8KPk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=U1DUGbtYZWD22n1Fgv/GFTnorSAyTWiOYPcJyBCV4dBBzekiyGzdzlMDSPccKJcOxIgQlRaz9H7QGXdMpZs6gW033GMZon9EQHS0RxynbhkL57xfn1veGMyx1pOTEXujGBu8kRLMMvg2u8ZQpYjy8Oh7527djmNUmWN8cxBQDxw= 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=kyiAipYY; arc=none smtp.client-ip=209.85.208.43 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-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-56890b533aaso7214787a12.3 for ; Wed, 20 Mar 2024 00:41:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710920461; x=1711525261; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=Cr7htSzCFkClIpdgKH59ksEZHuRQfkmuVUuqqnpC51Q=; b=kyiAipYYypQSDpBAhpATJu4seMTPfNsduVr8ElmjxhNJ0AqamWj7OjNatdssfj2g71 dINLM2cvR2g5Uslq6Opckrf+RxrggnIsTj9S+QMtvE721bi3jdRvUwFss9m4qteuxfMA YgymMWm96Nn9jBqvMNegOPAJ+dDue+d02nsYuqAVFB1LhdFJ5VHADlxs68+UnNIzs+tj K5JiChSndpNq/fx5S/j9Dn1QnvvU9CGCRbE3VltFJB7EbrbzU4czfPdGDlP1tZzKb9Mu B9BVWUxWom11DmbPIR5lz0pkwJWKx0vKhHIWJN3yiHg5NM/uvdp5OQbK4RKa7/EaJ1zN YwoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710920461; x=1711525261; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language: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=Cr7htSzCFkClIpdgKH59ksEZHuRQfkmuVUuqqnpC51Q=; b=rWvIoP2J4fSJN4rlY3TXArCtpNW0pBY/Hho83UncP4GzCXNEreJAOp4V1kFysaFyih FO0Q7mfOiCKdNiG2LdT661v+t5J3kJ71lD8RQpz7uTaDBbUm0n1+g0e974ema/UEDK25 1hwKfvoAx4YPuSBRoD+dBESsqB/KjGAZeNn4XmhK7FQeG13TxLrw5jiB21ggwzdMs97Y XdxKN4L6sxo+AAr/YwU5I4zaN5D47bqnhunpECEw9fPUrGhWbb9X91boU/RPu1pCkUMY nQu0H9CaELNKTj4sQsp7MW48k+tutwtATv1KvO4NXcEPpE0stKhmxJmNv1QClaRCx0ja 6ZWg== X-Forwarded-Encrypted: i=1; AJvYcCX6Xg6bjjgH7Ez2DWnu3+IuOJX4eKQ44tcveyH5h1EB/K2vitMAF3gIEyglIXo46MuE2PIkfA1s8H6H4x7uN+1BmHCNE7z9wreJayiY X-Gm-Message-State: AOJu0YzI4HFWfLLEYl2X1ezfhKFQ5hNXNYuu740rpsvhPStH6gNtaacV BsWaDNyNQ6aPKCb90yWh0Hj/BdB206RNnv1OsMr7Bsjkf+QPHlu5N07Sl45TKm8= X-Received: by 2002:a05:6402:4288:b0:567:504e:e779 with SMTP id g8-20020a056402428800b00567504ee779mr3516109edc.25.1710920461225; Wed, 20 Mar 2024 00:41:01 -0700 (PDT) Received: from [192.168.1.20] ([178.197.222.97]) by smtp.gmail.com with ESMTPSA id i31-20020a0564020f1f00b0056ba017ca7fsm1068223eda.87.2024.03.20.00.40.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Mar 2024 00:41:00 -0700 (PDT) Message-ID: <6f2ebe09-8ce5-4388-a01a-84ebc271472e@linaro.org> Date: Wed, 20 Mar 2024 08:40:59 +0100 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 2/3] dt-bindings: remoteproc: add Versal-NET platform To: Tanmay Shah , andersson@kernel.org, mathieu.poirier@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, michal.simek@amd.com, ben.levinsky@amd.com Cc: linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20240315211533.1996543-1-tanmay.shah@amd.com> <20240315211533.1996543-3-tanmay.shah@amd.com> <3ca1c419-d185-4318-92ed-3c4e40dcf5bb@linaro.org> <14be0aa6-49b7-4342-9ca6-750c30c8e1e9@amd.com> Content-Language: en-US From: Krzysztof Kozlowski 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/G23PcowM1Cw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kbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 19/03/2024 15:42, Tanmay Shah wrote: > > > On 3/19/24 12:30 AM, Krzysztof Kozlowski wrote: >> On 19/03/2024 01:51, Tanmay Shah wrote: >>> Hello Krzysztof, >>> >>> Thanks for reviews. Please find my comments below. >>> >>> On 3/17/24 1:53 PM, Krzysztof Kozlowski wrote: >>>> On 15/03/2024 22:15, Tanmay Shah wrote: >>>>> AMD-Xilinx Versal-NET platform is successor of Versal platform. It >>>>> contains multiple clusters of cortex-R52 real-time processing units. >>>>> Each cluster contains two cores of cortex-R52 processors. Each cluster >>>>> can be configured in lockstep mode or split mode. >>>>> >>>>> Each R52 core is assigned 128KB of TCM memory. ATCM memory is 64KB, BTCM >>>>> and CTCM memoreis are 32KB each. Each TCM memory has its own dedicated >>>>> power-domain that needs to be requested before using it. >>>>> >>>>> Signed-off-by: Tanmay Shah >>>>> --- >>>>> .../remoteproc/xlnx,zynqmp-r5fss.yaml | 220 +++++++++++++++--- >>>>> 1 file changed, 184 insertions(+), 36 deletions(-) >>>>> >>>>> diff --git a/Documentation/devicetree/bindings/remoteproc/xlnx,zynqmp-r5fss.yaml b/Documentation/devicetree/bindings/remoteproc/xlnx,zynqmp-r5fss.yaml >>>>> index 711da0272250..55654ee02eef 100644 >>>>> --- a/Documentation/devicetree/bindings/remoteproc/xlnx,zynqmp-r5fss.yaml >>>>> +++ b/Documentation/devicetree/bindings/remoteproc/xlnx,zynqmp-r5fss.yaml >>>>> @@ -18,7 +18,9 @@ description: | >>>>> >>>>> properties: >>>>> compatible: >>>>> - const: xlnx,zynqmp-r5fss >>>>> + enum: >>>>> + - xlnx,zynqmp-r5fss >>>>> + - xlnx,versal-net-r52fss >>>>> >>>>> "#address-cells": >>>>> const: 2 >>>>> @@ -64,7 +66,9 @@ patternProperties: >>>>> >>>>> properties: >>>>> compatible: >>>>> - const: xlnx,zynqmp-r5f >>>>> + enum: >>>>> + - xlnx,zynqmp-r5f >>>>> + - xlnx,versal-net-r52f >>>>> >>>>> reg: >>>>> minItems: 1 >>>>> @@ -135,9 +139,11 @@ required: >>>>> allOf: >>>>> - if: >>>>> properties: >>>>> - xlnx,cluster-mode: >>>>> - enum: >>>>> - - 1 >>>>> + compatible: >>>>> + contains: >>>>> + enum: >>>>> + - xlnx,versal-net-r52fss >>>> >>>> Why do you touch these lines? >>>> >>>>> + >>>>> then: >>>>> patternProperties: >>>>> "^r5f@[0-9a-f]+$": >>>>> @@ -149,16 +155,14 @@ allOf: >>>>> items: >>>>> - description: ATCM internal memory >>>>> - description: BTCM internal memory >>>>> - - description: extra ATCM memory in lockstep mode >>>>> - - description: extra BTCM memory in lockstep mode >>>>> + - description: CTCM internal memory >>>>> >>>>> reg-names: >>>>> minItems: 1 >>>>> items: >>>>> - - const: atcm0 >>>>> - - const: btcm0 >>>>> - - const: atcm1 >>>>> - - const: btcm1 >>>>> + - const: atcm >>>>> + - const: btcm >>>>> + - const: ctcm >>>>> >>>>> power-domains: >>>>> minItems: 2 >>>>> @@ -166,33 +170,70 @@ allOf: >>>>> - description: RPU core power domain >>>>> - description: ATCM power domain >>>>> - description: BTCM power domain >>>>> - - description: second ATCM power domain >>>>> - - description: second BTCM power domain >>>>> + - description: CTCM power domain >>>>> >>>>> else: >>>>> - patternProperties: >>>>> - "^r5f@[0-9a-f]+$": >>>>> - type: object >>>>> - >>>>> - properties: >>>>> - reg: >>>>> - minItems: 1 >>>>> - items: >>>>> - - description: ATCM internal memory >>>>> - - description: BTCM internal memory >>>>> - >>>>> - reg-names: >>>>> - minItems: 1 >>>>> - items: >>>>> - - const: atcm0 >>>>> - - const: btcm0 >>>>> - >>>>> - power-domains: >>>>> - minItems: 2 >>>>> - items: >>>>> - - description: RPU core power domain >>>>> - - description: ATCM power domain >>>>> - - description: BTCM power domain >>>>> + allOf: >>>>> + - if: >>>>> + properties: >>>>> + xlnx,cluster-mode: >>>>> + enum: >>>>> + - 1 >>>> >>>> Whatever you did here, is not really readable. You have now multiple >>>> if:then:if:then embedded. >>> >>> For ZynqMP platform, TCM can be configured differently in lockstep mode >>> and split mode. >>> >>> For Versal-NET no such configuration is available, but new CTCM memory >>> is added. >>> >>> So, I am trying to achieve following representation of TCM for both: >>> >>> if: versal-net compatible >>> then: >>> ATCM - 64KB >>> BTCM - 32KB >>> CTCM - 32KB >>> >>> else: (ZynqMP compatible) >>> if: >>> xlnx,cluster-mode (lockstep mode) >>> then: >>> ATCM0 - 64KB >>> BTCM0 - 64KB >>> ATCM1 - 64KB >>> BTCM1 - 64KB >>> else: (split mode) >>> ATCM0 - 64KB >>> BTCM0 - 64KB >>> >>> >>> If bindings are getting complicated, does it make sense to introduce >>> new file for Versal-NET bindings? Let me know how you would like me >>> to proceed. >> >> All this is broken in your previous patchset, but now we nicely see. >> >> No, this does not work like this. You do not have entirely different >> programming models in one device, don't you? >> > > I don't understand what do you mean? Programming model is same. Only number > of TCMs are changing based on configuration and platform. I can certainly > list different compatible for different platforms as requested. But other than > that not sure what needs to be fixed. You cannot have same programming model with different memory mappings. Anyway, please follow writing bindings rules: all of your different devices must have dedicated compatible. I really though we talked about two IPs on same SoC... Best regards, Krzysztof