Skip to content

RFC MIPI HSI device support for OMAP platforms

Sebastien Jan linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest9 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9HSI: Low Level Driver interfacedrivers/Makefile drivers/hsi/Kconfig drivers/hsi/Makefile +2 more+896 -01 reply
2/9HSI: Low Level Driver coredrivers/hsi/hsi_driver.c drivers/hsi/hsi_driver.h drivers/hsi/hsi_driver_bus.c+1134 -01 reply
3/9HSI: Low Level Driver device managementdrivers/hsi/hsi_driver_dma.c drivers/hsi/hsi_driver_fifo.c drivers/hsi/hsi_driver_gpio.c +1 more+1176 -00 replies
4/9HSI: Low Level Driver debugfs supportdrivers/hsi/hsi_driver_debugfs.c+486 -00 replies
5/9HSI: Low Level Driver documentationDocumentation/hsi/hsi.txt+319 -00 replies
6/9HSI: character driver interfacedrivers/Kconfig drivers/hsi/Kconfig drivers/hsi/Makefile +3 more+647 -00 replies
7/9HSI: character driver low level interfacedrivers/hsi/hsi-if.c drivers/hsi/hsi-if.h+707 -00 replies
8/9HSI: HSI device supportarch/arm/mach-omap2/Makefile arch/arm/mach-omap2/hsi.c arch/arm/plat-omap/include/mach/hsi.h+930 -00 replies
9/9HSI: SSI device support and integration on 3430SDP platformarch/arm/mach-omap2/Makefile arch/arm/mach-omap2/board-3430sdp.c arch/arm/mach-omap2/mux.c +2 more+570 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/9] MIPI HSI device support for OMAP platforms

This is an RFC for a series of patch to add the support of MIPI HSI and SSI devices to OMAP platforms.
The patch includes the HSI device driver and the device files for MIPI HSI and SSI.

The driver is made of 2 distinct modules:
- omap_hsi: is the Low-Level Driver (or hardware driver). It provides a kernel functional interface, to be used by other kernel modules and abstracts the HW.
This part of the patch is based on Nokia SSI driver, already submitted as RFC by Carlos Chinea [1].
- hsi-char: is a char device driver proposing a user-space interface for using the HSI and relies on omap_hsi.
This part of the patch is based on a development from Andras Domokos.
The intent is to propose a single HSI driver that can support MIPI HSI 1.1 as well as previous implementations (SSI) for OMAP platforms (OMAP3 / OMAP4).

The driver core functionalities are there and ready for review. The following updates will come in the following weeks / months:
- Clocks and Power Management support for OMAP4 platform (HSI device file)
- HSI-char interface documentation

Validation: The driver is validated on 3430 SDP (with a HW loopback on the SSI device), and is being validated on 4430 Virtio platform (MIPI HSI device).

[1] http://lwn.net/Articles/301918/

Thanks for your comments!

Sebastien JAN

Sebastien Jan (9):
HSI: Low Level Driver interface
HSI: Low Level Driver core
HSI: Low Level Driver device management
HSI: Low Level Driver debugfs support
HSI: Low Level Driver documentation
HSI: character driver interface
HSI: character driver low level interface
HSI: HSI device support
HSI: SSI device support and integration on 3430SDP platform

 Documentation/hsi/hsi.txt             |  319 ++++++++++++++++
 arch/arm/mach-omap2/Makefile          |    2 +
 arch/arm/mach-omap2/board-3430sdp.c   |   12 +
 arch/arm/mach-omap2/hsi.c             |  497 +++++++++++++++++++++++++
 arch/arm/mach-omap2/mux.c             |   17 +
 arch/arm/mach-omap2/ssi.c             |  530 ++++++++++++++++++++++++++
 arch/arm/plat-omap/include/mach/hsi.h |  432 ++++++++++++++++++++++
 arch/arm/plat-omap/include/mach/mux.h |   10 +
 drivers/Kconfig                       |    2 +
 drivers/Makefile                      |    1 +
 drivers/hsi/Kconfig                   |   58 +++
 drivers/hsi/Makefile                  |   17 +
 drivers/hsi/hsi-char.c                |  526 ++++++++++++++++++++++++++
 drivers/hsi/hsi-char.h                |   31 ++
 drivers/hsi/hsi-if.c                  |  642 ++++++++++++++++++++++++++++++++
 drivers/hsi/hsi-if.h                  |   65 ++++
 drivers/hsi/hsi_driver.c              |  644 ++++++++++++++++++++++++++++++++
 drivers/hsi/hsi_driver.h              |  308 +++++++++++++++
 drivers/hsi/hsi_driver_bus.c          |  182 +++++++++
 drivers/hsi/hsi_driver_debugfs.c      |  486 ++++++++++++++++++++++++
 drivers/hsi/hsi_driver_dma.c          |  469 +++++++++++++++++++++++
 drivers/hsi/hsi_driver_fifo.c         |  289 +++++++++++++++
 drivers/hsi/hsi_driver_gpio.c         |   79 ++++
 drivers/hsi/hsi_driver_if.c           |  657 +++++++++++++++++++++++++++++++++
 drivers/hsi/hsi_driver_int.c          |  339 +++++++++++++++++
 include/linux/hsi_char.h              |   71 ++++
 include/linux/hsi_driver_if.h         |  180 +++++++++
 27 files changed, 6865 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/hsi/hsi.txt
 create mode 100644 arch/arm/mach-omap2/hsi.c
 create mode 100644 arch/arm/mach-omap2/ssi.c
 create mode 100644 arch/arm/plat-omap/include/mach/hsi.h
 create mode 100644 drivers/hsi/Kconfig
 create mode 100644 drivers/hsi/Makefile
 create mode 100644 drivers/hsi/hsi-char.c
 create mode 100644 drivers/hsi/hsi-char.h
 create mode 100644 drivers/hsi/hsi-if.c
 create mode 100644 drivers/hsi/hsi-if.h
 create mode 100644 drivers/hsi/hsi_driver.c
 create mode 100644 drivers/hsi/hsi_driver.h
 create mode 100644 drivers/hsi/hsi_driver_bus.c
 create mode 100644 drivers/hsi/hsi_driver_debugfs.c
 create mode 100644 drivers/hsi/hsi_driver_dma.c
 create mode 100644 drivers/hsi/hsi_driver_fifo.c
 create mode 100644 drivers/hsi/hsi_driver_gpio.c
 create mode 100644 drivers/hsi/hsi_driver_if.c
 create mode 100644 drivers/hsi/hsi_driver_int.c
 create mode 100644 include/linux/hsi_char.h
 create mode 100644 include/linux/hsi_driver_if.h