dt-bindings: vendor-prefixes: Add PrimeView
Subsystems (4)
PATCH v2 1/3 dt-bindings: vendor-prefixes: Add PrimeView
The Prime View International (PVI) is a LCD panel manufacturer.
---
Changes in v2:
- fix subject line
- sort alphabetically
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
@@ -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,.*":
Signature · 1 line
2.25.1
PATCH v2 2/3 dt-bindings: display: simple: Add PrimeView PM070WL4 panel
Add PrimeView PM070WL4 7.0" 800x480 TFT LCD panel compatible string.
---
Changes in v2:
- sort alphabetically
.../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/display/panel/panel-simple.yaml +2 -0
@@ -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
Signature · 1 line
2.25.1
Re: [PATCH v2 2/3] dt-bindings: display: simple: Add PrimeView PM070WL4 panel
Quoted 3 lines · Primoz Fiser
Add PrimeView PM070WL4 7.0" 800x480 TFT LCD panel compatible string.
Signed-off-by Primoz Fiser <[email protected]>
PATCH v2 3/3 drm/panel: simple: Add PrimeView PM070WL4 support
In reply to Primoz FiserAdd 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
---
Changes in v2:
- sort alphabetically
drivers/gpu/drm/panel/panel-simple.c | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +29 -0
@@ -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,
Signature · 1 line
2.25.1
Re: [PATCH v2 3/3] drm/panel: simple: Add PrimeView PM070WL4 support
Quoted 51 lines · Primoz Fiser
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 <[email protected]>---
Changes in v2:
- sort alphabeticallydrivers/gpu/drm/panel/panel-simple.c | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+)drivers/gpu/drm/panel/panel-simple.c +26
-0@@ -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 ,
drivers/gpu/drm/panel/panel-simple.c static const struct of_device_id platform_of_match[] = { · line 4759
Quoted 9 lines
drivers/gpu/drm/panel/panel-simple.c +3
-0@@ -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,
Quoted 3 lines · Primoz Fiser
The Prime View International (PVI) is a LCD panel manufacturer.
Signed-off-by Primoz Fiser <[email protected]>
Hi,
Quoted 3 lines · Primoz Fiser
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
Signature · 1 line
Neil