Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp587018pxb; Wed, 27 Jan 2021 15:58:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJzXt1mPVQAx6NsYACnYar1Ci/Qdw2DYLv9g7BvSnEx20mapDnBHEQontrksHvQc/nF/MSCb X-Received: by 2002:a50:9ee9:: with SMTP id a96mr11248654edf.343.1611791890517; Wed, 27 Jan 2021 15:58:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611791890; cv=none; d=google.com; s=arc-20160816; b=uVnwTbZW1OppjE5Ws0xqaom2rpOCwOHUwjp8FWwTHw97EhK+HH+MBz9ceh6IRmol4k Jzft33Ih+TsEraP47HHCGxaOhTuNa69bwc1Q+CAb6BebUSuoXyi50J+KFrDw88QqfVhJ f7Qj7Hdai2PAtpi77WRtHSKSlckWwxmLK7WXhH/H6C5ncQXB27TXWaqwVgQnhf8FRdWp UisbwEufSvd0ZUrjFaoFbtLrJzaORVKuDWJ3obo1ghHmk5MqG9wQnKrYHUuZa5OAa2IJ 5T9B1J6KzMJ5cAmRMC+gVQ70pXpHT7J5XO6QznME8jolWXRL7h/1XGSmk0SofOQpawdA bqyg== 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=rkrimK3q29JInFz/7+PVLvgQwZWZ29cPpm3PVYUo1HA=; b=yqiv+OqlAm3PyZoP2ixN3TjjVYd9fc7pctc4JE912+Xlt/6iLH9ke8ZMOY+KRFxiXN X8txUxB05N5D2e2pzFJ8TD3IFbZHoCRCDDXGtD2qbIJwwHnXpn2mHlDT87jsEF2h7Wc5 VYB97CRiYvYn3txFAqw9HcqiQyrQiiNH+EORPrPDSzbhiddshuBJrcliHz+JuBkQse8l zrZ0ErjWV3hsMJCa0AAGRQ3j8t2MXN1+20Pb+7ut6/UKp1CxZdInUiJxh7b4c4yD+MFK uWszQIQ+Fr0NZRw9YXS/Ke92nnGezKVFW879gxylR0OPeslO51Lvah7s04wnf+AVpmpH g9hw== 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 t12si1871643edc.228.2021.01.27.15.57.44; Wed, 27 Jan 2021 15:58:10 -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 S238217AbhA0NUg (ORCPT + 99 others); Wed, 27 Jan 2021 08:20:36 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:54043 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233033AbhA0NTS (ORCPT ); Wed, 27 Jan 2021 08:19:18 -0500 X-Originating-IP: 86.202.109.140 Received: from localhost (lfbn-lyo-1-13-140.w86-202.abo.wanadoo.fr [86.202.109.140]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 3F273FF802; Wed, 27 Jan 2021 13:18:22 +0000 (UTC) Date: Wed, 27 Jan 2021 14:18:21 +0100 From: Alexandre Belloni To: Rasmus Villemoes Cc: Alessandro Zummo , Rob Herring , linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: rtc: pcf2127: update bindings Message-ID: <20210127131821.GH1196852@piout.net> References: <20201219013418.3474461-1-alexandre.belloni@bootlin.com> <20210126224835.GE1196852@piout.net> <0a8fd7f3-58c1-9e20-bcfa-9872b3dc3550@prevas.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0a8fd7f3-58c1-9e20-bcfa-9872b3dc3550@prevas.dk> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27/01/2021 14:07:59+0100, Rasmus Villemoes wrote: > On 26/01/2021 23.48, Alexandre Belloni wrote: > > On 21/12/2020 22:17:54+0100, Rasmus Villemoes wrote: > >> On 19/12/2020 02.34, Alexandre Belloni wrote: > >>> pcf2127, pcf2129 and pca2129 support start-year and reset-source. > >>> > >> > >> No, the 2129 variant doesn't even have a reset output pin. Not sure if > >> there's any way to reflect that, and it probably doesn't matter, since > >> nobody's going to add the reset-source property to a 2129 node. But the > >> commit message is a bit misleading. > >> > > > > Actually no, the INT pin can be used as a reset, the pcf/pca2129 > > can be used as a watchdog and so it may need the reset-source property. > > Unless I'm missing something, that would require some rather creative > extra circuitry: The interrupt pin is kept low until the appropriate bit > in the rtc is cleared, so if that is routed directly to a reset pin on > the SOC, the SOC would be kept in reset indefinitely. > You mean inverting the level of INT? I don't think this is creative or complicated... And anyway, INT# is active low, like RST# so if the SoC has an RST# input, this should just work. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com