[PATCH v2 3/3] drm: panel: Add a driver for Generic MIPI-DSI/DPI(+SPI) panels

2025-02-26 Thread Hironori KIKUCHI
. Its fundamental approach is similar to `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. Signed-off-by: Hironori KIKUCHI --- drivers

[PATCH v2 2/3] dt-bindings: display: panel: Add some generic MIPI-DSI/DPI panels

2025-02-26 Thread Hironori KIKUCHI
same page[1] as a preset (excluding already included ones). Note that the "xx" in the panel name is taken from a product's name, not a wildcard. [1]: https://kikuchan.github.io/panel-firmware-generator/ Signed-off-by: Hironori KIKUCHI --- .../bindings/display/panel/panel-mip

[PATCH v2 1/3] dt-bindings: vendor-prefixes: Add hothmi vendor prefix

2025-02-26 Thread Hironori KIKUCHI
Add prefix for Hotdisplay Technology Co.Ltd Signed-off-by: Hironori KIKUCHI --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor

[PATCH v2 0/3] drm: panel: Add Generic MIPI Panel Driver

2025-02-26 Thread Hironori KIKUCHI
y 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

Re: [PATCH 1/2] dt-bindings: display: panel: Add generic MIPI-DSI/DPI panels

2025-01-31 Thread Hironori KIKUCHI
Hello Krzysztof, Thank you for your feedback. On Fri, Jan 31, 2025 at 4:47 PM Krzysztof Kozlowski wrote: > > On Fri, Jan 31, 2025 at 03:43:53PM +0900, Hironori KIKUCHI wrote: > > This is a binding for generic MIPI-DSI/DPI panels that require > > initialization with a simpl

[PATCH 2/2] drm: panel: Add a driver for Generic MIPI-DSI/DPI(+SPI) panels

2025-01-30 Thread Hironori KIKUCHI
. Its fundamental approach is similar to `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 or in DT. Signed-off-by: Hironori KIKUCHI

[PATCH 1/2] dt-bindings: display: panel: Add generic MIPI-DSI/DPI panels

2025-01-30 Thread Hironori KIKUCHI
considered "simple". While many dedicated bindings exist for such panels, the generic panels are not complex enough to warrant a dedicated binding because they only require a "simple" initialization before use. This binding addresses that gap. Signed-off-by: Hironori KIKUCH

[PATCH 0/2] drm: panel: Add Generic MIPI Panel Driver

2025-01-30 Thread Hironori KIKUCHI
uence 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 Regards, kikuchan. Hironori KIKUCHI (2): dt-bindings: display: panel: Add generic

Re: [PATCH 1/6] dt-bindings: display: panel: Add another panel for RG35XX Plus (Rev6)

2024-11-26 Thread Hironori KIKUCHI
Hello Krzysztof, Thank you for your reply. > > The old schemas "leadtek,ltk035c5444t", "fascontek,fs035vg158", and > > "anbernic,rg35xx-plus-panel" exist independently. > So you duplicate them. I wrote: Don't duplicate. Ok, thanks. I won't duplicate. They are already duplicated in the tree with

Re: [PATCH 1/6] dt-bindings: display: panel: Add another panel for RG35XX Plus (Rev6)

2024-11-24 Thread Hironori KIKUCHI
Hello Krzysztof, Thank you for reviewing. > no wildcards Sorry, but I believe these are not wildcards. As discussed previously, the integrating vendor and device name are preferred instead of the OEM serial for unidentified OEM panels. These compatible strings are based on the actual device nam

[PATCH 1/6] dt-bindings: display: panel: Add another panel for RG35XX Plus (Rev6)

2024-11-24 Thread Hironori KIKUCHI
differ in their init-sequence. So add it as a new panel. Signed-off-by: Hironori KIKUCHI --- .../anbernic,rg35xx-plus-rev6-panel.yaml | 60 +++ 1 file changed, 60 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/anbernic,rg35xx-plus-rev6

[PATCH 2/6] drm: panel: nv3052c: Add another panel for RG35XX Plus (Rev6)

2024-11-24 Thread Hironori KIKUCHI
differ in their init-sequence. So add it as a new panel. Signed-off-by: Hironori KIKUCHI --- .../gpu/drm/panel/panel-newvision-nv3052c.c | 178 ++ 1 file changed, 178 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-newvision-nv3052c.c b/drivers/gpu/drm/panel/panel

[PATCH 6/6] drm: panel: nv3052c: Add a panel for RG CubeXX

