Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4420870rdb; Fri, 15 Sep 2023 01:19:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF5mdFwpdFX82r764ah0G8IwEPCIXqyVUFXftrDlSvjtr8r9LLu0DPFJ9X0dhoyUhSikMP6 X-Received: by 2002:a17:90a:ec05:b0:274:4e9b:7a1a with SMTP id l5-20020a17090aec0500b002744e9b7a1amr725981pjy.44.1694765948971; Fri, 15 Sep 2023 01:19:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694765948; cv=none; d=google.com; s=arc-20160816; b=uvNkjc4uF07tSzq7Q2f8ZbrN23NvC/NXgCAVtIft+G2xPeaw7SR1drbYz2Vnznt0Ak WP6wZbw2aARemYnEy2GkPVvL7U2uLnOrDxQ67SngDCfOfinFiDMWoXrGpTXSamOU1Ap6 tBGcLreTt9ocxEt1tIZe5Vqh34Jl7GKHZEj1xGP2tGI9Rn1Ty9Ynlnd+nHuA9tatfGv2 DyMWUHFZDoCGmkoU8V5r3yxeymXYwxn2TmfmLeieZl8hRtcruz7eJCbhW93q1Za1401L e7fV/XzHYDxxdpnNN9M5JnVvvmW3nPwJTngheUT0VlQJJ00+W+YmFEyg5YhM3078lUyG DTmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=rAx3j8vSQ2GYvYOclpw1V//WoOqxGM1rsJqeqMLu9Is=; fh=CoSMDqP4b2ByY0S5us7cYpuNEV2i65fp2j8WJv2rTec=; b=aihuL8RFMquE3v9I7DbTnKQTdfwrDsB8wv0jkpKEPfxk9FI3v3vhX+bRO+yE44Ez5d rhVhs8edLrgstAbhA41QoHfnt+4NQL7fWPviN1DzPOHERA6MsQtmp8Yp5OfdNacDMv4H FSpK/C0OxRgESXskCGsFABa/oBJx9jFmLIQRMzfSbaIIfyILtJevR0HfdvtdmK6Nb0lN ZMFs1WyXdCWigp4VyAu59x9ChxCQyiQx/cR8m+u2VV8M45Fh9JUGQM6tUo3WUsqOU+V7 YhOl5r3DQ4vjrkakh1SZbY6H0IPd1d7vftMZxxO0PIiOXC/WXIU5kMxriSvwYkWQyidA ZIqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WMKteJrg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id d9-20020a17090a114900b0026d0a89ad68si4917118pje.43.2023.09.15.01.19.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 01:19:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WMKteJrg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 5CFD08366EED; Fri, 15 Sep 2023 01:12:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232991AbjIOIMn (ORCPT + 99 others); Fri, 15 Sep 2023 04:12:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232894AbjIOIMS (ORCPT ); Fri, 15 Sep 2023 04:12:18 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B0B82723; Fri, 15 Sep 2023 01:12:11 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id DBD8CC433CD; Fri, 15 Sep 2023 08:12:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694765528; bh=v5iaPlwXd/OKY/Q0WHziCUY1RlsKsYRSD0RKIEbGFGg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=WMKteJrg4A5p3BceRlRbO4zdB9oYR8O8w2izAvAbU1v2qEHoquSyMZolEPMOVSHge nilyBpC2ZdBMOsv0ssWVxXJsoa3awV8m1wYnMlqx1qwzdBkYE+30ihO5yOsX58G59Y tJ1iRU7yLeOZ2eVWhUaw7e9TRaMV+/6DD0cmqVOJZom65pPaEs6TFYLPEI5ekqBb35 N6H1v7DbuTULua0DiouHHIOpD4SINcvDTGxgjfjhgRZwIooN3yGW6jQJMEc4CnWkpc 4Yw/xSCKsxAj9G6qReWCKPcSPZj0+y/MYx5x7q++BO0nnncKjDghx0jBZMqDdjV2A4 limLHiG7G/EyQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CABA1EE643A; Fri, 15 Sep 2023 08:12:08 +0000 (UTC) From: Nikita Shubin via B4 Relay Date: Fri, 15 Sep 2023 11:10:55 +0300 Subject: [PATCH v4 13/42] dt-bindings: rtc: Add Cirrus EP93xx MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230915-ep93xx-v4-13-a1d779dcec10@maquefel.me> References: <20230915-ep93xx-v4-0-a1d779dcec10@maquefel.me> In-Reply-To: <20230915-ep93xx-v4-0-a1d779dcec10@maquefel.me> To: Alessandro Zummo , Alexandre Belloni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Hartley Sweeten , Alexander Sverdlin Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Alexander Sverdlin X-Mailer: b4 0.13-dev-e3e53 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694765525; l=1532; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=llBn19+N5OMsRAdced6fEa337zLi62mxyrYZPxL4bew=; =?utf-8?q?b=3DZEueZSJSmLtX?= =?utf-8?q?mleqTaxRhGsWXM8QLlULSAgo2aJpe4urGGdUI7wdA/bYKuWMRfxgJAgzDo/H2onI?= 1Z96r9a5DRYiQ4slaT+nGmY+UlR0BkVjLT7Ts0ff+0gL26fWq1LZ X-Developer-Key: i=nikita.shubin@maquefel.me; a=ed25519; pk=vqf5YIUJ7BJv3EJFaNNxWZgGuMgDH6rwufTLflwU9ac= X-Endpoint-Received: by B4 Relay for nikita.shubin@maquefel.me/20230718 with auth_id=65 X-Original-From: Nikita Shubin Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 15 Sep 2023 01:12:58 -0700 (PDT) From: Nikita Shubin Add device tree bindings for the Cirrus Logic EP93xx RTC block used in these SoCs. Signed-off-by: Nikita Shubin --- .../devicetree/bindings/rtc/cirrus,ep9301-rtc.yaml | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/Documentation/devicetree/bindings/rtc/cirrus,ep9301-rtc.yaml b/Documentation/devicetree/bindings/rtc/cirrus,ep9301-rtc.yaml new file mode 100644 index 000000000000..a95f6af2b1c0 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/cirrus,ep9301-rtc.yaml @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/cirrus,ep9301-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus EP93xx Real Time Clock controller + +maintainers: + - Hartley Sweeten + - Alexander Sverdlin + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + oneOf: + - const: cirrus,ep9301-rtc + - items: + - enum: + - cirrus,ep9302-rtc + - cirrus,ep9307-rtc + - cirrus,ep9312-rtc + - cirrus,ep9315-rtc + - const: cirrus,ep9301-rtc + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + rtc@80920000 { + compatible = "cirrus,ep9301-rtc"; + reg = <0x80920000 0x100>; + }; -- 2.39.2