From patchwork Wed May 17 14:41:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 95309 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1205165vqo; Wed, 17 May 2023 08:05:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7ozBvtdPWmwkAXJv2ecd1WaF/oVgUPf2BaaOGKeRWAWqrrjJahhZAR1pbmQoakA/gYWk+t X-Received: by 2002:a17:902:d512:b0:1ab:723:1acc with SMTP id b18-20020a170902d51200b001ab07231accmr52234130plg.35.1684335958650; Wed, 17 May 2023 08:05:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684335958; cv=none; d=google.com; s=arc-20160816; b=JzAyN2+w20S9dExRFH1Rv58y3+iydbDw/N0wA0+oGBjd4LqznE2BFMqt8SdUPYtFLD bvhnaaQ7C3YeNGqr21mg0nPzIkKaQjkaUVgIrkrjMgqm7gLGqu1viQIA1lF/s6DCNK6V hBxMQc+eODb3uy4PJfDeWedLLYdMjniOmOuEgHWZSiw2hYMZBV6sDd8I6kiNyWPnRwnr TtPciU9zsgJvJ2j5YDllgZknAH0dGx3tFSqR6t0iXK8A7txWAFNT1/K9ez50HKmPzVcj dtk3mVZaOJh+CuiOc+V4tTQzy35NgyBoa5HeAcEzQhGdJrGIukuJDY9qoeWELdT6f0aI QltA== 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=tfHgDGDyInqauASTk1yIDYU1/aT9MoRYa/mD4C6dxf8=; b=MNgmSfNyBgHs3zm4mD3qEsVlnGZ7krwy9U+DZ7JmfrXYIS/P+mDWRHJBc+SI2RSSjF IjRTz28Ry2pnuD7Sco6I3z+jfeoYdtbz08Klf+Wwek9E1wNnHjP/T0OAcpPLLOYB++8K YSZWhs6C4baEL+kyi/kkIJl4PBuN6fboURJNffCyTFhVpZ4olUwWk4XlOgKWIfRL5s1q mMy/mMWDsDsbqU1oY+C10NtKH6a9i1aPtcA38ZAPA6MfODz2k3PLXWX5wKG1fBvkUaLi /aep0egcNcpiWeOgluSkld2EdB2V9k4kdtjQzKA+t5eRhjFnSotwpgEcP9OXLUlq3PoD mZfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=OYIF8BeF; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l1-20020a17090270c100b001ae2aa44a98si5128554plt.265.2023.05.17.08.05.40; Wed, 17 May 2023 08:05:58 -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=@gmail.com header.s=20221208 header.b=OYIF8BeF; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232139AbjEQOmD (ORCPT + 99 others); Wed, 17 May 2023 10:42:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232101AbjEQOlx (ORCPT ); Wed, 17 May 2023 10:41:53 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC5B81708; Wed, 17 May 2023 07:41:52 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-307664010fdso886677f8f.0; Wed, 17 May 2023 07:41:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684334511; x=1686926511; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tfHgDGDyInqauASTk1yIDYU1/aT9MoRYa/mD4C6dxf8=; b=OYIF8BeFGkjq2BS1FcZdV+wBNyytqwUtzfeIKOaPxK681tMhv6bfvVVDXaGTAtlVTm 5KOiHWXr2yj5LhkvEoZbPmCpsQX72ndoIjUla2KzWoGYhZ6YnPhlF6dT1WH3V1U5DVLO VcXTHA/x37aHGgE5E3mKNds2RnOU8NKTwf3zLzGSgcA5XH+HkcFPtnaPfSUjxD5sd/Qj iG3TAFqT4ghNB2pDcx2uKMoxulF+h6GdBuSEyUS9lLlKz4/VLvFJps7ngeC0ncVDn0yW ZZ/XcdKWwC+gZLh1tvothNckaNuRj9sLUlghHWobyRpED0wPleXlBpa20OjloQa7yJdg av9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684334511; x=1686926511; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tfHgDGDyInqauASTk1yIDYU1/aT9MoRYa/mD4C6dxf8=; b=FcJbKz9C+vU+zmBYAfQH0WtFSH+itwihVl9zXHwr9Sxxz5ONRaJh1NCXlU6NU/UULE /QjuZrVVoIsVGWlixnkqOlUBTJTWi0AcZrI++zqQW/PBkl0eQqsaBVEFY+xYEoaG9F1q 6RVL2fwNyVfKDisJ1zB3tU+NDk3p+qdGKrGKr+8Nab67clA2Pv2bRNrUWoZpYbUF3Ggn pNZYQPv4JacmzIh360xLQDnXcUizE92c6fLNnlHVkDDRURlzuitLtYq6FHAYp6sknjcU l/kP3/XcMAIvwy+cmLS+AE2X2A89wmuJoN9oNSKgzEffKUs1RELr74gDiH8NdVrs04vt tEkA== X-Gm-Message-State: AC+VfDyxUhjEAouwxHGKr3WrTsrr9rEO5hNYKhSLAHVc+ksG8vxMxcxM tgrZznUn0KXQHZpN9OEq0IQ= X-Received: by 2002:adf:f108:0:b0:306:45ff:b527 with SMTP id r8-20020adff108000000b0030645ffb527mr881672wro.45.1684334510951; Wed, 17 May 2023 07:41:50 -0700 (PDT) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id r4-20020a056000014400b002f103ca90cdsm2976974wrx.101.2023.05.17.07.41.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 May 2023 07:41:50 -0700 (PDT) From: Romain Perier To: Alessandro Zummo , Alexandre Belloni , Daniel Palmer , Romain Perier , Rob Herring Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/3] ARM: dts: mstar: Enable rtc for SSD20xD Date: Wed, 17 May 2023 16:41:44 +0200 Message-Id: <20230517144144.365631-4-romain.perier@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230517144144.365631-1-romain.perier@gmail.com> References: <20230517144144.365631-1-romain.perier@gmail.com> 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,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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?1766154262484329104?= X-GMAIL-MSGID: =?utf-8?q?1766154262484329104?= This adds the definition of the rtc device node. It enables RTC block for SSD20xD SoCs and newer. --- arch/arm/boot/dts/mstar-infinity2m.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/mstar-infinity2m.dtsi b/arch/arm/boot/dts/mstar-infinity2m.dtsi index 1b485efd7156..75f9173ca703 100644 --- a/arch/arm/boot/dts/mstar-infinity2m.dtsi +++ b/arch/arm/boot/dts/mstar-infinity2m.dtsi @@ -32,6 +32,11 @@ cpu1: cpu@1 { }; &riu { + rtc@6800 { + compatible = "mstar,ssd20xd-rtc"; + reg = <0x6800 0x200>; + }; + smpctrl: smpctrl@204000 { reg = <0x204000 0x200>; status = "disabled";