From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from PH8PR06CU001.outbound.protection.outlook.com (mail-westus3azon11012014.outbound.protection.outlook.com [40.107.209.14]) (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 7B49346A5ED; Fri, 14 Aug 2026 11:52:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.209.14 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786708330; cv=fail; b=gXkT1t5pr/EY/GST79S9/npYp6KijmQn6NA+UDdiQ4UtG+pZdgdzbEgcWF6PwBaAEpYFXRJFKrDjIlGnmG3DWHxXi/hGCMVGYlP3foVks1mw1wlZqQ6kcJ9iIX23r9cp3FEd3JZCgmSwVKgPF/cbmOexM7Y0bSrkjSIINgYc8KI= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786708330; c=relaxed/simple; bh=n6tODf0fjIp4Ug9V00QskIAZ3yo6kgayzGb7M91w8XM=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=edZgfF9/UP9oE15hGLw7prpIDSLDUEVSgJzbKkQyE6jPvsyLf7KRz7yPWfgGIBmyBVNfNL3HkIfWB7PJ3S9ysMpaXEYN4fzi6RUiqlwYU/6pw9YG+ikY84xPHzJ0T37VMqMfVAGtVyyxhKl5yJXRa9NQeDfde3hs/M0ybDrKNzU= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b=w/K8T8i5; arc=fail smtp.client-ip=40.107.209.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="w/K8T8i5" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=aM+UNVgiZDENnzIGIjY6CUABQ5uCBWeqzuJ5C6/wDuIjqGgwVQVl5+dBakIRUR1rCw0+eJdoV2J3SSSdeoPRhmkclm7BO4jWHPn6iDy1DFjyXAbT5JNpnyWoZZdw0Z9e2HR8YdgB9+eP+Pzr7LBgQcOd5IxiqoV4Pri8EZTd6T4I+HETb95bA4aMA+kBQtPIGBSDOIsATooZdUlngHy6/egVJx37ARTOc0rlGLCzTL1h+bJfBhiKRRZGUvgZ8LdE79L1kDOMt+QSO27RvO4UpVQkCyrlLO1ISFsqEs5Yg7EOI1E+w7hE8FbckSoYFxeH0V7S8KbJ8U6+LxdKgzrK8Q== 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=H0JU/6GtXRJvlfqpeZrU+OhS8r6/vFI8tRL6aEywSw0=; b=hFe9HXFmCog//2vhnlmB4rkidi28IJGORhX4W6oZWBYxhdGWWUv/rin+0WY5Xwg+Y6u4tPRRO9ESDbw5BkXgLZ0uO5kVugfOhy0BEn9Ae9+SqemHjjh1xyz5TS+H3Kyrp2D651egI9Z5V8ITHVYn65QPqgyJeNAviLKTyP04HS6fHIp4Hk43Lm5sFJQY/x8lN5OPmVvcFppjVgnhesHBVe25HJrE4nsF8pykqUQTPmTy+u+CdTKgbfTInvtsp/tcXS2KbGqrMK0ANB3/X0R6OU+nDu34stFi596lDWJbuQeKwQWgBAd8WDMgW3keICVRkw3SC44YwSz5xe12H/53Qw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=bootlin.com 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=H0JU/6GtXRJvlfqpeZrU+OhS8r6/vFI8tRL6aEywSw0=; b=w/K8T8i5Ri0kpGXIOTNQ5bpgXfTtv7TyLxBuM4tpx6zSa4GiYw4/aYcKTtlwZMcbGrJaEFEgcP2ljYXaXp9A0EShAzJEmHVVhFUoW+h6JLdYZSuylOvFV5nw3RV8oncmDTy9tC0UcduR/APebnIPhwfHmY4R4fSz3Wb8qzMiPow= Received: from CH2PR20CA0014.namprd20.prod.outlook.com (2603:10b6:610:58::24) by DM6PR12MB4331.namprd12.prod.outlook.com (2603:10b6:5:21a::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.315.16; Fri, 14 Aug 2026 11:52:01 +0000 Received: from CH2PEPF00000146.namprd02.prod.outlook.com (2603:10b6:610:58:cafe::16) by CH2PR20CA0014.outlook.office365.com (2603:10b6:610:58::24) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.315.16 via Frontend Transport; Fri, 14 Aug 2026 11:52:01 +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=satlexmb08.amd.com; pr=C Received: from satlexmb08.amd.com (165.204.84.17) by CH2PEPF00000146.mail.protection.outlook.com (10.167.244.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.339.3 via Frontend Transport; Fri, 14 Aug 2026 11:52:01 +0000 Received: from Satlexmb09.amd.com (10.181.42.218) by satlexmb08.amd.com (10.181.42.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.45; Fri, 14 Aug 2026 06:52:00 -0500 Received: from satlexmb07.amd.com (10.181.42.216) by satlexmb09.amd.com (10.181.42.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.45; Fri, 14 Aug 2026 06:52:00 -0500 Received: from xhdshubhraj40.xilinx.com (10.180.168.240) by satlexmb07.amd.com (10.181.42.216) with Microsoft SMTP Server id 15.2.2562.45 via Frontend Transport; Fri, 14 Aug 2026 06:51:57 -0500 From: Shubham Patil To: Alexandre Belloni , Frank Li , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Shubham Patil Subject: [PATCH 0/3] i3c: master: amd: Add IBI and hot-join support Date: Fri, 14 Aug 2026 17:21:52 +0530 Message-ID: <20260814115155.3974988-1-shubhamsanjay.patil@amd.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PEPF00000146:EE_|DM6PR12MB4331:EE_ X-MS-Office365-Filtering-Correlation-Id: 3c532e9e-0081-45df-2895-08def9fa73be X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|23010399003|1800799024|82310400026|36860700016|18002099003|56012099006|3023799007|11063799006|10067099003|5023799004; X-Microsoft-Antispam-Message-Info: r8VP0za71oufUCxys/SVepHsavRskbvwCt/5UBBHxFx4rx+EUa2TdMOf1hEr4jW9bwEw6Yi02rDXtI03SY9v8PCfWY1cE4lw0BBSf9FxpZWOQkYf6TGw99/31cnGvPk+l1/5h6ICTIM1Zi+Fd+CWrsx3bu1qzXczltkpt6L+uFcQJRop1Pmpeo0iImAeicyfyRPt2EfyoJDWHOp7GfGfQxEqR1w6aBAj5Xr3SKH+WVAt8vo/P2VzHq8UKpW4zgoGxO+g99w68dvnuNJsvQ+D1t4RcU/yxbhPf6KRf15L1ufJCYxnS57WxqipjOWh4Zfz7go6ABj2QxwvjzGJ/Nt4GNzn8qwYtyOOgaAlGUVpqLqJtsh08rj0MqqfTMcrMHKFIzu8sd0O/PkoKTLBN0AgZTWrKDk71mlumpcxNzRNKRKhoNk3w3GP+M+0NqFiUOp6fuBdgI8G/WHoJ+iW2X6KB8p7iOg1XWuoWatmM5dIogNRD83cnk1cdsTu+jPkVZ80f3PHn9FF1Yz49p47eEm7Ap43ai7fkn06AjFN2CaUSFtgaze27hKLiuC7uG83QxGp811zDkKcvXI+zapPX2h1vQh0gV5sDWcxukh0iJuV3sK56XxL63MEq+4ZBjAY8CEYzDKN0oJd077QT7hKnvxuZakat8oL7vw4bcnzEjZhMZ4+Tg2OlK+JpCQ5pZlvoW1cNSrWrsmEwBVpu0JPltUFvQ== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:satlexmb08.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(376014)(23010399003)(1800799024)(82310400026)(36860700016)(18002099003)(56012099006)(3023799007)(11063799006)(10067099003)(5023799004);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 6LNCeM2vjw7+0BRmQ1A77eLap0e1nz6qxFPo1O0Avd/fxFkjjpOzTCPDGaIyEwXEyl10a5rKwOzXPl28zaTD+Bi0ibOCmCIg8EySik2/0GhQLmRD3BaK6luhrfzGCvpMSSPY8Br60s80ph0UPb3wz8DO8lE2MkPm6ib0ljy/4qtGlZGPnUGUvzj2JXSGpKUri6gdh5iq8Rc/RchwrFZ4LmwsS7A3omKqvOePu0MFwePUhkcLZuYIe7jQjwRWFm1K7MC5oAmoxmkchgWClCYW8gJZBucN2CEfols0iTVSZQppcxPMY5VBYdpffnjWq7Rkv9Zgx7NKuT2xJRVfj++Im7+fpD25n6VM9Zk6LbI19TTL+mYzHQZGh7hcWT99D4eBjXuGLUMXrlP9+J8mNiymfppRGPO3zwLTmiGndmnjH9OF37gbF04kDmnv2ryEWuKU X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Aug 2026 11:52:01.1636 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3c532e9e-0081-45df-2895-08def9fa73be 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=[satlexmb08.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CH2PEPF00000146.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4331 This series adds In-Band Interrupt (IBI) and Hot-Join support to the AMD AXI I3C master controller driver. An In-Band Interrupt (IBI) replaces the dedicated interrupt pin an I2C slave would otherwise need. When the bus is idle, a target wanting attention pulls SDA low to generate a START, then drives its own dynamic address with RnW=1 during the arbitrated address header. The controller either ACKs the request, accepting the interrupt and optionally reading a Mandatory Data Byte and payload, or NACKs it. The interrupt therefore travels in band on SDA/SCL, saving a wire per device. Hot-Join (HJ) lets a target that was not present at boot join a running bus, after being powered up later or physically attached. Having no dynamic address yet, it arbitrates using the reserved Hot-Join address; the controller ACKs that and runs dynamic address assignment to enumerate it. The same hardware arbitrates and ACKs it as an IBI. Both features are synthesis-time options in the IP, so patch 1 adds two boolean device tree properties, "xlnx,ibi-capable" and "xlnx,hj-capable", to describe what a design implements. Hot-Join requests are ACKed by the IBI machinery, so hj-capable depends on ibi-capable and the binding enforces that. The controller interrupt only carries IBI and Hot-Join events, so it is required only for ibi-capable designs. The driver assembles its ops at probe from the capability flags. Patch 2 adds IBI support. The IBI ACK enable and its interrupt mask are controller-wide rather than per-target, so they are armed on the first target to enable IBIs and disarmed on the last to disable them, with per-target control left on the bus via ENEC/DISEC. IBIs also share the response and read FIFOs with normal transfers and are distinguished only by the reserved TID 0x0F, so the transfer path identifies IBI responses by TID and discards them along with their payload. A raced IBI is dropped rather than deferred. Patch 3 adds Hot-Join. ENTDAA needs bus traffic and can sleep, so it cannot run in the hard IRQ handler; the Hot-Join event is therefore deferred to a work item that runs the re-enumeration. Shubham Patil (3): dt-bindings: i3c: xlnx: Add IBI and hot-join capability properties i3c: master: amd: Add support for in-band interrupts i3c: master: amd: Add hot-join support .../bindings/i3c/xlnx,axi-i3c-1.0.yaml | 23 + drivers/i3c/master/amd-i3c-master.c | 593 +++++++++++++++++- 2 files changed, 596 insertions(+), 20 deletions(-) base-commit: 320722812708d34c11c2d067a018fcbeec6b64aa -- 2.34.1