U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [resend v3 00/12] Add Synopsys MIPI I3C Driver support
@ 2025-03-24  8:36 dinesh.maniyam
  2025-03-24  8:36 ` [resend v3 01/12] drivers: i3c: Add new i3c uclass id dinesh.maniyam
                   ` (12 more replies)
  0 siblings, 13 replies; 18+ messages in thread
From: dinesh.maniyam @ 2025-03-24  8:36 UTC (permalink / raw)
  To: u-boot
  Cc: Marek, Simon, Simon Glass, Tom Rini, Dario Binacchi,
	Ilias Apalodimas, Heinrich Schuchardt, Jerome Forissier,
	Mattijs Korpershoek, Ibai Erkiaga, Michal Simek, Dmitry Rokosov,
	Jonas Karlman, Sebastian Reichel, Tingting Meng, Tien Fong,
	Kok Kiang, Dinesh, Boon Khai, Alif, Hazim, Jit Loon Lim,
	Sieu Mun Tang

From: Dinesh Maniyam <dinesh.maniyam@altera.com>

This patchset add Synopsys MIPI I3C Driver support for
Intel Agilex5 devices.

The i3c driver is leveraged from the master/dw-i3c-master.c,
i3c/device.c and i3c/master.c Linux version 6.6.37 LTS
And few header files included to be
part of the migration; i3c/internals.h, include/linux/i3c/ccc.h,
include/linux/i3c/device.h and include/linux/i3c/master.h.
Additional i3c uclass driver and command files added to support
i3c read and write in U-Boot.

Patch status:

Detail changelog can find in commit message.

v3->v2:
--------
- Squash commit 10 to commit 9
- Resolve index for new files to pass the checkpatch

Commit: sandbox_defconfig: Enable configs for sandbox i3c
Commit: agilex5_defconfig: Enable i3c configs for agilex5
- use savedefconfig

drivers: Enabled Kconfig and Makefile for i3c support
- Add maintainer for i3c

drivers: i3c: Enabled Kconfig and Makefile for DWI3C
- Add empty lines for if/endif

drivers: i3c: Add i3c sandbox simple test.
- Removed DECLARE_GLOBAL_DATA_PTR

v1->v2:
--------
Reorder commits.

Added commits:
- drivers: i3c: Add i3c sandbox simple test.
- test: cmd: Add simple test for i3c
- configs: sandbox_defconfig: Enable configs for sandbox i3c
- configs: agilex5_defconfig: Enable i3c configs for agilex5

History:
--------
[v1]: https://patchwork.ozlabs.org/project/uboot/cover/20250218025705.50051-1-dinesh.maniyam@intel.com/
[v2]: https://patchwork.ozlabs.org/project/uboot/cover/20250314040902.43621-1-dinesh.maniyam@altera.com/

