From patchwork Mon Mar 31 11:06:51 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tommaso Merciai X-Patchwork-Id: 14033488 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id ADCA4C36010 for ; Mon, 31 Mar 2025 11:07:41 +0000 (UTC) Received: from OS0P286CU010.outbound.protection.outlook.com (OS0P286CU010.outbound.protection.outlook.com [40.107.74.19]) by mx.groups.io with SMTP id smtpd.web10.49412.1743419256339749159 for ; Mon, 31 Mar 2025 04:07:36 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@bp.renesas.com header.s=selector1 header.b=YavgADnj; spf=pass (domain: bp.renesas.com, ip: 40.107.74.19, mailfrom: tommaso.merciai.xr@bp.renesas.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=U3FgXO/ctOJ2nHNih5zMTMN5l/mwOsAjJJTywjxHc4aAecqxLoAUj1BrlsjgMePZjRrw+X+5eg60MifIhaq0ooqiVXM6yongpIr/BeXI0d8abZpIZCX4/778+BVLVDb2GufXSvcXi1ysH3cLZNYLSjTOFXHBgsionUhAx5NnFZKOGe8Ns6g6T9quzRrFO5UH7RRx2TgzPVEOBiS4yOkf4wYWSQEHiR3DVho02keHCe5T1Qu8oHO+iWaNUteCgMG87P9k1ssVeXVl16izW7mDjGwdAJEw1ktfUsB4pcuuWHMZTYE7rie7rKeBKbveyqrVObXbBT1/ND1HzM4XrGijfw== 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=lKmQa1Z2uKNmUeu4dqImb7wJY3JyobIBME03OPommA8=; b=Z28Zp5Iy7NKW7Npo6/iRVov41aoZlueTGohaZUqWDLYaQiNN6bRlcrAIbbIrD4Zguwbfz/Uc1A7CQep1fR2LAAH8b6tXgFdZfqZYbgVEoSLi7pmm78iTEPb/VKInFiAAf2Dy7Pb/OJ10M8jiITXycIJRGenXyilr1xjqVXgDQD+S8/Gv24S+OlNnaOcbou/1sdEaisw/FGp6KZ0V31mPsVUmZGSUYtrlF9VKkjDKDhhZ+Jv+y3GdDEOM7CEoOuuKkUsIOS9uRDMHARvoDqCcvj49NFLWget6St7ZPEeWWWHT5Gwd+jcHchxvYV91Ne1ibmWgJ8xZTkqQkoOWFo7DWw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=bp.renesas.com; dmarc=pass action=none header.from=bp.renesas.com; dkim=pass header.d=bp.renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bp.renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lKmQa1Z2uKNmUeu4dqImb7wJY3JyobIBME03OPommA8=; b=YavgADnjzpf2JvszXVWpdC+t7HwyGOSSwDPeSA/xpC4KwZgJ9cLAmIA8KibJGpbr6iJXXvT14Q6kpi+3/jafoyyw5bfoMv3ZBpzmxfcWRNBLYO1rJnLm5WewH6pfabtahZcPjdZhpRDaCDTLUBchzM8dswoDjAarMU0ziTblOOc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=bp.renesas.com; Received: from OS9PR01MB13950.jpnprd01.prod.outlook.com (2603:1096:604:35e::5) by OS7PR01MB15065.jpnprd01.prod.outlook.com (2603:1096:604:370::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8583.38; Mon, 31 Mar 2025 11:07:34 +0000 Received: from OS9PR01MB13950.jpnprd01.prod.outlook.com ([fe80::244d:8815:7064:a9f3]) by OS9PR01MB13950.jpnprd01.prod.outlook.com ([fe80::244d:8815:7064:a9f3%5]) with mapi id 15.20.8583.036; Mon, 31 Mar 2025 11:07:34 +0000 From: Tommaso Merciai To: cip-dev@lists.cip-project.org, Nobuhiro Iwamatsu , Pavel Machek CC: Biju Das , Lad Prabhakar , tomm.merciai@gmail.com Subject: [PATCH 6.12.y-cip 05/13] pinctrl: renesas: rzg2l: Move RZG2L_SINGLE_PIN definition to top of the file Date: Mon, 31 Mar 2025 13:06:51 +0200 Message-ID: <20250331110659.252237-6-tommaso.merciai.xr@bp.renesas.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250331110659.252237-1-tommaso.merciai.xr@bp.renesas.com> References: <20250331110659.252237-1-tommaso.merciai.xr@bp.renesas.com> X-ClientProxiedBy: FR4P281CA0165.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:ba::20) To OS9PR01MB13950.jpnprd01.prod.outlook.com (2603:1096:604:35e::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS9PR01MB13950:EE_|OS7PR01MB15065:EE_ X-MS-Office365-Filtering-Correlation-Id: 9bb3e05e-329d-4ec2-e992-08dd70443d44 X-LD-Processed: 53d82571-da19-47e4-9cb4-625a166a4a2a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|52116014|376014|366016|38350700014; X-Microsoft-Antispam-Message-Info: phO+AiX7Cx2BGT41ftAxIaVAAV1y7jCi6lxamqs8bWPwGkAZnZiNU2U5zq3/KqDPd60MffDSJmxmn8FTFwdKqKQb+uQaClVq45tfacpwMMkpzdodDzGzzHWUUsX6uyP16PWzR+wZJkzPM+eypxrPD5Xm8AaH4wOFy59rqR6/PaNp5F/M47dSuh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2n55PFLHwoMKFPToAbEK4zod5yxybwuw3GW+m+6ZFNF65Th2wKEUMmaczJRRiVrviiRyEbDVc2MP9KX8pkYcHHQ+qNYk07bNWLdQP3H9rarkxPlylo5BPh9UQnoetEYlW6D5/E31Zl5X7CezZWu6igsCHHvk753qTuXLHClkTe6fgPkIA8kv7+G7YN12DEdH9vO8C3+3Z X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS9PR01MB13950.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(52116014)(376014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: vBgZ29hHgMxUKL/ylw8oo1BH1WdA2Y6qOmI3kPUL/lsUqsS66CKZZfqF0mLRCN1T5zvTLk9nYgqA9H9EWFrKk1Cf+vP7wWe0Ia8OM9Dj1wUXtIT1ZNvLNld2E+vWBBuvHWzoc3i1aH0JT/wHx0v5/p4teRp+ykVgaOssR2PhpmGWJUBB57j637OqU2A29V+pzQwI9YbNbpFjZrhZJyLJD23V9uumX2ECgCRK8ECAyaJfwe6zY3Xbx3C2RT1lq2jJUC+/cehAn+aomPXyHrY2iYAiPDgDWrOgdB7ophFqw1vey73X7ZcPcVD0ypRWbUkrhTWV/cBtDcD/B808clS1XlpypigjdTSbdHFF5FMmphFBywpY0tsmkbgvxyR1SFs1BRZXCpGcBMBfjyhr4q5VhnBkLQ46ypF3guwnJWQzUi4HceZLPsI2Z7yVzwJj5TvBUeLw+F89OB6qbTFNSrCwWxZAecTcZeyDnXsW2CrYJVKJ2R51c61Au3XpxnTfWBMiWRLJgat3FPbv6q2ehHuMjZ73Igg/RKX8i3JzDXEf/BXaL570I0oEQQi/2szPumxmGeS/nD3/fTeYqltLO6KLo/B8llgkNyT86pjrJJleiDLVSKSV6/hGVgvRZSu1wCm71uDdNCB4Giuw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MS-Exchange-CrossTenant-AuthSource: OS9PR01MB13950.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Mar 2025 11:07:34.5435 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ojbP0ecsnFoj/4zwCfk2gQGOYI6dkRBdBhaC6k/op1QOLQnNQ1qYec40sXgSCOGUpp+IixZONN3u4KbLcx6uZp1fbavCIei4WtvOLxrINXpeeqOnGIEEfFhZof/Sc4kc X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS7PR01MB15065 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 31 Mar 2025 11:07:41 -0000 X-Groupsio-URL: https://lists.cip-project.org/g/cip-dev/message/18437 From: Lad Prabhakar commit 13dcd63dc704b33a8ad94f1d161c0f5dad243a5b upstream. Define `RZG2L_SINGLE_PIN` at the top of the file to clarify its use for dedicated pins for improved readability. While at it update the comment for `RZG2L_SINGLE_PIN_PACK` macro and place it just above the macro for clarity. Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven Tested-by: Claudiu Beznea Link: https://lore.kernel.org/r/20240618174831.415583-4-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven Signed-off-by: Tommaso Merciai --- drivers/pinctrl/renesas/pinctrl-rzg2l.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pinctrl/renesas/pinctrl-rzg2l.c b/drivers/pinctrl/renesas/pinctrl-rzg2l.c index 5081c7d8064fa..b47f0f1257cff 100644 --- a/drivers/pinctrl/renesas/pinctrl-rzg2l.c +++ b/drivers/pinctrl/renesas/pinctrl-rzg2l.c @@ -65,6 +65,8 @@ #define RZG2L_SINGLE_PIN BIT_ULL(63) /* Dedicated pin */ #define RZG2L_VARIABLE_CFG BIT_ULL(62) /* Variable cfg for port pins */ +#define RZG2L_SINGLE_PIN BIT_ULL(63) /* Dedicated pin */ + #define RZG2L_MPXED_COMMON_PIN_FUNCS(group) \ (PIN_CFG_IOLH_##group | \ PIN_CFG_PUPD | \