From patchwork Tue Nov 26 11:49:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ciprian Marian Costea X-Patchwork-Id: 13885851 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 3528DD3B987 for ; Tue, 26 Nov 2024 11:55:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version: Content-Transfer-Encoding:Content-Type: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=IpcKct8OJzusN1EL82Y/RppxVKKKSW/aLqK+JUEnURs=; b=2dbMjYIZTF9Qd+SnaMS6b9EGKz jKONj6sBqZzWMGznYAr4/gn4dAyTNdRDV+BYyH8CkOGzq0d8GSA4/aKCK/ezH1SLqpzv/vBJuNicq zdwDL8BtUPu3q7QJ7QR67HJ25edwrhXXrZ3iWRNIIz2K5pHXjmWRf59yk7NV0sObmoZauIo/yR4a5 q1oozXlYieUknOUV8/eMc5yOvsh4U3rp68L89oGs+Gmdi4uX/sn5XAT0vKTBS+69OXo+EilEYEhxA zKPNHi8xh4w1znwI+Q8WrD9uUEw6M5zS8i06YdlXYVG0SBo70lwLRV5Ch/FtsGOgMOgx2grrGnFJb xxO2ZxMw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tFu9q-0000000ATpD-3I37; Tue, 26 Nov 2024 11:55:06 +0000 Received: from mail-db5eur02on20625.outbound.protection.outlook.com ([2a01:111:f403:2608::625] helo=EUR02-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tFu4w-0000000ASXz-1qcw for linux-arm-kernel@lists.infradead.org; Tue, 26 Nov 2024 11:50:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=bKj8qA39R6mtgOUcN30dJQA+CWF3G8mD/NfdSvfh/iQEFg647EtepY3ckP3NSKFVpnPGIifjE5ypPaqo8J7FnHbCgd7MPKsmE1JZBB2FU84lFfFr9mrPoriTcE7osV3hUGC58H9AnzH6tqEb77zYlAhauRl2QZ3k61+lfeJl2OIZ93Z2TFMyi3xY1pWzX17TO1YBdrmnqvl+pmM1M8RzZ7mIMOYTDGmSbzhlMiU4jeLkVsNdNCmzQExvtcVE+2qSwEnSNdz9et0B7hBcWVvfs6PvzQqt3SWr3CEitWM0uCLOegzMQWIOhnv1tuCcebcW6WQ0nvE+QDuBVvWH9uLx2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=IpcKct8OJzusN1EL82Y/RppxVKKKSW/aLqK+JUEnURs=; b=BgWADA0R19EMjyM1ponIF+CeUnUHwVXf9avlqRaZOkxKTYyklCFzYGcTm0JXmPH5YPd1VxqU9g0q9170++9O50MA+gacYRHafg2dxyHgQiCHxJCcFj7ZG/wEm+8OUREBSaFxW2jGyk5S+OW/pDi9LyI3pZF6AgXXdYNH8AlBj7kNTNrfYkdQ++VN1ODqqPV+qUONazhcCLib1Pbuy9mG7KDfIhu5h/4qDQUrkb4193C4ulCLVunbYGmI4jtL4gc4TNQebH+ohAnzLI8JxVQRZp8IvRvO9bBF5QS1XJ5P+OUqt1DO39+3GKKiUjiEXvade71Du1eT+h+oLj0901qnwA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IpcKct8OJzusN1EL82Y/RppxVKKKSW/aLqK+JUEnURs=; b=oJTnyl+IzuIzGf1T8SGWONAaZ4i/A9VEkpt18mrAyS3roIziWEC4nLDVz3ysK1qG7ez0UjExaL0vhkzy3M0kW8waNwh7zUMOPbWcCI68AjbORF+ecXwWxeG4A0rvD11vtCjSMcogDGBSWEUc3RU2o0o435NDEdl/m3sg5uFbr/29Mu1GThgeXbmUa56k8QlGA4+YbcZTVXPY5XOctjy5jrjODTDtZe3C4eQdLHzVaOkSjiJL3OrSqSXYwQPqrAe04CfcYs+WLKAQ/p52kNGiYgFC7or93W86BdQBKc5l3uX9fCZM4+qTv2UFg7DVsXLRCEbeE0vF1VjVmL04OZbJjQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9251.eurprd04.prod.outlook.com (2603:10a6:10:352::15) by PA1PR04MB10294.eurprd04.prod.outlook.com (2603:10a6:102:44d::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8182.21; Tue, 26 Nov 2024 11:50:00 +0000 Received: from DU0PR04MB9251.eurprd04.prod.outlook.com ([fe80::708f:69ee:15df:6ebd]) by DU0PR04MB9251.eurprd04.prod.outlook.com ([fe80::708f:69ee:15df:6ebd%6]) with mapi id 15.20.8182.019; Tue, 26 Nov 2024 11:50:00 +0000 From: Ciprian Costea To: Alexandre Belloni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, NXP S32 Linux , Christophe Lizzi , Alberto Ruiz , Enric Balletbo , Ciprian Marian Costea Subject: [PATCH v5 3/4] arm64: defconfig: add S32G RTC module support Date: Tue, 26 Nov 2024 13:49:39 +0200 Message-ID: <20241126114940.421143-4-ciprianmarian.costea@oss.nxp.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241126114940.421143-1-ciprianmarian.costea@oss.nxp.com> References: <20241126114940.421143-1-ciprianmarian.costea@oss.nxp.com> X-ClientProxiedBy: BEXP281CA0007.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10::17) To DU0PR04MB9251.eurprd04.prod.outlook.com (2603:10a6:10:352::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9251:EE_|PA1PR04MB10294:EE_ X-MS-Office365-Filtering-Correlation-Id: d8ea88d5-8e25-4c20-d044-08dd0e1074e5 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|1800799024|366016; X-Microsoft-Antispam-Message-Info: =?utf-8?q?NK2t94ACT4WrvcvwItUiXhxF1yowdbF?= =?utf-8?q?m2Hyx/hmn0CGyroXt1Ob7g93/vLa18Xm4ZwFeO5NBneV3ljh1peXvMvQM7au2Ruhs?= =?utf-8?q?AIekN2/tspRmvuNcuxBfcNdS7OQdl5DC8+bHkTOGqOZxHcc9fUzD3A4HEA/yZJ2fV?= =?utf-8?q?FEa7CimpwFBcm4aOQw1iF7ExFqqlsA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CRgW95zvuumVeKzD8UFhH0kF9HX/P1?= =?utf-8?q?HkLqqZmUMMFkHKhqp9VZB+MPzOmHlNSkOlsRyyF44N1G0TeF+l4zYFv1cSDD3TAFd?= =?utf-8?q?9iWet+Z4t6DCK83O+YTMXMpK+R72NuswP8TyLCCbrzvrYEUFKqXi4LHddDTC1qMAp?= =?utf-8?q?M0IQCRS5c8Xb3Rtrsr1Ax52FM4rvQSw106pJo3VNDJgqj6iP07ViOSKtXegK8Y6ZD?= =?utf-8?q?OOA6CfwaPI85gtoI5UhbH70gIRH6f2uRY0A=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9251.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(7416014)(1800799024)(366016);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?4E+KN4XAGXOg7QD5zXhAZW6G6dqE?= =?utf-8?q?PHWaP3gEGqX7RsWac2QKL1446gXYm/90Jk08T44+1fvClAE4zM3RkrjOCvGZ/s2ij?= =?utf-8?q?vRRVJWLIJfpqhA0s1uxgoTHkCOEWHbj00Cxh7GtcpyaUeyEdDd/snhxqDzMm1X07I?= =?utf-8?q?W6m7gioWEvUK7EshNa0Iqw82RaGWZTwtb5sdt7jAr2sSYestFN2p+8cLfv5QCW80g?= =?utf-8?q?5DSTH1fGNLSPdGTVpyJ1LBmhlOiOfNKfb8dyGArVaMwKGykgx8zsxe/5FdFoHDmOE?= =?utf-8?q?tekpe28BbV0Se+lXsFi5l3vJ0o0pZjlUKUh8fa26x35PKSh8mF74Mw6wIKmpqeioI?= =?utf-8?q?pKICMlk0jo/c0Nxlh/dcTDospUxBocKIh/UQ1U3VWwmzDjNhufwwTdt2hslqhobFY?= =?utf-8?q?b3VkipG76U3vTv1VkTY8HGzOjWSxBa8P7p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fJmRJ95vSZtJKm/wLFob1?= =?utf-8?q?LVQb6SkAB+W/9Uy+PMl98JpPvNabV4Vw+bh+rGrJCrYl/CPJQf/Ht/J3T/+6VDRz+?= =?utf-8?q?UUp86fwIQJ63gitAgo0YtphyigAoOQ5ag+1MP6FpXHWCxdV5ukUQd3GMaieI0/4PL?= =?utf-8?q?uBceyazwrOBGukHxatCN3hDSq0Bda/pRabWI5/g2WZz6V38TCITv7Fi4PekOc6Ogi?= =?utf-8?q?ZqMVoIYsaGytHVVfj4DFfI20qmeo6yq6xg=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d8ea88d5-8e25-4c20-d044-08dd0e1074e5 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9251.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2024 11:50:00.1648 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: qjoHS5xSKubXsGlezRxG6RYJmiFisk7qDv6YLHyeus1tP/lriHhlKWcVMAGFVoQaQ81wYxephwW85Es8F95Kf6JqevWhY8KKX3mve4QXMO4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA1PR04MB10294 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241126_035002_473039_15102EDD X-CRM114-Status: UNSURE ( 9.40 ) X-CRM114-Notice: Please train this message. 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 From: Ciprian Marian Costea The RTC hardware module present on S32G based SoCs tracks clock time during system suspend and it is used as a wakeup source on S32G2/S32G3 architecture. Signed-off-by: Ciprian Marian Costea --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 5fdbfea7a5b2..584cef78c984 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1209,6 +1209,7 @@ CONFIG_RTC_DRV_DA9063=m CONFIG_RTC_DRV_EFI=y CONFIG_RTC_DRV_CROS_EC=y CONFIG_RTC_DRV_FSL_FTM_ALARM=m +CONFIG_RTC_DRV_S32G=m CONFIG_RTC_DRV_S3C=y CONFIG_RTC_DRV_PL031=y CONFIG_RTC_DRV_SUN6I=y