drm: panel: Add Generic MIPI Panel Driver
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 3 repliesIn review
- v12 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- Drop redundant properties from the DT binding
- Fix the compatible property and examples in the DT binding
- Drop support for the redundant DT properties from the driver
- Fix minor issue in the driver
- Add panels to the DT binding
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | dt-bindings: vendor-prefixes: Add hothmi vendor prefixDocumentation/ | +2 | 1 reply | |
| 2/3 | dt-bindings: display: panel: Add some generic MIPI-DSI/DPI panelsDocumentation/ | +121 | 1 reply | |
| 3/3 | drm: panel: Add a driver for Generic MIPI-DSI/DPI(+SPI) panelsdrivers/ drivers/ drivers/ | +1192 | 1 reply |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Rob Herring (Arm) |
|---|---|
| 1/3 | A-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] drm: panel: Add Generic MIPI Panel Driver
This is a Generic MIPI-DSI / DPI(+SPI) dual stack panel driver.
Although the MIPI specifications define how to communicate with a panel to display an image, some panels still require a panel-specific initialization sequence to be sent.
While there are many dedicated drivers for such panels, they are very similar to each other, except for the configuration parameters, including the initialization sequence for each panel.
Since there are numerous panels in the wild, adding parameters to the driver for each panel every time is a pain.
Instead, this driver offers more generic and convenient method.
Its fundamental approach is similar to the panel-mipi-dbi driver, which sends an initialization sequence stored in a firmware file.
Moreover, this driver allows display modes, timings, and panel configuration parameters to be stored in the same file.
I've also come up with a firmware generator [1].
It helps to create or configure the panel parameters on the web.
As a reference, similar generic drivers currently exist:
* drivers/gpu/drm/panel/panel-simple.c
- Supports wide variety of panels, but no init-sequence support
* drivers/gpu/drm/tiny/panel-mipi-dbi.c
- Supports init-sequence, but only supports DBI panels
* drivers/gpu/drm/panel/panel-dsi-cm.c
- Supports DSI Command Mode, but no init-sequence support
[1]: https://kikuchan.github.io/panel-firmware-generator/
v2:
- Drop redundant properties from the DT binding
- Fix the compatible property and examples in the DT binding
- Drop support for the redundant DT properties from the driver
- Fix minor issue in the driver
- Add panels to the DT binding
Regards,
kikuchan.
Hironori KIKUCHI (3):
dt-bindings: vendor-prefixes: Add hothmi vendor prefix
dt-bindings: display: panel: Add some generic MIPI-DSI/DPI panels
drm: panel: Add a driver for Generic MIPI-DSI/DPI(+SPI) panels
.../bindings/display/panel/panel-mipi.yaml | 121 ++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + drivers/gpu/drm/panel/Kconfig | 10 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-mipi.c | 1181 +++++++++++++++++ 5 files changed, 1315 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/panel-mipi.yaml create mode 100644 drivers/gpu/drm/panel/panel-mipi.c
Signature · 1 line
2.48.1