From patchwork Tue Jan 25 20:00:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hugo Villeneuve X-Patchwork-Id: 536545 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 5597FC4321E for ; Tue, 25 Jan 2022 20:00:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231285AbiAYUAq (ORCPT ); Tue, 25 Jan 2022 15:00:46 -0500 Received: from mail.hugovil.com ([162.243.120.170]:53800 "EHLO mail.hugovil.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231286AbiAYUAm (ORCPT ); Tue, 25 Jan 2022 15:00:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-Id:Date:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=meNhctVqWiZ7bMMAhRsGEJ5/xhPxg/TVlXWUTDDfSJk=; b=SkoSBF2sMjwqX8EI9UvIAMH3Bd ADByGwTkUAvLmrkhf9OnpJtOGq6JB2g5HwkIzAWV09QPv1gKBUeZAGRx9fFq5/vRTo3tmdkrP18FU Z80iOZs21AomMwgu6XnEhCRNyyH81WG9VDLS4+X2CiVvGenB/CCLxvS4xR0osecaBzls=; Received: from modemcable168.174-80-70.mc.videotron.ca ([70.80.174.168]:55004 helo=pettiford.lan) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1nCRzS-0007fC-RA; Tue, 25 Jan 2022 15:00:31 -0500 From: Hugo Villeneuve To: Alessandro Zummo , Alexandre Belloni , Rob Herring Cc: hugo@hugovil.com, Hugo Villeneuve , linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Date: Tue, 25 Jan 2022 15:00:08 -0500 Message-Id: <20220125200009.900660-10-hugo@hugovil.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220125200009.900660-1-hugo@hugovil.com> References: <20220125200009.900660-1-hugo@hugovil.com> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 70.80.174.168 X-SA-Exim-Mail-From: hugo@hugovil.com Subject: [PATCH 09/10] dt-bindings: rtc: pcf2127: add PCF2131 X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Hugo Villeneuve Add support for new NXP RTC PCF2131. Signed-off-by: Hugo Villeneuve --- .../devicetree/bindings/rtc/nxp,pcf2127.yaml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml b/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml index cde7b1675ead..57eb0a58afa3 100644 --- a/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml +++ b/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml @@ -14,7 +14,9 @@ maintainers: properties: compatible: - const: nxp,pcf2127 + enum: + - nxp,pcf2127 + - nxp,pcf2131 reg: maxItems: 1 @@ -48,4 +50,19 @@ examples: }; }; + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + rtc@53 { + compatible = "nxp,pcf2131"; + reg = <0x53>; + pinctrl-0 = <&rtc_nint_pins>; + interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>; + reset-source; + }; + }; + ...