2024-11-24 Thread Hironori KIKUCHI
This is a display panel used in the Anbernic RG CubeXX, a handheld gaming device from Anbernic. It is 3.95 inches in size (diagonally) with a resolution of 720x720. Signed-off-by: Hironori KIKUCHI --- .../gpu/drm/panel/panel-newvision-nv3052c.c | 198 ++ 1 file changed, 198

[PATCH 5/6] dt-bindings: display: panel: Add a panel for RG CubeXX

2024-11-24 Thread Hironori KIKUCHI
This is a display panel used in the Anbernic RG CubeXX, a handheld gaming device from Anbernic. It is 3.95 inches in size (diagonally) with a resolution of 720x720. Signed-off-by: Hironori KIKUCHI --- .../panel/anbernic,rgcubexx-panel.yaml| 60 +++ 1 file changed, 60

[PATCH 4/6] drm: panel: nv3052c: Add a panel for RG40XX series

2024-11-24 Thread Hironori KIKUCHI
This is a display panel used in the Anbernic RG40XX series (H and V), a handheld gaming device from Anbernic. It is 4.00 inches in size (diagonally) with a resolution of 640x480. Signed-off-by: Hironori KIKUCHI --- .../gpu/drm/panel/panel-newvision-nv3052c.c | 212 ++ 1 file

[PATCH 0/6] drm/panel: nv3052c: Add support for new Anbernic panels

2024-11-24 Thread Hironori KIKUCHI
CubeXX Hironori KIKUCHI (6): dt-bindings: display: panel: Add another panel for RG35XX Plus (Rev6) drm: panel: nv3052c: Add another panel for RG35XX Plus (Rev6) dt-bindings: display: panel: Add a panel for RG40XX series drm: panel: nv3052c: Add a panel for RG40XX series dt-bindings

[PATCH 3/6] dt-bindings: display: panel: Add a panel for RG40XX series

2024-11-24 Thread Hironori KIKUCHI
This is a display panel used in the Anbernic RG40XX series (H and V), a handheld gaming device from Anbernic. It is 4.00 inches in size (diagonally) with a resolution of 640x480. Signed-off-by: Hironori KIKUCHI --- .../display/panel/anbernic,rg40xx-panel.yaml | 60 +++ 1 file

Re: [PATCH 1/7] dt-bindings: display: panel: Rename rg35xx-plus-panel back to WL-355608-A8

2024-11-05 Thread Hironori KIKUCHI
Ok, Thank you guys. Could you help me how to name the new panel YLM-LBV0345001H-V2 for the recent RG35XX Plus please? - Use `anbernic,rg35xx-plus-panel-v2` - Use `anbernic,rg35xx-plus-panel-new` - Use `anbernic,ylm-lbv0345001h-v2` - Share `anbernic,rg35xx-plus-panel` For the last option, I need t

[PATCH 7/7] drm: panel: nv3052c: Add YLM-LBV0400001X-V1 panel

2024-11-04 Thread Hironori KIKUCHI
entry for the new panel. Signed-off-by: Hironori KIKUCHI --- .../gpu/drm/panel/panel-newvision-nv3052c.c | 211 ++ 1 file changed, 211 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-newvision-nv3052c.c b/drivers/gpu/drm/panel/panel-newvision-nv3052c.c index 57f6d5

[PATCH 6/7] dt-bindings: display: panel: Add YLM-LBV0400001X-V1 panel

2024-11-04 Thread Hironori KIKUCHI
The YLM-LBV041X-V1 panel is a display panel used in the Anbernic RG40XX series (H and V), a handheld gaming device from Anbernic. It is 4.00 inches in size (diagonally) with a resolution of 640x480. Signed-off-by: Hironori KIKUCHI --- .../panel/anbernic,ylm-lbv041x-v1.yaml| 65

[PATCH 4/7] dt-bindings: display: panel: Add YLM-LBV0345001H-V2 panel

2024-11-04 Thread Hironori KIKUCHI
The YLM-LBV0345001H-V2 panel is a display panel used in the recent revision of Anbernic RG35XX Plus, a handheld gaming device from Anbernic. It is 3.45 inches in size (diagonally) with a resolution of 640x480. Signed-off-by: Hironori KIKUCHI --- .../panel/anbernic,ylm-lbv0345001h-v2.yaml

[PATCH 5/7] drm: panel: nv3052c: Add YLM-LBV0345001H-V2 panel

