The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH 1/3] dt-bindings: Add vendor prefix for PrimeView
@ 2024-06-06  7:28 Primoz Fiser
  2024-06-06  7:28 ` [PATCH 2/3] dt-bindings: display: simple: Add PrimeView PM070WL4 panel Primoz Fiser
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Primoz Fiser @ 2024-06-06  7:28 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>
---
 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..2bdfeaa3cc8f 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -1154,6 +1154,8 @@ patternProperties:
     description: Poslab Technology Co., Ltd.
   "^pov,.*":
     description: Point of View International B.V.
+  "^primeview,.*":
+    description: Prime View International (PVI)
   "^powertip,.*":
     description: Powertip Tech. Corp.
   "^powervr,.*":
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/3] dt-bindings: display: simple: Add PrimeView PM070WL4 panel
  2024-06-06  7:28 [PATCH 1/3] dt-bindings: Add vendor prefix for PrimeView Primoz Fiser
@ 2024-06-06  7:28 ` Primoz Fiser
  2024-06-06  7:38   ` Krzysztof Kozlowski
  2024-06-06  7:28 ` [PATCH 3/3] drm/panel: simple: Add PrimeView PM070WL4 support Primoz Fiser
  2024-06-06  7:39 ` [PATCH 1/3] dt-bindings: Add vendor prefix for PrimeView Krzysztof Kozlowski
  2 siblings, 1 reply; 6+ messages in thread
From: Primoz Fiser @ 2024-06-06  7:28 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>
---
 .../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..671da4991a5d 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
@@ -276,6 +276,8 @@ properties:
       - osddisplays,osd070t1718-19ts
         # One Stop Displays OSD101T2045-53TS 10.1" 1920x1200 panel
       - osddisplays,osd101t2045-53ts
+        # PrimeView PM070WL4 7.0" 800x480 TFT LCD panel
+      - primeview,pm070wl4
         # POWERTIP PH128800T006-ZHC01 10.1" WXGA TFT LCD panel
       - powertip,ph128800t006-zhc01
         # POWERTIP PH800480T013-IDF2 7.0" WVGA TFT LCD panel
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 3/3] drm/panel: simple: Add PrimeView PM070WL4 support
  2024-06-06  7:28 [PATCH 1/3] dt-bindings: Add vendor prefix for PrimeView Primoz Fiser
  2024-06-06  7:28 ` [PATCH 2/3] dt-bindings: display: simple: Add PrimeView PM070WL4 panel Primoz Fiser
@ 2024-06-06  7:28 ` Primoz Fiser
  2024-06-17  8:40   ` Linus Walleij
  2024-06-06  7:39 ` [PATCH 1/3] dt-bindings: Add vendor prefix for PrimeView Krzysztof Kozlowski
  2 siblings, 1 reply; 6+ messages in thread
From: Primoz Fiser @ 2024-06-06  7:28 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>
---
 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..ea1a7ba3a5b6 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -3513,6 +3513,32 @@ static const struct panel_desc pda_91_00156_a0  = {
 	.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
 };
 
+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 powertip_ph128800t006_zhc01_mode = {
 	.clock = 66500,
 	.hdisplay = 1280,
@@ -4719,6 +4745,9 @@ static const struct of_device_id platform_of_match[] = {
 	}, {
 		.compatible = "pda,91-00156-a0",
 		.data = &pda_91_00156_a0,
+	}, {
+		.compatible = "primeview,pm070wl4",
+		.data = &primeview_pm070wl4,
 	}, {
 		.compatible = "powertip,ph128800t006-zhc01",
 		.data = &powertip_ph128800t006_zhc01,
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/3] dt-bindings: display: simple: Add PrimeView PM070WL4 panel
  2024-06-06  7:28 ` [PATCH 2/3] dt-bindings: display: simple: Add PrimeView PM070WL4 panel Primoz Fiser
@ 2024-06-06  7:38   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2024-06-06  7:38 UTC (permalink / raw)
  To: Primoz Fiser, 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

On 06/06/2024 09:28, Primoz Fiser wrote:
> Add PrimeView PM070WL4 7.0" 800x480 TFT LCD panel compatible string.
> 
> Signed-off-by: Primoz Fiser <primoz.fiser@norik.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 5067f5c0a272..671da4991a5d 100644
> --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
> @@ -276,6 +276,8 @@ properties:
>        - osddisplays,osd070t1718-19ts
>          # One Stop Displays OSD101T2045-53TS 10.1" 1920x1200 panel
>        - osddisplays,osd101t2045-53ts
> +        # PrimeView PM070WL4 7.0" 800x480 TFT LCD panel
> +      - primeview,pm070wl4

Keep things sorted.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/3] dt-bindings: Add vendor prefix for PrimeView
  2024-06-06  7:28 [PATCH 1/3] dt-bindings: Add vendor prefix for PrimeView Primoz Fiser
  2024-06-06  7:28 ` [PATCH 2/3] dt-bindings: display: simple: Add PrimeView PM070WL4 panel Primoz Fiser
  2024-06-06  7:28 ` [PATCH 3/3] drm/panel: simple: Add PrimeView PM070WL4 support Primoz Fiser
@ 2024-06-06  7:39 ` Krzysztof Kozlowski
  2 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2024-06-06  7:39 UTC (permalink / raw)
  To: Primoz Fiser, 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

On 06/06/2024 09:28, Primoz Fiser wrote:
> The Prime View International (PVI) is a LCD panel manufacturer.
> 

Please use subject prefixes matching the subsystem. You can get them for
example with `git log --oneline -- DIRECTORY_OR_FILE` on the directory
your patch is touching. For bindings, the preferred subjects are
explained here:
https://www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html#i-for-patch-submitters

dt-bindings: vendor-prefixes:

> Signed-off-by: Primoz Fiser <primoz.fiser@norik.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 fbf47f0bacf1..2bdfeaa3cc8f 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> @@ -1154,6 +1154,8 @@ patternProperties:
>      description: Poslab Technology Co., Ltd.
>    "^pov,.*":
>      description: Point of View International B.V.
> +  "^primeview,.*":
> +    description: Prime View International (PVI)

Keep things sorted.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 3/3] drm/panel: simple: Add PrimeView PM070WL4 support
  2024-06-06  7:28 ` [PATCH 3/3] drm/panel: simple: Add PrimeView PM070WL4 support Primoz Fiser
@ 2024-06-17  8:40   ` Linus Walleij
  0 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2024-06-17  8:40 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, dri-devel, devicetree,
	linux-kernel, upstream

On Thu, Jun 6, 2024 at 9:28 AM Primoz Fiser <primoz.fiser@norik.com> 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>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-06-17  8:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-06  7:28 [PATCH 1/3] dt-bindings: Add vendor prefix for PrimeView Primoz Fiser
2024-06-06  7:28 ` [PATCH 2/3] dt-bindings: display: simple: Add PrimeView PM070WL4 panel Primoz Fiser
2024-06-06  7:38   ` Krzysztof Kozlowski
2024-06-06  7:28 ` [PATCH 3/3] drm/panel: simple: Add PrimeView PM070WL4 support Primoz Fiser
2024-06-17  8:40   ` Linus Walleij
2024-06-06  7:39 ` [PATCH 1/3] dt-bindings: Add vendor prefix for PrimeView Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox