From: Frank Li <Frank.li@oss.nxp.com>
To: Manikandan Muralidharan <manikandan.m@microchip.com>
Cc: alexandre.belloni@bootlin.com, Frank.Li@nxp.com,
adrian.hunter@intel.com, Jm_Liao@asmedia.com.tw,
Patrick_Yen@asmedia.com.tw, linux-kernel@vger.kernel.org,
linux-i3c@lists.infradead.org
Subject: Re: [PATCH 1/3] i3c: mipi-i3c-hci: move shared SCL timing register offsets to hci.h
Date: Fri, 4 Dec 2026 15:22:11 -0500 [thread overview]
Message-ID: <axMg80bUtXd6cdnq@lizhi-Precision-Tower-5810> (raw)
In-Reply-To: <20261204083449.933526-2-manikandan.m@microchip.com>
On Fri, Dec 04, 2026 at 02:04:47PM +0530, Manikandan Muralidharan wrote:
> 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 <manikandan.m@microchip.com>
> ---
Reviewed-by: Frank Li <Frank.Li@nxp.com>
> 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 <linux/i3c/master.h>
> #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
>
next prev parent reply other threads:[~2026-12-04 20:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 8:34 [PATCH 0/3] i3c: mipi-i3c-hci: derive SAMA7D65 SCL timings from gclk Manikandan Muralidharan
2026-12-04 8:34 ` [PATCH 1/3] i3c: mipi-i3c-hci: move shared SCL timing register offsets to hci.h Manikandan Muralidharan
2026-12-04 20:22 ` Frank Li [this message]
2026-12-04 8:34 ` [PATCH 2/3] i3c: mipi-i3c-hci: add Microchip quirk to derive SCL timings from gclk Manikandan Muralidharan
2026-12-04 20:29 ` Frank Li
2026-12-04 8:34 ` [PATCH 3/3] i3c: mipi-i3c-hci: add Microchip quirk to set response buffer threshold Manikandan Muralidharan
2026-12-04 20:34 ` Frank Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=axMg80bUtXd6cdnq@lizhi-Precision-Tower-5810 \
--to=frank.li@oss.nxp.com \
--cc=Frank.Li@nxp.com \
--cc=Jm_Liao@asmedia.com.tw \
--cc=Patrick_Yen@asmedia.com.tw \
--cc=adrian.hunter@intel.com \
--cc=alexandre.belloni@bootlin.com \
--cc=linux-i3c@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=manikandan.m@microchip.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®