2024-11-04 Thread Hironori KIKUCHI
revision of RG35XX Plus, but they differ on its init-sequence. So add entry for the new panel. Signed-off-by: Hironori KIKUCHI --- .../gpu/drm/panel/panel-newvision-nv3052c.c | 177 ++ 1 file changed, 177 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-newvision

[PATCH 0/7] drm/panel: nv3052c: Fix Anbernic RG35XX panel support (and add RG40XX panel)

2024-11-04 Thread Hironori KIKUCHI
similar to YLM-LBV0345001H-V2, for the RG40XX series. This patch series should be applied after: [1]: https://lore.kernel.org/dri-devel/20241020083836.175733-1-r...@testtoast.com/ Hironori KIKUCHI (7): dt-bindings: display: panel: Rename rg35xx-plus-panel back to WL-355608-A8 drm: panel

[PATCH 3/7] drm: panel: nv3052c: Fix size of WL-355608-A8

2024-11-04 Thread Hironori KIKUCHI
It is 3.45 inches in size (diagonally). Signed-off-by: Hironori KIKUCHI --- drivers/gpu/drm/panel/panel-newvision-nv3052c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-newvision-nv3052c.c b/drivers/gpu/drm/panel/panel-newvision-nv3052c.c

[PATCH 2/7] drm: panel: nv3052c: Rename rg35xx-plus-panel back to WL-355608-A8

2024-11-04 Thread Hironori KIKUCHI
uot; as an identifier instead. Signed-off-by: Hironori KIKUCHI --- drivers/gpu/drm/panel/panel-newvision-nv3052c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-newvision-nv3052c.c b/drivers/gpu/drm/panel/panel-newvision-nv3052c.c index 0

[PATCH 1/7] dt-bindings: display: panel: Rename rg35xx-plus-panel back to WL-355608-A8

