linux-i3c.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] i3c: Add basic HDR mode support
@ 2025-01-29 20:05 Frank Li
  2025-01-29 20:05 ` [PATCH 1/2] i3c: Add basic HDR support Frank Li
  2025-01-29 20:05 ` [PATCH 2/2] i3c: master: svc: Add basic HDR mode support Frank Li
  0 siblings, 2 replies; 21+ messages in thread
From: Frank Li @ 2025-01-29 20:05 UTC (permalink / raw)
  To: Alexandre Belloni, Miquel Raynal, Conor Culhane
  Cc: linux-i3c, linux-kernel, imx, Frank Li

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

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2025-02-09 22:26 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-29 20:05 [PATCH 0/2] i3c: Add basic HDR mode support Frank Li
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

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).