From patchwork Mon Apr 24 12:34:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Shubin X-Patchwork-Id: 86973 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2642114vqo; Mon, 24 Apr 2023 03:32:41 -0700 (PDT) X-Google-Smtp-Source: AKy350a2K+TMV+BLNLB4JhE3dknhpnr8rNq/gc/1pq30o8Khfovwove7VQTdoXk3psQ3XKYvlrxP X-Received: by 2002:a05:6a00:14cf:b0:63d:408a:e14 with SMTP id w15-20020a056a0014cf00b0063d408a0e14mr19130303pfu.4.1682332360910; Mon, 24 Apr 2023 03:32:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682332360; cv=none; d=google.com; s=arc-20160816; b=n3u7y6tQqkfyU4x8Uq0ndBLerR7lUBAKfFmZWGU4yt33QNMIw5u4yO3cfaSjW0TPRN ebad5GqbpMubr5c6xgXHB4ai1coFb/EhOmrLzFTFMCxr8P4QmW++jIC2n1ObTBKHqNjN nO8nP73NWYnQkwyzJ6EbnVKKY66OVAgCzHqSgDUBBbiTgx0XpCQbY2THa2E6AqiRpGkg Xxi+AEBhyovYg0voRnd6YcXrDKFO9ckTg0RaJs14ubhweoHghiP5wSJguCb5T5X7iLYE 0kMRcpwqAE9/uPXSgXDA1PbyBrak2eU8i2Uu6yVoEwFFbTzkPWXlnOoNSKq877t1W6Fk aR8w== 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=d3R4SlbJR9GyKNTHeSNJIKou6BcJywQO8CN3xVIBaKM=; b=ctGb8Wgc/5F4Lj/ZTSaDOld8MTF5s/MGby+4peUDR8iMSIKW0hm0v4q8OAJK+Szr8s /nujQ2iTNHhzbTJi0BbVm8XlJ5u851MoMgZzgWtStwN9gQd72KI2LmJ58Q4fsVOGxN/r 0NF7tebe2KENjH5nnmCGX8CygzjLh32n4DqbVshOr1oRZnKibS3phybL3d1XReOHKbWw rlC90iHII7qoSUqrL1NRYgxcwQ3p3UgLRMl9pMbSTcJq8AioILPZkbBFGjmE6bAbJwsT KdHn9xpWnR3Mkz82Vhsr5MsrKfqhh5NLSWKBPT3TLyNhPWJ9iLbtGbs87mgfo3N0k7iN 045g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@maquefel.me header.s=mail header.b=OiJhIKfv; 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 g18-20020aa79f12000000b0063aed85c989si10830503pfr.71.2023.04.24.03.32.26; Mon, 24 Apr 2023 03:32:40 -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=OiJhIKfv; 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 S231793AbjDXKV4 (ORCPT + 99 others); Mon, 24 Apr 2023 06:21:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231600AbjDXKVG (ORCPT ); Mon, 24 Apr 2023 06:21:06 -0400 Received: from forward502b.mail.yandex.net (forward502b.mail.yandex.net [178.154.239.146]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A8243C04; Mon, 24 Apr 2023 03:20:49 -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 forward502b.mail.yandex.net (Yandex) with ESMTP id 940275EDD8; Mon, 24 Apr 2023 12:36:02 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id JZBb1pbWwKo0-IWWSMic2; Mon, 24 Apr 2023 12:36:02 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1682328962; bh=d3R4SlbJR9GyKNTHeSNJIKou6BcJywQO8CN3xVIBaKM=; h=Message-Id:Date:In-Reply-To:Cc:Subject:References:To:From; b=OiJhIKfvqQJYJwfDut+7wSS0wQeQ/4nY/0VNMXXBNQ5ACuI91r7JkJ63nySQ+U8jJ 9hf8AEjul23/MMiL7ihkOAM11yFpF+/MoZYiqCd7Nz4TQHgcBv1ryTZBjbIQZxPbPQ IVQwaFRJTLeNVNrBPTudKgefHg3wI5T4wJ/2HUwg= 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 , linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 28/43] dt-bindings: rtc: Add DT binding m48t86 rtc Date: Mon, 24 Apr 2023 15:34:44 +0300 Message-Id: <20230424123522.18302-29-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?1764053337705696897?= X-GMAIL-MSGID: =?utf-8?q?1764053337705696897?= Add YAML bindings for ST M48T86 / Dallas DS12887 RTC. Signed-off-by: Nikita Shubin --- .../bindings/rtc/dallas,rtc-m48t86.yaml | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/dallas,rtc-m48t86.yaml diff --git a/Documentation/devicetree/bindings/rtc/dallas,rtc-m48t86.yaml b/Documentation/devicetree/bindings/rtc/dallas,rtc-m48t86.yaml new file mode 100644 index 000000000000..51f98bdbc385 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/dallas,rtc-m48t86.yaml @@ -0,0 +1,33 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/dallas,rtc-m48t86.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ST M48T86 / Dallas DS12887 RTC bindings + +maintainers: + - Alessandro Zummo + +properties: + compatible: + const: dallas,rtc-m48t86 + + reg: + maxItems: 2 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + rtc1: rtc@10800000 { + compatible = "dallas,rtc-m48t86"; + reg = <0x10800000 0x1>, <0x11700000 0x1>; + }; + +... +