2024-11-04 Thread Hironori KIKUCHI
uot; as an identifier instead. Signed-off-by: Hironori KIKUCHI --- ...rg35xx-plus-panel.yaml => anbernic,wl-355608-a8.yaml} | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) rename Documentation/devicetree/bindings/display/panel/{anbernic,rg35xx-plus-panel.yaml => anbernic,w

Re: [PATCH RESEND] drm: panel: nv3052c: correct spi_device_id for RG35XX panel

2024-10-25 Thread Hironori KIKUCHI
Hello, Unfortunately, I've found that the recent Anbernic RG35XX Plus uses a new panel labeled `YLM-LBV0345001H-V2`, which is not compatible with the `WL-355608-A8` in its initialization sequence. Thus, the name `rg35xx-plus-panel` is no longer a unique identifier for the panel. I think it should

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

2024-08-03 Thread Hironori KIKUCHI
the existing densitron,dmt028vghmcmi-1a panel, but differs in some unknown register values. Besides, it is connected via SPI, so add a new entry for the panel. Signed-off-by: Hironori KIKUCHI Reviewed-by: Neil Armstrong --- drivers/gpu/drm/panel/panel-sitronix-st7701.c | 151

[PATCH v4 3/5] dt-bindings: display: st7701: Add Anbernic RG28XX panel

2024-08-03 Thread Hironori KIKUCHI
. Although a panel connected via SPI with a D/CX pin theoretically exists, no such panels have been found for this driver yet. Therefore, disable the use of the dc-gpios property for all currently known devices. Signed-off-by: Hironori KIKUCHI Reviewed-by: Conor Dooley --- .../display/panel

[PATCH v4 4/5] drm/panel: st7701: Add support for SPI for configuration

2024-08-03 Thread Hironori KIKUCHI
The ST7701 supports not only MIPI DSI, but also SPI as an interface for configuration. To support a panel connected via SPI with an RGB parallel interface, add support for SPI using MIPI DBI helpers. Signed-off-by: Hironori KIKUCHI Reviewed-by: Neil Armstrong --- drivers/gpu/drm/panel/Kconfig

[PATCH v4 2/5] drm/panel: st7701: Decouple DSI and DRM parts

2024-08-03 Thread Hironori KIKUCHI
Split into a DSI-specific part and a DRM-specific part. Additionally, use devm_add_action_or_reset() to simplify the flow, and disable and unprepare the panel on cleanup. Signed-off-by: Hironori KIKUCHI Reviewed-by: Neil Armstrong --- drivers/gpu/drm/panel/panel-sitronix-st7701.c | 72

[PATCH v4 1/5] drm/panel: st7701: Rename macros

2024-08-03 Thread Hironori KIKUCHI
Rename DSI_CMD* macros to ST7701_CMD*, and ST7701_DSI macro to ST7701_WRITE, because they do not belong to DSI. Signed-off-by: Hironori KIKUCHI Reviewed-by: Neil Armstrong Reviewed-by: Jessica Zhang --- drivers/gpu/drm/panel/panel-sitronix-st7701.c | 736 +- 1 file changed

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

2024-08-03 Thread Hironori KIKUCHI
- 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 suppo

[PATCH v3 4/5] drm/panel: st7701: Add support for SPI for configuration

2024-07-06 Thread Hironori KIKUCHI
The ST7701 supports not only MIPI DSI, but also SPI as an interface for configuration. To support a panel connected via SPI with an RGB parallel interface, add support for SPI using MIPI DBI helpers. Signed-off-by: Hironori KIKUCHI --- drivers/gpu/drm/panel/Kconfig | 3

[PATCH v3 5/5] drm/panel: st7701: Add Anbernic RG28XX panel support

2024-07-06 Thread Hironori KIKUCHI
the existing densitron,dmt028vghmcmi-1a panel, but differs in some unknown register values. Besides, it is connected via SPI, so add a new entry for the panel. Signed-off-by: Hironori KIKUCHI Reviewed-by: Neil Armstrong --- drivers/gpu/drm/panel/panel-sitronix-st7701.c | 151

[PATCH v3 3/5] dt-bindings: display: st7701: Add Anbernic RG28XX panel

2024-07-06 Thread Hironori KIKUCHI
. Signed-off-by: Hironori KIKUCHI --- .../display/panel/sitronix,st7701.yaml| 69 +-- 1 file changed, 64 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml b/Documentation/devicetree/bindings/display/panel

[PATCH v3 2/5] drm/panel: st7701: Decouple DSI and DRM parts

2024-07-06 Thread Hironori KIKUCHI
Split into a DSI-specific part and a DRM-specific part. Additionally, use devm_add_action_or_reset() to simplify the flow, and disable and unprepare the panel on cleanup. Signed-off-by: Hironori KIKUCHI --- drivers/gpu/drm/panel/panel-sitronix-st7701.c | 72 --- 1 file changed

[PATCH v3 1/5] drm/panel: st7701: Rename macros

2024-07-06 Thread Hironori KIKUCHI
Rename DSI_CMD* macros to ST7701_CMD*, and ST7701_DSI macro to ST7701_WRITE, because they do not belong to DSI. Signed-off-by: Hironori KIKUCHI --- drivers/gpu/drm/panel/panel-sitronix-st7701.c | 736 +- 1 file changed, 368 insertions(+), 368 deletions(-) diff --git a/drivers

[PATCH v3 0/5] drm/panel: st7701: Add Anbernic RG28XX panel support

2024-07-06 Thread Hironori KIKUCHI
) - 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: s

Re: [PATCH v2 1/3] dt-bindings: display: st7701: Add Anbernic RG28XX panel

2024-07-01 Thread Hironori KIKUCHI
Hi Conor, On Sun, Jun 30, 2024 at 11:17 PM Conor Dooley wrote: > > On Sat, Jun 29, 2024 at 05:26:56PM +0900, Hironori KIKUCHI wrote: > > Hello Conor, > > > > Thank you for your reply. > > > > On Sat, Jun 29, 2024 at 1:27 AM Conor Dooley wrote: > >

Re: [PATCH v2 1/3] dt-bindings: display: st7701: Add Anbernic RG28XX panel

2024-06-29 Thread Hironori KIKUCHI
Hello Conor, Thank you for your reply. On Sat, Jun 29, 2024 at 1:27 AM Conor Dooley wrote: > > On Fri, Jun 28, 2024 at 02:10:15PM +0900, Hironori KIKUCHI wrote: > > The RG28XX panel is a display panel of the Anbernic RG28XX, a handheld > > gaming device from Anbernic. It is

Re: [PATCH v2 2/3] drm/panel: st7701: Add support for SPI for configuration

2024-06-29 Thread Hironori KIKUCHI
Hello Neil, Thank you for your reply and review. On Fri, Jun 28, 2024 at 5:22 PM Neil Armstrong wrote: > > On 28/06/2024 07:10, Hironori KIKUCHI wrote: > > The ST7701 supports not only MIPI DSI, but also SPI as an interface > > for configuration. To support a panel connected v

