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, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 D2DB2C4361B for ; Sat, 12 Dec 2020 10:09:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A3C3722240 for ; Sat, 12 Dec 2020 10:09:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407201AbgLLJyH (ORCPT ); Sat, 12 Dec 2020 04:54:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728538AbgLLJxQ (ORCPT ); Sat, 12 Dec 2020 04:53:16 -0500 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 8B239C0611D0 for ; Sat, 12 Dec 2020 01:25:57 -0800 (PST) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ko1A2-0000fv-I6; Sat, 12 Dec 2020 10:25:54 +0100 Received: from ukl by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1ko1A0-0000DC-RY; Sat, 12 Dec 2020 10:25:52 +0100 Date: Sat, 12 Dec 2020 10:25:50 +0100 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Rasmus Villemoes Cc: linux-rtc@vger.kernel.org, Alexandre Belloni , linux-kernel@vger.kernel.org, Rob Herring , Qiang Zhao , Bruno Thomsen Subject: Re: [PATCH v2 1/3] dt-bindings: rtc: add reset-source property Message-ID: <20201212092550.mhkxw4pwmmbn5u4g@pengutronix.de> References: <20201204092752.GE74177@piout.net> <20201211215611.24392-1-rasmus.villemoes@prevas.dk> <20201211215611.24392-2-rasmus.villemoes@prevas.dk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="h25hckfjgae65qfw" Content-Disposition: inline In-Reply-To: <20201211215611.24392-2-rasmus.villemoes@prevas.dk> X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: ukl@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 --h25hckfjgae65qfw Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 11, 2020 at 10:56:09PM +0100, Rasmus Villemoes wrote: > Some RTCs, e.g. the pcf2127, can be used as a hardware watchdog. But > if the reset pin is not actually wired up, the driver exposes a > watchdog device that doesn't actually work. >=20 > Provide a standard binding that can be used to indicate that a given > RTC can perform a reset of the machine, similar to wakeup-source. >=20 > Suggested-by: Alexandre Belloni > Signed-off-by: Rasmus Villemoes > --- > Documentation/devicetree/bindings/rtc/rtc.yaml | 5 +++++ > 1 file changed, 5 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/rtc/rtc.yaml b/Documentati= on/devicetree/bindings/rtc/rtc.yaml > index ee237b2ed66a..b5e24dc24b0b 100644 > --- a/Documentation/devicetree/bindings/rtc/rtc.yaml > +++ b/Documentation/devicetree/bindings/rtc/rtc.yaml > @@ -47,4 +47,9 @@ properties: > description: > Enables wake up of host system on alarm. > =20 > + reset-source: > + $ref: /schemas/types.yaml#/definitions/flag > + description: > + The RTC is able to reset the machine. Thanks for picking that up. Acked-by: Uwe Kleine-K=F6nig Note that the patch "rtc: pcf2127: move watchdog initialisation to a separate function" is already in next. Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --h25hckfjgae65qfw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAl/UjJsACgkQwfwUeK3K 7Ak6yAgAgCSTdIROQXcz+oWnXcaYal26WfE+LC5XIFsI8uUXRMPkBikVvAV2Igyo nO4v3BShfMJakKKh2ZBzgqavR0GkQ/T91h+56WDbmQ+6fQAZ4Z+eOLbcXzOTtpXJ 7B51uVET9TeWoTukwUyzs77FLR/TrCZM0m5dJvpuGeRWs5lfR78JH9nhGCVXW6Vh dZuMZV3W/QNL4gg1EVOJr027k46t0MeukbPyqcRFWSJh1splDM0MyrzZa07w9Lvk tIBtf62bdyUqVzjsfcICXdF4N29ht+WwZARa5nIYMa2MdK0TpnMs+y8b+PqAOgwR XTqCL/jOPXxLfPTd4O6pntLiRf4q1w== =wle7 -----END PGP SIGNATURE----- --h25hckfjgae65qfw--