From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 72FCF606A322 for ; Fri, 4 Dec 2026 08:35:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=cIHzsNWX; dkim=fail reason="signature verification failed" (2048-bit key) header.d=microchip.com header.i=@microchip.com header.a=rsa-sha256 header.s=mchp header.b=11JGd4jd DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: 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: List-Unsubscribe-Post:List-Owner; bh=A8MrLrCzTeAzbUM7l/Ghb36Jmz9LlvGOYnOqxySiPXE=; b=cIHzsNWXAojmwix0DmN1TEXytT XTAuFjH3gZU0ZcV8Ja9mnhcvHUwyNLX8gLEKXl/bk/1s4MhbLSyq9KVBt+TrGqx6umztKAvMnfU1/ t+c+E6+5oe7ubMhgsryxZQnHT4yeFMN9CPt5PC7Xb2KSHlULPIt206tXi2pVEqstAT1Dx6qLOetDS S2gZMhnOO75CotJrfZmyvWEt94TTiTJrHKgMiO3iZvgOQNiuHqe193ARRy78cH/UxGGc0YdhjvOPb Vj5bkhce1gQgpekkxmpeJclgcjCg5ARnGMI6iFoUeFNpgJEq1UBqguHUQRxS/M6k+R8d9oOVtpvgr AXsiImJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZOl3-0000000H9VI-0tNl; Fri, 04 Dec 2026 08:35:09 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZOl1-0000000H9UO-2mlm for linux-i3c@lists.infradead.org; Fri, 04 Dec 2026 08:35:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1796373308; x=1827909308; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=xRglXnDcMzi1vVkNsKjybpK8GqrbUhAv/miZgkpc+r4=; b=11JGd4jdeoDLHUda8t7TkEy1rxVqkh0H/wTwXsCnv9umlxUuD/iz0uQf JrbHC9LjKy3Iw3n1hEySolLUumTdPv3UH8lwV9NI9ec59FT/JbEoMvlZR M/a8Zf5cn975qjX3HvKCh2XVG8iRdwqzTzuWuAWq/wxFSkJrXiaKvoJPf eO8b5R9L59968mXxNAXJAu+CpfGZNHnTpigDAsCSQ0GItoCK0HnhMXVEv JQM6Hzj2nAhDVtSR4Vd0ee7TXkKJ1CkpeeXmjhXIBA6fzOqBRarfPN0Ve kZCFxU4YgwsrGkMq9bYvE1M+GgxM8M4YMGi8RySq+8nY0JoFnk3+be3mF Q==; X-CSE-ConnectionGUID: DCLxoWdrQimGOCcsZiTRTQ== X-CSE-MsgGUID: zLgg1o6IQkaC2XP/sMGWIQ== X-IronPort-AV: E=Sophos;i="6.29,78,1794898800"; d="scan'208";a="67457406" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 04 Dec 2026 01:35:07 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.58; Fri, 4 Dec 2026 01:35:06 -0700 Received: from che-ll-i67131.microchip.com (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.58 via Frontend Transport; Fri, 4 Dec 2026 01:35:03 -0700 From: Manikandan Muralidharan To: , , , , , , CC: Subject: [PATCH 1/3] i3c: mipi-i3c-hci: move shared SCL timing register offsets to hci.h Date: Fri, 4 Dec 2026 14:04:47 +0530 Message-ID: <20261204083449.933526-2-manikandan.m@microchip.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261204083449.933526-1-manikandan.m@microchip.com> References: <20261204083449.933526-1-manikandan.m@microchip.com> X-Archived-By: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261204_003507_731505_3B81CA66 X-CRM114-Status: GOOD ( 11.04 ) X-Spam-Score: -4.6 (----) X-BeenThere: linux-i3c@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-i3c" X-Spam-Status: No, score=-17.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 HCI_SCL_I3C_OD_TIMING and HCI_SCL_I3C_PP_TIMING are vendor-specific registers that will be programmed by both the AMD and Microchip quirk code. Move them from hci_quirks.c to hci.h to avoid duplicate definitions. No functional change. Signed-off-by: Manikandan Muralidharan --- drivers/i3c/master/mipi-i3c-hci/hci.h | 4 ++++ drivers/i3c/master/mipi-i3c-hci/hci_quirks.c | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/i3c/master/mipi-i3c-hci/hci.h b/drivers/i3c/master/mipi-i3c-hci/hci.h index 4288a1b5b491..6a5b1f9875e1 100644 --- a/drivers/i3c/master/mipi-i3c-hci/hci.h +++ b/drivers/i3c/master/mipi-i3c-hci/hci.h @@ -179,6 +179,10 @@ struct i3c_hci_dev_data { #define HCI_QUIRK_DMA_ABORT_REQUIRES_PIO_RESET BIT(8) /* Do PIO queue SW resets after DMA abort */ #define HCI_QUIRK_DMA_REQUIRES_HC_ABORT BIT(9) /* Use HC_CONTROL ABORT to abort DMA */ +/* Vendor-specific SCL timing registers shared by the quirk files */ +#define HCI_SCL_I3C_OD_TIMING 0x214 +#define HCI_SCL_I3C_PP_TIMING 0x218 + /* global functions */ void mipi_i3c_hci_resume(struct i3c_hci *hci); void mipi_i3c_hci_abort(struct i3c_hci *hci); diff --git a/drivers/i3c/master/mipi-i3c-hci/hci_quirks.c b/drivers/i3c/master/mipi-i3c-hci/hci_quirks.c index 3b9c6e76c536..646de0d9f5c5 100644 --- a/drivers/i3c/master/mipi-i3c-hci/hci_quirks.c +++ b/drivers/i3c/master/mipi-i3c-hci/hci_quirks.c @@ -11,9 +11,6 @@ #include #include "hci.h" -/* Timing registers */ -#define HCI_SCL_I3C_OD_TIMING 0x214 -#define HCI_SCL_I3C_PP_TIMING 0x218 #define HCI_SDA_HOLD_SWITCH_DLY_TIMING 0x230 /* Timing values to configure 9MHz frequency */ -- 2.43.0 -- linux-i3c mailing list linux-i3c@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-i3c