From patchwork Wed Aug 23 09:03:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Shubin via B4 Relay X-Patchwork-Id: 136664 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a7d1:0:b0:3f2:4152:657d with SMTP id p17csp460129vqm; Wed, 23 Aug 2023 06:29:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFYp7IH/UxhsQHCVmNgb/KffSSYbk2aFsH/tgYgLjbzMEr5crlro5Iqid9kG0g+MQ/Szym7 X-Received: by 2002:a05:6a00:2d20:b0:68b:a137:3730 with SMTP id fa32-20020a056a002d2000b0068ba1373730mr3842433pfb.26.1692797356456; Wed, 23 Aug 2023 06:29:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692797356; cv=none; d=google.com; s=arc-20160816; b=luuJwvEWvBucJnlzYYf16Xg1VRlQqV9J8FpfKvtQVl/STMbRL7H/+iek5JqVEAzskm 1wMAbsFAzFOxFjFWefIqXZmTqSzQseaBIjereMvMILM7UxB3J0IAiRW+r4jYu6ghhlEz wyxQx2IMIlYfOYskvl4oXpUFXiQihuAM/lk102gbeDJi5r/yHmRK7O0yFL4a3Sbd+cdb amI0Ieg/F10T7MWC+d9J8svXPtskYrF1zcfLknFDSnWkIMzspSAu3F6DTkjuv9CAg3E5 Y1j/Grche4pvN7nb4B8uBvG9xtClcM/0S19nfdyEXioFLtxaSSrss0TSxnCU5cl9ZPL1 0QYg== 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=Xb28Qy3A6hSoPpzvVDinM6xGJX+44ZJvIPmmnxH7ULU=; fh=4xfYjS9GO6OC8Q61gK/SQBsFRnTyC/YhjZZYBKM9+N0=; b=uSbOn/0V8mDoHEA31dzpYRJ25qUspA0WvjuKvOdpKUY6j0irAZ2dBjMGymnS4KjW6j KWnpz0R5YNBUX776DLDcgnrBahaCI3rXDxmWDGPAFa7FnrIYXfkuhsO8mukyeSJotbE5 kpjcKT/V98BJqGUdDHab3vaJksRBTuIJ6ql5QBhOTL5dvRzLN2RZkBCEPcIev0an/orO MM7YenQgqgT+DnU0FDIThW9SFHzANEX3wG75RqCObf5WkqiMKRDZBTD9y/r//lwFuro4 hfF9dt5tEiqsO893XvfTOOhwNY4A845ZsrucCmIxn+ktc3twzK4F/CFUzsEb/pJIFOMh yyLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DiwUuH5X; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d10-20020a056a00198a00b00687346d94c4si11338650pfl.334.2023.08.23.06.29.02; Wed, 23 Aug 2023 06:29:16 -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=@kernel.org header.s=k20201202 header.b=DiwUuH5X; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235024AbjHWJRi (ORCPT + 99 others); Wed, 23 Aug 2023 05:17:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231451AbjHWJLo (ORCPT ); Wed, 23 Aug 2023 05:11:44 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FE2449CE; Wed, 23 Aug 2023 02:03:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EC73C65A0F; Wed, 23 Aug 2023 09:03:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 0B961C433C9; Wed, 23 Aug 2023 09:03:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692781412; bh=8fCdzcn2VcvnUQp2D6Fuk/QxfB3MwobNYAHefW+j36I=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=DiwUuH5Xi6vpIS+dIGw3WmrIlUG7alGvSDvTvRo90RlmiGT2DFC7bxQmy/FSR4JqW VwLmnAR/+HB6NNq1A6gh92kLJ0b/fw2NFZ7mo1eNT2wBjOfecftAirU9z09kucnC3Y eYdHeiBy701XWVtyt6busWkyAeqBiMmJdubCmu4A5UBvA5wf+cm1eP59XpSWgG5DvV ApYFINdRqa9sqoghA+d7gmHYMD0tjj0Zch8bAl+9D9g3GPh8Va3GpL6cVwRRTqBDmt /+WvOOpPxqLX2ZxLDs5ToBEgie2zxct1A+kTF5FhWxqiNjhJVpQKftwM6iuE5gkeDL 8gn1e6OyfsFHA== 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 DBE8EEE49B5; Wed, 23 Aug 2023 09:03:31 +0000 (UTC) From: Nikita Shubin via B4 Relay Date: Wed, 23 Aug 2023 12:03:14 +0300 Subject: [PATCH 1/2] dt-bindings: rtc: Add ST M48T86 MIME-Version: 1.0 Message-Id: <20230823-m48t86_device_tree-v1-1-240023b435ac@maquefel.me> References: <20230823-m48t86_device_tree-v1-0-240023b435ac@maquefel.me> In-Reply-To: <20230823-m48t86_device_tree-v1-0-240023b435ac@maquefel.me> To: Alessandro Zummo , Alexandre Belloni , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Nikita Shubin X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1692781413; l=1263; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=y7M/fGH6tMQwq76PE+jI5ZilaSmr5fjvvIAr9uMS3jI=; =?utf-8?q?b=3D6ZM/ryKuE1kI?= =?utf-8?q?jbSn+grM9CJPE9556P+3Zkt0S3hhK6elKCVNruOuML8tlO/RAOBu70/OWOyP1gtw?= CRnSBYApBXosWIWOmiy3JHWSO2GWXUipnEjB5qKk1+Y7zKYwlaGO 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=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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: INBOX X-GMAIL-THRID: 1775026680689834133 X-GMAIL-MSGID: 1775026680689834133 From: Nikita Shubin Add YAML bindings for ST M48T86 / Dallas DS12887 RTC. Signed-off-by: Nikita Shubin --- .../devicetree/bindings/rtc/st,m48t86.yaml | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/Documentation/devicetree/bindings/rtc/st,m48t86.yaml b/Documentation/devicetree/bindings/rtc/st,m48t86.yaml new file mode 100644 index 000000000000..e3e12fa23380 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/st,m48t86.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/st,m48t86.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ST M48T86 / Dallas DS12887 RTC with SRAM + +maintainers: + - Alexandre Belloni + +allOf: + - $ref: rtc.yaml + +properties: + compatible: + enum: + - st,m48t86 + + reg: + items: + - description: index register + - description: data register + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + rtc@10800000 { + compatible = "st,m48t86"; + reg = <0x10800000 0x1>, <0x11700000 0x1>; + }; + +...