linux-i3c.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Frank Li <Frank.Li@nxp.com>
To: Alexandre Belloni <alexandre.belloni@bootlin.com>,
	 Miquel Raynal <miquel.raynal@bootlin.com>,
	 Conor Culhane <conor.culhane@silvaco.com>
Cc: linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org,
	 imx@lists.linux.dev, Frank Li <Frank.Li@nxp.com>
Subject: [PATCH 0/2] i3c: Add basic HDR mode support
Date: Wed, 29 Jan 2025 15:05:51 -0500	[thread overview]
Message-ID: <20250129-i3c_ddr-v1-0-028a7a5d4324@nxp.com> (raw)

Add basic HDR mode support, only support private transfer, not support
CCC command.

Update i3c framework API to allow pass down mode and extend driver callback
function.

Implement HDR transfer in svc i3c master driver.

Simplifed HDR flow is (ref i3c spec line 5514) Figure 129

<--              SDR            ---> | <--- HDR
START 0x7E RnW(0) ACK CCC(ENTHDR0) T   HDR-CMD(00-7f write, 80--ff read)

                                    ----> |
HDR-DATA HDR-CRC HDR-RESTART .... HDR-EXIT

Note: HDR-CMD is 16bit data, which included 7bit slave address and 8bit
read/write command.

svc hardware can auto issue SDR part.

To: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: Miquel Raynal <miquel.raynal@bootlin.com>
To: Conor Culhane <conor.culhane@silvaco.com>
Cc: linux-i3c@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Cc: imx@lists.linux.dev

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Frank Li (2):
      i3c: Add basic HDR support
      i3c: master: svc: Add basic HDR mode support

 drivers/i3c/device.c                | 19 ++++++----
 drivers/i3c/internals.h             |  2 +-
 drivers/i3c/master.c                |  8 ++++-
 drivers/i3c/master/svc-i3c-master.c | 69 +++++++++++++++++++++++++++----------
 include/linux/i3c/device.h          | 12 ++++++-
 include/linux/i3c/master.h          |  3 ++
 6 files changed, 86 insertions(+), 27 deletions(-)
---
base-commit: 66408a65f3db566c45fd7658fa7bc0b17aaa4807
change-id: 20250129-i3c_ddr-b15488901eb8

Best regards,
---
Frank Li <Frank.Li@nxp.com>


-- 
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c

             reply	other threads:[~2025-01-29 20:06 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-29 20:05 Frank Li [this message]
2025-01-29 20:05 ` [PATCH 1/2] i3c: Add basic HDR support Frank Li
2025-02-01 17:54   ` Mukesh Kumar Savaliya
2025-02-03  2:32     ` Joshua Yeong
2025-02-03  5:22       ` Mukesh Kumar Savaliya
2025-02-03 15:52       ` Frank Li
2025-02-04  3:17         ` Joshua Yeong
2025-02-04 15:38           ` Frank Li
2025-02-05  6:30             ` Joshua Yeong
2025-02-05 15:58               ` Frank Li
2025-02-06  7:05                 ` Joshua Yeong
2025-02-06 15:55                   ` Frank Li
2025-02-09 22:26                     ` Joshua Yeong
2025-02-04  5:54         ` Mukesh Kumar Savaliya
2025-02-04 15:43           ` Frank Li
2025-02-05 14:19             ` Mukesh Kumar Savaliya
2025-02-05 15:44               ` Frank Li
2025-02-06  9:44                 ` Mukesh Kumar Savaliya
2025-02-06 15:32                   ` Frank Li
2025-02-07  9:08                     ` Mukesh Kumar Savaliya
2025-01-29 20:05 ` [PATCH 2/2] i3c: master: svc: Add basic HDR mode support 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=20250129-i3c_ddr-v1-0-028a7a5d4324@nxp.com \
    --to=frank.li@nxp.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=conor.culhane@silvaco.com \
    --cc=imx@lists.linux.dev \
    --cc=linux-i3c@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miquel.raynal@bootlin.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;
as well as URLs for NNTP newsgroup(s).