From patchwork Fri Dec 6 07:09:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ciprian Costea X-Patchwork-Id: 13896558 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2071.outbound.protection.outlook.com [40.107.20.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3FDC41DB551 for ; Fri, 6 Dec 2024 07:10:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.71 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733469015; cv=fail; b=fwig9y7bnTf3mfuEd/UyYysWXsMAbuiHTBbYoDRPewMbw7z2mXoSuTdfU0rbgLsGf6CwPD3QQo5/sJIe8Dms7RAn/bDiOP+FY6fecDSzU5TBkFrJnMac5nI1tCyM2ojmtVjwP18zi76kXSr2xVTJ10Yk/iprQS8TbmaFacOW2iU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733469015; c=relaxed/simple; bh=Lncw9LsIxsUXUwSJpO9iKczYcqLXxomzMDil8Vvic2w=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=py4LoDkXm4ycafnPdOPgZTcpXXK+me+lgb+sQJnsEJXyYJ4Wy5khUEYlkJR5/2QcZ/slCPcOibMOmDlnm133+qs5N/8nnB/1nxvTn0sxBFcQ0PQAZhcTvYPkeYu2GZeVtqxd7wyhg7Hh2/SO7BxTZs0GAArC8OfNuPsmEo6JeR4= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com; spf=pass smtp.mailfrom=oss.nxp.com; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b=gRJSCssT; arc=fail smtp.client-ip=40.107.20.71 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="gRJSCssT" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=gC+ajNGlKwrILYhW1E2jSwzpkVCIuJ6d1K85ZycrsUFN2V5v6F9Zh0svAl5lv7RMxNXZ8N65E0hJ29/zNp3jIjo4uaIICppSO2IqNe3o0QQLGCuwinF55F6KlUf9tVLhjiH9MNOay+YHIiLJpz2IVEANK5yykCnMk+8pPTQfh5hfh7d76gEW0VgD8t2I271lpVDkZt3penasdwdxQuhB9+WdqX2hMM3S7a93MfLx6d3Nqu5xFQ7CUeJHL9H/h/u3kbPpmVUoGqu3AIMyoObOaxrtvm6dCfk4WoshFC8upLDdyBr7MThbxaOYLsNwds/kEKsCUTgWifhXXP6xJYhlIg== 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=nKARoNpE0GxOxfHvMG/i6bkrZQrZbpRLbjZ4E3asLTA=; b=oPgzQkTcwBnK5GhQcMnQZISsigCZPqxoAXiHclEDvYBoRtGieHSJL2fcAwicHZzQFOaOCVTZ876Xj0wMeD6CMXqFd0+ParvPIEU3TGRHS41UI8+7wNiPbgu5aRw96z5k08ByuhQQ1KLqZlEnwAZ27MPP/+nVJKz4WIINPUiSNxXi1vBiUhwwsm/G3JaXg+YkCEaht6QVfRidSxJmnqXH8uzz8kKPw6MP76C4R2WCSZ4L+ZskTHBrakHF32OKz7tabjCXr7hWhYVsyNHIlhBlFQTz+NUIq5vtv0WBUDShQJncmsY4160bZhO2yXl+p4NUKaX9kml0pGNUV2uqAA+aKQ== 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=nKARoNpE0GxOxfHvMG/i6bkrZQrZbpRLbjZ4E3asLTA=; b=gRJSCssT/qDmYu18Gg06Ha/Vmz5+WhziDKk79VsCjsn79PUh/N74DVh/coRByqvwHa+7m68TmHniD3xqCXmwM7TT3+38r8J075N0gM3RwRJ/Z4lkvpthPblG9zMjUr3lZ9U8nAzhPq1XAAgHJunI53RbFiOr/4ExWUuXcKRiRzO7n3UwoRkBk00stO+uc5kKka7YPElghBKlSI5c18L899g0G3mNPqgSbFvyC7N/gQCD2fu5Ixu+Bp7axWHdfgjRnSxWl1I2R2kXWxXnNJWc2FmHrdBw/8cd7yCgBHtSFixcprzxuUSuAzSamoQY/gEf11+KIb+pyowkrh5qPHnchA== 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 DB9PR04MB9889.eurprd04.prod.outlook.com (2603:10a6:10:4ef::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.10; Fri, 6 Dec 2024 07:10:05 +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.8207.017; Fri, 6 Dec 2024 07:10:05 +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, NXP S32 Linux , imx@lists.linux.dev, Christophe Lizzi , Alberto Ruiz , Enric Balletbo , Ciprian Marian Costea Subject: [PATCH v6 3/4] arm64: defconfig: add S32G RTC module support Date: Fri, 6 Dec 2024 09:09:54 +0200 Message-ID: <20241206070955.1503412-4-ciprianmarian.costea@oss.nxp.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241206070955.1503412-1-ciprianmarian.costea@oss.nxp.com> References: <20241206070955.1503412-1-ciprianmarian.costea@oss.nxp.com> X-ClientProxiedBy: AM0PR06CA0082.eurprd06.prod.outlook.com (2603:10a6:208:fa::23) To DU0PR04MB9251.eurprd04.prod.outlook.com (2603:10a6:10:352::15) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9251:EE_|DB9PR04MB9889:EE_ X-MS-Office365-Filtering-Correlation-Id: 198d1ed0-9f42-4ae2-a8f7-08dd15c5029a 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|366016|1800799024|376014|7416014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?aeV607BZhcyrLNtDreSyTAPgd/aIzYz?= =?utf-8?q?W3Gi7B/V2b6ddg+U5mDKfB3Vmp4wFGWX6imhaa26jL5SO0d9vv812+61g6VH4znY1?= =?utf-8?q?dBPNqy2XVbbhA1F9Rj/9LMpo1U5AmpEFwo6Pr2VbRCW/uYh26PlPAFoPT3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maDw?= =?utf-8?q?w/jbzmLeylJb7aEgwXrdUBf9SPk9PagLkwPBHaCbEPimTqqKA7ZQgff9AnG/Tiira?= =?utf-8?q?3dw9ipM0dGtTYPnKVcZRrLmseIhrIyN1OyPOy8PecBOxHDUcFSemQNMgO8hDXUt8/?= =?utf-8?q?8l+0iFnis3HzClAp4ale4s29iKSmD9qJSjBV1KAzcdjzSMxq2pwUEJ9v+Zmgdl3z/?= =?utf-8?q?TWFjKnlInd4ReR9D4IToTV1FLeRcGRSICvP5yaic17R1SNPVZmoCIxTbIqvd3OuDf?= =?utf-8?q?5MHReHWRhtdNnkPhsx9aiwrdAh0yROQdwoQ=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)(366016)(1800799024)(376014)(7416014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?peNRPVUZReCZrIISLFdk+vBml3Yw?= =?utf-8?q?UTH5p2FIT6ybTIiOY/EAbgOWSGUiUX7HVpE+ArGdotQYcR2Ld2p7Dl3TygHAj+puI?= =?utf-8?q?xqwZQ++yv+vmmjoGahx2pRiI+2babWINiMQAWfYkfqYJlufZ/l0Gp1XJfeUs64ooY?= =?utf-8?q?Ols6snOEZ57TrhIRYUR01MQM9AoioZF5TFGQTYeKo8na2gOm3mKE913/GjnZd/cdU?= =?utf-8?q?l2dSyjcsbGsOcnsgACFjudcNj5TGQwI5uEQhgUhHaChdaQfHN+znT+Gf2Oh25SEcd?= =?utf-8?q?Q807AfTtWKUq0MQDLnUS/51/0lWMuRUdspKqeEJ63eSAMRNH8SZXJu/NDi7Mh8LEY?= =?utf-8?q?LN6Amm0PWIceMBiZc15BM6dQJTKdL+nvjJTFDsMk1YYEtSI8yTdZ7kkP6q6OQN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9V?= =?utf-8?q?xoZylmTDczKKQ29BTKBT7+TzTKOXOAmAC9Wx2kThw08p3+3zqJ4A62M9g8t2qizIE?= =?utf-8?q?poDxAR1V9na9K/1RknpolI1abP17JWBTzRgAuIJljNYo/XguR9pXtZixDBejRkZh1?= =?utf-8?q?s6sjcjX6HHnfcOThSOAdb4UH2ZBAgI4qChosZU59AEXmZjuVQ4WzcKtaI8x1/Db5N?= =?utf-8?q?yCx9VJp6sy5mU+pN38LGfzB/DMRPLnW0bJigi7SzkeWZMA0fv56jwEcFm8hIQanXS?= =?utf-8?q?jWEA3D/ZqZuxhlglhwxUkw4UV+6EXfTgLQ=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 198d1ed0-9f42-4ae2-a8f7-08dd15c5029a X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9251.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Dec 2024 07:10:05.4067 (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: AbtSjx/a4do28zjcGsepCndiDUMJzdqOxTu1Fkc+syEk/zhJO/OYvrK8hM2r27RiHQT+s2OR73Lfo8j5zBh23QyErF3HDSFuFMh4H6+0PyE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9889 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 c62831e61586..d9d0ddd0d31e 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1210,6 +1210,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