[PATCH v2 2/3] drm/panel: st7701: Add support for SPI for configuration

2024-06-27 Thread Hironori KIKUCHI
The ST7701 supports not only MIPI DSI, but also SPI as an interface for configuration. To support a panel connected via SPI with an RGB parallel interface, add support for SPI using MIPI DBI helpers. Signed-off-by: Hironori KIKUCHI --- drivers/gpu/drm/panel/Kconfig | 2

[PATCH v2 3/3] drm/panel: st7701: Add Anbernic RG28XX panel support

2024-06-27 Thread Hironori KIKUCHI
the existing densitron,dmt028vghmcmi-1a panel, but differs in some unknown register values. Besides, it is connected via SPI, so add a new entry for the panel. Signed-off-by: Hironori KIKUCHI --- drivers/gpu/drm/panel/panel-sitronix-st7701.c | 151 ++ 1 file changed, 151

[PATCH v2 1/3] dt-bindings: display: st7701: Add Anbernic RG28XX panel

2024-06-27 Thread Hironori KIKUCHI
well. Signed-off-by: Hironori KIKUCHI --- .../display/panel/sitronix,st7701.yaml| 69 +-- 1 file changed, 64 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml b/Documentation/devicetree/bindings/display/panel

[PATCH v2 0/3] drm/panel: st7701: Add Anbernic RG28XX panel support

2024-06-27 Thread Hironori KIKUCHI
GPIOD_FLAGS_BIT_NONEXCLUSIVE flag - Remove st7701_remove() and st7701_spi_remove() - Call drm_panel_disable() and drm_panel_unprepare() on cleanup Hironori KIKUCHI (3): dt-bindings: display: st7701: Add Anbernic RG28XX panel drm/panel: st7701: Add support for SPI for configuration drm/panel: st7701

Re: [PATCH v1 2/3] drm/panel: st7701: Add support for SPI for configuration

2024-06-22 Thread Hironori KIKUCHI
Hello Jessica, Thank you for your review and reply! On Sat, Jun 22, 2024 at 5:31 AM Jessica Zhang wrote: > > > > On 6/18/2024 1:15 AM, Hironori KIKUCHI wrote: > > The ST7701 supports not only MIPI DSI, but also SPI as an interface > > for configuration. To support a

Re: [PATCH v1 1/3] dt-bindings: display: st7701: Add Anbernic RG28XX panel

2024-06-21 Thread Hironori KIKUCHI
Hello Krzysztof, Thank you for your reply! On Tue, Jun 18, 2024 at 6:17 PM Krzysztof Kozlowski wrote: > > On 18/06/2024 10:15, Hironori KIKUCHI wrote: > > The RG28XX panel is a panel specific to the Anbernic RG28XX. > > It is 2.8 inches in size (diagonally) with a res

[PATCH v1 3/3] drm/panel: st7701: Add Anbernic RG28XX panel support

2024-06-18 Thread Hironori KIKUCHI
The Anbernic RG28XX is a handheld device with a 2.8 inch 480x640 display. Add support for the display. Signed-off-by: Hironori KIKUCHI --- drivers/gpu/drm/panel/panel-sitronix-st7701.c | 151 ++ 1 file changed, 151 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-sitronix

[PATCH v1 2/3] drm/panel: st7701: Add support for SPI for configuration

2024-06-18 Thread Hironori KIKUCHI
The ST7701 supports not only MIPI DSI, but also SPI as an interface for configuration. To support a panel connected via RGB parallel interface, add support for SPI using MIPI DBI helpers. Signed-off-by: Hironori KIKUCHI --- drivers/gpu/drm/panel/Kconfig | 2 + drivers/gpu/drm

[PATCH v1 1/3] dt-bindings: display: st7701: Add Anbernic RG28XX panel

2024-06-18 Thread Hironori KIKUCHI
The RG28XX panel is a panel specific to the Anbernic RG28XX. It is 2.8 inches in size (diagonally) with a resolution of 480x640. Signed-off-by: Hironori KIKUCHI --- .../display/panel/sitronix,st7701.yaml| 36 +-- 1 file changed, 34 insertions(+), 2 deletions(-) diff

[PATCH v1 0/3] drm/panel: st7701: Add Anbernic RG28XX panel support

2024-06-18 Thread Hironori KIKUCHI
MIPI DSI as an interface for configuration, add support for SPI as well. Hironori KIKUCHI (3): 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