Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp748282pxu; Wed, 7 Oct 2020 15:06:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwiUQqz6tVCawkNzytjqPAn0bzXVC6/NQ6CD13wrIYRgL3RZuQFUOuDvMNDPH0Jy0cqeRw X-Received: by 2002:a17:906:3cc:: with SMTP id c12mr5372345eja.216.1602108391952; Wed, 07 Oct 2020 15:06:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602108391; cv=none; d=google.com; s=arc-20160816; b=ZDmViqdyQEpXrqwQzfpufKNI6wQXdKpxIm72rxOC1jnvKldhxv+DD0UDWH+SboF1uk TXyKhJ44tnrb6yHGKVP88ywFdsBTEFjTWswoUvYuoOYK7q0pzhg+el7gtS8Y38trMg30 ZPPVm5ygv7+qCvYJAOKAuzmBKDYh/h1ST9L3xw767UY6SKpiBfl5xH/2rypllX6Iowo1 CmAx7rBexqzopEXRV2pF3USFUDPNf3jgaRj6WUojjhBEbiPyn04N/B0aoWl8HTkCUUhE N5mNBhyAb8YFke/B5+Hqy2G+JKZgaRIppuXJKQ9aESD4fd8ccZKJ405Pmf+A1MYFs0Jw 0h3g== 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 :message-id:date:subject:cc:to:from; bh=6s2k7IakogqI1serlBnwSmr2nmndRsrxE16vlUv4SP4=; b=yvfgE2CxbYgbp7Vm6YlzvrC6F5lzyNj3rQbxaxA8PL5XooywtH5KrcQc85zAkfjDUH RIOD7e2DOaZS55RLbtPOuhRd+YqBOapsFXhO43NeRTsBOxAJrT3cdQaCfrNXGqOcjP1I pZXsZRVAd/TAzvu6VquTnyWJOMIeA4qAB9xSMShja+b3uy0qGak8xw2RWNOC1RY9yAru +oSdgJ5hgyF3fDgSjp7PM2ORF52FiLSMcqHwM3b7l2rP3e/ASOQHI5vLfU23FOUG2ERS Kr+5W8qt759GMieCeM7DMHrY2PjxxjGxHMHrdBJbK4gyVV+SDJ5Fko/OIfGX+MCH8Rnx 8LYg== 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 ng6si2355217ejb.81.2020.10.07.15.06.07; Wed, 07 Oct 2020 15:06:31 -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 S1728799AbgJGWFM (ORCPT + 99 others); Wed, 7 Oct 2020 18:05:12 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:41941 "EHLO relay7-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728575AbgJGWFL (ORCPT ); Wed, 7 Oct 2020 18:05:11 -0400 X-Originating-IP: 90.65.88.165 Received: from localhost (lfbn-lyo-1-1908-165.w90-65.abo.wanadoo.fr [90.65.88.165]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id DCF1620005; Wed, 7 Oct 2020 22:05:08 +0000 (UTC) From: Alexandre Belloni To: Alessandro Zummo , Alexandre Belloni , Rob Herring Cc: devicetree@vger.kernel.org, linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/3] dt-bindings: rtc: add trickle-voltage-millivolt Date: Thu, 8 Oct 2020 00:05:04 +0200 Message-Id: <20201007220506.360469-1-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some RTCs have a trickle charge that is able to output different voltages depending on the type of the connected auxiliary power (battery, supercap, ...). Add a property allowing to specify the necessary voltage. Signed-off-by: Alexandre Belloni --- Changes in v2: - use millivolt suffix instead of mV Documentation/devicetree/bindings/rtc/rtc.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/rtc/rtc.yaml b/Documentation/devicetree/bindings/rtc/rtc.yaml index ee237b2ed66a..93f04d5e5307 100644 --- a/Documentation/devicetree/bindings/rtc/rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/rtc.yaml @@ -42,6 +42,13 @@ properties: Selected resistor for trickle charger. Should be given if trickle charger should be enabled. + trickle-voltage-mV: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Selected voltage for trickle charger. Should be given + if trickle charger should be enabled and the trickle voltage is different + from the RTC main power supply. + wakeup-source: $ref: /schemas/types.yaml#/definitions/flag description: -- 2.26.2