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=-4.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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 54505C433E0 for ; Thu, 16 Jul 2020 14:47:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 303CC206F5 for ; Thu, 16 Jul 2020 14:47:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728150AbgGPOrJ (ORCPT ); Thu, 16 Jul 2020 10:47:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726963AbgGPOrI (ORCPT ); Thu, 16 Jul 2020 10:47:08 -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 9CEB5C061755 for ; Thu, 16 Jul 2020 07:47:08 -0700 (PDT) Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jw5AB-0002nr-8h; Thu, 16 Jul 2020 16:47:07 +0200 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1jw5A9-0002fZ-LK; Thu, 16 Jul 2020 16:47:05 +0200 Date: Thu, 16 Jul 2020 16:47:05 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Bruno Thomsen Cc: linux-rtc@vger.kernel.org, linux-watchdog@vger.kernel.org, alexandre.belloni@bootlin.com, a.zummo@towertech.it, wim@linux-watchdog.org, linux@roeck-us.net, bth@kamstrup.com Subject: Re: [PATCH v3 4/5] rtc: pcf2127: add watchdog feature support Message-ID: <20200716144705.o57m4r7ptmsm3m6n@pengutronix.de> References: <20190822131936.18772-1-bruno.thomsen@gmail.com> <20190822131936.18772-4-bruno.thomsen@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wlydsxkzm4ykmx3v" Content-Disposition: inline In-Reply-To: <20190822131936.18772-4-bruno.thomsen@gmail.com> X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 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-rtc@vger.kernel.org Sender: linux-rtc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rtc@vger.kernel.org --wlydsxkzm4ykmx3v Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, On Thu, Aug 22, 2019 at 03:19:35PM +0200, Bruno Thomsen wrote: > Add partial support for the watchdog functionality of > both PCF2127 and PCF2129 chips. I have a board here with a pcf2127 that has the #RST pin not connected. The problem this creates is: The bootloader arms the SoC's watchdog and jumps into Linux. The pcf2127 driver happens to load first, so watchdog0 is provided by the RTC (but non-functional). Systemd is configured to feed the watchdog, but happens to feed the wrong one, so the machine resets shortly after it is up :-| So I wonder if we need a dt property that tells the driver if the RST line is connected or not. Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --wlydsxkzm4ykmx3v Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAl8QaGYACgkQwfwUeK3K 7AnYzQf/V7RnI9MWGMYzHgloRnRN97jS9wQHOPccvFvBIh9fwps/5vVDxGmJxuJN PYmMoPye3fDDArmEi1apkMx8qVu0ou35EaPfqs72RcfwCObtDILEfCEGyyA6QcDS Mi6IBtDtPBhb3DRR5UUuzbnB2gyrxO/iPWt9Btb8Mb0etdFhSrO9KD91GXpfL0ja X7CoyBqOkV+9ujnH38CWdfDKfDsgw01Em06+D2wtyyT7Q/h2VtZMGa/Kt/DGFbNb 0AqHYeyoB9m2NSqiBbcC0zfjJ11nrhlsPmufbK5BxPFUuESAhdUjnyxX/U55QD5i BY/z/2xS4ijW0cYC0HZtWnlf7HTpuA== =HTG/ -----END PGP SIGNATURE----- --wlydsxkzm4ykmx3v--