Dinesh Maniyam (12):
  drivers: i3c: Add new i3c uclass id
  drivers: i3c: Add driver for MIPI DWI3C
  drivers: i3c: Add i3c uclass driver.
  drivers: Enabled Kconfig and Makefile for i3c support
  drivers: i3c: Enabled Kconfig and Makefile for DWI3C
  drivers: i3c: Add i3c sandbox simple test.
  drivers: i3c: master: Enable probe i3c without slave device
  i3c: master: dw-i3c-master: Fix OD_TIMING for spike filter
  cmd: Add i3c command support.
  test: cmd: Add simple test for i3c
  configs: sandbox_defconfig: Enable configs for sandbox i3c
  configs: agilex5_defconfig: Enable i3c configs for agilex5

 MAINTAINERS                        |    7 +
 arch/sandbox/dts/test.dts          |    8 +
 cmd/Kconfig                        |    6 +
 cmd/Makefile                       |    1 +
 cmd/i3c.c                          |  193 +++
 configs/sandbox_defconfig          |    4 +
 configs/socfpga_agilex5_defconfig  |    3 +
 doc/usage/cmd/i3c.rst              |   98 ++
 drivers/Kconfig                    |    2 +
 drivers/Makefile                   |    1 +
 drivers/i3c/Kconfig                |   27 +
 drivers/i3c/Makefile               |    5 +
 drivers/i3c/device.c               |  262 ++++
 drivers/i3c/i3c-uclass.c           |   38 +
 drivers/i3c/internals.h            |   26 +
 drivers/i3c/master.c               | 2072 ++++++++++++++++++++++++++++
 drivers/i3c/master/Kconfig         |   11 +
 drivers/i3c/master/Makefile        |    3 +
 drivers/i3c/master/dw-i3c-master.c | 1058 ++++++++++++++
 drivers/i3c/sandbox_i3c.c          |   56 +
 include/dm/device.h                |    2 +
 include/dm/uclass-id.h             |    1 +
 include/dw-i3c.h                   |  252 ++++
 include/i3c.h                      |   67 +
 include/linux/i3c/ccc.h            |  385 ++++++
 include/linux/i3c/device.h         |  286 ++++
 include/linux/i3c/master.h         |  698 ++++++++++
 test/cmd/Makefile                  |    1 +
 test/cmd/i3c.c                     |   52 +
 test/dm/Makefile                   |    1 +
 test/dm/i3c.c                      |   34 +
 31 files changed, 5660 insertions(+)
 create mode 100644 cmd/i3c.c
 create mode 100644 doc/usage/cmd/i3c.rst
 create mode 100644 drivers/i3c/Kconfig
 create mode 100644 drivers/i3c/Makefile
 create mode 100644 drivers/i3c/device.c
 create mode 100644 drivers/i3c/i3c-uclass.c
 create mode 100644 drivers/i3c/internals.h
 create mode 100644 drivers/i3c/master.c
 create mode 100644 drivers/i3c/master/Kconfig
 create mode 100644 drivers/i3c/master/Makefile
 create mode 100644 drivers/i3c/master/dw-i3c-master.c
 create mode 100644 drivers/i3c/sandbox_i3c.c
 create mode 100644 include/dw-i3c.h
 create mode 100644 include/i3c.h
 create mode 100644 include/linux/i3c/ccc.h
 create mode 100644 include/linux/i3c/device.h
 create mode 100644 include/linux/i3c/master.h
 create mode 100644 test/cmd/i3c.c
 create mode 100644 test/dm/i3c.c

-- 
2.26.2


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

end of thread, other threads:[~2025-04-17  4:59 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-24  8:36 [resend v3 00/12] Add Synopsys MIPI I3C Driver support dinesh.maniyam
2025-03-24  8:36 ` [resend v3 01/12] drivers: i3c: Add new i3c uclass id dinesh.maniyam
2025-03-24  8:36 ` [resend v3 02/12] drivers: i3c: Add driver for MIPI DWI3C dinesh.maniyam
2025-03-24  8:36 ` [resend v3 03/12] drivers: i3c: Add i3c uclass driver dinesh.maniyam
2025-03-24  8:36 ` [resend v3 04/12] drivers: Enabled Kconfig and Makefile for i3c support dinesh.maniyam
2025-03-24  8:36 ` [resend v3 05/12] drivers: i3c: Enabled Kconfig and Makefile for DWI3C dinesh.maniyam
2025-03-24  8:36 ` [resend v3 06/12] drivers: i3c: Add i3c sandbox simple test dinesh.maniyam
2025-03-24  8:36 ` [resend v3 07/12] drivers: i3c: master: Enable probe i3c without slave device dinesh.maniyam
2025-03-24  8:37 ` [resend v3 08/12] i3c: master: dw-i3c-master: Fix OD_TIMING for spike filter dinesh.maniyam
2025-03-24  8:37 ` [resend v3 09/12] cmd: Add i3c command support dinesh.maniyam
2025-03-24  8:37 ` [resend v3 10/12] test: cmd: Add simple test for i3c dinesh.maniyam
2025-03-24  8:37 ` [resend v3 11/12] configs: sandbox_defconfig: Enable configs for sandbox i3c dinesh.maniyam
2025-03-24  8:37 ` [resend v3 12/12] configs: agilex5_defconfig: Enable i3c configs for agilex5 dinesh.maniyam
2025-04-08  8:14 ` [resend v3 00/12] Add Synopsys MIPI I3C Driver support Maniyam, Dinesh
2025-04-08 14:26   ` Tom Rini
2025-04-11  7:00     ` Maniyam, Dinesh
2025-04-11 14:52       ` Tom Rini
2025-04-17  2:35         ` Maniyam, Dinesh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox