mbox series

[v4,0/5] drm/panel: st7701: Add Anbernic RG28XX panel support

Message ID 20240804061503.881283-1-kikuchan98@gmail.com (mailing list archive)
Headers show
Series drm/panel: st7701: Add Anbernic RG28XX panel support | expand

Message

Hironori KIKUCHI Aug. 4, 2024, 6:14 a.m. UTC
Add support for the display panel of the Anbernic RG28XX, a handheld
gaming device from Anbernic. "RG28XX" is the actual name of the device.

This panel is driven by a variant of the ST7701 driver IC internally,
and is connected via an RGB parallel interface for image transmission and
an SPI interface for configuration.

Since the current code of the panel driver for ST7701 variants only
supports MIPI DSI as the configuration interface, add support for SPI
as well.

v4:
  - Update a commit message for dt-bindings

v3:
  - Split commits
  - Remove unnecessary changes
  - Change Kconfig dependency and adjust for it
  - Fix incorrect device variable in st7701_get_modes()

v2:
  - Update dt-bindings
  - Rename DSI_CMD* macros to ST7701_CMD*
  - Rename ST7701_DSI macro to ST7701_WRITE
  - Fix incorrect dev_err_probe() usage
  - Remove GPIOD_FLAGS_BIT_NONEXCLUSIVE flag
  - Remove st7701_remove() and st7701_spi_remove()
  - Call drm_panel_disable() and drm_panel_unprepare() on cleanup

Hironori KIKUCHI (5):
  drm/panel: st7701: Rename macros
  drm/panel: st7701: Decouple DSI and DRM parts
  dt-bindings: display: st7701: Add Anbernic RG28XX panel
  drm/panel: st7701: Add support for SPI for configuration
  drm/panel: st7701: Add Anbernic RG28XX panel support

 .../display/panel/sitronix,st7701.yaml        |   69 +-
 drivers/gpu/drm/panel/Kconfig                 |    3 +-
 drivers/gpu/drm/panel/panel-sitronix-st7701.c | 1074 ++++++++++-------
 3 files changed, 734 insertions(+), 412 deletions(-)

Comments

Neil Armstrong Aug. 19, 2024, 4:02 p.m. UTC | #1
Hi,

On Sun, 04 Aug 2024 15:14:44 +0900, Hironori KIKUCHI wrote:
> Add support for the display panel of the Anbernic RG28XX, a handheld
> gaming device from Anbernic. "RG28XX" is the actual name of the device.
> 
> This panel is driven by a variant of the ST7701 driver IC internally,
> and is connected via an RGB parallel interface for image transmission and
> an SPI interface for configuration.
> 
> [...]

Thanks, Applied to https://gitlab.freedesktop.org/drm/misc/kernel.git (drm-misc-next)

[1/5] drm/panel: st7701: Rename macros
      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/00b8a47d8ebe0419e649dc81b96033f6db6a4746
[2/5] drm/panel: st7701: Decouple DSI and DRM parts
      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/a055c91ac6ea493c2508401537e8732dd2a7bbf8
[3/5] dt-bindings: display: st7701: Add Anbernic RG28XX panel
      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/9a01fb40fda3de773eabd87d0d10f9c1f49ad581
[4/5] drm/panel: st7701: Add support for SPI for configuration
      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/6a60273a0e8274820210abcfe7ec0d5f1f38f458
[5/5] drm/panel: st7701: Add Anbernic RG28XX panel support
      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/f7c4a15225faeffe1e9f9a752097e7d85603ffef