* [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add PrimeView
@ 2024-06-06 8:01 Primoz Fiser
2024-06-06 8:01 ` [PATCH v2 2/3] dt-bindings: display: simple: Add PrimeView PM070WL4 panel Primoz Fiser
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Primoz Fiser @ 2024-06-06 8:01 UTC (permalink / raw)
To: Jessica Zhang, Sam Ravnborg, Maarten Lankhorst, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner, Neil Armstrong,
Chris Morgan, Sebastian Reichel, Linus Walleij, dri-devel,
devicetree, linux-kernel
Cc: upstream
The Prime View International (PVI) is a LCD panel manufacturer.
Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
---
Changes in v2:
- fix subject line
- sort alphabetically
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 fbf47f0bacf1..69cedce51628 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -1160,6 +1160,8 @@ patternProperties:
description: PowerVR (deprecated, use img)
"^powkiddy,.*":
description: Powkiddy
+ "^primeview,.*":
+ description: Prime View International (PVI)
"^primux,.*":
description: Primux Trading, S.L.
"^probox2,.*":
--
2.25.1
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH v2 2/3] dt-bindings: display: simple: Add PrimeView PM070WL4 panel 2024-06-06 8:01 [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add PrimeView Primoz Fiser @ 2024-06-06 8:01 ` Primoz Fiser 2024-06-06 16:05 ` Conor Dooley 2024-06-06 8:01 ` [PATCH v2 3/3] drm/panel: simple: Add PrimeView PM070WL4 support Primoz Fiser ` (2 subsequent siblings) 3 siblings, 1 reply; 7+ messages in thread From: Primoz Fiser @ 2024-06-06 8:01 UTC (permalink / raw) To: Jessica Zhang, Sam Ravnborg, Maarten Lankhorst, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner, Neil Armstrong, Chris Morgan, Sebastian Reichel, Linus Walleij, dri-devel, devicetree, linux-kernel Cc: upstream Add PrimeView PM070WL4 7.0" 800x480 TFT LCD panel compatible string. Signed-off-by: Primoz Fiser <primoz.fiser@norik.com> --- Changes in v2: - sort alphabetically .../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 5067f5c0a272..4dedcfe8b5a3 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml @@ -280,6 +280,8 @@ properties: - powertip,ph128800t006-zhc01 # POWERTIP PH800480T013-IDF2 7.0" WVGA TFT LCD panel - powertip,ph800480t013-idf02 + # PrimeView PM070WL4 7.0" 800x480 TFT LCD panel + - primeview,pm070wl4 # QiaoDian XianShi Corporation 4"3 TFT LCD panel - qiaodian,qd43003c0-40 # Shenzhen QiShenglong Industrialist Co., Ltd. Gopher 2b 4.3" 480(RGB)x272 TFT LCD panel -- 2.25.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v2 2/3] dt-bindings: display: simple: Add PrimeView PM070WL4 panel 2024-06-06 8:01 ` [PATCH v2 2/3] dt-bindings: display: simple: Add PrimeView PM070WL4 panel Primoz Fiser @ 2024-06-06 16:05 ` Conor Dooley 0 siblings, 0 replies; 7+ messages in thread From: Conor Dooley @ 2024-06-06 16:05 UTC (permalink / raw) To: Primoz Fiser Cc: Jessica Zhang, Sam Ravnborg, Maarten Lankhorst, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner, Neil Armstrong, Chris Morgan, Sebastian Reichel, Linus Walleij, dri-devel, devicetree, linux-kernel, upstream [-- Attachment #1: Type: text/plain, Size: 250 bytes --] On Thu, Jun 06, 2024 at 10:01:03AM +0200, Primoz Fiser wrote: > Add PrimeView PM070WL4 7.0" 800x480 TFT LCD panel compatible string. > > Signed-off-by: Primoz Fiser <primoz.fiser@norik.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 228 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v2 3/3] drm/panel: simple: Add PrimeView PM070WL4 support 2024-06-06 8:01 [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add PrimeView Primoz Fiser 2024-06-06 8:01 ` [PATCH v2 2/3] dt-bindings: display: simple: Add PrimeView PM070WL4 panel Primoz Fiser @ 2024-06-06 8:01 ` Primoz Fiser 2024-06-06 8:51 ` Neil Armstrong 2024-06-06 16:05 ` [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add PrimeView Conor Dooley 2024-06-06 16:35 ` Neil Armstrong 3 siblings, 1 reply; 7+ messages in thread From: Primoz Fiser @ 2024-06-06 8:01 UTC (permalink / raw) To: Jessica Zhang, Sam Ravnborg, Maarten Lankhorst, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner, Neil Armstrong, Chris Morgan, Sebastian Reichel, Linus Walleij, dri-devel, devicetree, linux-kernel Cc: upstream Add support for PrimeView PM070WL4 7.0" (800x480) TFT-LCD panel. Datasheet can be found at [1]. [1] https://www.beyondinfinite.com/lcd/Library/Pvi/PM070WL4-V1.0.pdf Signed-off-by: Primoz Fiser <primoz.fiser@norik.com> --- Changes in v2: - sort alphabetically 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 dcb6d0b6ced0..80cca841db15 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -3567,6 +3567,32 @@ static const struct panel_desc powertip_ph800480t013_idf02 = { .connector_type = DRM_MODE_CONNECTOR_DPI, }; +static const struct drm_display_mode primeview_pm070wl4_mode = { + .clock = 32000, + .hdisplay = 800, + .hsync_start = 800 + 42, + .hsync_end = 800 + 42 + 128, + .htotal = 800 + 42 + 128 + 86, + .vdisplay = 480, + .vsync_start = 480 + 10, + .vsync_end = 480 + 10 + 2, + .vtotal = 480 + 10 + 2 + 33, + .flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC, +}; + +static const struct panel_desc primeview_pm070wl4 = { + .modes = &primeview_pm070wl4_mode, + .num_modes = 1, + .bpc = 6, + .size = { + .width = 152, + .height = 91, + }, + .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_SAMPLE_POSEDGE, + .bus_format = MEDIA_BUS_FMT_RGB666_1X18, + .connector_type = DRM_MODE_CONNECTOR_DPI, +}; + static const struct drm_display_mode qd43003c0_40_mode = { .clock = 9000, .hdisplay = 480, @@ -4725,6 +4751,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "powertip,ph800480t013-idf02", .data = &powertip_ph800480t013_idf02, + }, { + .compatible = "primeview,pm070wl4", + .data = &primeview_pm070wl4, }, { .compatible = "qiaodian,qd43003c0-40", .data = &qd43003c0_40, -- 2.25.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v2 3/3] drm/panel: simple: Add PrimeView PM070WL4 support 2024-06-06 8:01 ` [PATCH v2 3/3] drm/panel: simple: Add PrimeView PM070WL4 support Primoz Fiser @ 2024-06-06 8:51 ` Neil Armstrong 0 siblings, 0 replies; 7+ messages in thread From: Neil Armstrong @ 2024-06-06 8:51 UTC (permalink / raw) To: Primoz Fiser, Jessica Zhang, Sam Ravnborg, Maarten Lankhorst, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner, Chris Morgan, Sebastian Reichel, Linus Walleij, dri-devel, devicetree, linux-kernel Cc: upstream On 06/06/2024 10:01, Primoz Fiser wrote: > Add support for PrimeView PM070WL4 7.0" (800x480) TFT-LCD panel. > Datasheet can be found at [1]. > > [1] https://www.beyondinfinite.com/lcd/Library/Pvi/PM070WL4-V1.0.pdf > > Signed-off-by: Primoz Fiser <primoz.fiser@norik.com> > --- > Changes in v2: > - sort alphabetically > > 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 dcb6d0b6ced0..80cca841db15 100644 > --- a/drivers/gpu/drm/panel/panel-simple.c > +++ b/drivers/gpu/drm/panel/panel-simple.c > @@ -3567,6 +3567,32 @@ static const struct panel_desc powertip_ph800480t013_idf02 = { > .connector_type = DRM_MODE_CONNECTOR_DPI, > }; > > +static const struct drm_display_mode primeview_pm070wl4_mode = { > + .clock = 32000, > + .hdisplay = 800, > + .hsync_start = 800 + 42, > + .hsync_end = 800 + 42 + 128, > + .htotal = 800 + 42 + 128 + 86, > + .vdisplay = 480, > + .vsync_start = 480 + 10, > + .vsync_end = 480 + 10 + 2, > + .vtotal = 480 + 10 + 2 + 33, > + .flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC, > +}; > + > +static const struct panel_desc primeview_pm070wl4 = { > + .modes = &primeview_pm070wl4_mode, > + .num_modes = 1, > + .bpc = 6, > + .size = { > + .width = 152, > + .height = 91, > + }, > + .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_SAMPLE_POSEDGE, > + .bus_format = MEDIA_BUS_FMT_RGB666_1X18, > + .connector_type = DRM_MODE_CONNECTOR_DPI, > +}; > + > static const struct drm_display_mode qd43003c0_40_mode = { > .clock = 9000, > .hdisplay = 480, > @@ -4725,6 +4751,9 @@ static const struct of_device_id platform_of_match[] = { > }, { > .compatible = "powertip,ph800480t013-idf02", > .data = &powertip_ph800480t013_idf02, > + }, { > + .compatible = "primeview,pm070wl4", > + .data = &primeview_pm070wl4, > }, { > .compatible = "qiaodian,qd43003c0-40", > .data = &qd43003c0_40, Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add PrimeView 2024-06-06 8:01 [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add PrimeView Primoz Fiser 2024-06-06 8:01 ` [PATCH v2 2/3] dt-bindings: display: simple: Add PrimeView PM070WL4 panel Primoz Fiser 2024-06-06 8:01 ` [PATCH v2 3/3] drm/panel: simple: Add PrimeView PM070WL4 support Primoz Fiser @ 2024-06-06 16:05 ` Conor Dooley 2024-06-06 16:35 ` Neil Armstrong 3 siblings, 0 replies; 7+ messages in thread From: Conor Dooley @ 2024-06-06 16:05 UTC (permalink / raw) To: Primoz Fiser Cc: Jessica Zhang, Sam Ravnborg, Maarten Lankhorst, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner, Neil Armstrong, Chris Morgan, Sebastian Reichel, Linus Walleij, dri-devel, devicetree, linux-kernel, upstream [-- Attachment #1: Type: text/plain, Size: 245 bytes --] On Thu, Jun 06, 2024 at 10:01:02AM +0200, Primoz Fiser wrote: > The Prime View International (PVI) is a LCD panel manufacturer. > > Signed-off-by: Primoz Fiser <primoz.fiser@norik.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 228 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add PrimeView 2024-06-06 8:01 [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add PrimeView Primoz Fiser ` (2 preceding siblings ...) 2024-06-06 16:05 ` [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add PrimeView Conor Dooley @ 2024-06-06 16:35 ` Neil Armstrong 3 siblings, 0 replies; 7+ messages in thread From: Neil Armstrong @ 2024-06-06 16:35 UTC (permalink / raw) To: Jessica Zhang, Sam Ravnborg, Maarten Lankhorst, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner, Chris Morgan, Sebastian Reichel, Linus Walleij, dri-devel, devicetree, linux-kernel, Primoz Fiser Cc: upstream Hi, On Thu, 06 Jun 2024 10:01:02 +0200, Primoz Fiser wrote: > The Prime View International (PVI) is a LCD panel manufacturer. > > Thanks, Applied to https://gitlab.freedesktop.org/drm/misc/kernel.git (drm-misc-next) [1/3] dt-bindings: vendor-prefixes: Add PrimeView https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/3b37a419b710797138c31c0f41c2a7d8aa9f62cd [2/3] dt-bindings: display: simple: Add PrimeView PM070WL4 panel https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/d046611a6187379c19c58d928f342c6884fcbbe7 [3/3] drm/panel: simple: Add PrimeView PM070WL4 support https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/8d1330d24788e1e28f6939779391ce835f19fbd2 -- Neil ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-06-06 16:35 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-06-06 8:01 [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add PrimeView Primoz Fiser 2024-06-06 8:01 ` [PATCH v2 2/3] dt-bindings: display: simple: Add PrimeView PM070WL4 panel Primoz Fiser 2024-06-06 16:05 ` Conor Dooley 2024-06-06 8:01 ` [PATCH v2 3/3] drm/panel: simple: Add PrimeView PM070WL4 support Primoz Fiser 2024-06-06 8:51 ` Neil Armstrong 2024-06-06 16:05 ` [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add PrimeView Conor Dooley 2024-06-06 16:35 ` Neil Armstrong
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox