Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DA2C0C05027 for ; Wed, 1 Feb 2023 14:43:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232613AbjBAOn3 (ORCPT ); Wed, 1 Feb 2023 09:43:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232460AbjBAOnK (ORCPT ); Wed, 1 Feb 2023 09:43:10 -0500 X-Greylist: delayed 489 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 01 Feb 2023 06:43:04 PST Received: from mail.fris.de (mail.fris.de [116.203.77.234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78C3E206AC; Wed, 1 Feb 2023 06:43:03 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 18DBAC0332; Wed, 1 Feb 2023 15:35:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1675262101; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=tRPLVPhQGfVkVFWzPuN9DvSL3QBjCj23rMy0j/6al9U=; b=CwqeB4dTR4bNwnbWH+uy8G3p5eaDqx2CL3VBGwSjEhHDwdgRV1RpUGfDxY1zycrhDuROCk /VL8MRxVzVbgNf0WUqKIDEuNKuGk9blUnlz1j+ZieGIKne3DjlrR4G71P8WZrLF1h0N+LG gPOljEtesiFpL5OnCMJ33a93OGGqmMNiN8AINW+IQ6naVFFtgmWnEfkeYD9mJiBkVXWj6G x6NqTYHYxqhpFbmfE2lG584wmUtL38K4wiNF5dETxa8DYmEvoyq8XlhxZZ72b5VufBguAK 6xhGrusdfgmCd1JiuRPHvKvct3JhNAK3KEcN7K/b6XhAm11vHVvY8f1iqCDiGg== From: Frieder Schrempf To: Alessandro Zummo , Alexandre Belloni , devicetree@vger.kernel.org, Krzysztof Kozlowski , linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, Rob Herring Cc: Frieder Schrempf Subject: [PATCH 3/7] dt-bindings: rtc: microcrystal,rv3032: Add backup-switch-mode property Date: Wed, 1 Feb 2023 15:34:25 +0100 Message-Id: <20230201143431.863784-4-frieder@fris.de> In-Reply-To: <20230201143431.863784-1-frieder@fris.de> References: <20230201143431.863784-1-frieder@fris.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Frieder Schrempf Add the new backup-switch-mode property that allows to set the BSM via devicetree. Signed-off-by: Frieder Schrempf --- .../devicetree/bindings/rtc/microcrystal,rv3028.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/rtc/microcrystal,rv3028.yaml b/Documentation/devicetree/bindings/rtc/microcrystal,rv3028.yaml index 4667ba86fd0c..2637c4c313ac 100644 --- a/Documentation/devicetree/bindings/rtc/microcrystal,rv3028.yaml +++ b/Documentation/devicetree/bindings/rtc/microcrystal,rv3028.yaml @@ -22,6 +22,8 @@ properties: interrupts: maxItems: 1 + backup-switch-mode: true + start-year: true trickle-resistor-ohms: @@ -40,6 +42,7 @@ additionalProperties: false examples: - | #include + #include i2c { #address-cells = <1>; #size-cells = <0>; @@ -49,6 +52,7 @@ examples: reg = <0x52>; pinctrl-0 = <&rtc_nint_pins>; interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>; + backup-switch-mode: ; trickle-resistor-ohms = <3000>; }; }; -- 2.39.1