From patchwork Thu Jun 1 05:34:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Shubin X-Patchwork-Id: 101715 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp71033vqr; Wed, 31 May 2023 22:46:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5zyaPFMqax0x6xISuYOj8w4yjTRqnCGdQ0oEY7/yuQ5uRYsTL75q0kIAKA7g04yLjEaaYA X-Received: by 2002:a05:6870:c81a:b0:187:8a98:10b3 with SMTP id ee26-20020a056870c81a00b001878a9810b3mr6947670oab.45.1685598416464; Wed, 31 May 2023 22:46:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685598416; cv=none; d=google.com; s=arc-20160816; b=RZ/w46xxP66HCYZ2QH2VUoPnrkQkC7P+667xuwZ6vKu9H+D/B7LnJVSDAQ7LaWa0CX NdIHWX38N2dWzNknGeGbBHv2O8DAmiQJvxvNMsgzEDX+A50G5FZM3BTm2foKXqgRHI+v 4X1S+2rC9PUx17ZJu/s407BiaiEFkT4g/GVms8pbJtW7Jcs2UdkH9Pw9KAlRVITf/krU ifymRRszMCv8wGnENeLCNEaQWFdy/jm2jjg2HbIIYP+duoNAhVMZXC5kY8hlvH+h8jlo e/t5XQd9kPXGUU9vc42BRIfS1fVKEF/OIFAzkX0h7w0eY8/0EWAXZxsegmbg+BlSAc1E q+ZQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qOkogIySk519S7an/UqDAaBb8UQhyT0kSjiOdERaRIs=; b=zHdYkZFny4Elr8wsg22GZyz0P1TSYiStfPpycnjcatJE8hPxu67gsTCRcRfA7/lqiF fPppRYtpdTAmAWOdJrTX4AIybWrOFnczHyaKgm2+SzUxcbfgEo214KbtNgFskkUj/gmc 4nlrrbsLqG+iuXAmEBvKoBmuiyQ983AV79rf5cGv3cC8h4Gm9c9q1W3ZJQ3VcOQbihzi t+K/WTGcLLVrOp9BVPVHcizg4TcQsIqgaS8raM3/oCxuPwouBzjzQmOFaNGBH5gdHWwe lNxhyQqd9SEg1Aygu7AcpJ6wyb8vSEc38IWZI4gQysesWnWESq+jgKCjgR6crPexdvrI 3tGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maquefel.me header.s=mail header.b=n7ypch4L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p19-20020a637413000000b0053feb93b539si146724pgc.330.2023.05.31.22.46.44; Wed, 31 May 2023 22:46:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@maquefel.me header.s=mail header.b=n7ypch4L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231478AbjFAFiY (ORCPT + 99 others); Thu, 1 Jun 2023 01:38:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231359AbjFAFhs (ORCPT ); Thu, 1 Jun 2023 01:37:48 -0400 Received: from forward100c.mail.yandex.net (forward100c.mail.yandex.net [178.154.239.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97922136; Wed, 31 May 2023 22:37:09 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-45.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-45.sas.yp-c.yandex.net [IPv6:2a02:6b8:c14:c83:0:640:84f9:0]) by forward100c.mail.yandex.net (Yandex) with ESMTP id B6FEA600D3; Thu, 1 Jun 2023 08:37:07 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-45.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id OaGNfZvWv8c0-FpBrcpQV; Thu, 01 Jun 2023 08:37:07 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1685597827; bh=qOkogIySk519S7an/UqDAaBb8UQhyT0kSjiOdERaRIs=; h=Message-Id:Date:In-Reply-To:Cc:Subject:References:To:From; b=n7ypch4LzDr5/chZbGWNTasJLTDMY4ucB9n/AFwmXFxTXkX2xllvO13F5luUfMhOX AcStIUv7Fj5ICxW65Op3AxicHU2ZipbJJvXPaIEaH4X2ww9IJSxdzyrwxBzA7KYBiG GnguUE4pYzC97+prPDEbgTGejxKjRCsWd19pcl4s= Authentication-Results: mail-nwsmtp-smtp-production-main-45.sas.yp-c.yandex.net; dkim=pass header.i=@maquefel.me From: Nikita Shubin To: Alexander Sverdlin , Arnd Bergmann , Linus Walleij , Alessandro Zummo , Alexandre Belloni , Rob Herring , Krzysztof Kozlowski , Hartley Sweeten Cc: Nikita Shubin , Michael Peters , Kris Bahnsen , linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 10/43] dt-bindings: rtc: Add Cirrus EP93xx Date: Thu, 1 Jun 2023 08:34:01 +0300 Message-Id: <20230601053546.9574-11-nikita.shubin@maquefel.me> X-Mailer: git-send-email 2.37.4 In-Reply-To: <20230424123522.18302-1-nikita.shubin@maquefel.me> References: <20230424123522.18302-1-nikita.shubin@maquefel.me> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767478045212469209?= X-GMAIL-MSGID: =?utf-8?q?1767478045212469209?= This adds device tree bindings for the Cirrus Logic EP93xx RTC block used in these SoCs. Signed-off-by: Nikita Shubin --- Notes: v0 -> v1: Krzysztof Kozlowski: - removed wildcards - use fallback compatible and list all possible compatibles - dropped label - fix ident .../bindings/rtc/cirrus,ep9301-rtc.yaml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/cirrus,ep9301-rtc.yaml 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..63572c197e92 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/cirrus,ep9301-rtc.yaml @@ -0,0 +1,40 @@ +# 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 + +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 + +additionalProperties: false + +examples: + - | + rtc@80920000 { + compatible = "cirrus,ep9301-rtc"; + reg = <0x80920000 0x100>; + }; +