Message ID | 20240801093028.732338-1-haibo.chen@nxp.com |
---|---|
Headers | show
Received: from AM0PR83CU005.outbound.protection.outlook.com (mail-westeuropeazon11010008.outbound.protection.outlook.com [52.101.69.8]) (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 61773170A3A; Thu, 1 Aug 2024 09:30:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.69.8 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722504633; cv=fail; b=tEl+tROO4RcE4JN2STDWBFtFO409ejLfQisOH2KA+xKNSmDuNt8adaGQ2Mj0Pwz/HVUf8U/jcTATJQ7jtKyTT2LZKdLSO62nROhyoG5iP34UNPsgfHN4xq1YshTR2WvMTcEDYdGT6bI5eMHJQzohdhX0OixSJU6cA5Zgm1Z8QY0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722504633; c=relaxed/simple; bh=sH1vofAzthpbTl5kopjD5QBReZcj2zFTMUC9sr+LUM4=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=qtKiEcBOblI6UVr48o1wAwrXI2zS0A7RojDnBtiOGj4mkuYARgnsT/ioCU4zhdU3LI8inxEEHIUQDCB+x8XymiX5ZvD+zSKU1ySK5T6n/qI/qZGjb6s0L/RzBKBqMQe8+nikaowhOMn9GFXBIp3uj4DOjWr6zkYkKo0EdyvL4KI= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=SRLbFn+C; arc=fail smtp.client-ip=52.101.69.8 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="SRLbFn+C" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=XX+0nMGGYRvISqAHPay+zrAta9EwmE9XNOdhjbRwpxQbGrIIasn9QYDEPdrgVvnq+7OfH8kes35F+ub01pUMPBXwtUJmg8OPHI3KRF5S9SvAG4dymj1mVs36dUT/fM5rbSJyBZj+mQBln+Wh6Pq2Aft2fva5BhfiavGnqbYWex1iDmVBCTcZQYpMO8u4OTLYTFeAb4Li2T3voY6fT2/ulcPve8nkQRojq2vAgMNvhj8nUuxlHLQXvRUpz3HKSHgrZgjC+kmN7f6iGgqHN7m+LEMunl/ZZdjkFxxaVNule6IZ5B9BzlvXmdkKBNr+0DQssX/Q9l/DJXgcIj7ixY+7Tg== 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=TjS0uwQKkFBzGrgQB7/ZV2chTfSTOwMEk3hqEO7cN+E=; b=d5liNklE62EZH00NbfDn+qqxinhEdLse5MDcOgjp6eiGJ0GZXy9RVPmKb4RSOjN7AvByu6Dw8iqng3u6JZLabJN6/wmZIqEA2V+ZNO4yPrckT0brmqCqYpy8gr5CvTySNr/M66dyluQ4+tyXEhD4Lgv0oQo4WImU25h2f199yu7XLbVGF1iOguyqxLecL89H3O4VXwl/PtpByXYU8Qfs6lSz34eVk7zTpm9occVNGk3DjbitYGoKr5k6O1hZS7mXKLpHxVLwhKhD9ABxiYEdyef3qaxKDaDKCqxn7Y5fNPvWSleyddJD2PRVejX7Mu+TPfCtCCJdsDbe5+9oW7zGmQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TjS0uwQKkFBzGrgQB7/ZV2chTfSTOwMEk3hqEO7cN+E=; b=SRLbFn+CmGZu/Phhl6XKLoc6J2vzgaTP53dwgWnwayfQJTiXfbvlJ0lUF891E3R2OuzHztDZ7JOGpLfhBC+e9xuUnhs/vsTcCTThIjDiiFEXMS8VDyx7X5+F2N2XX/1/Z/bPVxPRHq/ABy2rcWYk+agQ6B3A7rO1CUkxDy2fgdNky/Y9HXKPTtSYc/C2XhKYTy8VsaRnzLahGesCnEi4Un8z+L6xmcInrV3hLw4lkPyyKuUrwzv6rr7ipaiKA6uSgroH7bqGjFwJloSxW+20emQu4hnyMFdgcHVALalP9mtzpxJ8pnXv27qKFbNLepBs6b4zvtz8+cWsBy4cLcGGEA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU0PR04MB9496.eurprd04.prod.outlook.com (2603:10a6:10:32d::19) by DUZPR04MB10039.eurprd04.prod.outlook.com (2603:10a6:10:4d9::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.22; Thu, 1 Aug 2024 09:30:28 +0000 Received: from DU0PR04MB9496.eurprd04.prod.outlook.com ([fe80::4fa3:7420:14ed:5334]) by DU0PR04MB9496.eurprd04.prod.outlook.com ([fe80::4fa3:7420:14ed:5334%4]) with mapi id 15.20.7828.021; Thu, 1 Aug 2024 09:30:28 +0000 From: haibo.chen@nxp.com To: linus.walleij@linaro.org, brgl@bgdev.pl Cc: wahrenst@gmx.net, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, haibo.chen@nxp.com Subject: [PATCH v2 0/2] few small change for gpio-vf610 Date: Thu, 1 Aug 2024 17:30:26 +0800 Message-Id: <20240801093028.732338-1-haibo.chen@nxp.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2P153CA0032.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::23) To DU0PR04MB9496.eurprd04.prod.outlook.com (2603:10a6:10:32d::19) 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-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9496:EE_|DUZPR04MB10039:EE_ X-MS-Office365-Filtering-Correlation-Id: 5fcb952a-862d-42a9-d08f-08dcb20c947a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|52116014|376014|38350700014; X-Microsoft-Antispam-Message-Info: FLR9pN785bNfT+ARFZBpUXcZN33Ih+e7M5mZa9HhRBOfOEfMRJJU43o/bk5eIKuoVe3ynU4j6nOdtjzF3Ovc68BRd445Uw2ZvEASO6lkiV/x+sEsRY5QPUVQZ6dkahJZ2sJpKrxGbq5j0+jpqI58FIUqYj7L0PKNMnG/4ifw87An2JO03oJ15ZTp4DVa0QOd2hwJHA4Uyivwx2DwZ7s86bKK+EW8R8j6sZpL4idVjXo88uXEI3vkOCGan7xWCvuAb+ykFqSqADzdfO/cujFYDJAbu19JU9xDtT6PkxDqF2zlPAFiLWdH4yGq8HDUthJGxR/oFLPjtXlAOgXuAqPhMfTepK7l5is/RagVbhf/U5RDA0lh6f6O7WvnGKCPcY5BgdQWPlwKFueYsFyQ1xxY7dCcMo6SZd49btOCyOZLojm91qgfllVUqFv30UQkEr5s5LrF1yNuTKaIgtvkcTWwNV9l3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230040)(1800799024)(366016)(52116014)(376014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: liDAOsr3qgHE8YQo1qlruJiFFHUp1nz2qrkQ/ng7JBpgCmbsXdI8IjXyuUMjxz+99wyR6es1zvPcHY0jczs4pWN8cylP4pJMvEJC1NkGQz8l7kN4z23S0+du2xxpyKfN3z0ZoFn/DBMwI8N+Av4vQ5zIbiFIRrL/xLDueRdr94xJta5krpXG6TkKV5UoW6jUxxxNOvUwQATaDo6X623R6PA8S/nZpKCgYUfmfbpWEjQssA8GCsMn36gHvfIXCQ0gWu/PkuR2W6Xg1fpC9qswgtj8yuHD0ct0FptDrLqWbQUYGshHqCPkfaMwCt4r3mQsruV57p5AeA6GlDLZ7hrQWx3wau/yyzd2LjPLQD4LP3vJJpdii2uZylt5ES4k+0Q1Pbed/ilJKCmXqXsLezy5VCHUmT8NXO+QK8vT+zAKhUhtZb0IHqm6UZGz9HMZBb4oCwzPo+FMBRbIrmIXjBb9XzRlpvWaqwElv/EGohn5PAbyuo5jHjJhvectVB5nRhXHNvoaJP9935D1EQVkVCEdO24iZFVVop17Jh4vi5hD9F5hcb/nbQVq+3rxyovXUlLWp6WwUynZO4yuq3D11hOw60bf8DNtC8gZ1NY9YAxJgFwX0pGb9RjBaCA8zrTiYy3va5KePmEtUipIZ63orJ3GDg39fpGhIeNXoeoDnGc6TQulDg7Qq2hNsPHtB2+sHRiDbWtZ+vJUpAiFvM7LLGPS9lgxZdEiH67yfJFk64o1vU2Pxgb1Wz2Q4UH65HdgPWp3hvofo3CFsx7GNtI495L3V7SfY0pLTkKZopU/R4dNc3iKm8UFuAriSXTL1Z5bRENZnLaZPjnSwTF6kbEmnXRpCBjiM7cEuODUp1tBowq+lgnzn2jjUU8rbeQlRMxj2dhmZB8/NvMFbU9dFsTHAdysAasLyygs9Te5KrurTNEsR2GfXqxKdxMPj5rpfElVl/eZ1u/VADiGVAUoXHL+Os1QvVRyGC8F44w+cicbZUDWArhYr0NRNZlN6VUfdyihJdO61frK4sFA0YgbVvjh2YV+hF7r/DmVRt6vBHFylOU8iqKes0udUQC6nl/So7KvCPdMuDTBE1KffFzotNDgoYfYTQ/mTalFBITeSSbtJD66amfO1tG606nZP0dCHaYXiVBPgmdHiJvbJ3AJRR37/SzbfBq7jzfwFVz6jaM5rxxXK/dSf8CsyDfkYAc3c5Mw7Ep8vW9x7upRg5j4r7VCKkwa3E0R70sepHjarqhKmhtj4lcOOBsRqLqUl8uL4gxcP7ftR8WzICpeLUVjmSdZBsLnofOYIC03gRLKc1CdRPrb55XkFS3BFEbWtb2C6Od/mntUEkN1hZaxPJh/LA4YzzuiH841x/SNd/fJmvoWgVQUYXg1NUu+giha38XCTVmgUhvuPXa+2rz547LkZPdgTluqxZSIeKs3L0/Hll6KEBdwp9vPWGNiYKezOfgaBcwWCLhH2CANZz7VMZYsQ13Yjdk8yIgzelBq/J+OnOrRy5oQ+2iSVWAdaksi7w877aNega0+3ueYLvG/wEfs/uBnEetGPpXXd0g3p+22ARHt/RHNu1SHRadktA0XyPmDPP9A+ykT X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5fcb952a-862d-42a9-d08f-08dcb20c947a X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9496.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2024 09:30:28.3506 (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: 4hoiv8JfreBi3ZAEYEOCQt5v/gHXHlcwcPri/KgThKIBjpC/x4fnvo9T4fd8QcNzm5SXx7MASuUDniPehTdikQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DUZPR04MB10039 |
Series |
few small change for gpio-vf610
|
expand
|
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> On Thu, 01 Aug 2024 17:30:26 +0800, haibo.chen@nxp.com wrote: > From: Haibo Chen <haibo.chen@nxp.com> > > V2: > -add PATCH 1 to use u32 instead of unsigned long, to handle 32 pins > -only one difference from V1, use u32 mask instead unsigned long. > > Haibo Chen (2): > gpio: gpio-vf610: use u32 mask to handle 32 number gpios > gpio: vf610: add get_direction() support > > [...] Applied, thanks! [1/2] gpio: gpio-vf610: use u32 mask to handle 32 number gpios commit: 3e7ebf271f935a316e9593d63f495498cde22f80 [2/2] gpio: vf610: add get_direction() support commit: 26b95b7b588d70b5075b597ff808543503d36ac6 Best regards,
From: Haibo Chen <haibo.chen@nxp.com> V2: -add PATCH 1 to use u32 instead of unsigned long, to handle 32 pins -only one difference from V1, use u32 mask instead unsigned long. Haibo Chen (2): gpio: gpio-vf610: use u32 mask to handle 32 number gpios gpio: vf610: add get_direction() support drivers/gpio/gpio-vf610.c | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-)