Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp212797pxk; Thu, 24 Sep 2020 03:56:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjqwh1MHv3DjcxQMdUVpRKLddzjUrEFn9TYhoMTqhN38n4sQ8uJD/STcBQcoPNpFYEo6kB X-Received: by 2002:a05:6402:22b4:: with SMTP id cx20mr348038edb.372.1600944997305; Thu, 24 Sep 2020 03:56:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600944997; cv=none; d=google.com; s=arc-20160816; b=w1Ew3js5u/kCuH9g+QgrHHGZaCQeXVpADs5YHprGGnP5foZ787WMou0/kP/Z1sEmKq 19gZQ1OnWFry0D/gZJpPtt4mw/RHxxw254U+Wy2bue1uBRwBHeiPtTQRqD+sc9fgZeLL uO2T4fDvMBWpUPrqmsd7LfB0HujL35Gz/T5vpo9pg8LbV3dBBZIm9hVAd0OaWqnspBOn 1iREOX/NBQze5dZw0SxE4m+lGaPBpIbADYKghbVNaxoql4XTpgbLMrZsmGXUL/grA/Rh i8G0YFCRb2ehXsWNj7c0nmwcpEpcWJDgVSsSSPrqJ99xpULyDa5cWiILbCmKOaXg6qcp 8MbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=6ng9Dklx07f4lZUFzeYhm7nl9HlmRqw0Bs/qtyBogaU=; b=SWN5ju0j7Pfm7DKaL1+bzcKgWz2rqGyY5zG/eKIPx5WODqGOdnG7QyHbVxyHGse2Dt TEJdv8gRU+vomXno2QyvZd2TVpNYdqw2JImHH+mkpvjGx96Nixd9b/5hmc6/LcGY4b6J +RaaWXbO4q0mk/6saUOpmEpv+09XQa7qn+qJ+bY8aFcPqDFamguC9VS1ctHjcry/rnsV Hu8qjAuk6eIoqok7/BKKKiHKZ148lqZQi/VYB1MggRS8dzC+by3a1/2W2EcJqGP8CmdH irPLuk4UBPnc8RDLjgG2RPy3uv3Cvx6sv3s4B7a8UkCq4g1qRJADbsJlkczNHk5+Jpm8 FqUQ== 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 bh20si1602123ejb.294.2020.09.24.03.56.13; Thu, 24 Sep 2020 03:56:37 -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; 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 S1726821AbgIXKxI (ORCPT + 99 others); Thu, 24 Sep 2020 06:53:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726753AbgIXKxI (ORCPT ); Thu, 24 Sep 2020 06:53: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 017DCC0613CE for ; Thu, 24 Sep 2020 03:53: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 1kLOs0-00062Q-SC; Thu, 24 Sep 2020 12:53:00 +0200 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1kLOry-0005Cb-PO; Thu, 24 Sep 2020 12:52:58 +0200 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= To: Alexandre Belloni , Qiang Zhao , Bruno Thomsen Cc: linux-rtc@vger.kernel.org, a.zummo@towertech.it, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, kernel@pengutronix.de, Wim Van Sebroeck , Guenter Roeck Subject: [PATCH 0/2] rtc: pcf2127: only use watchdog when explicitly available Date: Thu, 24 Sep 2020 12:52:54 +0200 Message-Id: <20200924105256.18162-1-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200924074715.GT9675@piout.net> References: <20200924074715.GT9675@piout.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, now that there are two people stumbling over the pcf2127 driver providing a non-functional watchdog device, here comes an RFC patch to address this. Note this is only compile tested and dt-documentation is still missing. Still send this series because the cleanup is nice independent of this discussion and to have something to argue about. Does someone can offer a better name than "has-watchdog", is there a scheme that could be used already that I'm not aware of? Best regards Uwe Uwe Kleine-König (2): rtc: pcf2127: move watchdog initialisation to a separate function [RFC] rtc: pcf2127: only use watchdog when explicitly available drivers/rtc/rtc-pcf2127.c | 57 ++++++++++++++++++++++----------------- 1 file changed, 32 insertions(+), 25 deletions(-) -- 2.28.0