From patchwork Mon Mar 31 10:45:10 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tommaso Merciai X-Patchwork-Id: 14033476 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 8E4EFC3DA4A for ; Mon, 31 Mar 2025 10:47:31 +0000 (UTC) Received: from OS0P286CU010.outbound.protection.outlook.com (OS0P286CU010.outbound.protection.outlook.com [40.107.74.13]) by mx.groups.io with SMTP id smtpd.web10.49098.1743418048927644782 for ; Mon, 31 Mar 2025 03:47:29 -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=EcHRJjQf; spf=pass (domain: bp.renesas.com, ip: 40.107.74.13, mailfrom: tommaso.merciai.xr@bp.renesas.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=FcNZdNdBGbNjNJyVbgOCVP+g15bnruvVtynRuNPSPUZYnnpGZhswAyOzaiatyXPpsGWM0uKzTpF8qTxQqOWmihnwffwtIpFiPxWJpWrXADo6s1k134g39hW+tHwFcTbSuIRaN+E+1Ho2CiJnSIoflj2XLJbvkO2v9o2oBMMB5wqFJr36Z7zyQwkMBgO0v0ZbcgO2zijn/jBTUb7LUtPhuR1iHrVbzFRF5pAbYX4Ka+wBjygT1r6afQfpHt0Lwu4SAN4G9P9kbYPc4Q03yeVidxdOv4MzEh7PD9XBclpFHlrIfdnQOKxg2bA81veGN8mS/1ZCiJ+krMAgRjL9sZ3Jgw== 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=O+PyPPhFl/VEgruP7Cxun14HvrgOiDOTzP64rVlY96s=; b=sies/7ktqJa8bUQrZXpimoHCbt/itFi34hF/YblJ3mNc+0AZOcIAfVTh+1+IqRCLqww4IOYXyZVusguTPiJSXIBtV37bEo8pBeCNtg1ayGNFspoHiFmYYUA/ZR0A8cRFon28cwBsDcOeEPvYO0VmUUTiObEHo2YKLOwvehBz3Qg9acTbr92QUX0iwYtOSxjrRNKNfd5EuAdK6e4iQW2JAzGoe2S6jWj6T5nLjJBkiVvyxFs/H5oSf/iisIET57WKdwuO1jS2Ku0DTpTnH3vo6SOuJ03hcIjmtLiixB6TyOUY+CthMqYviIGbx9EJw6opzhMXDdczFzEzxU09rKRbIw== 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=O+PyPPhFl/VEgruP7Cxun14HvrgOiDOTzP64rVlY96s=; b=EcHRJjQf1Z1rZSG+S/Pz3zS5j+khvziVLeZ+9Eked5hURlGLNa0a/NCSO213OKni+QAStptUPoDvRvwnI8V3b3pCwnPpyVlgt+ooXLC7HCS+q14v+eAMmVSKaXBOkXL2SALuQ5jR18KQGZex3K8XPyP8+StV1JCMowDBLhNcVEM= 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 TY7PR01MB13744.jpnprd01.prod.outlook.com (2603:1096:405:1ef::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8583.33; Mon, 31 Mar 2025 10:47:28 +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 10:47:28 +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.1.y-cip 39/43] pinctrl: renesas: rzg2l: Update r9a09g057_variable_pin_cfg table Date: Mon, 31 Mar 2025 12:45:10 +0200 Message-ID: <20250331104514.79090-40-tommaso.merciai.xr@bp.renesas.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250331104514.79090-1-tommaso.merciai.xr@bp.renesas.com> References: <20250331104514.79090-1-tommaso.merciai.xr@bp.renesas.com> X-ClientProxiedBy: FR4P281CA0148.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b8::13) To OS9PR01MB13950.jpnprd01.prod.outlook.com (2603:1096:604:35e::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS9PR01MB13950:EE_|TY7PR01MB13744:EE_ X-MS-Office365-Filtering-Correlation-Id: 0fa579c6-7fc7-44aa-4b53-08dd70416e56 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: KMINUSq3To1aNTLpgC6mkgNUH01Ebd1wnfWQpUqDZpmtN4cOdixoOg6EOkoUaHWcoAhu7gdt2bgr/snOQ28/5CjW3P7HuIFDW2kdiugbNYPmjrSV4FyPl3eW/28LNAE4YwjhO0A85LAJfJg3kV5dRb3q87o6tYg1+rNnQYcgtkclqiLJb8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23dmOB12V5o/p5lK2BX1kHzDaF9BKwuyDcVOWNn14X7Urx9IgxhFqLju8tRLxlMY2r9e9fmznsqD3TiYQjUblo0HkXEetH7nAoAtCDGfFccUSCtRK+0qxIf7hMjMLylgQATbu6PP6DaaWeO1rg9aCsQuDLQKbiWfyRIGiGbRd+l8xAf+49sHvn/vVYUYiojtcBIFtEmgRstWZ 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: CgXlU9mIpVKnrS0T0NjLXnTmNNtvytqOBRE1tBZli/oJcbkpAu4SwdoHOr7+tiOeP6gPlIARGJpiS6HdcJWPiqkwpDbd3WHAgJ9Gs+yH3ujyLJr2BcKreBELcGrUWEkGexk1ZcCDegvzlvEy3xOet1V5LON036TxU79VeB+EVlDWkf4EDhmNacIyKMOR1ytoVCiIBnDOt2gfQKCwQAKXT62bf4mBK/l9dKTOkq+NRJ2F3IEobt+QWNvRRpo2UhnEsmdiOJpMkB2G0OnWr13uLdN87QR8pTNFb7p0sfVjaZqNlIyOOzw8kItT1xVkfJ1AgNmPCtvl1RmjGR4UhydPI80mo+UWaFvDzKS/HAV5dWjVQ1zeglQoI4830Rx8EYbzV+lakZWy2DksDublEU3dHGHdtEdUUpk5wde4bJS9wDnPaDhbipljazFGS7yycevbhgQbeeVloEhH1JaF2sgpzrGO5CSHeiOObmV2qfhZ1pFT0BDDPdvuOF+788UCmoIuqoq49LEyrD4Ey28H2h4x6680dkikrSFZHucEWzOLbDIbcN0cSZD7p/FE0VfIRq3Neuz4blzhyomwMdwp/LuJmDeS5bgbbFdZTd9J2Td/m84u+CkNfpf4AO937c1YP2xdRGxApVmkUqAJpOJ0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-CrossTenant-AuthSource: OS9PR01MB13950.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Mar 2025 10:47:28.6271 (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: aVdkmIh+6mKE/RIK+Q3hZG3XBSL+uYD88wPrDdclDEIXR28fGlNlEEg8eyCLHcV29R6TAwITHQIIGHdeCppOcHQ7mDfpHIEsivHI7ZoiRW/ZanUaXSkLcF385AYx+dk1 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY7PR01MB13744 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 10:47:31 -0000 X-Groupsio-URL: https://lists.cip-project.org/g/cip-dev/message/18427 From: Biju Das commit 0ce66380a7c7566c91d4a159751d5801280957c1 upstream. Currently r9a09g057_variable_pin_cfg table uses port 11 instead of port PB as mentioned in the hardware manual. Update the r9a09g057_variable_pin_cfg table with alpha-numeric port names to match with the hardware manual. Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Link: https://lore.kernel.org/20241216195325.164212-4-biju.das.jz@bp.renesas.com Signed-off-by: Geert Uytterhoeven Signed-off-by: Tommaso Merciai --- drivers/pinctrl/renesas/pinctrl-rzg2l.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/pinctrl/renesas/pinctrl-rzg2l.c b/drivers/pinctrl/renesas/pinctrl-rzg2l.c index 353f9b139413c..045033fc84f26 100644 --- a/drivers/pinctrl/renesas/pinctrl-rzg2l.c +++ b/drivers/pinctrl/renesas/pinctrl-rzg2l.c @@ -25,6 +25,7 @@ #include #include +#include #include #include "../core.h" @@ -381,12 +382,12 @@ static u64 rzg2l_pinctrl_get_variable_pin_cfg(struct rzg2l_pinctrl *pctrl, } static const u64 r9a09g057_variable_pin_cfg[] = { - RZG2L_VARIABLE_PIN_CFG_PACK(11, 0, RZV2H_MPXED_PIN_FUNCS), - RZG2L_VARIABLE_PIN_CFG_PACK(11, 1, RZV2H_MPXED_PIN_FUNCS | PIN_CFG_IEN), - RZG2L_VARIABLE_PIN_CFG_PACK(11, 2, RZV2H_MPXED_PIN_FUNCS | PIN_CFG_IEN), - RZG2L_VARIABLE_PIN_CFG_PACK(11, 3, RZV2H_MPXED_PIN_FUNCS | PIN_CFG_IEN), - RZG2L_VARIABLE_PIN_CFG_PACK(11, 4, RZV2H_MPXED_PIN_FUNCS | PIN_CFG_IEN), - RZG2L_VARIABLE_PIN_CFG_PACK(11, 5, RZV2H_MPXED_PIN_FUNCS | PIN_CFG_IEN), + RZG2L_VARIABLE_PIN_CFG_PACK(RZV2H_PB, 0, RZV2H_MPXED_PIN_FUNCS), + RZG2L_VARIABLE_PIN_CFG_PACK(RZV2H_PB, 1, RZV2H_MPXED_PIN_FUNCS | PIN_CFG_IEN), + RZG2L_VARIABLE_PIN_CFG_PACK(RZV2H_PB, 2, RZV2H_MPXED_PIN_FUNCS | PIN_CFG_IEN), + RZG2L_VARIABLE_PIN_CFG_PACK(RZV2H_PB, 3, RZV2H_MPXED_PIN_FUNCS | PIN_CFG_IEN), + RZG2L_VARIABLE_PIN_CFG_PACK(RZV2H_PB, 4, RZV2H_MPXED_PIN_FUNCS | PIN_CFG_IEN), + RZG2L_VARIABLE_PIN_CFG_PACK(RZV2H_PB, 5, RZV2H_MPXED_PIN_FUNCS | PIN_CFG_IEN), }; #ifdef CONFIG_RISCV