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=-10.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 09916C2D0A3 for ; Mon, 26 Oct 2020 14:38:26 +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 B803F24640 for ; Mon, 26 Oct 2020 14:38:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="P3838BOe" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B803F24640 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=8IA0mvjTYFmSVeVjHf9zPF6RJexnEVmSnASjTges/g8=; b=P3838BOe3q1zQrqwLf5ZdZwSJ Yo0D3EKAMxFGJJDmJQNdg/OzdpoPtY/4/58AaJAqFE3dCoNypon3nippnsez846cDekqcw4Bqtcl7 Jk6ei+YTpWTV/yMDARRQpaQEvukrSlYC/J6dsi1bLz0gMrW+niS+rAFqdvczQuVSl0KSfT2ukkiC2 rnZHZu9zF/6nZrRQlmptKum8HsqLuW7nVUPE2GL68j73DxibhTWcMDeWd6KJduWOxWUPjPj32Dyq4 KMmNyXhAXdO1wBwM0HWVZgajUVbaU+z2o1lVJHgJ+iGvobEDrmhnBHG5wPl8fTm2skvJf1ex9ekGS f6rrJ5Dvw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kX3cL-0001I5-9Q; Mon, 26 Oct 2020 14:37:01 +0000 Received: from mail-oi1-f196.google.com ([209.85.167.196]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kX3cI-0001Gv-Ki for linux-arm-kernel@lists.infradead.org; Mon, 26 Oct 2020 14:36:59 +0000 Received: by mail-oi1-f196.google.com with SMTP id y186so3579530oia.3 for ; Mon, 26 Oct 2020 07:36:58 -0700 (PDT) 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=3tEkDqcCTG0IzQXPAwhJWmsvNZknIocrF7E2OMjuhE0=; b=idFKXG4+M0eWgTkncdGZqgnJrgr5m0FtGjD2Xikk4Q+rzx4xBK66ZHazdlUMK0bpLj TPYkhi/VPJz1SR1+zYWlIQfUCsxJBMJRcwc4wn/iC1qQOyyXPm7NFaJr7xezQSCLegAR uUWAotAhsK5gjG1EqTbYYtaqsG8Tfz3NGLIHaDXrbkzDFEbV9GSpI/fZOz0UP8vbzQ+G rjXcFf1OjWuCE2mCWFI+A6tBL+T0ACMylbgoi5u3lb30FDmfKCIfD+JtdA7VwDAFV/FE IkPgSCPEHMxr22NNRQKxkgiMDGwLfFrF4N42HGwLPTHr9MxTC9ceky4VcxNFd2CAyMN7 NUow== X-Gm-Message-State: AOAM531YxevBXdWhWZz3olQQ46zLjj8PVbZ0mRDStbFBtaF+sbciUzDW 3v+LKYmoXzITD+2csgTP+Q== X-Google-Smtp-Source: ABdhPJzBqpRozB+mA8uEtko0jSmowYbYh7fKvDh0onqyFGNDBAaBRoW4U6MOniEhL45Ri9gx/NcHRQ== X-Received: by 2002:aca:a893:: with SMTP id r141mr10621763oie.50.1603723017545; Mon, 26 Oct 2020 07:36:57 -0700 (PDT) Received: from xps15 (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id s27sm2574459otg.80.2020.10.26.07.36.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Oct 2020 07:36:56 -0700 (PDT) Received: (nullmailer pid 121443 invoked by uid 1000); Mon, 26 Oct 2020 14:36:56 -0000 Date: Mon, 26 Oct 2020 09:36:56 -0500 From: Rob Herring To: Ahmad Fatoum Subject: Re: [PATCH v2 1/2] dt-bindings: arm: stm32: add simple-mfd compatible for tamp node Message-ID: <20201026143656.GA118160@bogus> References: <20201021102855.18026-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201021102855.18026-1-a.fatoum@pengutronix.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201026_103658_708685_5AD8DB5B X-CRM114-Status: GOOD ( 21.05 ) 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: devicetree@vger.kernel.org, Alexandre Torgue , Arnaud Pouliquen , linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de, Christophe Roullier , Maxime Coquelin 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 On Wed, Oct 21, 2020 at 12:28:55PM +0200, Ahmad Fatoum wrote: > The stm32mp1 TAMP (Tamper and backup registers) does tamper detection > and features 32 backup registers that, being in the RTC domain, may > survive even with Vdd switched off. > > This makes it suitable for use to communicate a reboot mode from OS > to bootloader via the syscon-reboot-mode binding. Add a "simple-mfd" > to support probing such a child node. The actual reboot mode > node could then be defined in a board.dts or fixed up by the bootloader. 'simple-mfd' implies there is no dependency on the parent node for the child (such as the regmap perhaps). Is that the case here? > > Signed-off-by: Ahmad Fatoum > --- > v1 available here: > https://lore.kernel.org/linux-arm-kernel/20200916142216.25142-1-a.fatoum@pengutronix.de/ > > v1 -> v2: > - new patch, rebased on top of > https://lore.kernel.org/r/20201014125441.2457-1-arnaud.pouliquen@st.com > --- > .../devicetree/bindings/arm/stm32/st,stm32-syscon.yaml | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml b/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml > index 6634b3e0853e..4684017a42e4 100644 > --- a/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml > +++ b/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml > @@ -19,8 +19,11 @@ properties: > - st,stm32mp151-pwr-mcu > - st,stm32-syscfg > - st,stm32-power-config > - - st,stm32-tamp > - const: syscon > + - items: > + - const: st,stm32-tamp > + - const: syscon > + - const: simple-mfd > > reg: > maxItems: 1 > -- > 2.28.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel