Message ID | 20240723131832.1171036-3-andrei.stefanescu@oss.nxp.com |
---|---|
State | New |
Headers | show
Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazon11013013.outbound.protection.outlook.com [52.101.67.13]) (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 F20DC1534EA; Tue, 23 Jul 2024 13:20:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.67.13 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721740809; cv=fail; b=fgi0xT8J2q4sPzXuAg1jD0VJUa8bzQ9KUpa0iVIcqQslNcTE14yuk6BGDvWWNo6QGmqwmLYebyh3uw88eWb+cA7l4xSyoTAwLTpIYpYdt67DkiFBA65aJz4lAENc0q5TT00JeXL3COZbe3N1hilI1/9HWV5eP0iOgsgXeQxfscs= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721740809; c=relaxed/simple; bh=BxeyC++ixUQ/DDPMQruJne9IXCa1QLDuiukr9AcWjfg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=gNOHu6DWRtAopBDdnhuzBmb5UqJ4zNeTqty+7CVONMpRv1ku3ZG5d+kWu7//YeRKGIvAKDa9nvVoIFkmj4rN7i2IJVfZ1jYq1qlr9jUj8dhO7cov1b5QnGKTAZi4cxpwVvcx1b/YLqiYs18cxb9ZgGfKUBfSpnaTTh8wxwFwau4= 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 (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b=J9H3+6ZS; arc=fail smtp.client-ip=52.101.67.13 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 (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="J9H3+6ZS" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=xSO7gEgDE8YTT4XBsOJs1b6f3RcmpNrv4rzVBrU7dv25scftQ7Rcj5mQsCxkIE1V5KGzwPYDQKZVwufFpIdNDDpuarjTIO+nX/UlXq5cAjefN4k77NNkckxwejYdoxDnKALblXfXuhxjwK81c0ub7fiKYWO83ByaE8VVwyYg8ApNhGv/yv93JrKDcf9IjrmL3x6mX0POqTZEHe4dU8j9HgKmScGu+unuhWzMvvaIt+WWhhzfTumHg0ELEkwDBmsg/1yevXiWZY+NTVJQ7PyLNTjzmDI70Ofl3Gb4u8grNS7Lm77sB0JYIR5N4fu4pcGPXtGt/gjNN5bhyYHd5kJlHQ== 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=PyfZsYjdSbViPO0x0p7LWcKlsSwIsX5zoGU9VGGgztI=; b=k9CVR1CWMPAmKtE0EsinlWxkCo2n8lrWzvWB0Oa2Y1mWQvmJp/cVBXNz+TB5KXjN3s7jngsYpEUU2cL/BBpC9QSUZwHnZWTprxGh/Co4nptISn8IfPGMUhQYqN+3oXll+WPNZ5nsdOpz1z+s+ythxEpSHdXINiMkNSOtkWZAEuiE9sWo0pTzYN4z5FpSh45ORVngwpoLJ2GJ968ZbFaxyMC8iSkfnd6Id4864nDvfs2Fc6ljDcd51y2IlHXOmqIdir/FE09c/EdX31KMjzUrx84Tm7KCm7KNah3Mr84LYU4Bd3UgxKc4X3XCk8RFVq24rNhvlHq/P1/+EI66fkWWMg== 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=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PyfZsYjdSbViPO0x0p7LWcKlsSwIsX5zoGU9VGGgztI=; b=J9H3+6ZStyvyKXstiYgqFgwxkShO9JQQZmk32VvKRo/Nbic6SoA6nXPuibO2nohVkoch/0VU8YxwJJDeKbHJt7QKW62koGjZbggMCdpEwM67Z1vxv2fg7y5/Y9+ZfzSKVC0PY6BXrFm1jx781zCqkZDO3V9ewlFm6LNDmz327M4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from AM9PR04MB8487.eurprd04.prod.outlook.com (2603:10a6:20b:41a::6) by PR3PR04MB7258.eurprd04.prod.outlook.com (2603:10a6:102:80::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.16; Tue, 23 Jul 2024 13:20:03 +0000 Received: from AM9PR04MB8487.eurprd04.prod.outlook.com ([fe80::6d7a:8d2:f020:455]) by AM9PR04MB8487.eurprd04.prod.outlook.com ([fe80::6d7a:8d2:f020:455%5]) with mapi id 15.20.7784.013; Tue, 23 Jul 2024 13:20:03 +0000 From: Andrei Stefanescu <andrei.stefanescu@oss.nxp.com> To: Linus Walleij <linus.walleij@linaro.org>, Dong Aisheng <aisheng.dong@nxp.com>, Fabio Estevam <festevam@gmail.com>, Shawn Guo <shawnguo@kernel.org>, Jacky Bai <ping.bai@nxp.com>, Pengutronix Kernel Team <kernel@pengutronix.de>, Chester Lin <chester62515@gmail.com>, Matthias Brugger <mbrugger@suse.com>, Ghennadi Procopciuc <ghennadi.procopciuc@oss.nxp.com> Cc: linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, NXP S32 Linux Team <s32@nxp.com>, Andrei Stefanescu <andrei.stefanescu@oss.nxp.com>, Florin Buica <florin.buica@nxp.com> Subject: [PATCH 2/3] pinctrl: s32cc: configure PIN_CONFIG_DRIVE_PUSH_PULL Date: Tue, 23 Jul 2024 16:18:31 +0300 Message-ID: <20240723131832.1171036-3-andrei.stefanescu@oss.nxp.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240723131832.1171036-1-andrei.stefanescu@oss.nxp.com> References: <20240723131832.1171036-1-andrei.stefanescu@oss.nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: AS4PR09CA0016.eurprd09.prod.outlook.com (2603:10a6:20b:5d4::8) To AM9PR04MB8487.eurprd04.prod.outlook.com (2603:10a6:20b:41a::6) Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: <linux-gpio.vger.kernel.org> List-Subscribe: <mailto:linux-gpio+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-gpio+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB8487:EE_|PR3PR04MB7258:EE_ X-MS-Office365-Filtering-Correlation-Id: c758b6c0-01b6-44f4-0433-08dcab1a29be 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|1800799024|376014|366016|52116014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?0Emme2Y9jUIKX//MWqHamQtLcYjG4AH?= =?utf-8?q?O0uREtCQjYrouQj3dH8uZphK0B/bkntGmxsrR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07cT2SVJkigvBzafN25+h9av0v6GhEihcUEL?= =?utf-8?q?l2YTKypPgbIYc+AeWWj3XMkrBeiUdnrnZj7OlQeK92LzELuVkK3Nx0S2MmcMjryTC?= =?utf-8?q?b7nwYSgzKKWIgfc58MTKC15P7jmGaAe5WDdN5gRhfGMcZeuMFyAi3bC1zLfT/DUaE?= =?utf-8?q?2ZHgILEw5mkm/dGlcBXGyohoV1HsZdii5HRVpGZOshWFcjgFtAtISAgBdIan/cA0M?= =?utf-8?q?cKnZ4PPrn6KxFdtZTg3f7iN9/Z7PjvvTKvM3//TMoZvON9nklQag8YW6EjGAi+euE?= =?utf-8?q?WS/qaSUrcfbKt610ajGHVCsKR9jIEins4N2vWGrgglz71VhameSi03tTL01aaFACg?= =?utf-8?q?C/Ti0fAmnzSr+c1pPeZ/zVsXbuEDQZfJMRj+tQpakVsnCT/PAA3fl7LCtIkKGraPu?= =?utf-8?q?a4RxR/+kHLpXS0PllY1+EnCXdlA/zr7VuQ=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB8487.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(366016)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Hw6iTeTBaefzxFBvzs18g+dtbdVN?= =?utf-8?q?wT1yWR6CO2rY3fVuBN3zuQE2fsrCPk+D+Z4kg5IZXccYwrGRQVINk+ZKxEFdTdYb3?= =?utf-8?q?Oa695zMMsNrFN318gANCOkeGbSWLNSbulq2qcEvgKxZ0i+pzSfvm1Gr7lQCdOc8mc?= =?utf-8?q?l/3i9KYCjtxDQK167+AhuANsMy8r6UUhWTT4JE55nEROQt3fyZbezmDmizkIOsrHa?= =?utf-8?q?glRGpyD7c1C7UXhRTxDoZcG4RTRRJp1Y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ZkLnfwnZvE1dn8ggquoJx7c8iPDXatK8evk?= =?utf-8?q?iEkbdKfBG8+KikiQter0q+ZQffQwKwJCkZx3P+lNBEWjxqxVM7BobAGCgy1Ju+1W8?= =?utf-8?q?I3Qtg3UPEnbZzWLuRszauZb3l+XykvbYjLWCt/V0srJBYedQF6953li2yA3R3qjG/?= =?utf-8?q?6UNFJ09XvI8W3F3zrEJpFNstA0Ihojnhkqa13lnFBKlYZiHMRwjDeH1PH7TJFsET1?= =?utf-8?q?uq5/0spZBtgU5IIGfCkGZwd2gpoS7Ssbuu5zlOMPZOOVQA0CHswN2EUd1E7eT4m6Y?= =?utf-8?q?rTjVam/NCteZ5Sj56E0sF6NbaUUJQNj6GkEPKEYk9rv+f/62SFIb+/oz2kCfvHy6L?= =?utf-8?q?cKcnDd4t/TpmaejiAtg5zqvGnHeK+HNA/7j2vA4U9oPxzp0uUnpC84djdWXRZOxke?= =?utf-8?q?wnR40sZshm3z1pYwkgYV3QLvUVQM7waTGQ=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c758b6c0-01b6-44f4-0433-08dcab1a29be X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB8487.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jul 2024 13:20:03.8886 (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: dAi6P1IMNeMsyCytVmZnCWTE6mV9v7f83GgFEZz7y5D7zbWDf7Mez8LIKcIIotooBStdALUgQLbrGFeyKQguhH3XDCQs557Agc6EVA9r2Jg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR04MB7258 |
Series |
add small improvements to the S32G pinctrl driver
|
expand
|
diff --git a/drivers/pinctrl/nxp/pinctrl-s32cc.c b/drivers/pinctrl/nxp/pinctrl-s32cc.c index 1f58772c472e..48d9d6df953f 100644 --- a/drivers/pinctrl/nxp/pinctrl-s32cc.c +++ b/drivers/pinctrl/nxp/pinctrl-s32cc.c @@ -515,6 +515,10 @@ static int s32_parse_pincfg(unsigned long pincfg, unsigned int *mask, *config |= S32_MSCR_ODE; *mask |= S32_MSCR_ODE; break; + case PIN_CONFIG_DRIVE_PUSH_PULL: + *config &= ~S32_MSCR_ODE; + *mask |= S32_MSCR_ODE; + break; case PIN_CONFIG_OUTPUT_ENABLE: if (arg) *config |= S32_MSCR_OBE;