Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp238848yba; Wed, 3 Apr 2019 07:54:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqzjEBFusWEZKZbi58jbv8EIpcqAkD6IU9JHYVmnZwyszJDF35PEFuxkRkQ53b7TQWgzGciJ X-Received: by 2002:a62:5797:: with SMTP id i23mr75001640pfj.12.1554303271459; Wed, 03 Apr 2019 07:54:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554303271; cv=none; d=google.com; s=arc-20160816; b=kk64Yzf2uZ4J9lviTMdyEOG1d+7iWu7SE6itjG5ijlXsdcJoQHaG35CSKLKJG5A/WN P5EjwR9f/AAya/H0HeFsB7B9MTj3p8UZBGB3j9C0aR7B+Mtta4oMelGZ41ikUK2AXAsA 5iYcZZEDY8s1O+nmvk8+QeK5agefhFhy/gf5b13DJvJBtIYiq3zylYSDe8S5BQLJby82 M7djcRbqWY5O2rKOTXEEpl+YtD4dMyaDo7wDKrc2hkUBfPwtWzPpH9/mP+KDAzqvYmtQ gNP6IEjnYgw7ZcqJLNtjZZKTUDBkqeSGmD4U/7VznghfGDkkyJgwE1dN/ZgZ1U5JOv6p iswA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=wYjS3YW+3287WUsDqUHYSD2yiRhLdgFCvQzsSL+PSU8=; b=BrzBrzBBGj5+Kko6wg5FY/BMjHT+rZ+ajOsRurWlP0mB5riOiZ2IDtYymavjCAuiMo lSCvG9DNhOqb5S+q/bjGt74dYhnBQaYPujKMiuWh66G3MzyT8vyramlu5pbjr/lZvZlw DcHil/+Y/qIOBuEe1vZD0/PQW5CfsA5LIiFOJMB42H6q+3/CBoNJlZik9icfwwLP64B6 n8lsRf6GPFxt6DhLEskTDK1lAFadu+b6kyKc/k3vSYqoHL64jCmw5A7CN2GCexrdGjp0 Lz6PgbWB5NFbZwwev/OqPxtNLs5UPJQVUIlCwHLU8cOu5Qy+Lpl4Y3lSQQtRZliniVqr 8KBA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q8si13477823pgp.480.2019.04.03.07.54.16; Wed, 03 Apr 2019 07:54:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726425AbfDCOxT (ORCPT + 99 others); Wed, 3 Apr 2019 10:53:19 -0400 Received: from smtp.asem.it ([151.1.184.197]:61517 "EHLO smtp.asem.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726218AbfDCOxS (ORCPT ); Wed, 3 Apr 2019 10:53:18 -0400 Received: from webmail.asem.it by asem.it (smtp.asem.it) (SecurityGateway 5.5.0) with ESMTP id SG003789493.MSG for ; Wed, 03 Apr 2019 16:53:08 +0200S Received: from ASAS044.asem.intra (172.16.16.44) by ASAS044.asem.intra (172.16.16.44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Wed, 3 Apr 2019 16:53:07 +0200 Received: from flavio-x.asem.intra (172.16.17.208) by ASAS044.asem.intra (172.16.16.44) with Microsoft SMTP Server id 15.1.1261.35 via Frontend Transport; Wed, 3 Apr 2019 16:53:07 +0200 From: Flavio Suligoi To: Alessandro Zummo , Alexandre Belloni , Rob Herring , Mark Rutland CC: , , , Flavio Suligoi Subject: [PATCH 1/2] dt-bindings: rtc: add battery-low-hw-alarm property Date: Wed, 3 Apr 2019 16:52:44 +0200 Message-ID: <1554303165-24813-1-git-send-email-f.suligoi@asem.it> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-SGHeloLookup-Result: pass smtp.helo=webmail.asem.it (ip=172.16.16.44) X-SGSPF-Result: none (smtp.asem.it) X-SGOP-RefID: str=0001.0A0B0210.5CA4C8D4.003A,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 (_st=1 _vt=0 _iwf=0) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some RTC devices have a battery-low automatic detection circuit. The battery-low event is usually reported with: - a bit change in a RTC status register - a hw signaling (generally using an interrupt generation), changing the hw level of a specific pin; The new property "battery-low-hw-alarm" enable the RTC to generate the hw signaling in case of battery-low event. Signed-off-by: Flavio Suligoi --- Documentation/devicetree/bindings/rtc/rtc.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/rtc/rtc.txt b/Documentation/devicetree/bindings/rtc/rtc.txt index a97fc6a..f93a44d 100644 --- a/Documentation/devicetree/bindings/rtc/rtc.txt +++ b/Documentation/devicetree/bindings/rtc/rtc.txt @@ -31,6 +31,9 @@ below. expressed in femto Farad (fF). The default value shall be listed (if optional), and likewise all valid values. +- battery-low-hw-alarm : Enable the "battery-low" output pin. This function + is available on the following devices: + - pcf2127 - pin used for alarm: INTn Trivial RTCs ------------ -- 2.7.4