Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1882224pxu; Sun, 13 Dec 2020 06:28:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJy9mudl3agAbTwEFIrbXUJVBQgK1AEWiEIvqBPcu7bEC5iOQtwczQSmfp4AsE254lrOMKzb X-Received: by 2002:a50:9e8b:: with SMTP id a11mr20493049edf.276.1607869684740; Sun, 13 Dec 2020 06:28:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607869684; cv=none; d=google.com; s=arc-20160816; b=Fmdjxgp02XzJ8vdDHVDp1pLMk9mdSaQue0U9V1/Q/ImFfsMbPb3zlQ/lhT5krR0+Kp zUXTGpsLEtSuzOpT/38epXA27MykmggeCU5lfL+cxUmh3YObu9sNxLaM3Jx7p/9A7qnH SOqzkHs06oBUYH8SCKkSQs92Nz44MMqCgQV1v45wKWhg6EP2mNFYRF44S9y4D8Gm0gIs GcgxgQN7SUhpRIyoGZC7AKNNo9h6vw0jjwwq6Y0nZ7sKpaevOUhaSkQQVKquhR5EXVfS gwD/L8Gb1BcfhSh2wssJlMrgn/EvZUxLBZHrOZkZYhNH39HG2hY/J4JUZf/sOw6GrQSF mwtw== 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; bh=oerdsQBtvgd+BTMMYQY7eo4CGduGRGjrkyYWcf7yYQs=; b=gtc3bT0pIn00Uekfsz6aGsjbv3TYuIVVq6fnXx7P3ekrtir7tVHxtnvslb/4IYlRgQ q8KyTwOKjP8s6W5l/5qsHMDxUtaH8JNcgJ+6fs6STZL0tuJH02Ai7RP9y2oLGG9sbDrk FoQbGVWtgyVqtgxrm+P0Wg26uH1MWTRIy15HLBk1xu5m8owt/n0mla+ziF2d0KhfPBma Ldl4ma76rRVfq3HlrfKQPvR24GAW37QdSY38HedUQ/eDl5FHI6mZ+8ri1Ck8vJ847B9q K0enI0tzCtn3Pv9DxAz+s3Utd/BSyV8Fe5CguE10lzIz7TZOV6nLR7rXpRhSretIVdfG uyxQ== 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 no7si7890242ejb.586.2020.12.13.06.27.41; Sun, 13 Dec 2020 06:28:04 -0800 (PST) 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 S2407170AbgLLJyF (ORCPT + 99 others); Sat, 12 Dec 2020 04:54:05 -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--