Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp458747pxk; Wed, 23 Sep 2020 07:32:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6YjnqOu408M+SoXXb0GbsT7miPJiDhfRfbT410uwdV8VpdybXVRDDKDrm24Y+cUfaJ3xc X-Received: by 2002:a05:6402:176e:: with SMTP id da14mr10193288edb.349.1600871573296; Wed, 23 Sep 2020 07:32:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600871573; cv=none; d=google.com; s=arc-20160816; b=GdhoRj40E631gEXMWGi9MVoeTklEtluL3tMsvG7Pkd1elp/aCYr4Vhuyy7lni4OTmY zneK0oMdn4AjvZ6Nu0wEGKjw2HIuoKbcV8vjKZzsBd6O6a7php3ES8BLM8lKEPBkZVwf aAguHhE/oOXrPgdyR5sBk6r5679s+biQcSAUOCjCCOs7MbOsTohYLyErir/aB5LUf0cj Oc5XPBr2dVR0a4euc1MrfIL9ynz+revnMhOCpR2fGeB9x5d9mk9lfIY/pejG9UdX1rtu fX9ZeHMYFedLFGAipQRSILISTKlU42TV1uXpZr4mO0q/tj4LPtGKYdyv4PS0brOIUsNB unPg== 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:references:cc :to:from:subject:dkim-signature; bh=SjaY/w1nDEoWhikxQtwnd327tYOK3VZ51wdSZT/aEUk=; b=Payrk2Y7aBmKX0pr3RIvEVZTCd0hQQihTaeAUrgDLsu8QjiXkAxyIiwL4X9wd+mafr f9/EQO64OuUIReWbgpqJWQkMp63yE+jVJmo/mWGfUT2RGj17Z8rdKJFpQRe704+cwHaE 9i5B9kXhqi/aEHWQrqi/4nZh0hOs+hrUHMZmzHaU1fGSYavB2nSKz5BNbJumnBfC7LBj RliHnAjJVqbpAyLCT1wxcXVzJJm8ecIkkPNzoj4H64yaIK9m/WSateoj8ilC3Ei1dfSO oB24M+mdhGeRY7TVUVdfMmuRW8F4v4GKfmrSq807trpzG/wd7uUGAuSCHY6D69gm4Qf0 ok9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=YS9RI+MC; 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=NONE sp=NONE dis=NONE) header.from=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p18si3575edy.100.2020.09.23.07.32.26; Wed, 23 Sep 2020 07:32:53 -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=@st.com header.s=STMicroelectronics header.b=YS9RI+MC; 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=NONE sp=NONE dis=NONE) header.from=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726731AbgIWOaZ (ORCPT + 99 others); Wed, 23 Sep 2020 10:30:25 -0400 Received: from mx07-00178001.pphosted.com ([185.132.182.106]:45017 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726621AbgIWOaY (ORCPT ); Wed, 23 Sep 2020 10:30:24 -0400 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 08NEQi6J014390; Wed, 23 Sep 2020 16:30:12 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=subject : from : to : cc : references : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=STMicroelectronics; bh=SjaY/w1nDEoWhikxQtwnd327tYOK3VZ51wdSZT/aEUk=; b=YS9RI+MCv/dZTSiRI2HLeGCC4O9EKyJdfd2K8y3fnqmxyNsMerNCRxjA4tmzEoOcNf3c pmusSpiiYsbySmOb8Xhmymgq0qY0fRWqTSv3cmcv/lpqBf4syKo1oWtV4q9A1rkBqd/I VXrlOXhhAeSs3W8dEE7hKyr5hnEQwsIofTwf2S04rjSTFRUJdazfb2TAbtSLh22wmMsf nlt6MZlZjtAQ4FYMmcW1pnA3gB1YuhgoYxqFiVVPt/rQbA9YerPpg26SUP5o0XGp+4lz SPnohXRTu0k27RoeX3aD+W40HUtGSji01pRamdaw2TkKBmCWmcFJbPK2wyMINWrnF24r Hg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 33n7eywne2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 23 Sep 2020 16:30:12 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8E69410002A; Wed, 23 Sep 2020 16:30:11 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag3node1.st.com [10.75.127.7]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 154C12B8A2E; Wed, 23 Sep 2020 16:30:11 +0200 (CEST) Received: from lmecxl0889.tpe.st.com (10.75.127.49) by SFHDAG3NODE1.st.com (10.75.127.7) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 23 Sep 2020 16:30:09 +0200 Subject: Re: [PATCH 2/3] dt-bindings: remoteproc: stm32_rproc: update for firmware synchronization From: Arnaud POULIQUEN To: Rob Herring CC: Alexandre TORGUE , "devicetree@vger.kernel.org" , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" , "linux-remoteproc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Fabien DESSENNE , Mathieu Poirier , Ohad Ben-Cohen , Bjorn Andersson References: <20200827072101.26588-1-arnaud.pouliquen@st.com> <20200827072101.26588-3-arnaud.pouliquen@st.com> <20200909202251.GA2975092@bogus> Message-ID: Date: Wed, 23 Sep 2020 16:30:09 +0200 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: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.49] X-ClientProxiedBy: SFHDAG6NODE3.st.com (10.75.127.18) To SFHDAG3NODE1.st.com (10.75.127.7) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-09-23_10:2020-09-23,2020-09-23 signatures=0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, Gentle reminder. As I'm not sure to well understand your comment I would appreciate if you could confirm your expectation before I sent a v2. Thanks in advance, Arnaud On 9/11/20 3:49 PM, Arnaud POULIQUEN wrote: > Hi Rob, > > On 9/9/20 10:22 PM, Rob Herring wrote: >> On Thu, Aug 27, 2020 at 09:21:00AM +0200, Arnaud Pouliquen wrote: >>> Add new properties description used to attach to a pre-loaded >>> firmware according to the commit 9276536f455b3 >>> ("remoteproc: stm32: Parse syscon that will manage M4 synchronisation") >>> which updates the driver part. >>> >>> Signed-off-by: Arnaud Pouliquen >>> --- >>> .../bindings/remoteproc/st,stm32-rproc.yaml | 19 +++++++++++++++++++ >>> 1 file changed, 19 insertions(+) >>> >>> diff --git a/Documentation/devicetree/bindings/remoteproc/st,stm32-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/st,stm32-rproc.yaml >>> index 4ffa25268fcc..e50957d86b1c 100644 >>> --- a/Documentation/devicetree/bindings/remoteproc/st,stm32-rproc.yaml >>> +++ b/Documentation/devicetree/bindings/remoteproc/st,stm32-rproc.yaml >>> @@ -96,6 +96,25 @@ properties: >>> 3rd cell: register bitmask for the deep sleep bit >>> maxItems: 1 >>> >>> + st,syscfg-m4-state: >>> + $ref: "/schemas/types.yaml#/definitions/phandle-array" >>> + description: | >>> + Reference to the tamp register which exposes the Cortex-M4 state. >>> + 1st cell: phandle to syscon block >>> + 2nd cell: register offset containing the Cortex-M4 state >>> + 3rd cell: register bitmask for the Cortex-M4 state >>> + maxItems: 1 >>> + >>> + st,syscfg-rsc-tbl: >>> + $ref: "/schemas/types.yaml#/definitions/phandle-array" >>> + description: | >>> + Reference to the tamp register which references the Cortex-M4 >>> + resource table address. >>> + 1st cell: phandle to syscon block >>> + 2nd cell: register offset containing the resource table address >>> + 3rd cell: register bitmask for the resource table address >>> + maxItems: 1 >> >> Why can't these be implied? You can lookup the tamp syscon by >> compatible. > > I just made a copy/past of the "st,syscfg-pdds" syscon description available in the same file [1] > > I can provide a shorter descriptions, something like this: > > description: | > Reference to the tamp syscon register and bitmask which contains the Cortex-M4 > resource table address. > maxItems: 1 > > Would this meet your expectations? If yes, I will also add in next version an extra patch to fix [1] > > [1] https://elixir.bootlin.com/linux/v5.9-rc3/source/Documentation/devicetree/bindings/remoteproc/st,stm32-rproc.yaml#L90 > >> >> Please add these to the example. > > I will extend the example with these properties > > Thanks, > Arnaud > >> >>> + >>> st,auto-boot: >>> $ref: /schemas/types.yaml#/definitions/flag >>> description: >>> -- >>> 2.17.1 >>>