From patchwork Wed Aug 23 09:03:13 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: 13710 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a7d1:0:b0:3f2:4152:657d with SMTP id p17csp485817vqm; Wed, 23 Aug 2023 07:09:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEut43Thd6nizJ/rzoBM5WBm5w/+oNr3/3jdONC6DFIXf2kYE+bS3/AFo0Nxo1m41bytywZ X-Received: by 2002:a17:906:9bce:b0:98e:370c:be69 with SMTP id de14-20020a1709069bce00b0098e370cbe69mr14344560ejc.6.1692799785059; Wed, 23 Aug 2023 07:09:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692799785; cv=none; d=google.com; s=arc-20160816; b=ANjciELqgWK57InvNB2EDA1iE8OjjvKOcYoesd9p92VWVp42Kl0hr0h/zDaorUmd3I oj8E8Vtpo2c/0nLK86SDT2IIs7ECHMqhvFUHuApT1o0F54BrVtCBr5vxDeyVRTAnQIi9 PXmEBO8ktPG66PIXunhbC2RQrgm+ClBUQW+2WtW+0368Nfnhre1SiGk4THtQ6wxtIdEx A4XeZJ8hVfjnn/HrZwhj/L7hoyq0nLJXWTiH6gFoZPhirC79vkWB7AbKI2kym2uf8E2S 4ZPbPIhka0Jm7mzBxak6Zx8hz1OP5CZr4JhlrGqleHXlB0oXH8rHyTmflqaoR85MfNLL ZVgA== 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:content-transfer-encoding :mime-version:message-id:date:subject:from:dkim-signature; bh=ojrMHcPAvP9lUTfvfHr9ZcFKuoDyen74CvExB3eeHI8=; fh=RBUoEt4Bpr53cakmtkXF/HpUb7t/oBPrQpp+IX4w5vY=; b=IG++C3jgFy45AJrFgg1G3EJEQp9hprwnCkFiMSKIXUtUxRg6gK40Bo8xhgdzTDWZll qEWWy4ukPvFyJey0KHEKzf2VvWcg9qmlXjSaiDoefnpPoUE1qH6l50MC5xCM/NVnm86X twX7Pbas4oXI+84TOJFMMV/VfgE4f/HDhEY8xrMSjTudjfQbdxuO2fFeCZFBO4stu3SL dA9wsJ+GG8GNMeD+VGG18oS5Iyj5owb0yTd615/FhswDTv/kd/Onn6ZF36bavFGT+7X1 jrQUyLmyRNz6brnD6H92yqw8/P7PcYXd3nVA2mc+n5Ut+KKJOgY3aGCw0milLLSqdWPd 4dWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p7ERIvaG; 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 d25-20020a1709067f1900b009a198756594si4262561ejr.974.2023.08.23.07.09.15; Wed, 23 Aug 2023 07:09:45 -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=p7ERIvaG; 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 S231616AbjHWKIJ (ORCPT + 99 others); Wed, 23 Aug 2023 06:08:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232594AbjHWKHo (ORCPT ); Wed, 23 Aug 2023 06:07:44 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FCB146BF; 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 CCF2965957; Wed, 23 Aug 2023 09:03:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id ED780C433C7; Wed, 23 Aug 2023 09:03:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692781412; bh=cBA8LS1Y1PWRmdPmwFWha1Slu8mL5WLDumH/lb3Wq00=; h=From:Subject:Date:To:Cc:Reply-To:From; b=p7ERIvaGwsPAgIB7Ug9zMNgrNdzS2de6l6WnOo4Uc8hogma7QNcpFDbKvxfQeg9Hg Xriz5lqt+MO8nbtsIDOkoXzTuGTO1mecOZCFQ+cZXfW6vwIoCVp4mEv7g0dXqAgNz0 yNZFR9JXpWYo2TE6y6NLsLV5X0gkAKhQm8FqfGObbu4H6bFtMZ9QMdh0fN5DEltv/s olHRGlFG+NMEC1MGOCcmz04ftmcrFUBdUtvG/ZUc4prq/1VBbN6LYM6k+k3kYhMCUK KqfDt1sSg4byhG/Zh2VJLmsVXGVlIXoSvU6xmULNZYQWUtCWHgmJ5YQbISG7xbtU3W wcctWwvm7+L7w== 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 C5A0CEE49B2; Wed, 23 Aug 2023 09:03:31 +0000 (UTC) From: Nikita Shubin via B4 Relay Subject: [PATCH 0/2] device tree support for ST M48T86 Date: Wed, 23 Aug 2023 12:03:13 +0300 Message-Id: <20230823-m48t86_device_tree-v1-0-240023b435ac@maquefel.me> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAFHL5WQC/x2N0QqDMBAEf0XuuQEbRWN/pRQ547beg2m5C6Ug/ nujj8PssBsZVGB0qzZSfMXknQpcLxXFhdMLTubC5Gvf1ME3bm1DDt04l23EmBVw3Hsw+6Hth0A lnNjgJuUUlyNd2TL0EB/FU37n2/2x73+1k/ArfQAAAA== 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 , Arnd Bergmann , Linus Walleij X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1692781413; l=702; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=cBA8LS1Y1PWRmdPmwFWha1Slu8mL5WLDumH/lb3Wq00=; =?utf-8?q?b=3DLXAbPcv1J0we?= =?utf-8?q?kD7/fEVbVWnPffGhP0mOmiNjuWFhlj2AFOPjtkZNN/bX43+mISssLNFXFj0z4Ou7?= goLNQ4sQCyGjIKQFMnYzGxq5JuHMbCqGiM5FgElvV56j7TNIPedg 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=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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: 1775029227835964208 X-GMAIL-MSGID: 1775029227835964208 Add device tree support for ST M48T86. The reason it can't go to trivial-rtc.yaml, is that it has 2 registers instead of a single one. The registers are 1 byte wide. Signed-off-by: Nikita Shubin --- Nikita Shubin (2): dt-bindings: rtc: Add ST M48T86 rtc: m48t86: add DT support for m48t86 .../devicetree/bindings/rtc/st,m48t86.yaml | 38 ++++++++++++++++++++++ drivers/rtc/rtc-m48t86.c | 8 +++++ 2 files changed, 46 insertions(+) --- base-commit: 89bf6209cad66214d3774dac86b6bbf2aec6a30d change-id: 20230823-m48t86_device_tree-a72eaa294798 Best regards,