From patchwork Mon Apr 24 12:34:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Shubin X-Patchwork-Id: 86946 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2631643vqo; Mon, 24 Apr 2023 03:10:32 -0700 (PDT) X-Google-Smtp-Source: AKy350YFesm0VQZXybmA+XSASjylJHNu5EP6LU6cdUECCKrgAhUKBHryv9ttn4UyvgwcAYNBNfQv X-Received: by 2002:a17:903:2cc:b0:1a1:d624:2fe2 with SMTP id s12-20020a17090302cc00b001a1d6242fe2mr14993923plk.17.1682331031764; Mon, 24 Apr 2023 03:10:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682331031; cv=none; d=google.com; s=arc-20160816; b=KN2vn1fLxXKRWE/uvNF5aMb8xf0rb471/4mRWY6DpKfKruTKTZ6oVi0PJ5vDX+WGvQ 6TCvT8LJugpMhmLaiwtmyqM0PJAYD3vN+8d8m/4B4SaonkGQDb1EtGNhHOSANFR8Wqym dv/XjmaNRowG4pBfUXFSXgUME9JBbAVZ/HcNEMkxK6H0K1QYP19MXZIubIscNGYz1mYO 9vOA42btVyFMAy3Y8SVYc/iJaWyY6XbzkukNUuHXG3XWD1aC4Rh/q87tyF145ZTEhzpE NUMCuMrmYV7kMsj2iSdc8FiUA2dUZKfQI5ZXqmUXNOt5b+YF31OdnKLdT3PiUaUiAcBf AyAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=NrNIVjZxrxqApegzhF/QSyNL7ug/6QuaZGwEWuxAJh0=; b=N/YBBOmM5lwBBOKng509yqb9Gp4XjoceU/OMxQDRAJFttnZfW+zOVp/vPfzrD88ZB2 i3WfG2OgZlTlzFJMkCQogPUksMSY30JG77BDrCyePat5g9NrIIa+rMcXRvzjr/4CNj20 IjAH7X/qCG/XGbMauRXF82d9qtq+wG7qCYTnpn4Ic2aAZxdocKtjUOGsHf8FVVgpv5q4 H4+zPiMC8BXYkSGAOnZlQbariv8SJ9Vs7YLVFIiS8aWoBnDdznU0NXFa2yNO4+gELIXL xYvut0LKfhzjJUv2gs7IpdlJh0Tk35NYr6sxmyvvCB3pk+tm8hIP1yn6/GV+NSeWchHC OvCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@maquefel.me header.s=mail header.b=Hk9eDjAi; 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 e15-20020a17090301cf00b001a6d4ec7c89si11684121plh.222.2023.04.24.03.10.18; Mon, 24 Apr 2023 03:10:31 -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=fail header.i=@maquefel.me header.s=mail header.b=Hk9eDjAi; 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 S231636AbjDXJzv (ORCPT + 99 others); Mon, 24 Apr 2023 05:55:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230499AbjDXJzq (ORCPT ); Mon, 24 Apr 2023 05:55:46 -0400 X-Greylist: delayed 453 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 24 Apr 2023 02:55:21 PDT Received: from forward502c.mail.yandex.net (forward502c.mail.yandex.net [178.154.239.210]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6B4535BE; Mon, 24 Apr 2023 02:55:20 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:261e:0:640:2e3d:0]) by forward502c.mail.yandex.net (Yandex) with ESMTP id DE7855E894; Mon, 24 Apr 2023 12:35:41 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id JZBb1pbWwKo0-JlIfcfjP; Mon, 24 Apr 2023 12:35:41 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1682328941; bh=NrNIVjZxrxqApegzhF/QSyNL7ug/6QuaZGwEWuxAJh0=; h=Message-Id:Date:In-Reply-To:Cc:Subject:References:To:From; b=Hk9eDjAiqMyu+AFFqQsNWfbtAgxe/4mNpICEDkc5StDP288FfJUELN0YNGxafpBPx oC8prmLrdxxfSHfrzYhv7iYE6BRGOpRgDUZznKCcPY8t01qfpbwrcKYQjxTa+UHnbw baYOQvazRqqDeDMDrpUF67nes2RcczebZOTciRz0= Authentication-Results: mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net; dkim=pass header.i=@maquefel.me From: Nikita Shubin Cc: Arnd Bergmann , Linus Walleij , Alexander Sverdlin , Alessandro Zummo , Alexandre Belloni , Rob Herring , Krzysztof Kozlowski , Hartley Sweeten , linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 07/43] dt-bindings: rtc: add DT bindings for Cirrus EP93xx Date: Mon, 24 Apr 2023 15:34:23 +0300 Message-Id: <20230424123522.18302-8-nikita.shubin@maquefel.me> X-Mailer: git-send-email 2.39.2 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 To: unlisted-recipients:; (no To-header on input) 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?1764051944117260112?= X-GMAIL-MSGID: =?utf-8?q?1764051944117260112?= This adds device tree bindings for the Cirrus Logic EP93xx RTC block used in these SoCs. Signed-off-by: Nikita Shubin --- .../bindings/rtc/cirrus,ep93xx-rtc.yaml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/cirrus,ep93xx-rtc.yaml diff --git a/Documentation/devicetree/bindings/rtc/cirrus,ep93xx-rtc.yaml b/Documentation/devicetree/bindings/rtc/cirrus,ep93xx-rtc.yaml new file mode 100644 index 000000000000..d4774e984e7b --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/cirrus,ep93xx-rtc.yaml @@ -0,0 +1,32 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/cirrus,ep93xx-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus EP93xx Real Time Clock controller + +maintainers: + - Hartley Sweeten + - Alexander Sverdlin + +properties: + compatible: + const: cirrus,ep9301-rtc + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + rtc0: rtc@80920000 { + compatible = "cirrus,ep9301-rtc"; + reg = <0x80920000 0x100>; + }; +