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: 13245133 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 62706C77B75 for ; Wed, 17 May 2023 14:42:32 +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=j2za3mxesCH1G4iWv1PF55hS8g0sz99jPo0dl4eCAmc=; b=njwRTsdu1/agrc 8ESmpsZTTNF+ydSHqapAK9uihPp8gsE9uG2uqlbmuDESU7s1ccINFukZpx5nguOkZnruRIw/mHu4T hVal1e0AzEcRkOfukCxWbFNUd6+8aYSwZr81Wqe2cZYirSi34cc9W4TNu57VS2EYaSMUVpZWdAo/v v05k7Vq6U6nY1YdKBZPeyehRAAa9XuFFSTBItriBkoY35suvzmDIAJ0fcGfZ3ZUnw9TPi1yrSjEoY gpa/6RYq5qaEaID5ovjBW5XqzV7STiQ2nizgz6aQJmwKx6iJhu3w7aO8tHA+40mcOnLyAZCRibhqs Eds4fKk5L7MYTWHx/qRA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pzILx-00AAAg-2f; Wed, 17 May 2023 14:42:09 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pzILm-00AA4Y-1A for linux-arm-kernel@lists.infradead.org; Wed, 17 May 2023 14:41:59 +0000 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3f4271185daso8600235e9.2 for ; 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=ebDPrRoGrK59mUXOpNuAbngSC/NXCbT/jdvAwZ6SKieInCpdMCA5y5tFjy++9xm6pQ ezCe2J4CXmhUd+WNAmMr20jyxXWw0XBzwhZVRhHaiXZedBt52prykQ8wPKYe8UC8WsKr KR3OCm4sc0wWZESXpE93brqC+OHkqmvWtrkMcT6RgR+xShkeZWX01Rtm8yzkKY6y1Sz9 QVoDVEgertPRomWeuQn1AnnBYRyw9HQAD7S5ABBAP5GXV6BIm4WWwLS90mVPhOCSqeFv 5T62SKPR3igAeAXmDzPl4vReii7o+l4qxE2XLy+xrg5ro92PLML/d+oLXuorpdpw6r8C uy1A== X-Gm-Message-State: AC+VfDzbau8PqcNRr1zTdk+yEK4MGDrrmXAjgThyru/0JRCXUyPW+2+f vGXy10vwpQJZB4rVMlkAKbL5ywVfYvY= X-Google-Smtp-Source: ACHHUZ6j9O9puGfxT2vkLL5TGO0mk7k61Y0n5SGQ/Ke/hMA4k7jfH5TmCv7X6tTEfEW4oxv77T1oKQ== 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230517_074158_397350_1002D22E X-CRM114-Status: GOOD ( 12.04 ) 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 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";