From patchwork Thu Aug 22 22:01:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyle Swenson X-Patchwork-Id: 13774260 Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2062.outbound.protection.outlook.com [40.107.247.62]) (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 2069156446; Thu, 22 Aug 2024 22:01:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.247.62 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724364081; cv=fail; b=mAZ9PLNDYPqUterKL1721PbIW5uKwmNtr9UUN5GR7ds1JHpZvmPW9FbmKFb2ul2fx5QKe47rrelhARnbP8ch1lkNQvHKu1sSn4BanzBkXq3Qyar07jldb7fwO6x1QHxAu0YLs6nbGfma0xYDw+No/RUU6uuQP/mXp8qhCjAPdyY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724364081; c=relaxed/simple; bh=BxFa1AnCk73WZwbnUk51TOQwVqSc36mwF+QRq0J6NVY=; h=From:To:CC:Subject:Date:Message-ID:Content-Type:MIME-Version; b=gOWlXUalyVcJCF1pzTMmBUg4f7Qz7NqAKY7h2VgH46kvqHuuJ18K1rK5Ej/ytzTaBKFpOysDinBO8CpeRtjXGL4Mfecr3tLwUQGdIGE/X6p/DHwDCPFsIDZr7CPZXeJrFiIEDWyJliTaGcj5bIhXstYOhlpDCxkEkQ5j/zLoIv0= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=est.tech; spf=pass smtp.mailfrom=est.tech; dkim=pass (1024-bit key) header.d=est.tech header.i=@est.tech header.b=cE+9VjoP; arc=fail smtp.client-ip=40.107.247.62 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=est.tech Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=est.tech Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=est.tech header.i=@est.tech header.b="cE+9VjoP" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=uOEuisH+sHQ9jeaz9rkJgOpCfPhsM6EDm8nWFPkpG+SpdctR23TOPISJZL3hwUuJrselFik45p9BDv0RSR8YgIGYE6k+P5SYMKOK0CT6PMwU8pTAqxhmswl5yUXHHsw8OlVc/MdzXT7LRNBOWgxhw+uofLEq47W7HbwC//OoQ89ExY5JKiCOtK+SlUekB/2guNRCTWbhN1tccCcEnvqfPDoftGZydglAs9BCIPxoj0RMmiM9vHbUAwBZbvuczTXcYGWKFImdO7QWj4YU4NNr/T2aScT0/uft5tQGnhnkqIewzv9oIx+ePzhG9R2aRRowf3XANBu3/mEwwUBclLD6Ww== 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=oRTnm9b10k8vuyLzDjxLkLgrGm1a4AplaDmmUiW9wZs=; b=MFCN6krsNub4mA56ALtzRVh10xeO4d2KhhRI3eD4h6Y3LqtPB+NvH8S0T0SvXanCK7U1ZUk03jyo59MijPfqNN15THnrT25edcFC6ZFf8qZ6sTtGyajO5ONAIJv4cYWGN2UOat7MAm/eZM9IQk/h8ewPHNZ/GZHI6IEmFfpzGCIqBjy4Nq5A4TF+uXPI7tKc+BFR4YJItDN3qpmqhSJ18Zi76vMTQqEFF5PQQEiVKrOXJzeHLieFnFi5evFeAUqj09bRoYSa/XfDDl8uK/32KE4sMQSlP3BYrRU6S8m4gAmgWXgSdtTZvbn9SS20y0/k0QpoZClG2P3MyA+pv7jaBQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=est.tech; dmarc=pass action=none header.from=est.tech; dkim=pass header.d=est.tech; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=est.tech; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oRTnm9b10k8vuyLzDjxLkLgrGm1a4AplaDmmUiW9wZs=; b=cE+9VjoPY2QpZjATGvqEmDTyan2m8mYwIqRI3JWbmls9MYiAF1BJDwvdMAbx+gB0/XmL4yEH1LGBxnL/GHnRJw4gpmUhvuFhgFqNBnjeusMGt3YX6/0eRYEpRxGfqNYLyTEXW2VOzyc970Yc45N5W6jxImu3of11d7n7B8Wkews= Received: from AM7P189MB0807.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:115::19) by PRAP189MB1828.EURP189.PROD.OUTLOOK.COM (2603:10a6:102:27a::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.21; Thu, 22 Aug 2024 22:01:16 +0000 Received: from AM7P189MB0807.EURP189.PROD.OUTLOOK.COM ([fe80::53cd:a2f6:34be:7dab]) by AM7P189MB0807.EURP189.PROD.OUTLOOK.COM ([fe80::53cd:a2f6:34be:7dab%6]) with mapi id 15.20.7897.014; Thu, 22 Aug 2024 22:01:16 +0000 From: Kyle Swenson To: "o.rempel@pengutronix.de" , "kory.maincent@bootlin.com" , "davem@davemloft.net" , "edumazet@google.com" , "kuba@kernel.org" , "pabeni@redhat.com" CC: "robh@kernel.org" , "krzk+dt@kernel.org" , "conor+dt@kernel.org" , "thomas.petazzoni@bootlin.com" , Kyle Swenson , "netdev@vger.kernel.org" , "devicetree@vger.kernel.org" Subject: [PATCH net-next v2 0/2] net: pse-pd: tps23881: Reset GPIO support Thread-Topic: [PATCH net-next v2 0/2] net: pse-pd: tps23881: Reset GPIO support Thread-Index: AQHa9N7P/WeWEXGmLkqr1qfa2UCDgg== Date: Thu, 22 Aug 2024 22:01:16 +0000 Message-ID: <20240822220100.3030184-1-kyle.swenson@est.tech> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=est.tech; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AM7P189MB0807:EE_|PRAP189MB1828:EE_ x-ms-office365-filtering-correlation-id: 1e11e082-2a59-4ae1-a01e-08dcc2f5f1e3 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|1800799024|7416014|376014|366016|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?q?+jgIlvQND1GWLg8K8g8VpbnHwL?= =?iso-8859-1?q?0uSd649xm+q0npzVYA5m0kKj3+o13wTGE+zD0AVTRhCfDlWPIzL/X5YuCJiG?= =?iso-8859-1?q?vNOYbK9JCfWxUWm/aniH+vmPmUaj5paIgjxuVS7LY64Ph+VH7q9vnJBz55C7?= =?iso-8859-1?q?zCAWXkCN1+0oK/O7703FNIe/YVf3tnPwQ9IaSt1K3RqmrRW66o7i+BUHlAYU?= =?iso-8859-1?q?/0SIZ6f4hmIk3JvIvKE7seDVQHq01JuMSJVCxS0jb2XTXd17djSInfBN9DN9?= =?iso-8859-1?q?rmPUy/GHzggxh+SYJiyrU2nCsLd3Ja3vMIcqy5Axq9KQRn9Nx82HgJSWgFDL?= =?iso-8859-1?q?alWuaFdF2/8hjVlCX8IBRs0499DLdn2z2qv0N2y0DhAbxuX1u8HHNp5wvY5N?= =?iso-8859-1?q?xqjr6vvgcs9maGZppyE46UFzJwEBhXPW+QrrHtOmVVluTNsA+lpt9/HZmzeZ?= =?iso-8859-1?q?m8xoOglmYBExbi3ENZW2ouOb2nbuhRBTyKwp6eLRh+243nmGNSPkRqYaqBdH?= =?iso-8859-1?q?FWLscqsyYnKFO/SDFvhe1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LPWIXXnxG9dRYuv5mo?= =?iso-8859-1?q?6rDn4p76sB6XYkkAVpj3PuBA=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM7P189MB0807.EURP189.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(7416014)(376014)(366016)(38070700018);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?q?cse4G09VNUhwP5/tA8AFvc2?= =?iso-8859-1?q?NR4bvlqYBhL0Vr/eWx31jeRBo7eH+f2Kl4QpXnDLeufryIR8FcIuGqPYdO/k?= =?iso-8859-1?q?iO1vqAPdAMqHbBr5nvlg4PY2pVzZZL+NQV4oKDKT3CYkYajdLkJ3CBksG2Re?= =?iso-8859-1?q?GaB2yVbP5HtVIbwKTPpD0c3MZUCc6DntN0kPSFt1YhH076ojKaH3Qn92qGY5?= =?iso-8859-1?q?O0tlv/WrMR9LH9lS8J3BCT1kLhSIKGMxebKFjI/BHXSX2lFEkx3yFgpnJPds?= =?iso-8859-1?q?sQVNN9O0+8jKnTn9vzqncxFAsAtBIkE0Yzf1wabUxkhtxCMW3OLDnxUJKkEz?= =?iso-8859-1?q?DmIGg1OsDTlrayskVEr9jmeWmylkux6xWBlhEhB3OX2Js7FmaEBw3LzR/baE?= =?iso-8859-1?q?wu2AfAk0D5gIzlcgJpTLLlu9wDPjis3uhXdoDa4wpKdhdc6mFDv93B+tf+aT?= =?iso-8859-1?q?vxNaXDgMZ/s1UyQzFgxdrEUe4dCx4IW9abKmb18bP0EiN+vsaKc317yfpXmV?= =?iso-8859-1?q?cCy2Hg1muTuoIlm6WqNCCBA2E4lJ/WVp3p7N31mcmQx/0nqr0m+7IbW4AX1I?= =?iso-8859-1?q?QqTL54KyWh3gJf4Ur3QUv3KeVgvwSG2FYjyErL62sFrpGQvBUpbrH0zDW8fh?= =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1?q?UeRhAUM0/tJdxkNsu4pfhwN5UE6CrMv1TyKZvNEdQ1NC/45CHWM7pmn3mBcn?= =?iso-8859-1?q?TGMBBHCec7fL6wF3nyFXus+hcNKcZJ3uIZjbu5RhrmcdwqCrBW0/+/RUXnCS?= =?iso-8859-1?q?ZI+AlREPuNocWfQmMCfX4PhdRR+qp+27NnvK/Zw=3D=3D?= Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-OriginatorOrg: est.tech X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM7P189MB0807.EURP189.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 1e11e082-2a59-4ae1-a01e-08dcc2f5f1e3 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Aug 2024 22:01:16.0205 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: d2585e63-66b9-44b6-a76e-4f4b217d97fd X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: wHDE2OceM/DTYrVFgcSiSvk6Hkm4IzLbAk6PVgt+Bco9qvHuQ7UzpMWUs3ABwRI5+XYm6VpFhuMwi/GlUe9lSw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PRAP189MB1828 X-Patchwork-Delegate: kuba@kernel.org On some boards, the TPS2388x's reset line (active low) is pulled low to keep the chip in reset until the SoC pulls the device out of reset. This series updates the device-tree binding for the tps23881 and then adds support for the reset gpio handling in the tps23881 driver. Signed-off-by: Kyle Swenson v1 -> v2: - Changed the reset pulse duration to be between 5us and 10us, per the TPS23880 datasheet - Changed the delay after reset to be 50ms instead of 1-10ms in order to meet the minimum recommended time before SRAM programming. v1: https://lore.kernel.org/netdev/20240819190151.93253-1-kyle.swenson@est.tech/ Kyle Swenson (2): dt-bindings: pse: tps23881: add reset-gpios net: pse-pd: tps23881: Support reset-gpios .../bindings/net/pse-pd/ti,tps23881.yaml | 3 +++ drivers/net/pse-pd/tps23881.c | 21 +++++++++++++++++++ 2 files changed, 24 insertions(+)