[PATCH v2 0/4] drm: Add support for IPK DSI Host Driver

Angelo Ribeiro
2020-04-06T13:24:53Z

This patch series adds support for the display subsystem in the Synopsys
DesignWare IPK devices.

The display pipeline is limited and does not have access to memory, the
validation is done using a VPG (Video Pattern Generator), as DPI
stimulus for the DW MIPI DSI Host.

A Synopsys DesignWare MIPI DSI Host v1.40 is used in the IPK device, that
so far, is fully compatible with the driver dw-mipi-dsi.

To activate the VPG use the sysfs pattern variable, assigning values from
0 (shutdown) to 4. The usage of the VPG and the Synopsys DesignWare MIPI
DSI Host internal video generator is mutually exclusive.

The submission of this driver aims to be used as a work base for the
submission of enhancements over the Synopsys DesignWare MIPI DSI Host.

Changes in v2:
- Fixed dt-bindings issues, see
https://patchwork.ozlabs.org/patch/1260819/.

Angelo Ribeiro (4):
dt-bindings: display: Add IPK DSI subsystem bindings
drm: ipk: Add DRM driver for DesignWare IPK DSI
drm: ipk: Add extensions for DW MIPI DSI Host driver
MAINTAINERS: Add IPK MIPI DSI Host driver entry

.../bindings/display/snps,dw-ipk-dsi.yaml | 162 ++++++
.../bindings/display/snps,dw-ipk-vpg.yaml | 75 +++
MAINTAINERS | 8 +
drivers/gpu/drm/Kconfig | 2 +
drivers/gpu/drm/Makefile | 1 +
drivers/gpu/drm/ipk/Kconfig | 22 +
drivers/gpu/drm/ipk/Makefile | 8 +
drivers/gpu/drm/ipk/dw-drv.c | 189 +++++++
drivers/gpu/drm/ipk/dw-ipk.h | 30 ++
drivers/gpu/drm/ipk/dw-mipi-dsi-ipk.c | 556 ++++++++++++++++++++
drivers/gpu/drm/ipk/dw-vpg.c | 559 +++++++++++++++++++++
drivers/gpu/drm/ipk/dw-vpg.h | 55 ++
12 files changed, 1667 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/snps,dw-ipk-dsi.yaml
create mode 100644 Documentation/devicetree/bindings/display/snps,dw-ipk-vpg.yaml
create mode 100644 drivers/gpu/drm/ipk/Kconfig
create mode 100644 drivers/gpu/drm/ipk/Makefile
create mode 100644 drivers/gpu/drm/ipk/dw-drv.c
create mode 100644 drivers/gpu/drm/ipk/dw-ipk.h
create mode 100644 drivers/gpu/drm/ipk/dw-mipi-dsi-ipk.c
create mode 100644 drivers/gpu/drm/ipk/dw-vpg.c
create mode 100644 drivers/gpu/drm/ipk/dw-vpg.h

--
2.7.4