From patchwork Wed Sep 13 15:16:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 13383294 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8AC28EDEC71 for ; Wed, 13 Sep 2023 15:17:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3QLfRi1Fyi1x1la8tuvCer7V7RacJRh/cEMgX79JbdQ=; b=utn1yVKch53gc2 q8kgKtCuCZwhJNFmhvSAxoQYzuHX4h5/3FtsyW8k2M+7PBK50WqW+ME9ItDjZCCU7jox20DZ1iz5E kxEjubPGy82n0GYgwDxeXum6iaFeOCx4BYB+cG0/7Q/i90G8PX2dlHB3c/w05uCq6Gb4C7FhV2jQC SfVb2mV3qSRaOkubL2R83tOkcRE8OMp70sKu9hYsimX2YXy7a+1kegJq4T2+Yzp0D4ZptuEVf1FBm GN8cfAd0ayjSasiCHQVcdITKbWUVyCgjcMSvp6XAt9ogi2LsSYdBUyOC2sqZrbOhthtCV1zsJ43iS 0LdrxaKaHEM8xarr4jVA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qgRbV-006CDb-2k; Wed, 13 Sep 2023 15:16:33 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qgRbR-006CA7-1l for linux-arm-kernel@lists.infradead.org; Wed, 13 Sep 2023 15:16:30 +0000 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-401d80f4ef8so75603685e9.1 for ; Wed, 13 Sep 2023 08:16:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694618185; x=1695222985; darn=lists.infradead.org; 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=WNiCJ4XPctshWY8ffyi9hR4b/TdmnnAhBF7gV8ICkpY=; b=IHmOUc4LPcuEFDcMbOkA6dbDGBFragkjcWB5jV/HC+lVVFVFAbL/SyLNESUVF7jDBA Yseeeo/AYaaYy67qV/7uucu5kPMviaPeTpeCZFE70+Y0S8LOnCrSBYjYQDA841biILhu krIdMWbD+OYQpJaeOwImbXoCkATInsZDnyLMQJAcvlnDUS9i94FTWTpTe8h6UkOiVghP tfYL2KGgzahW0EkUS4tz7kLurXMN17ai5WQxmS9D+RwmET57+7jNhw9NUAwdr95vvK8C Hwh+EkxvlMNSKg4ACOKrkKQcx3e+gC1q/3hv1PqBtko7YsGYNhX/9+Q+HIeno7zE8X3v 4XFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694618185; x=1695222985; 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=WNiCJ4XPctshWY8ffyi9hR4b/TdmnnAhBF7gV8ICkpY=; b=sTw62Rfk7HHeJWmBBOau4gUB+qBFNRKi45Q1EjEruIo4fhwLm8r9zjlwefBuq4TNtH 82n8UwBsCkGFK3cxMZOEd/R52EnfElN6meh8kztVz2Hpy/K7ezVUx0yOK7eyqzMNOrsv mdkrOp5dFAHjTuoByLfpMEPr3EFJhYCtjAG1uvyxhNg+OE5p3Ll2z89j/xeuxBcMnbDk 6D/TTzO0jxMjnuK34Hh9XwfMQz2D8RKfqAnOz0CRi9AEid3HgUD/PRF3qa36gPhUjNsW 9/Lz51uI2Ah2OPFaciid2MXmBVNUf+/oUzc983OWRthVSdMuOUsjQ/nIZnZXh2t9xgPp FHGw== X-Gm-Message-State: AOJu0YwUBgH0SgLjaxAm1V1kqg4rwlM6+r8qG69VnqCAnMv4bEg4nN+m WWwetGGytSXCnSqVfPNKQ0jdWqxj0cKzfQ== X-Google-Smtp-Source: AGHT+IFtGPwLNzmJ9lGo6bgRROyUOek+CMPJmj33rLwvWVE4I8uylAeEe5p5UpRZq9go6jeZN8Tc3g== X-Received: by 2002:a1c:ed01:0:b0:3fc:21:2c43 with SMTP id l1-20020a1ced01000000b003fc00212c43mr2401041wmh.13.1694618184540; Wed, 13 Sep 2023 08:16:24 -0700 (PDT) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id s4-20020a05600c044400b003fee567235bsm2305140wmb.1.2023.09.13.08.16.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 08:16:24 -0700 (PDT) From: Romain Perier To: Alessandro Zummo , Alexandre Belloni , Daniel Palmer , Romain Perier , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 3/3] ARM: dts: mstar: Enable rtc for SSD202D Date: Wed, 13 Sep 2023 17:16:06 +0200 Message-Id: <20230913151606.69494-4-romain.perier@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230913151606.69494-1-romain.perier@gmail.com> References: <20230913151606.69494-1-romain.perier@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230913_081629_588948_9B4AB2B8 X-CRM114-Status: GOOD ( 13.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This adds the definition of the rtc device node. It enables RTC block for SSD202D SoCs and newer. Signed-off-by: Romain Perier --- arch/arm/boot/dts/sigmastar/mstar-infinity2m.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sigmastar/mstar-infinity2m.dtsi b/arch/arm/boot/dts/sigmastar/mstar-infinity2m.dtsi index 1b485efd7156..b4ac535a73c8 100644 --- a/arch/arm/boot/dts/sigmastar/mstar-infinity2m.dtsi +++ b/arch/arm/boot/dts/sigmastar/mstar-infinity2m.dtsi @@ -32,6 +32,11 @@ cpu1: cpu@1 { }; &riu { + rtc@6800 { + compatible = "mstar,ssd202d-rtc"; + reg = <0x6800 0x200>; + }; + smpctrl: smpctrl@204000 { reg = <0x204000 0x200>; status = "disabled";