Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3537593pxj; Mon, 24 May 2021 08:56:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXCHr5h+W0Y+FuuNUT0jNgwd3WvAePy2P7cOHHcIQNeamgWWq1MRDPKM1hE/3q1/nR8HmX X-Received: by 2002:a05:6e02:190f:: with SMTP id w15mr16990237ilu.13.1621871768795; Mon, 24 May 2021 08:56:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621871768; cv=none; d=google.com; s=arc-20160816; b=YM1hfdobQPTstIMVdwznpCyd3FriORn9p+2lcEpGMZEyJPyPwA2beWZ+rAp1bYCxuQ GTGlK3JSC7vNkNomwQF95qadfxJp2WApaziJIH5H4eQgNp7VjaBpunjR0kWk4mKsjlSa hv2u02sKwdghf8torkJ7EMQkDyv3M6qWR7yYasyoydFE9LXTuWZwtO53ZxLNLL3rFuFt uEGi/JKTU/lgYLLdQ7/rj4LjjpXD2iG3+Z2q5jbI5JYTGvaVVBSUHTLiW54rOnJ0zMuu YDOBn1pqTieK67y4wbbkSs6zgV1Mv5tY164CeaaikPu6A8CnBEYpfucaSWvnvxpbbD1/ QM6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=IxzFLmrt4I56bToXBwyHHbCuQpHYXV4NOn/Wx15upW4=; b=FvVuHxM/CqII3dgN4WYAz5qJrdxxpqrr9BwUKIrEzjo11YwcD7oOj5CpovhY7E2drr oUV7J3+p3zfEwUDOT7Eva+Nrfnvq/dRRm8XAt4tkWYFMa9d9Q7cLJyHAk3wU3/olR+pJ iYAqc0ud1vijrn+b2cK2y26DWkOv89cBNXT11cxaEBlGu3DwbUSYlPQL8nhTjf7octLN LH65rODJV0WEjlfGwLkHK6mh5hGXw6OigjCW5O7AvZ0nbRNWPUarEbPKO2B7a0nNTf3p ZLyORmUJkyTAsKmG4dWhWfSjR6dlLT5SparFAfBbDSlWVSO/3gdc1XPW2tt1Eoat+MxM HF5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ICVkjOG4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v17si15420310jat.82.2021.05.24.08.55.55; Mon, 24 May 2021 08:56:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ICVkjOG4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S234564AbhEXP4X (ORCPT + 99 others); Mon, 24 May 2021 11:56:23 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:32780 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234359AbhEXPtE (ORCPT ); Mon, 24 May 2021 11:49:04 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 14OFlVEV053864; Mon, 24 May 2021 10:47:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1621871251; bh=IxzFLmrt4I56bToXBwyHHbCuQpHYXV4NOn/Wx15upW4=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=ICVkjOG4JwCvExRHK/IWwDuOkr1MtYDy9sVc6q+Vj2ymDGSlvRBdi3H8JoawgurD/ NgvaT4V4rnvSXe0AwtehL35jUUyJEPbwk5XnebQ++pw+ZazRjCJ2bu5M4JayuptooO SdUDD4z/T3ai72hhoSX8LCFay6nPm5k+l83L7n74= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 14OFlVo7059859 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 24 May 2021 10:47:31 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Mon, 24 May 2021 10:47:31 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Mon, 24 May 2021 10:47:31 -0500 Received: from [10.250.35.153] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 14OFlUDi035763; Mon, 24 May 2021 10:47:30 -0500 Subject: Re: [PATCH v2 1/2] dt-bindings: remoteproc: k3-r5f: Update bindings for AM64x SoCs To: Mathieu Poirier , Bjorn Andersson CC: Rob Herring , Lokesh Vutla , , , , References: <20210327143117.1840-1-s-anna@ti.com> <20210327143117.1840-2-s-anna@ti.com> <8948a30c-1a2f-1fb0-05bb-37be9c02c5d5@ti.com> <20210521204053.GA1011163@xps15> From: Suman Anna Message-ID: <911bfb1d-8e66-298a-83ba-998040f5596d@ti.com> Date: Mon, 24 May 2021 10:47:30 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210521204053.GA1011163@xps15> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/21/21 3:40 PM, Mathieu Poirier wrote: > Hi suman, > > On Wed, May 12, 2021 at 09:47:44PM -0500, Suman Anna wrote: >> Hi Rob, >> >> On 4/19/21 8:55 AM, Suman Anna wrote: >>> Hi Rob, >>> >>> On 3/27/21 9:31 AM, Suman Anna wrote: >>>> The K3 AM64x SoCs have two dual-core Arm R5F clusters/subsystems, with >>>> 2 R5F cores each, both in the MAIN voltage domain. >>>> >>>> These clusters are a revised IP version compared to those present on >>>> J721E and J7200 SoCs, and supports a new "Single-CPU" mode instead of >>>> LockStep mode. Update the K3 R5F remoteproc bindings with the compatible >>>> info relevant to these R5F clusters/subsystems on K3 AM64x SoCs. >>>> >>>> Signed-off-by: Suman Anna >>>> --- >>>> v2: No changes >>>> >>>> .../bindings/remoteproc/ti,k3-r5f-rproc.yaml | 31 ++++++++++++++++--- >>> >>> Looks like this patch has fallen through the cracks, can you please review and >>> give your ack for this patch so that Bjorn can pick up the series for 5.13? >> >> Gentle reminder, do you have any comments on this patch. Appreciate your ack so >> that we can get this in for 5.14? > > If memory serves me well Rob indicated that he would not review or comment on > bindings related to multi-core remote processors. On the flip side he also > mentioned that he would not object to their presence. And since this is an > increment to an existing binding rather than a new one, I think it is fair for > us to pick it up. > > Rob - please intervene if my recollections are not accurate and accept my honest > apologies. Otherwise: > > Reviewed-by: Mathieu Poirier > Thank you Mathieu. Bjorn, Is it possible for you to give an immutable branch with just this bindings so we can add the R5F nodes as well and avoid any checkpatch warnings on Nishanth's tree with our K3 dts patches? regards Suman >> >> regards >> Suman >> >>> >>> regards >>> Suman >>> >>>> 1 file changed, 26 insertions(+), 5 deletions(-) >>>> >>>> diff --git a/Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml >>>> index d905d614502b..130fbaacc4b1 100644 >>>> --- a/Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml >>>> +++ b/Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml >>>> @@ -14,8 +14,12 @@ description: | >>>> processor subsystems/clusters (R5FSS). The dual core cluster can be used >>>> either in a LockStep mode providing safety/fault tolerance features or in a >>>> Split mode providing two individual compute cores for doubling the compute >>>> - capacity. These are used together with other processors present on the SoC >>>> - to achieve various system level goals. >>>> + capacity on most SoCs. These are used together with other processors present >>>> + on the SoC to achieve various system level goals. >>>> + >>>> + AM64x SoCs do not support LockStep mode, but rather a new non-safety mode >>>> + called "Single-CPU" mode, where only Core0 is used, but with ability to use >>>> + Core1's TCMs as well. >>>> >>>> Each Dual-Core R5F sub-system is represented as a single DTS node >>>> representing the cluster, with a pair of child DT nodes representing >>>> @@ -33,6 +37,7 @@ properties: >>>> - ti,am654-r5fss >>>> - ti,j721e-r5fss >>>> - ti,j7200-r5fss >>>> + - ti,am64-r5fss >>>> >>>> power-domains: >>>> description: | >>>> @@ -56,11 +61,12 @@ properties: >>>> >>>> ti,cluster-mode: >>>> $ref: /schemas/types.yaml#/definitions/uint32 >>>> - enum: [0, 1] >>>> description: | >>>> Configuration Mode for the Dual R5F cores within the R5F cluster. >>>> - Should be either a value of 1 (LockStep mode) or 0 (Split mode), >>>> - default is LockStep mode if omitted. >>>> + Should be either a value of 1 (LockStep mode) or 0 (Split mode) on >>>> + most SoCs (AM65x, J721E, J7200), default is LockStep mode if omitted; >>>> + and should be either a value of 0 (Split mode) or 2 (Single-CPU mode) >>>> + on AM64x SoCs, default is Split mode if omitted. >>>> >>>> # R5F Processor Child Nodes: >>>> # ========================== >>>> @@ -97,6 +103,7 @@ patternProperties: >>>> - ti,am654-r5f >>>> - ti,j721e-r5f >>>> - ti,j7200-r5f >>>> + - ti,am64-r5f >>>> >>>> reg: >>>> items: >>>> @@ -198,6 +205,20 @@ patternProperties: >>>> >>>> unevaluatedProperties: false >>>> >>>> +if: >>>> + properties: >>>> + compatible: >>>> + enum: >>>> + - ti,am64-r5fss >>>> +then: >>>> + properties: >>>> + ti,cluster-mode: >>>> + enum: [0, 2] >>>> +else: >>>> + properties: >>>> + ti,cluster-mode: >>>> + enum: [0, 1] >>>> + >>>> required: >>>> - compatible >>>> - power-domains >>>> >>> >>