Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp64661pxk; Wed, 23 Sep 2020 22:47:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSZDNhFZnmQeW0Dz7H1cNGG7r0XZe+hOSoVZGtGsiJujDQv+YfZfY7B2KnkVz+N7E/+/KD X-Received: by 2002:a17:906:4a53:: with SMTP id a19mr3100738ejv.56.1600926439477; Wed, 23 Sep 2020 22:47:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600926439; cv=none; d=google.com; s=arc-20160816; b=ymWvKhjEn5BtOZQKuGi1LG9YWpjTaMnzbYJbMGBNTs3z7KvuH/lcOTvhOsPGVgzm3O fT5YGVoqxro+w3V3l7MdyL4bSwizYEnpKLGU0cH/zWsmfwBxw4P7TAOOTFLL431FNrrG 2CUHfV+6CYdEtOEX46fqz89BOH0lMUeYUKFF3wi77BOgH5NZLiXxKSDJQGmBwo0MCFxQ BF6hcwiA2wtS5ApsfsJfl9wzTNB4LyWbiHyuCm7RXNtTDa/CRaq/Vj9uml7EHFTvsICh 0MneBaHn+onDuOpjJ7JwDrS8vud2eLobiiKqv7N5Fp35/+yci19NM9Pxc2lMFKNucFKK QEow== 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; bh=KwjlYoZ7CAuHgBGktjzrGS+03OH7t43pr5oaFA/nwfM=; b=M8/5nTnMAxXQWdAz1dvHKuCetpqnDXSC0pOFuKzzYy5EPFMzxuYFbH8PEJeIjD/L9U KN7Oq5enMocJSLc1TAzR7TjBNTVim7znLRC4Jax0jgyq/ZYi9h3dbOngSptXRZKlOn6G WQprdcA7y7AAd/IKBaU7OQrXRJAf2imdQpJ1yVL53/C+bgJSNtDL+EYWjCSdFtBu8V6E IXrG7+gsTxDlhT/Rjk71FtiSNQjVqQQ9L2+q9XWFP8fWvL5zZMCQvDsCyGnkZ5+z7+zV 5Wr12Prboh1q0/UWqOzRy+K4Euf3FP8wTLZIFr+Ajr0N/Rcp4bH+XkCQS7MPGVnvH8Vc wGRA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d4si1300356ejt.59.2020.09.23.22.46.51; Wed, 23 Sep 2020 22:47:19 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726837AbgIXFpS (ORCPT + 99 others); Thu, 24 Sep 2020 01:45:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726683AbgIXFpR (ORCPT ); Thu, 24 Sep 2020 01:45:17 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C236CC0613CE for ; Wed, 23 Sep 2020 22:45:17 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=[127.0.0.1]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1kLK49-00052U-RW; Thu, 24 Sep 2020 07:45:13 +0200 Subject: Re: [Linux-stm32] [PATCH 3/3] ARM: dts: stm32: update stm32mp151 for remote proc synchronisation support To: Arnaud Pouliquen , Rob Herring , Alexandre Torgue Cc: Ohad Ben-Cohen , devicetree@vger.kernel.org, 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 References: <20200827072101.26588-1-arnaud.pouliquen@st.com> <20200827072101.26588-4-arnaud.pouliquen@st.com> From: Ahmad Fatoum Message-ID: Date: Thu, 24 Sep 2020 07:45:11 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20200827072101.26588-4-arnaud.pouliquen@st.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: a.fatoum@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Arnaud, On 8/27/20 9:21 AM, Arnaud Pouliquen wrote: > Two backup registers are used to store the Cortex-M4 state and the resource > table address. > Declare the tamp node and add associated properties in m4_rproc node > to allow Linux to attach to a firmware loaded by the first boot stages. > > Associated driver implementation is available in commit 9276536f455b3 > ("remoteproc: stm32: Parse syscon that will manage M4 synchronisation"). > > Signed-off-by: Arnaud Pouliquen > --- > arch/arm/boot/dts/stm32mp151.dtsi | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi > index bfe29023fbd5..842ecffae73a 100644 > --- a/arch/arm/boot/dts/stm32mp151.dtsi > +++ b/arch/arm/boot/dts/stm32mp151.dtsi > @@ -1541,6 +1541,11 @@ > status = "disabled"; > }; > > + tamp: tamp@5c00a000 { > + compatible = "st,stm32-tamp", "syscon"; > + reg = <0x5c00a000 0x400>; > + }; > + Just saw this now. I have a pending patch adding this node as well: https://lore.kernel.org/patchwork/patch/1306971/ For my use case, I need a "simple-mfd" compatible to allow child nodes to be probed. Could you CC me when you send out your v2, so I can rebase? (Or if you don't mind, just add the "simple-mfd" into the compatible list yourself :-) Cheers Ahmad > /* > * Break node order to solve dependency probe issue between > * pinctrl and exti. > @@ -1717,6 +1722,8 @@ > st,syscfg-holdboot = <&rcc 0x10C 0x1>; > st,syscfg-tz = <&rcc 0x000 0x1>; > st,syscfg-pdds = <&pwr_mcu 0x0 0x1>; > + st,syscfg-rsc-tbl = <&tamp 0x144 0xFFFFFFFF>; > + st,syscfg-m4-state = <&tamp 0x148 0xFFFFFFFF>; > status = "disabled"; > }; > }; > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |