drm: Add panel support for PDA 91-00156-A0
Subsystems (4)
cover drm: Add panel support for PDA 91-00156-A0
Hello,
This patch series adds support for PDA (Precision Design Associates, Inc.) vendor, and for the PDA 91-00156-A0 simple panel, together with the bindings.
The series is on top of http://anongit.freedesktop.org/git/drm/drm.git drm-next branch.
Cristian Birsan (1):
dt-bindings: drm/panel: simple: add support for PDA 91-00156-A0
Eugen Hristev (2):
dt-bindings: add vendor prefix for PDA Precision Design Associates,
Inc.
drm/panel: simple: add support for PDA 91-00156-A0 panel
.../bindings/display/panel/pda,91-00156-a0.txt | 7 ++++++ .../devicetree/bindings/vendor-prefixes.txt | 1 + drivers/gpu/drm/panel/panel-simple.c | 27 ++++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.txt
Signature · 1 line
2.7.4
PATCH 1/3 dt-bindings: add vendor prefix for PDA Precision Design Associates, Inc.
Precision Design Associates, Inc. (PDA) manufactures standard and custom capacitive touch screens, LCD's embedded controllers and custom embedded software. They specialize in industrial, rugged and outdoor applications.
Website: http://www.pdaatl.com/
--- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -0
@@ -295,6 +295,7 @@ ovti OmniVision Technologies oxsemi Oxford Semiconductor, Ltd. panasonic Panasonic Corporation parade Parade Technologies Inc. +pda Precision Design Associates, Inc. pericom Pericom Technology Inc. pervasive Pervasive Displays, Inc. phytec PHYTEC Messtechnik GmbH
Signature · 1 line
2.7.4
PATCH 2/3 dt-bindings: drm/panel: simple: add support for PDA 91-00156-A0
In reply to [email protected]From: Cristian Birsan <[email protected]>
PDA 91-00156-A0 5.0 is a 5.0" WVGA TFT LCD panel.
This panel with backlight is found in PDA 5" LCD screen (TM5000 series or AC320005-5).
Adding Device Tree bindings for this panel.
--- .../devicetree/bindings/display/panel/pda,91-00156-a0.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.txt
Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.txt new file +7 -0
@@ -0,0 +1,7 @@ +PDA 91-00156-A0 5.0" WVGA TFT LCD panel + +Required properties: +- compatible: should be "pda,91-00156-a0" + +This binding is compatible with the simple-panel binding, which is specified +in simple-panel.txt in this directory.
Signature · 1 line
2.7.4
PATCH 3/3 drm/panel: simple: add support for PDA 91-00156-A0 panel
In reply to [email protected]PDA 91-00156-A0 5.0 is a 5.0" WVGA TFT LCD panel.
This panel with backlight is found in PDA 5" LCD screen (TM5000 series or AC320005-5).
--- drivers/gpu/drm/panel/panel-simple.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +27 -0
@@ -1984,6 +1984,30 @@ static const struct panel_desc ortustech_com43h4m85ulc = { .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_POSEDGE, }; +static const struct drm_display_mode pda_91_00156_a0_mode = { + .clock =33300 , + .hdisplay =800 , + .hsync_start =800 +1 , + .hsync_end =800 +1 +64 , + .htotal =800 +1 +64 +64 , + .vdisplay =480 , + .vsync_start =480 +1 , + .vsync_end =480 +1 +23 , + .vtotal =480 +1 +23 +22 , + .vrefresh =60 , +}; + +static const struct panel_desc pda_91_00156_a0 = { + .modes = &pda_91_00156_a0_mode, + .num_modes =1 , + .size = { + .width =152 , + .height =91 , + }, + .bus_format =MEDIA_BUS_FMT_RGB888_1X24 , +}; + +static const struct drm_display_mode qd43003c0_40_mode = { .clock =9000 , .hdisplay =480 ,
@@ -2659,6 +2683,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "ortustech,com43h4m85ulc", .data = &ortustech_com43h4m85ulc, }, { + .compatible = "pda,91-00156-a0", + .data = &pda_91_00156_a0, + }, { .compatible = "qiaodian,qd43003c0-40", .data = &qd43003c0_40, }, {
Signature · 1 line
2.7.4
Re: [PATCH 1/3] dt-bindings: add vendor prefix for PDA Precision Design Associates, Inc.
In reply to [email protected]Quoted 10 lines · On Wed, 21 Nov 2018 08:47:57 +0000, <[email protected]> wrote:
Precision Design Associates, Inc. (PDA) manufactures standard and custom capacitive touch screens, LCD's embedded controllers and custom embedded software. They specialize in industrial, rugged and outdoor applications.
Website: http://www.pdaatl.com/Signed-off-by Eugen Hristev <[email protected]>--- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+)
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Rob Herring
maintainerRe: [PATCH 2/3] dt-bindings: drm/panel: simple: add support for PDA 91-00156-A0
In reply to [email protected]Quoted 19 lines · On Wed, Nov 21, 2018 at 08:48:00AM +0000, [email protected] wrote:
From: Cristian Birsan <[email protected]>
PDA 91-00156-A0 5.0 is a 5.0" WVGA TFT LCD panel.
This panel with backlight is found in PDA 5" LCD screen (TM5000 series or AC320005-5).
Adding Device Tree bindings for this panel.Signed-off-by Cristian Birsan <[email protected]>--- .../devicetree/bindings/display/panel/pda,91-00156-a0.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.txtDocumentation/devicetree/bindings/display/panel/pda,91-00156-a0.txt new file +0
-0
Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.txt line 7
Quoted 7 lines
Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.txt new file +7
-0@@ -0,0 +1,7 @@ +PDA 91-00156-A0 5.0" WVGA TFT LCD panel + +Required properties: +- compatible: should be "pda,91-00156-a0" + +This binding is compatible with the simple-panel binding, which is specified +in simple-panel.txt in this directory.
You need to explicitly list what properties from this are used. Does this have a single supply or did you just forget to add supplies for example? I don't know.
Rob