From patchwork Thu Aug 1 09:44:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manikanta Guntupalli X-Patchwork-Id: 13750098 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 29ED5C3DA64 for ; Thu, 1 Aug 2024 09:45:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=AQmIFWRKnOV1pQf+iirC7CvRccbrODqKVGg3fUlNQs4=; b=DW/itumWTpbFp4vubmc4RnfHjQ j1G3hwh/0y3S8Ghat9puWfH6O/ci46WL+KIkrjzXZ1M2CxR/HlKnf9lVephYKZHAvUoKb6jbC5pF8 MDOB4M4doYVkVvansJR1oRbeQzaACdGuzsufaD0aDC0IHNslnWadnirjInCXwHCwCrnkTVbWAQFAw QqnhXsHCwNCqB6uv35D0kP0Rc0AqT1noWhUgo2/eB1/M5mCRhMTPsFmbFPDXidGxuz3Y/JSr6CH5J SIpUXPsov3VemuLVHGT4RTM6oB013+icqpqL2IlnM4KGUJHOwpIM/lqwSH2HuGlcom/YkMHQ7hgi9 KVhJFTHw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZSMv-00000004dJV-34Jy; Thu, 01 Aug 2024 09:45:09 +0000 Received: from mail-bn8nam04on20627.outbound.protection.outlook.com ([2a01:111:f403:2408::627] helo=NAM04-BN8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZSMR-00000004dAT-1JZl for linux-arm-kernel@lists.infradead.org; Thu, 01 Aug 2024 09:44:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=h/9XY19bn4VdwWRl5VSlIc/RFs2oKgpEPRKiFXJD/TaevjM6Mx8AiIWjh4sbJFamPxPpeKLyA4CNLcfM5tFBbbs9PSe1ykNNdh5VcpnixrC4aspkQkpVXo7DE7l/Jsh9bTm7+YY0RrnQ7Cu1jtfxJlOGrx24dwkK23OtwxsB/QIRVU8awJVfqroeHySb3caoJ61JgpPYd23gLZKM12+IjhCU0xUZohfk/vF0dYt+9Tfusc1oPTYiccJS15dRUbNSIXGLuI5HdK1S0Bw40iLTouUAuMhSYohuq9LYtd5C//VpeEIjN5mrZor7UBq1uroYAdqJoykGWQYWUS0SVES4Pw== 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=AQmIFWRKnOV1pQf+iirC7CvRccbrODqKVGg3fUlNQs4=; b=ypAafcFZdsIAjD0Up3rjbZkq5LXvw7/eM8rblbCrq9tIr79FvNX3nOQLcdCcrQJkBH2QYj8YVeBX7bUU1EQG37BKesanOfsnPfE3O82cQpEVBt5DdYYrkMu/4cEg5SqoruX7N2mTaeB4aDHockhHe2MlRYxhjXImKaDOjhZE7JtjBgsrlD/Z3dcmvHfe9NxzaOfH9VmqvVTNj8ZT4pXo7e/pGkZAqIo9IF1ayaY5/rDPxhdbq5xQxGGlL+cgu2L4ziEL8dz3EqJanPmsNE/vS5bo401VbL1szvoAS6LH8KspAXke8OA0BlP6sfGN0pES5BKAV0tcjYUKTpPghyzAgw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AQmIFWRKnOV1pQf+iirC7CvRccbrODqKVGg3fUlNQs4=; b=SAdBqiVRoE7pEN+ikbXH+NHIGsc4ZDrpCxzZ4CeR2NNZSRhCGIr1JFQkXTRxBILw5GgTLTB57neuPxD8hRvMz9TyKnnLIDX2Kai0yC/Zn1N+dXMYOtoPuNuSdK41kjvA+9YKOY/2+7W3UoW94gZvndtU2aocAxmMIeAEBq+4Iak= Received: from BY5PR03CA0020.namprd03.prod.outlook.com (2603:10b6:a03:1e0::30) by SA1PR12MB7173.namprd12.prod.outlook.com (2603:10b6:806:2b4::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.21; Thu, 1 Aug 2024 09:44:25 +0000 Received: from SJ1PEPF00001CE2.namprd05.prod.outlook.com (2603:10b6:a03:1e0:cafe::99) by BY5PR03CA0020.outlook.office365.com (2603:10b6:a03:1e0::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.21 via Frontend Transport; Thu, 1 Aug 2024 09:44:24 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by SJ1PEPF00001CE2.mail.protection.outlook.com (10.167.242.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7828.19 via Frontend Transport; Thu, 1 Aug 2024 09:44:24 +0000 Received: from SATLEXMB05.amd.com (10.181.40.146) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 1 Aug 2024 04:44:22 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB05.amd.com (10.181.40.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 1 Aug 2024 04:44:22 -0500 Received: from xhdsneeli40.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Thu, 1 Aug 2024 04:44:19 -0500 From: Manikanta Guntupalli To: , , , , CC: , , , , , Manikanta Guntupalli Subject: [PATCH 0/3] Add atomic transfer support to i2c-cadence Date: Thu, 1 Aug 2024 15:14:05 +0530 Message-ID: <20240801094408.2004460-1-manikanta.guntupalli@amd.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: None (SATLEXMB05.amd.com: manikanta.guntupalli@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ1PEPF00001CE2:EE_|SA1PR12MB7173:EE_ X-MS-Office365-Filtering-Correlation-Id: 8be7ddf7-3aac-4e4b-6d43-08dcb20e8739 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Micro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IFsa2UV62AmmKkoxITzB/wkbfC925oGAr4h5SxLiiE+5Lx0e60ps3Fmxy8r0yaz/zA7h+CteZkRnkL6+HqXAbVHD9XP2a/5zs3ZsMcep2rSCu+Ra6vbV98tCIT+gzMnCkC+gbogeEKP+U7Kcxl8ejOw35UJddvpahk0BAxBuUKcdC4L5pT1CmhepR0sxecAIvBsdx49RG1AEor1WUi+OJROHHFPWX9e1iI5WsIltc4lvLj8jmKsKrnpTo11a1x21oa8yPD06qbMqwSla5CTVuiHq5f6U5M2QOrKw3KViR2QaVVyZqS5l35QeaKdfBhDzCTndmIzLnfZazs77G5kxHo5U4jOjN2Dm8Ge39TXxZRPMfzWMkJiEIG+r+cviPsO+AxH3xiPJXD1oroKcWfVG6ooocY4pfBXiFz9t/xMbIWb3PZCxSETk88i8Udu2oJbtWq7UmDYYDZ X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(1800799024)(376014)(82310400026)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2024 09:44:24.6179 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8be7ddf7-3aac-4e4b-6d43-08dcb20e8739 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: SJ1PEPF00001CE2.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB7173 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240801_024439_377633_A0C2E0A8 X-CRM114-Status: UNSURE ( 8.08 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch series adds atomic transfer support to the i2c-cadence controller version 1.4. Manikanta Guntupalli (3): i2c: cadence: Relocate cdns_i2c_runtime_suspend and cdns_i2c_runtime_resume to facilitate atomic mode i2c: cadence: Split cdns_i2c_master_xfer for Atomic Mode i2c: cadence: Add atomic transfer support for controller version 1.4 drivers/i2c/busses/i2c-cadence.c | 418 ++++++++++++++++++++++--------- 1 file changed, 299 insertions(+), 119 deletions(-) Acked-by: Michal Simek