From patchwork Fri Oct 11 10:41:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manikanta Guntupalli X-Patchwork-Id: 13832379 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 189D7CFD31D for ; Fri, 11 Oct 2024 10:44:35 +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=lxz103hHjM3voLiCNEu0lk5b5E6+7AtxxqIqSpsPnsk=; b=ixMD1vkAWvDEkOLBSop6nweeiE LDn1C+QSXMWKSLUkTVR04OdyDXfVT+LCJ+CrzNNSpM/GtZEsNJfWqOHzpTOewqARMXV+cDsTyvFl4 /u/NCl2dsVCFqvodAUKvvESoZTaDRS/3KnsQi+iVP2woqpfhLQwpPUQT8fXtaMlgWKIS+xv85GGf6 gFV1QXtmz6/AftjfY8w0vbOeGq79o3gXb53Kp90BZAieIlGNx80vBEsKeSZB8eE2U9cRThH0Segt5 RxZ2/cUJx3VGBgBDUEBrJ7hTB14D9cwLo/1bmH18OFtVazm1o66lE7Hmi7bx0GDUy8m7NKDJKxeuQ BqywhiFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1szD8A-0000000G2VV-12ql; Fri, 11 Oct 2024 10:44:22 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1szD5q-0000000G1Ca-1wpG for linux-arm-kernel@bombadil.infradead.org; Fri, 11 Oct 2024 10:41:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To:Content-ID: Content-Description:In-Reply-To:References; bh=lxz103hHjM3voLiCNEu0lk5b5E6+7AtxxqIqSpsPnsk=; b=Zd2naOr+/SEeYFv+WLXZFY9utr A6ac94qjZ5RC56XSnIjMLdyKM9TBtSDVMf3VLZ0QjOWEJeV0AIthIgPZGe10naa1IEEzyiLywFlIm sZFXtIj6c0cbgqz6FkKiv4zfF+5QcpM0Pl5l9xMSXwBheWZ2WtzenXqHtyQuvv3sKmzinIVvqtWtS fii+dkeRTn5jOevB5qR2IcSCnfN5GSIw6CvjW6qtiAiQmeYDyY3iJBv1azjCblIQAvGHs0tkkf0eE pnZSp3tbK1BF5xhRi7gqEPgoL5rujwF+UfK7QVhUFWXgv9gFFC6PWdnpHyRBSRogncCAaOLM85MMh ByS0DYGg==; Received: from mail-mw2nam10on2060e.outbound.protection.outlook.com ([2a01:111:f403:2412::60e] helo=NAM10-MW2-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1szD5m-00000005rGE-1gJP for linux-arm-kernel@lists.infradead.org; Fri, 11 Oct 2024 10:41:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ijnBh9h2/XZQ0sArow6JjvdK28KO+B/koe6uxzKHuDJNjWgrZx4GAJOI7pwikiJprImG0+s/Wuo1/DKdgGPyS5e3Vv/c6a4b2MI9cG5CTziKdjlszCZNr2WzI2/+Y3wdqMzr3EXe/uI8neeYtco4HbFfX3J8vflcYsQ4/CXGsIRsD8eFhBuNu6LZl+1MBjy3357vAKeU8scDBHuqZLZ30xnVAESRLC9b36DUhUgxTs/nfBXxTAVq+9BcoE3dDNVwXvhJHoDe9pLNSnX2l/IpJjSBzFgQ+bieWpltDDYjzEscdb7WiRFJsOyOGw68Nre02pDyae9ZCQJ7yERdl4zvtg== 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=lxz103hHjM3voLiCNEu0lk5b5E6+7AtxxqIqSpsPnsk=; b=ckuCB9HT10ONuKp3DJ/9PShiswcwyFvYhzidw9HZPWCRydwcPrRfadT6UhMt6V24WdyTuK6hFWkJ7yIFCbRd1O+O+z+1IDcd995/K/CT1OqbMMRK0weR0ewPrrSZvKmdaPPI290bdMICQbCuPJh6rJMTnypIbqozI+WWuSlyQ5I9AeMhBHhn1kU04fd9FfRqgsuALBPsjkcygyw5nPXgGx9weYcDcX8TiqItslUAd10kDehcSQ1cQdAzlB4nIe3sCMcW7A0AQPRYZTMli5p18uK6ql6pKTdEKAtfzEJJYh3RitPHRO4ikQQjiizF5CnS0kqRFMq4n9WWUg090/RUIA== 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=lxz103hHjM3voLiCNEu0lk5b5E6+7AtxxqIqSpsPnsk=; b=ts6TxB/VJucGj9wjd4HTqvO3I5uEhbpH3tZY+LeS3kcACFuDRIBLJED/2lKoyO06B7WlWXbjTI4UfiF3e81u66zkXAh77SZsubj2D/HhjsLML4ohdmTLxnHWuFa4YMJ9XhI5wxszJlV/ZnX+0n42IpS/K9nJoaJML0YHuQrgC0c= Received: from BN8PR12CA0018.namprd12.prod.outlook.com (2603:10b6:408:60::31) by MN2PR12MB4389.namprd12.prod.outlook.com (2603:10b6:208:262::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.18; Fri, 11 Oct 2024 10:41:39 +0000 Received: from BL02EPF00021F68.namprd02.prod.outlook.com (2603:10b6:408:60:cafe::98) by BN8PR12CA0018.outlook.office365.com (2603:10b6:408:60::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.20 via Frontend Transport; Fri, 11 Oct 2024 10:41:39 +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=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BL02EPF00021F68.mail.protection.outlook.com (10.167.249.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8048.13 via Frontend Transport; Fri, 11 Oct 2024 10:41:39 +0000 Received: from SATLEXMB06.amd.com (10.181.40.147) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Fri, 11 Oct 2024 05:41:38 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB06.amd.com (10.181.40.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Fri, 11 Oct 2024 05:41:37 -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; Fri, 11 Oct 2024 05:41:34 -0500 From: Manikanta Guntupalli To: , , , , , CC: , , , , Manikanta Guntupalli Subject: [PATCH 0/2] Add atomic transfer support to i2c-xiic Date: Fri, 11 Oct 2024 16:11:29 +0530 Message-ID: <20241011104131.733736-1-manikanta.guntupalli@amd.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL02EPF00021F68:EE_|MN2PR12MB4389:EE_ X-MS-Office365-Filtering-Correlation-Id: 11482177-b7e8-4be9-16cd-08dce9e149b5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|36860700013|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: /5qlnygx3YnaCkxx9cZBg/n0D/jrSKcp8En6an12f9YXqcs0p7bboRUccIlqmVpKZUpuJa48yL++l67mwV+MCYyMqQkaS2mQpTU5sLWW8QeoDlZqDAMMSdAcID8H7q8Sx3C9Fb1fkH9du2TYMrEj1WMOuwKkG6Z2DUmiVdD8V/EhhpDy2PZSeI8ZhQ40toMV9/gUvE0UNfucsp1d1rSs6VQtgvJJIU54LBvEfJ3ysG3afBPBpPOtur/ZRDk+VzQR117k/5/SzeLX//Qe1xp9Jsqh37dRZpY7+qopgKa/+IsDddJyvXF4y6VC2Xiq0m0MGDiiQnS6hYm4jXrIJzUKXo99SG3kroWrc1W1ZGZazuJOZAkhH63LgdUx5cwHlYpGn5hhceT+zHsaKAt5INnT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LEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(376014)(36860700013)(82310400026)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2024 10:41:39.2660 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 11482177-b7e8-4be9-16cd-08dce9e149b5 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=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL02EPF00021F68.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4389 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241011_114154_853910_F52E7614 X-CRM114-Status: UNSURE ( 6.70 ) 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-xiic controller. Manikanta Guntupalli (2): i2c: xiic: Relocate xiic_i2c_runtime_suspend and xiic_i2c_runtime_resume to facilitate atomic mode i2c: xiic: Add atomic transfer support drivers/i2c/busses/i2c-xiic.c | 287 +++++++++++++++++++++++++++------- 1 file changed, 233 insertions(+), 54 deletions(-) Acked-by: Michal Simek