* [PATCH 0/3] panel-simple: add support for Crystal Clear CMT430B19N00
@ 2024-02-23 13:45 Jérémie Dautheribes
2024-02-23 13:45 ` [PATCH 1/3] dt-bindings: Add Crystal Clear Technology vendor prefix Jérémie Dautheribes
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Jérémie Dautheribes @ 2024-02-23 13:45 UTC (permalink / raw)
To: Neil Armstrong, Jessica Zhang, Sam Ravnborg, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, David Airlie, Daniel Vetter,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Thierry Reding
Cc: dri-devel, devicetree, linux-kernel, Thomas Petazzoni,
Yen-Mei Goh, Jérémie Dautheribes
This patch series add support for the Crystal Clear Technology
CMT430B19N00 4.3" 480x272 TFT-LCD panel.
It also adds Crystal Clear Technology to vendor-prefixes.yaml.
Please note that unfortunately there is no public datasheet available
for this panel.
Jérémie Dautheribes (3):
dt-bindings: Add Crystal Clear Technology vendor prefix
dt-bindings: display: simple: add support for Crystal Clear
CMT430B19N00
drm/panel: simple: add CMT430B19N00 LCD panel support
.../bindings/display/panel/panel-simple.yaml | 2 ++
.../devicetree/bindings/vendor-prefixes.yaml | 2 ++
drivers/gpu/drm/panel/panel-simple.c | 29 +++++++++++++++++++
3 files changed, 33 insertions(+)
--
2.34.1
^ permalink raw reply [flat|nested] 10+ messages in thread* [PATCH 1/3] dt-bindings: Add Crystal Clear Technology vendor prefix 2024-02-23 13:45 [PATCH 0/3] panel-simple: add support for Crystal Clear CMT430B19N00 Jérémie Dautheribes @ 2024-02-23 13:45 ` Jérémie Dautheribes 2024-02-23 18:22 ` Conor Dooley 2024-02-23 13:45 ` [PATCH 2/3] dt-bindings: display: simple: add support for Crystal Clear CMT430B19N00 Jérémie Dautheribes 2024-02-23 13:45 ` [PATCH 3/3] drm/panel: simple: add CMT430B19N00 LCD panel support Jérémie Dautheribes 2 siblings, 1 reply; 10+ messages in thread From: Jérémie Dautheribes @ 2024-02-23 13:45 UTC (permalink / raw) To: Neil Armstrong, Jessica Zhang, Sam Ravnborg, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie, Daniel Vetter, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Thierry Reding Cc: dri-devel, devicetree, linux-kernel, Thomas Petazzoni, Yen-Mei Goh, Jérémie Dautheribes Update Documentation/devicetree/bindings/vendor-prefixes.yaml to include "cct" as a vendor prefix for "Crystal Clear Technology". CCT is the vendor of the CMT430B19N00 TFT-LCD panel. Signed-off-by: Jérémie Dautheribes <jeremie.dautheribes@bootlin.com> --- 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-prefixes.yaml index fef2e12b504e..96e47742e250 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -248,6 +248,8 @@ patternProperties: description: Catalyst Semiconductor, Inc. "^cavium,.*": description: Cavium, Inc. + "^cct,.*": + description: Crystal Clear Technology Sdn. Bhd. "^cdns,.*": description: Cadence Design Systems Inc. "^cdtech,.*": -- 2.34.1 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 1/3] dt-bindings: Add Crystal Clear Technology vendor prefix 2024-02-23 13:45 ` [PATCH 1/3] dt-bindings: Add Crystal Clear Technology vendor prefix Jérémie Dautheribes @ 2024-02-23 18:22 ` Conor Dooley 2024-02-29 8:54 ` Neil Armstrong 0 siblings, 1 reply; 10+ messages in thread From: Conor Dooley @ 2024-02-23 18:22 UTC (permalink / raw) To: Jérémie Dautheribes Cc: Neil Armstrong, Jessica Zhang, Sam Ravnborg, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie, Daniel Vetter, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Thierry Reding, dri-devel, devicetree, linux-kernel, Thomas Petazzoni, Yen-Mei Goh [-- Attachment #1: Type: text/plain, Size: 1254 bytes --] On Fri, Feb 23, 2024 at 02:45:15PM +0100, Jérémie Dautheribes wrote: > Update Documentation/devicetree/bindings/vendor-prefixes.yaml to > include "cct" as a vendor prefix for "Crystal Clear Technology". CCT is > the vendor of the CMT430B19N00 TFT-LCD panel. > Acked-by: Conor Dooley <conor.dooley@microchip.com> And add a Link: http://www.cct.com.my/ as that actually explains why "cct" is the right choice. Cheers, Conor. > Signed-off-by: Jérémie Dautheribes <jeremie.dautheribes@bootlin.com> > --- > 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-prefixes.yaml > index fef2e12b504e..96e47742e250 100644 > --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml > +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml > @@ -248,6 +248,8 @@ patternProperties: > description: Catalyst Semiconductor, Inc. > "^cavium,.*": > description: Cavium, Inc. > + "^cct,.*": > + description: Crystal Clear Technology Sdn. Bhd. > "^cdns,.*": > description: Cadence Design Systems Inc. > "^cdtech,.*": > -- > 2.34.1 > [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 228 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 1/3] dt-bindings: Add Crystal Clear Technology vendor prefix 2024-02-23 18:22 ` Conor Dooley @ 2024-02-29 8:54 ` Neil Armstrong 2024-02-29 17:54 ` Conor Dooley 0 siblings, 1 reply; 10+ messages in thread From: Neil Armstrong @ 2024-02-29 8:54 UTC (permalink / raw) To: Conor Dooley, Jérémie Dautheribes Cc: Jessica Zhang, Sam Ravnborg, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie, Daniel Vetter, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Thierry Reding, dri-devel, devicetree, linux-kernel, Thomas Petazzoni, Yen-Mei Goh Hi Jérémie, On 23/02/2024 19:22, Conor Dooley wrote: > On Fri, Feb 23, 2024 at 02:45:15PM +0100, Jérémie Dautheribes wrote: >> Update Documentation/devicetree/bindings/vendor-prefixes.yaml to >> include "cct" as a vendor prefix for "Crystal Clear Technology". CCT is >> the vendor of the CMT430B19N00 TFT-LCD panel. >> > > Acked-by: Conor Dooley <conor.dooley@microchip.com> > > And add a > Link: http://www.cct.com.my/ > as that actually explains why "cct" is the right choice. Can you send a v2 with this change ? Thanks, Neil > > Cheers, > Conor. > >> Signed-off-by: Jérémie Dautheribes <jeremie.dautheribes@bootlin.com> >> --- >> 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-prefixes.yaml >> index fef2e12b504e..96e47742e250 100644 >> --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml >> +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml >> @@ -248,6 +248,8 @@ patternProperties: >> description: Catalyst Semiconductor, Inc. >> "^cavium,.*": >> description: Cavium, Inc. >> + "^cct,.*": >> + description: Crystal Clear Technology Sdn. Bhd. >> "^cdns,.*": >> description: Cadence Design Systems Inc. >> "^cdtech,.*": >> -- >> 2.34.1 >> ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 1/3] dt-bindings: Add Crystal Clear Technology vendor prefix 2024-02-29 8:54 ` Neil Armstrong @ 2024-02-29 17:54 ` Conor Dooley 0 siblings, 0 replies; 10+ messages in thread From: Conor Dooley @ 2024-02-29 17:54 UTC (permalink / raw) To: Neil Armstrong Cc: Jérémie Dautheribes, Jessica Zhang, Sam Ravnborg, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie, Daniel Vetter, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Thierry Reding, dri-devel, devicetree, linux-kernel, Thomas Petazzoni, Yen-Mei Goh [-- Attachment #1: Type: text/plain, Size: 721 bytes --] On Thu, Feb 29, 2024 at 09:54:59AM +0100, Neil Armstrong wrote: > Hi Jérémie, > > On 23/02/2024 19:22, Conor Dooley wrote: > > On Fri, Feb 23, 2024 at 02:45:15PM +0100, Jérémie Dautheribes wrote: > > > Update Documentation/devicetree/bindings/vendor-prefixes.yaml to > > > include "cct" as a vendor prefix for "Crystal Clear Technology". CCT is > > > the vendor of the CMT430B19N00 TFT-LCD panel. > > > > > > > Acked-by: Conor Dooley <conor.dooley@microchip.com> > > > > And add a > > Link: http://www.cct.com.my/ > > as that actually explains why "cct" is the right choice. > > Can you send a v2 with this change ? Does your workflow not allow you to pick up Link: tags while applying patches? [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 228 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 2/3] dt-bindings: display: simple: add support for Crystal Clear CMT430B19N00 2024-02-23 13:45 [PATCH 0/3] panel-simple: add support for Crystal Clear CMT430B19N00 Jérémie Dautheribes 2024-02-23 13:45 ` [PATCH 1/3] dt-bindings: Add Crystal Clear Technology vendor prefix Jérémie Dautheribes @ 2024-02-23 13:45 ` Jérémie Dautheribes 2024-02-23 18:23 ` Conor Dooley 2024-02-23 13:45 ` [PATCH 3/3] drm/panel: simple: add CMT430B19N00 LCD panel support Jérémie Dautheribes 2 siblings, 1 reply; 10+ messages in thread From: Jérémie Dautheribes @ 2024-02-23 13:45 UTC (permalink / raw) To: Neil Armstrong, Jessica Zhang, Sam Ravnborg, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie, Daniel Vetter, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Thierry Reding Cc: dri-devel, devicetree, linux-kernel, Thomas Petazzoni, Yen-Mei Goh, Jérémie Dautheribes Add Crystal Clear Technology CMT430B19N00 4.3" 480x272 TFT-LCD panel compatible string. Signed-off-by: Jérémie Dautheribes <jeremie.dautheribes@bootlin.com> --- .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml index a95445f40870..c575f7c4b745 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml @@ -91,6 +91,8 @@ properties: - boe,nv133fhm-n62 # BOE NV140FHM-N49 14.0" FHD a-Si FT panel - boe,nv140fhmn49 + # Crystal Clear Technology CMT430B19N00 4.3" 480x272 TFT-LCD panel + - cct,cmt430b19n00 # CDTech(H.K.) Electronics Limited 4.3" 480x272 color TFT-LCD panel - cdtech,s043wq26h-ct7 # CDTech(H.K.) Electronics Limited 7" WSVGA (1024x600) TFT LCD Panel -- 2.34.1 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 2/3] dt-bindings: display: simple: add support for Crystal Clear CMT430B19N00 2024-02-23 13:45 ` [PATCH 2/3] dt-bindings: display: simple: add support for Crystal Clear CMT430B19N00 Jérémie Dautheribes @ 2024-02-23 18:23 ` Conor Dooley 0 siblings, 0 replies; 10+ messages in thread From: Conor Dooley @ 2024-02-23 18:23 UTC (permalink / raw) To: Jérémie Dautheribes Cc: Neil Armstrong, Jessica Zhang, Sam Ravnborg, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie, Daniel Vetter, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Thierry Reding, dri-devel, devicetree, linux-kernel, Thomas Petazzoni, Yen-Mei Goh [-- Attachment #1: Type: text/plain, Size: 1249 bytes --] On Fri, Feb 23, 2024 at 02:45:16PM +0100, Jérémie Dautheribes wrote: > Add Crystal Clear Technology CMT430B19N00 4.3" 480x272 TFT-LCD panel > compatible string. > > Signed-off-by: Jérémie Dautheribes <jeremie.dautheribes@bootlin.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Cheers, Conor. > --- > .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml > index a95445f40870..c575f7c4b745 100644 > --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml > +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml > @@ -91,6 +91,8 @@ properties: > - boe,nv133fhm-n62 > # BOE NV140FHM-N49 14.0" FHD a-Si FT panel > - boe,nv140fhmn49 > + # Crystal Clear Technology CMT430B19N00 4.3" 480x272 TFT-LCD panel > + - cct,cmt430b19n00 > # CDTech(H.K.) Electronics Limited 4.3" 480x272 color TFT-LCD panel > - cdtech,s043wq26h-ct7 > # CDTech(H.K.) Electronics Limited 7" WSVGA (1024x600) TFT LCD Panel > -- > 2.34.1 > [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 228 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 3/3] drm/panel: simple: add CMT430B19N00 LCD panel support 2024-02-23 13:45 [PATCH 0/3] panel-simple: add support for Crystal Clear CMT430B19N00 Jérémie Dautheribes 2024-02-23 13:45 ` [PATCH 1/3] dt-bindings: Add Crystal Clear Technology vendor prefix Jérémie Dautheribes 2024-02-23 13:45 ` [PATCH 2/3] dt-bindings: display: simple: add support for Crystal Clear CMT430B19N00 Jérémie Dautheribes @ 2024-02-23 13:45 ` Jérémie Dautheribes 2024-02-26 8:22 ` Neil Armstrong 2024-02-26 21:30 ` Jessica Zhang 2 siblings, 2 replies; 10+ messages in thread From: Jérémie Dautheribes @ 2024-02-23 13:45 UTC (permalink / raw) To: Neil Armstrong, Jessica Zhang, Sam Ravnborg, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie, Daniel Vetter, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Thierry Reding Cc: dri-devel, devicetree, linux-kernel, Thomas Petazzoni, Yen-Mei Goh, Jérémie Dautheribes Add support for Crystal Clear Technology CMT430B19N00 4.3" 480x272 TFT-LCD panel. Signed-off-by: Jérémie Dautheribes <jeremie.dautheribes@bootlin.com> --- drivers/gpu/drm/panel/panel-simple.c | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 20e3df1c59d4..b940220f56e2 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1457,6 +1457,32 @@ static const struct panel_desc boe_hv070wsa = { .connector_type = DRM_MODE_CONNECTOR_LVDS, }; +static const struct drm_display_mode cct_cmt430b19n00_mode = { + .clock = 9000, + .hdisplay = 480, + .hsync_start = 480 + 43, + .hsync_end = 480 + 43 + 8, + .htotal = 480 + 43 + 8 + 4, + .vdisplay = 272, + .vsync_start = 272 + 12, + .vsync_end = 272 + 12 + 8, + .vtotal = 272 + 12 + 8 + 4, + .flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC, +}; + +static const struct panel_desc cct_cmt430b19n00 = { + .modes = &cct_cmt430b19n00_mode, + .num_modes = 1, + .bpc = 8, + .size = { + .width = 95, + .height = 53, + }, + .bus_format = MEDIA_BUS_FMT_RGB888_1X24, + .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE, + .connector_type = DRM_MODE_CONNECTOR_DPI, +}; + static const struct drm_display_mode cdtech_s043wq26h_ct7_mode = { .clock = 9000, .hdisplay = 480, @@ -4402,6 +4428,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "boe,hv070wsa-100", .data = &boe_hv070wsa + }, { + .compatible = "cct,cmt430b19n00", + .data = &cct_cmt430b19n00, }, { .compatible = "cdtech,s043wq26h-ct7", .data = &cdtech_s043wq26h_ct7, -- 2.34.1 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 3/3] drm/panel: simple: add CMT430B19N00 LCD panel support 2024-02-23 13:45 ` [PATCH 3/3] drm/panel: simple: add CMT430B19N00 LCD panel support Jérémie Dautheribes @ 2024-02-26 8:22 ` Neil Armstrong 2024-02-26 21:30 ` Jessica Zhang 1 sibling, 0 replies; 10+ messages in thread From: Neil Armstrong @ 2024-02-26 8:22 UTC (permalink / raw) To: Jérémie Dautheribes, Jessica Zhang, Sam Ravnborg, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie, Daniel Vetter, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Thierry Reding Cc: dri-devel, devicetree, linux-kernel, Thomas Petazzoni, Yen-Mei Goh On 23/02/2024 14:45, Jérémie Dautheribes wrote: > Add support for Crystal Clear Technology CMT430B19N00 4.3" 480x272 > TFT-LCD panel. > > Signed-off-by: Jérémie Dautheribes <jeremie.dautheribes@bootlin.com> > --- > drivers/gpu/drm/panel/panel-simple.c | 29 ++++++++++++++++++++++++++++ > 1 file changed, 29 insertions(+) > > diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c > index 20e3df1c59d4..b940220f56e2 100644 > --- a/drivers/gpu/drm/panel/panel-simple.c > +++ b/drivers/gpu/drm/panel/panel-simple.c > @@ -1457,6 +1457,32 @@ static const struct panel_desc boe_hv070wsa = { > .connector_type = DRM_MODE_CONNECTOR_LVDS, > }; > > +static const struct drm_display_mode cct_cmt430b19n00_mode = { > + .clock = 9000, > + .hdisplay = 480, > + .hsync_start = 480 + 43, > + .hsync_end = 480 + 43 + 8, > + .htotal = 480 + 43 + 8 + 4, > + .vdisplay = 272, > + .vsync_start = 272 + 12, > + .vsync_end = 272 + 12 + 8, > + .vtotal = 272 + 12 + 8 + 4, > + .flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC, > +}; > + > +static const struct panel_desc cct_cmt430b19n00 = { > + .modes = &cct_cmt430b19n00_mode, > + .num_modes = 1, > + .bpc = 8, > + .size = { > + .width = 95, > + .height = 53, > + }, > + .bus_format = MEDIA_BUS_FMT_RGB888_1X24, > + .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE, > + .connector_type = DRM_MODE_CONNECTOR_DPI, > +}; > + > static const struct drm_display_mode cdtech_s043wq26h_ct7_mode = { > .clock = 9000, > .hdisplay = 480, > @@ -4402,6 +4428,9 @@ static const struct of_device_id platform_of_match[] = { > }, { > .compatible = "boe,hv070wsa-100", > .data = &boe_hv070wsa > + }, { > + .compatible = "cct,cmt430b19n00", > + .data = &cct_cmt430b19n00, > }, { > .compatible = "cdtech,s043wq26h-ct7", > .data = &cdtech_s043wq26h_ct7, Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 3/3] drm/panel: simple: add CMT430B19N00 LCD panel support 2024-02-23 13:45 ` [PATCH 3/3] drm/panel: simple: add CMT430B19N00 LCD panel support Jérémie Dautheribes 2024-02-26 8:22 ` Neil Armstrong @ 2024-02-26 21:30 ` Jessica Zhang 1 sibling, 0 replies; 10+ messages in thread From: Jessica Zhang @ 2024-02-26 21:30 UTC (permalink / raw) To: Jérémie Dautheribes, Neil Armstrong, Sam Ravnborg, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie, Daniel Vetter, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Thierry Reding Cc: dri-devel, devicetree, linux-kernel, Thomas Petazzoni, Yen-Mei Goh On 2/23/2024 5:45 AM, Jérémie Dautheribes wrote: > Add support for Crystal Clear Technology CMT430B19N00 4.3" 480x272 > TFT-LCD panel. > > Signed-off-by: Jérémie Dautheribes <jeremie.dautheribes@bootlin.com> Hi Jérémie, Reviewed-by: Jessica Zhang <quic_jesszhan@quicinc.com> Thanks, Jessica Zhang > --- > drivers/gpu/drm/panel/panel-simple.c | 29 ++++++++++++++++++++++++++++ > 1 file changed, 29 insertions(+) > > diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c > index 20e3df1c59d4..b940220f56e2 100644 > --- a/drivers/gpu/drm/panel/panel-simple.c > +++ b/drivers/gpu/drm/panel/panel-simple.c > @@ -1457,6 +1457,32 @@ static const struct panel_desc boe_hv070wsa = { > .connector_type = DRM_MODE_CONNECTOR_LVDS, > }; > > +static const struct drm_display_mode cct_cmt430b19n00_mode = { > + .clock = 9000, > + .hdisplay = 480, > + .hsync_start = 480 + 43, > + .hsync_end = 480 + 43 + 8, > + .htotal = 480 + 43 + 8 + 4, > + .vdisplay = 272, > + .vsync_start = 272 + 12, > + .vsync_end = 272 + 12 + 8, > + .vtotal = 272 + 12 + 8 + 4, > + .flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC, > +}; > + > +static const struct panel_desc cct_cmt430b19n00 = { > + .modes = &cct_cmt430b19n00_mode, > + .num_modes = 1, > + .bpc = 8, > + .size = { > + .width = 95, > + .height = 53, > + }, > + .bus_format = MEDIA_BUS_FMT_RGB888_1X24, > + .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE, > + .connector_type = DRM_MODE_CONNECTOR_DPI, > +}; > + > static const struct drm_display_mode cdtech_s043wq26h_ct7_mode = { > .clock = 9000, > .hdisplay = 480, > @@ -4402,6 +4428,9 @@ static const struct of_device_id platform_of_match[] = { > }, { > .compatible = "boe,hv070wsa-100", > .data = &boe_hv070wsa > + }, { > + .compatible = "cct,cmt430b19n00", > + .data = &cct_cmt430b19n00, > }, { > .compatible = "cdtech,s043wq26h-ct7", > .data = &cdtech_s043wq26h_ct7, > -- > 2.34.1 > ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2024-02-29 17:54 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-02-23 13:45 [PATCH 0/3] panel-simple: add support for Crystal Clear CMT430B19N00 Jérémie Dautheribes 2024-02-23 13:45 ` [PATCH 1/3] dt-bindings: Add Crystal Clear Technology vendor prefix Jérémie Dautheribes 2024-02-23 18:22 ` Conor Dooley 2024-02-29 8:54 ` Neil Armstrong 2024-02-29 17:54 ` Conor Dooley 2024-02-23 13:45 ` [PATCH 2/3] dt-bindings: display: simple: add support for Crystal Clear CMT430B19N00 Jérémie Dautheribes 2024-02-23 18:23 ` Conor Dooley 2024-02-23 13:45 ` [PATCH 3/3] drm/panel: simple: add CMT430B19N00 LCD panel support Jérémie Dautheribes 2024-02-26 8:22 ` Neil Armstrong 2024-02-26 21:30 ` Jessica Zhang
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).