From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 379ABC43461 for ; Fri, 11 Sep 2020 13:51:53 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D11FC21D92 for ; Fri, 11 Sep 2020 13:51:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="oDQTUJFb"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=st.com header.i=@st.com header.b="DqTcfhEO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D11FC21D92 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kvIPjrAEq7sht3nIeZBS+3XNbOG5x9AslVUiTV+5Pa8=; b=oDQTUJFbbZRomDZAY1VhqLdqI c0WezXqCMBdKpfN5M2tBWntkZ0ccWxrAhXdEvJIb2SjhUUOVbNLRQK3Y7xgyKBIBG/jlUW8hYUwf7 9eie3FEbynsDnkTBoPIGW+eC/eHt9F7Fvs1l6zKYZfEHTbbDXE4dF4FWF5tCPEdjkDcDMuNssVGSR jagUeibUFbMlt7IslTt+C202jK0xVtP+AdO/xEb3NT551e3ygh7R+4JMB7ByU6HN7QoU7KvbaRxnE WcLK4ymTP9T165rgRLqLhiMaw3ZaICjO2eUpHthmgQ7NjNpY8oBTEJNbGS6SMK3JbSmzgr0UnQoOK lHX4kpyKw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGjRV-0004Q2-TT; Fri, 11 Sep 2020 13:50:22 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGjRL-0004II-S1 for linux-arm-kernel@lists.infradead.org; Fri, 11 Sep 2020 13:50:15 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 08BDlfdN016391; Fri, 11 Sep 2020 15:50:04 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=STMicroelectronics; bh=LedGIkihyb95sarwl6GH6FHkhiz/ZEZc+nrtI6/KHRQ=; b=DqTcfhEOyT+mjya84EPGVrM1imjDeblcaBYwSTzOxQYWNd7Sxj+G2zkIvTMr27NXSkLH YwCMK1oAw8clCxnrvtktuamiNqy3/2L5FGqPVJAKmXMtlLIAZkgL7Xb9lwNXt/zlwjj+ g/tXBi70Q0H/h5xkp10E1dsHKe9RbmMr4/IdRhqw+t7MhfiT3cbMIjPqJ3ATFTEH45l8 8U1HEraZ7IV/4NAm8H2Pph2HvEftW9I5xblkFqbHCkuDZMdoIXPZV1JeKWL11M0eHx5i AKn8VypoIsE50fhMd/ZeHzv7iv0OpJ0zhr4c1hWKq8Rbjx414URLPZsvqup0j/irA8Lf zg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 33c1jfhyq1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 11 Sep 2020 15:50:04 +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 AA153100038; Fri, 11 Sep 2020 15:50:02 +0200 (CEST) Received: from Webmail-eu.st.com (gpxdag3node4.st.com [10.75.127.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 8D99F2AD9FD; Fri, 11 Sep 2020 15:50:02 +0200 (CEST) Received: from lmecxl0889.tpe.st.com (10.75.127.44) by GPXDAG3NODE4.st.com (10.75.127.71) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 11 Sep 2020 15:50:00 +0200 Subject: Re: [PATCH 2/3] dt-bindings: remoteproc: stm32_rproc: update for firmware synchronization To: Rob Herring References: <20200827072101.26588-1-arnaud.pouliquen@st.com> <20200827072101.26588-3-arnaud.pouliquen@st.com> <20200909202251.GA2975092@bogus> From: Arnaud POULIQUEN Message-ID: Date: Fri, 11 Sep 2020 15:49:59 +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: <20200909202251.GA2975092@bogus> Content-Language: en-US X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG4NODE2.st.com (10.75.127.11) To GPXDAG3NODE4.st.com (10.75.127.71) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-09-11_05:2020-09-10, 2020-09-11 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200911_095012_416288_D7678A8F X-CRM114-Status: GOOD ( 25.45 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ohad Ben-Cohen , "devicetree@vger.kernel.org" , Alexandre TORGUE , Mathieu Poirier , "linux-remoteproc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Fabien DESSENNE , Bjorn Andersson , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 >> _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel