Skip to contentSkip to conversation

video: add ChipWealth CH13726A AMOLED panel driver

PATCH In review Advait Dhamorikar via U-Boot 3 participants 4 messages Jul 22 – Aug 6 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 video: add ChipWealth CH13726A AMOLED panel driver

Add support for AMOLED panels based on the ChipWealth CH13726A MIPI DSI display driver IC.

The driver configures the MIPI DSI interface for 4 data lanes in RGB888 video mode, performs the panel reset sequence, sends the vendor-specific initialization commands required by the controller, and enables the panel using the standard MIPI DCS Sleep Out and Display On commands.

This driver is based on an earlier implementation by Pratham Malaviya.

---

v1 -> v2
- Expand CC list based on get_maintainer.pl output.

v2 -> v3
Link to v2: https://lore.kernel.org/all/[email protected]/
- Add regulator support using the U-Boot regulator framework.
- Minor code cleanup.

v3 -> v4
Link to v3: https://lore.kernel.org/all/[email protected]/
- Remove unused struct variables

 drivers/video/Kconfig               |   8 +
 drivers/video/Makefile              |   1 +
 drivers/video/chipwealth-ch13726a.c | 219 ++++++++++++++++++++++++++++
 3 files changed, 228 insertions(+)
 create mode 100644 drivers/video/chipwealth-ch13726a.c
drivers/video/Kconfig +8 -0
index c2acc13139c..a214626f376 100644
@@ -762,6 +762,14 @@ config VIDEO_LCD_SPI_MISO
 	option takes a string in the format understood by 'sunxi_name_to_gpio'
 	function, e.g. PH1 for pin 1 of port H.
 
+config VIDEO_PANEL_CHIPWEALTH_CH13726A
+	bool "ChipWealth CH13726A AMOLED panel support"
+	depends on PANEL && BACKLIGHT
+	select VIDEO_MIPI_DSI
+	help
+	  Say Y here if you want to enable support for AMOLED panels
+	  based on the ChipWealth CH13726A MIPI DSI display driver IC.
+
 source "drivers/video/meson/Kconfig"
 
 config VIDEO_MVEBU
drivers/video/Makefile +1 -0
index 082b8967982..efa7e288691 100644
@@ -77,6 +77,7 @@ obj-$(CONFIG_VIDEO_LCD_SSD2828) += ssd2828.o
 obj-$(CONFIG_VIDEO_LCD_TDO_TL070WSH30) += tdo-tl070wsh30.o
 obj-$(CONFIG_VIDEO_LCD_SONY_L4F00430T01) += sony-l4f00430t01.o
 obj-$(CONFIG_VIDEO_LCD_SAMSUNG_S6E63M0) += samsung-s6e63m0.o
+obj-$(CONFIG_VIDEO_PANEL_CHIPWEALTH_CH13726A) += chipwealth-ch13726a.o
 obj-$(CONFIG_VIDEO_MCDE_SIMPLE) += mcde_simple.o
 obj-${CONFIG_VIDEO_MESON} += meson/
 obj-${CONFIG_VIDEO_MIPI_DSI} += mipi_dsi.o
drivers/video/chipwealth-ch13726a.c new file +219 -0

219 lines not on this page · raw message

Signature · 1 line
2.43.0
Reviewed-by on v4 1/1
#1 lore raw

ср, 22 лип. 2026 р. о 16:19 Advait Dhamorikar <[email protected]> пише:

Quoted 9 lines

Add support for AMOLED panels based on the ChipWealth CH13726A MIPI DSI display driver IC.

The driver configures the MIPI DSI interface for 4 data lanes in RGB888 video mode, performs the panel reset sequence, sends the vendor-specific initialization commands required by the controller, and enables the panel using the standard MIPI DCS Sleep Out and Display On commands.

Quoted 5 lines

This driver is based on an earlier implementation by Pratham Malaviya.

---

Seems fine.

#2 lore raw

PATCH v4 1/1 video: add ChipWealth CH13726A AMOLED panel driver

In reply to Advait Dhamorikar via U-Boot

Hi Advait,

Quoted 12 lines

Add support for AMOLED panels based on the ChipWealth CH13726A MIPI DSI display driver IC.

The driver configures the MIPI DSI interface for 4 data lanes in RGB888 video mode, performs the panel reset sequence, sends the vendor-specific initialization commands required by the controller, and enables the panel using the standard MIPI DCS Sleep Out and Display On commands.

This driver is based on an earlier implementation by Pratham Malaviya.

---

...

drivers/video/chipwealth-ch13726a.c line 8

Quoted 8 lines
drivers/video/chipwealth-ch13726a.c new file +8 -0
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * ChipWealth CH13726A DSI panel driver
+ *
+ * Copyright (C) 2026 Mecha Systems
+ * Author(s):
+ *   Advait Dhamorikar <[email protected]>
+ *   Pratham Malaviya  <[email protected]>

Please use [email protected] instead of [email protected]

Also add Copyright (C) 2026 Silicon Signals Pvt. Ltd. along with Mecha Systems.

Best Regards,
Pratham.

#3 lore raw
In reply to Advait Dhamorikar via U-Boot

Hi Advait,

Quoted 12 lines

Add support for AMOLED panels based on the ChipWealth CH13726A MIPI DSI display driver IC.

The driver configures the MIPI DSI interface for 4 data lanes in RGB888 video mode, performs the panel reset sequence, sends the vendor-specific initialization commands required by the controller, and enables the panel using the standard MIPI DCS Sleep Out and Display On commands.

This driver is based on an earlier implementation by Pratham Malaviya.

---

...

drivers/video/chipwealth-ch13726a.c line 8

Quoted 8 lines
drivers/video/chipwealth-ch13726a.c new file +8 -0
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * ChipWealth CH13726A DSI panel driver
+ *
+ * Copyright (C) 2026 Mecha Systems
+ * Author(s):
+ *   Advait Dhamorikar <[email protected]>
+ *   Pratham Malaviya  <[email protected]>

Please use [email protected] instead of [email protected]

Also add Copyright (C) 2026 Silicon Signals Pvt. Ltd. along with Mecha Systems.

Best Regards,
Pratham.