Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp854805pxu; Wed, 14 Oct 2020 16:05:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5aVKTI3RaPS/XSCusZPPRtBRVG5rwsaVbF/YMLLf/ArKpKsKgi4uA/HaH4YuAx1+zMXwM X-Received: by 2002:a17:906:4a97:: with SMTP id x23mr1369713eju.471.1602716701913; Wed, 14 Oct 2020 16:05:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602716701; cv=none; d=google.com; s=arc-20160816; b=UFmHrncyLHKnCGeJj01OOBR8+MJgOIUVVYIHkYVlGwvPOYUK3xFJMa6kHmtZR5pSVY BL4Ethl64/yCGoibgy8Ouiaa8OFiWKWY7Oz0Fl+D5vubFKYu6DObLIVe72JePDA/v2td CX8IdI3CWywCGvcIz7wAJRzizedK/++xBF10B0g8IwcdVncXrF6eF4GxWx24XY62YtU5 e+2cn43HIZWOPSR1Nj2UCx+xXF/ynw5V0+dJr6eyaONCugAUry458KfIfAlZkB/b22Ux vvbEEJDdO42j8sqUQYTp7Gv6azBtpyvaD2VuELmajF2hPuwMaswkflftiJ9qQz4ZiZmE l0Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=0oKd/1+Q49pwBEic+j1QGYF+5cG+STAkikN4kllIFis=; b=zs1wLfA6xLlo/xpx6ee8DtIosZ2M+nFu1T30lXS3GkFv/jCQTc8TRxriDn5OwtRy9O j9imlwXkFRBN0XDWI02sw/h/VWAkqtGijdxh6mGRrrP2pJRS/4JhGj+TbjOFlNUIyD2Z VP5Kq8rkeN8/+g1d//dHB40u9sHjdOgYKGgxRicuwYNnEqRghAIC1Zu6fu4WGXWtjVmt vdKeBZ9pXUGb0Dmxb9/jc0s0ZmpR8gBCxjaZspOZqq05R7juNHhnv2dyf7zPMwnenINg 4B3466TwO4kwll0xU8Nm2bic601Xpx8BwS+sNqa6hczJij7xHz9mY/UYNmPcByKKhbtd siTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WpXfutAz; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k15si658482eds.533.2020.10.14.16.04.38; Wed, 14 Oct 2020 16:05:01 -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=@linaro.org header.s=google header.b=WpXfutAz; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388795AbgJNQvZ (ORCPT + 99 others); Wed, 14 Oct 2020 12:51:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388548AbgJNQvZ (ORCPT ); Wed, 14 Oct 2020 12:51:25 -0400 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A931C0613D2 for ; Wed, 14 Oct 2020 09:51:25 -0700 (PDT) Received: by mail-pf1-x441.google.com with SMTP id 144so155143pfb.4 for ; Wed, 14 Oct 2020 09:51:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=0oKd/1+Q49pwBEic+j1QGYF+5cG+STAkikN4kllIFis=; b=WpXfutAzKSb8AwlyKEbbrghfkcSB7k9AL+h07lEQEaZh1JMnxbsOzfEdql8BJsw0AK zAY4oNLRQ46zuvgRYLjmZaA7DY2JdcJWwAuSgMq/VGmX2baResgV4wYE40yUGQhepKBL gHIG87e6uDjv5VK46UVTRf8gwbs36NnMz3LDJuiL2NcN06VktehgQQRD73/rYb2/2Bp9 T3qhJKZr1bE5ms4+5reFbCR+JUrkCvxZp/l2+Tgng8uS0eqBG8wGl/L4evH4UH5CfpP0 quIjd6v8H9E2pzXFV+72SC+wtwBguzysisyXSZF1AehfVB8BhZgt+ZeY2eZu8eZF82t4 oebA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=0oKd/1+Q49pwBEic+j1QGYF+5cG+STAkikN4kllIFis=; b=ga5Bpf3qH0Qnf16U9PwWAmSRSOH+UsVgaC82oGJB00wUZii5yKY0BbfpNhiGub3ct3 oXMTyAz5D6pbX92kNSU+NeaOJBHIbv8PKXeYqmCnGXm800vUQSmdT9QKMKYzvaG6Ugez jiHZfSJjWPADCsxggLnOv/ip1K2E4WIakeEq6YQO9VqYqvth9olqF7VWkgpNNLsvOycs pUBm5hRBNtE6NF4q+dXJ8Sz2F1vuSiJyJeE9G4HXXSLh0WJp8F83BlmirAy6Trfqmxwv AubkC3G1WIX4rTJ8G+StgwBGgPw4DOdBWleyiNruEeTnS7BxPgfOJ7IW0le/Wl12Znct jFAQ== X-Gm-Message-State: AOAM532b2zHiRPkAh3AA0Ge32cgAp1J3MZPxQ2259vgNExDm9wVP6RjF k9yyQmjJXwUtw0eQGnFEi1MNWQ== X-Received: by 2002:a62:6507:0:b029:155:3b11:b458 with SMTP id z7-20020a6265070000b02901553b11b458mr216999pfb.45.1602694284480; Wed, 14 Oct 2020 09:51:24 -0700 (PDT) Received: from xps15 (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id j1sm94318pfj.202.2020.10.14.09.51.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 09:51:23 -0700 (PDT) Date: Wed, 14 Oct 2020 10:51:21 -0600 From: Mathieu Poirier To: Arnaud Pouliquen Cc: Rob Herring , 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, Ohad Ben-Cohen , Bjorn Andersson , Ahmad Fatoum Subject: Re: [PATCH v2 4/4] ARM: dts: stm32: update stm32mp151 for remote proc synchronization support Message-ID: <20201014165121.GA1406857@xps15> References: <20201014125441.2457-1-arnaud.pouliquen@st.com> <20201014125441.2457-5-arnaud.pouliquen@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201014125441.2457-5-arnaud.pouliquen@st.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 14, 2020 at 02:54:41PM +0200, 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>; > + }; > + > /* > * 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>; Tested-by: Mathieu Poirier > status = "disabled"; > }; > }; > -- > 2.17.1 >