drm/panel: Add display timing for Okaya RS800480T-7X0GP
Subsystems (4)
PATCH 1/1 drm/panel: Add display timing for Okaya RS800480T-7X0GP
Add support for the Okaya RS800480T-7X0GP to the DRM simple panel driver.
The RS800480T-7X0GP is a WVGA (800x480) panel with an 18-bit parallel LCD interface. It supports pixel clocks in the range of 30-40 MHz.
This panel details can be found at:
http://boundarydevices.com/product/7-800x480-display/
---
Hi all,
This patch is the follow-up of a request from Philipp to add the Okaya display to the simple panel driver.
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-May/346657.html
Regards,
Gary
--- .../bindings/panel/okaya,rs800480t_7x0gp.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/panel/okaya,rs800480t_7x0gp.txt
Documentation/devicetree/bindings/panel/okaya,rs800480t_7x0gp.txt new file +7 -0
@@ -0,0 +1,7 @@ +OKAYA Electric America, Inc. RS800480T-7X0GP 7" WVGA LCD panel + +Required properties: +- compatible: should be "okaya,rs800480t_7x0gp" + +This binding is compatible with the simple-panel binding, which is specified +in simple-panel.txt in this directory.
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -0
@@ -145,6 +145,7 @@ nintendo Nintendo nokia Nokia nvidia NVIDIA nxp NXP Semiconductors +okaya OKAYA Electric America, Inc. onnn ON Semiconductor Corp. opencores OpenCores.org ortustech Ortus Technology Co., Ltd.
drivers/gpu/drm/panel/panel-simple.c +27 -0
@@ -942,6 +942,30 @@ static const struct panel_desc lg_lp129qe = { }, }; +static const struct display_timing okaya_rs800480t_7x0gp_timing = { + .pixelclock = {30000000 ,30000000 ,40000000 }, + .hactive = {800 ,800 ,800 }, + .hfront_porch = {40 ,40 ,40 }, + .hback_porch = {40 ,40 ,40 }, + .hsync_len = {1 ,48 ,48 }, + .vactive = {480 ,480 ,480 }, + .vfront_porch = {13 ,13 ,13 }, + .vback_porch = {29 ,29 ,29 }, + .vsync_len = {3 ,3 ,3 }, + .flags =DISPLAY_FLAGS_DE_HIGH , +}; + +static const struct panel_desc okaya_rs800480t_7x0gp = { + .timings = &okaya_rs800480t_7x0gp_timing, + .num_timings =1 , + .bpc =6 , + .size = { + .width =154 , + .height =87 , + }, + .bus_format =MEDIA_BUS_FMT_RGB666_1X18 , +}; +static const struct drm_display_mode ortustech_com43h4m85ulc_mode = { .clock =25000 , .hdisplay =480 ,
@@ -1112,6 +1136,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "lg,lp129qe", .data = &lg_lp129qe, }, { + .compatible = "okaya,rs800480t_7x0gp", + .data = &okaya_rs800480t_7x0gp, + }, { .compatible = "ortustech,com43h4m85ulc", .data = &ortustech_com43h4m85ulc, }, {
Signature · 6 lines
2.1.4 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 44 lines · Gary Bisson
Add support for the Okaya RS800480T-7X0GP to the DRM simple panel driver.
The RS800480T-7X0GP is a WVGA (800x480) panel with an 18-bit parallel LCD interface. It supports pixel clocks in the range of 30-40 MHz.
This panel details can be found at:
http://boundarydevices.com/product/7-800x480-display/Signed-off-by Gary Bisson <[email protected]>---
Hi all,This patch is the follow-up of a request from Philipp to add the Okaya display to the simple panel driver.
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-May/346657.htmlRegards,
Gary--- .../bindings/panel/okaya,rs800480t_7x0gp.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/panel/okaya,rs800480t_7x0gp.txtDocumentation/devicetree/bindings/panel/okaya,rs800480t_7x0gp.txt new file +7
-0@@ -0,0 +1,7 @@ +OKAYA Electric America, Inc. RS800480T-7X0GP 7" WVGA LCD panel + +Required properties: +- compatible: should be "okaya,rs800480t_7x0gp" + +This binding is compatible with the simple-panel binding, which is specified +in simple-panel.txt in this directory.Documentation/devicetree/bindings/vendor-prefixes.txt +0
-0
Documentation/devicetree/bindings/vendor-prefixes.txt nintendo Nintendo · line 151
Quoted 7 lines
Documentation/devicetree/bindings/vendor-prefixes.txt +1
-0@@ -145,6 +145,7 @@ nintendo Nintendo nokia Nokia nvidia NVIDIA nxp NXP Semiconductors +okaya OKAYA Electric America, Inc. onnn ON Semiconductor Corp. opencores OpenCores.org ortustech Ortus Technology Co., Ltd.
Can you split this change into a separate patch? It needs an Acked-by from one of the device tree binding maintainers, so make sure to Cc them when you repost. scripts/get_maintainer.pl will list them for you.
Documentation/devicetree/bindings/vendor-prefixes.txt
Quoted 10 lines
Documentation/devicetree/bindings/vendor-prefixes.txt +10
-0+static const struct display_timing okaya_rs800480t_7x0gp_timing = { + .pixelclock = { 30000000, 30000000, 40000000 }, + .hactive = { 800, 800, 800 }, + .hfront_porch = { 40, 40, 40 }, + .hback_porch = { 40, 40, 40 }, + .hsync_len = { 1, 48, 48 }, + .vactive = { 480, 480, 480 }, + .vfront_porch = { 13, 13, 13 }, + .vback_porch = { 29, 29, 29 }, + .vsync_len = { 3, 3, 3 },
It strikes me as odd that the porches and VSYNC width should be fixed for the panel. Is this really the case?
Thierry
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Thierry, All,
Quoted 48 lines · Thierry Reding
Quoted 47 lines · Gary Bisson
Add support for the Okaya RS800480T-7X0GP to the DRM simple panel driver.
The RS800480T-7X0GP is a WVGA (800x480) panel with an 18-bit parallel LCD interface. It supports pixel clocks in the range of 30-40 MHz.
This panel details can be found at:
http://boundarydevices.com/product/7-800x480-display/Signed-off-by Gary Bisson <[email protected]>---
Hi all,This patch is the follow-up of a request from Philipp to add the Okaya display to the simple panel driver.
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-May/346657.htmlRegards,
Gary--- .../bindings/panel/okaya,rs800480t_7x0gp.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/panel/okaya,rs800480t_7x0gp.txtDocumentation/devicetree/bindings/panel/okaya,rs800480t_7x0gp.txt new file +7
-0@@ -0,0 +1,7 @@ +OKAYA Electric America, Inc. RS800480T-7X0GP 7" WVGA LCD panel + +Required properties: +- compatible: should be "okaya,rs800480t_7x0gp" + +This binding is compatible with the simple-panel binding, which is specified +in simple-panel.txt in this directory.Documentation/devicetree/bindings/vendor-prefixes.txt +0
-0@@ -145,6 +145,7 @@ nintendo Nintendo nokia Nokia nvidia NVIDIA nxp NXP Semiconductors
Quoted 8 lines
Documentation/devicetree/bindings/vendor-prefixes.txt nintendo Nintendo · line 151
Quoted 4 lines
Documentation/devicetree/bindings/vendor-prefixes.txt +1
-0+okaya OKAYA Electric America, Inc. onnn ON Semiconductor Corp. opencores OpenCores.org ortustech Ortus Technology Co., Ltd.Can you split this change into a separate patch? It needs an Acked-by from one of the device tree binding maintainers, so make sure to Cc them when you repost.
scripts/get_maintainer.plwill list them for you.
Sure, will do.
Quoted 11 lines
Documentation/devicetree/bindings/vendor-prefixes.txt
Quoted 10 lines
Documentation/devicetree/bindings/vendor-prefixes.txt +10
-0+static const struct display_timing okaya_rs800480t_7x0gp_timing = { + .pixelclock = { 30000000, 30000000, 40000000 }, + .hactive = { 800, 800, 800 }, + .hfront_porch = { 40, 40, 40 }, + .hback_porch = { 40, 40, 40 }, + .hsync_len = { 1, 48, 48 }, + .vactive = { 480, 480, 480 }, + .vfront_porch = { 13, 13, 13 }, + .vback_porch = { 29, 29, 29 }, + .vsync_len = { 3, 3, 3 },
Quoted 2 lines
It strikes me as odd that the porches and VSYNC width should be fixed for the panel. Is this really the case?
Well this is the values provided by Okaya. Here is a link to the datasheet, details are located in page 8:
http://boundarydevices.com/datasheets/RS800480T-7X0GP-A.pdf
Thanks for the feedback,
Gary
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 73 lines · Gary Bisson
Thierry, All,
Quoted 48 lines · Thierry Reding
Quoted 47 lines · Gary Bisson
Add support for the Okaya RS800480T-7X0GP to the DRM simple panel driver.
The RS800480T-7X0GP is a WVGA (800x480) panel with an 18-bit parallel LCD interface. It supports pixel clocks in the range of 30-40 MHz.
This panel details can be found at:
http://boundarydevices.com/product/7-800x480-display/Signed-off-by Gary Bisson <[email protected]>---
Hi all,This patch is the follow-up of a request from Philipp to add the Okaya display to the simple panel driver.
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-May/346657.htmlRegards,
Gary--- .../bindings/panel/okaya,rs800480t_7x0gp.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/panel/okaya,rs800480t_7x0gp.txtDocumentation/devicetree/bindings/panel/okaya,rs800480t_7x0gp.txt new file +7
-0@@ -0,0 +1,7 @@ +OKAYA Electric America, Inc. RS800480T-7X0GP 7" WVGA LCD panel + +Required properties: +- compatible: should be "okaya,rs800480t_7x0gp" + +This binding is compatible with the simple-panel binding, which is specified +in simple-panel.txt in this directory.Documentation/devicetree/bindings/vendor-prefixes.txt +0
-0@@ -145,6 +145,7 @@ nintendo Nintendo nokia Nokia nvidia NVIDIA nxp NXP SemiconductorsQuoted 8 lines
Documentation/devicetree/bindings/vendor-prefixes.txt nintendo Nintendo · line 151
Quoted 4 lines
Documentation/devicetree/bindings/vendor-prefixes.txt +1
-0+okaya OKAYA Electric America, Inc. onnn ON Semiconductor Corp. opencores OpenCores.org ortustech Ortus Technology Co., Ltd.Can you split this change into a separate patch? It needs an Acked-by from one of the device tree binding maintainers, so make sure to Cc them when you repost.
scripts/get_maintainer.plwill list them for you.Sure, will do.
Quoted 11 lines
Quoted 10 lines
Documentation/devicetree/bindings/vendor-prefixes.txt +10
-0+static const struct display_timing okaya_rs800480t_7x0gp_timing = { + .pixelclock = { 30000000, 30000000, 40000000 }, + .hactive = { 800, 800, 800 }, + .hfront_porch = { 40, 40, 40 }, + .hback_porch = { 40, 40, 40 }, + .hsync_len = { 1, 48, 48 }, + .vactive = { 480, 480, 480 }, + .vfront_porch = { 13, 13, 13 }, + .vback_porch = { 29, 29, 29 }, + .vsync_len = { 3, 3, 3 },
Quoted 6 lines
Quoted 2 lines
It strikes me as odd that the porches and VSYNC width should be fixed for the panel. Is this really the case?
Well this is the values provided by Okaya. Here is a link to the datasheet, details are located in page 8:
http://boundarydevices.com/datasheets/RS800480T-7X0GP-A.pdf
The way I read this the cells marked with - don't specify that a value is the same as typical but rather that nobody determined that value. It's unfortunate because it doesn't give us a good specification of the timings, but I would suspect that the panel operates perfectly fine if you use porches and sync pulse widths outside of the above range.
That said, I think it's fine to go with the above until we encounter display hardware that can't match these constraints.
Thierry
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
A message that is not in the archive (sent off-list or not yet received): 1432827466-8104-1-git-send-email-gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org
v2 cover Add display timing for Okaya RS800480T-7X0
Hi all,
This patch is the follow-up of a request from Philipp to add the Okaya display to the simple panel driver.
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-May/346657.html
v2:
- split into 2 patches, adding Okaya to the vendor prefixes should be its own patch as suggested by Thierry
https://patchwork.kernel.org/patch/6503261/
Regards,
Gary
Gary Bisson (2):
of: add Okaya Electric America vendor prefix drm/panel: Add display timing for Okaya RS800480T-7X0GP
.../bindings/panel/okaya,rs800480t_7x0gp.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/panel/okaya,rs800480t_7x0gp.txt
Signature · 6 lines
2.1.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 1433865599-8167-1-git-send-email-gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org
PATCH v2 1/2 of: add Okaya Electric America vendor prefix
This patch adds vendor prefix for Okaya Electronic America, a provider of LCD modules and display technologies.
--- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -0
@@ -148,6 +148,7 @@ nintendo Nintendo nokia Nokia nvidia NVIDIA nxp NXP Semiconductors +okaya Okaya Electric America, Inc. onnn ON Semiconductor Corp. opencores OpenCores.org ortustech Ortus Technology Co., Ltd.
Signature · 6 lines
2.1.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 1433865599-8167-2-git-send-email-gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org
Rob Herring
Acked-byRe: [PATCH v2 1/2] of: add Okaya Electric America vendor prefix
Quoted 4 lines · Gary Bisson
This patch adds vendor prefix for Okaya Electronic America, a provider of LCD modules and display technologies.
Signed-off-by Gary Bisson <[email protected]>
Quoted 17 lines
--- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/vendor-prefixes.txt +1
-1@@ -148,6 +148,7 @@ nintendo Nintendo nokia Nokia nvidia NVIDIA nxp NXP Semiconductors +okaya Okaya Electric America, Inc. onnn ON Semiconductor Corp. opencores OpenCores.org ortustech Ortus Technology Co., Ltd. --
Quoted 2 lines
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH v2 2/2 drm/panel: Add display timing for Okaya RS800480T-7X0GP
In reply to a message not in the archiveAdd support for the Okaya RS800480T-7X0GP to the DRM simple panel driver.
The RS800480T-7X0GP is a WVGA (800x480) panel with an 18-bit parallel LCD interface. It supports pixel clocks in the range of 30-40 MHz.
This panel details can be found at:
http://boundarydevices.com/product/7-800x480-display/
--- .../bindings/panel/okaya,rs800480t_7x0gp.txt | 7 ++++++ drivers/gpu/drm/panel/panel-simple.c | 27 ++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/panel/okaya,rs800480t_7x0gp.txt
Documentation/devicetree/bindings/panel/okaya,rs800480t_7x0gp.txt new file +7 -0
@@ -0,0 +1,7 @@ +OKAYA Electric America, Inc. RS800480T-7X0GP 7" WVGA LCD panel + +Required properties: +- compatible: should be "okaya,rs800480t_7x0gp" + +This binding is compatible with the simple-panel binding, which is specified +in simple-panel.txt in this directory.
drivers/gpu/drm/panel/panel-simple.c +27 -0
@@ -942,6 +942,30 @@ static const struct panel_desc lg_lp129qe = { }, }; +static const struct display_timing okaya_rs800480t_7x0gp_timing = { + .pixelclock = {30000000 ,30000000 ,40000000 }, + .hactive = {800 ,800 ,800 }, + .hfront_porch = {40 ,40 ,40 }, + .hback_porch = {40 ,40 ,40 }, + .hsync_len = {1 ,48 ,48 }, + .vactive = {480 ,480 ,480 }, + .vfront_porch = {13 ,13 ,13 }, + .vback_porch = {29 ,29 ,29 }, + .vsync_len = {3 ,3 ,3 }, + .flags =DISPLAY_FLAGS_DE_HIGH , +}; + +static const struct panel_desc okaya_rs800480t_7x0gp = { + .timings = &okaya_rs800480t_7x0gp_timing, + .num_timings =1 , + .bpc =6 , + .size = { + .width =154 , + .height =87 , + }, + .bus_format =MEDIA_BUS_FMT_RGB666_1X18 , +}; +static const struct drm_display_mode ortustech_com43h4m85ulc_mode = { .clock =25000 , .hdisplay =480 ,
@@ -1112,6 +1136,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "lg,lp129qe", .data = &lg_lp129qe, }, { + .compatible = "okaya,rs800480t_7x0gp", + .data = &okaya_rs800480t_7x0gp, + }, { .compatible = "ortustech,com43h4m85ulc", .data = &ortustech_com43h4m85ulc, }, {
Signature · 6 lines
2.1.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Gary,
Am Dienstag, den 09.06.2015, 17:59 +0200 schrieb Gary Bisson:
Quoted 48 lines
Add support for the Okaya RS800480T-7X0GP to the DRM simple panel driver.
The RS800480T-7X0GP is a WVGA (800x480) panel with an 18-bit parallel LCD interface. It supports pixel clocks in the range of 30-40 MHz.
This panel details can be found at:
http://boundarydevices.com/product/7-800x480-display/Signed-off-by Gary Bisson <[email protected]>--- .../bindings/panel/okaya,rs800480t_7x0gp.txt | 7 ++++++ drivers/gpu/drm/panel/panel-simple.c | 27 ++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/panel/okaya,rs800480t_7x0gp.txtDocumentation/devicetree/bindings/panel/okaya,rs800480t_7x0gp.txt new file +7
-0@@ -0,0 +1,7 @@ +OKAYA Electric America, Inc. RS800480T-7X0GP 7" WVGA LCD panel + +Required properties: +- compatible: should be "okaya,rs800480t_7x0gp" + +This binding is compatible with the simple-panel binding, which is specified +in simple-panel.txt in this directory.drivers/gpu/drm/panel/panel-simple.c +11
-0@@ -942,6 +942,30 @@ static const struct panel_desc lg_lp129qe = { }, }; +static const struct display_timing okaya_rs800480t_7x0gp_timing = { + .pixelclock = {30000000 ,30000000 ,40000000 }, + .hactive = {800 ,800 ,800 }, + .hfront_porch = {40 ,40 ,40 }, + .hback_porch = {40 ,40 ,40 }, + .hsync_len = {1 ,48 ,48 }, + .vactive = {480 ,480 ,480 }, + .vfront_porch = {13 ,13 ,13 }, + .vback_porch = {29 ,29 ,29 }, + .vsync_len = {3 ,3 ,3 }, + .flags =DISPLAY_FLAGS_DE_HIGH ,
drivers/gpu/drm/panel/panel-simple.c static const struct panel_desc lg_lp129qe = { · line 965
Quoted 10 lines
drivers/gpu/drm/panel/panel-simple.c +10
-0+}; + +static const struct panel_desc okaya_rs800480t_7x0gp = { + .timings = &okaya_rs800480t_7x0gp_timing, + .num_timings =1 , + .bpc =6 , + .size = { + .width =154 , + .height =87 , + },
Are there any poweron/poweroff sequencing delays in the datasheet that should be met? Parallel displays often specify a few ms delay after the voltage supply is stable and before pixel data should be driven on the bus (.delay.prepare), as well as afterwards, before activating the backlight (.delay.enable).
regards
Philipp
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Philipp,
Quoted 59 lines · Philipp Zabel
Hi Gary,
Am Dienstag, den 09.06.2015, 17:59 +0200 schrieb Gary Bisson:
Quoted 56 lines
Add support for the Okaya RS800480T-7X0GP to the DRM simple panel driver.
The RS800480T-7X0GP is a WVGA (800x480) panel with an 18-bit parallel LCD interface. It supports pixel clocks in the range of 30-40 MHz.
This panel details can be found at:
http://boundarydevices.com/product/7-800x480-display/Signed-off-by Gary Bisson <[email protected]>--- .../bindings/panel/okaya,rs800480t_7x0gp.txt | 7 ++++++ drivers/gpu/drm/panel/panel-simple.c | 27 ++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/panel/okaya,rs800480t_7x0gp.txtDocumentation/devicetree/bindings/panel/okaya,rs800480t_7x0gp.txt new file +7
-0@@ -0,0 +1,7 @@ +OKAYA Electric America, Inc. RS800480T-7X0GP 7" WVGA LCD panel + +Required properties: +- compatible: should be "okaya,rs800480t_7x0gp" + +This binding is compatible with the simple-panel binding, which is specified +in simple-panel.txt in this directory.drivers/gpu/drm/panel/panel-simple.c +19
-0@@ -942,6 +942,30 @@ static const struct panel_desc lg_lp129qe = { }, }; +static const struct display_timing okaya_rs800480t_7x0gp_timing = { + .pixelclock = {30000000 ,30000000 ,40000000 }, + .hactive = {800 ,800 ,800 }, + .hfront_porch = {40 ,40 ,40 }, + .hback_porch = {40 ,40 ,40 }, + .hsync_len = {1 ,48 ,48 }, + .vactive = {480 ,480 ,480 }, + .vfront_porch = {13 ,13 ,13 }, + .vback_porch = {29 ,29 ,29 }, + .vsync_len = {3 ,3 ,3 }, + .flags =DISPLAY_FLAGS_DE_HIGH , +}; + +static const struct panel_desc okaya_rs800480t_7x0gp = { + .timings = &okaya_rs800480t_7x0gp_timing, + .num_timings =1 , + .bpc =6 , + .size = { + .width =154 ,
Quoted 8 lines
drivers/gpu/drm/panel/panel-simple.c static const struct panel_desc lg_lp129qe = { · line 965
Quoted 2 lines
drivers/gpu/drm/panel/panel-simple.c +2
-0+ .height = 87, + },Are there any poweron/poweroff sequencing delays in the datasheet that should be met? Parallel displays often specify a few ms delay after the voltage supply is stable and before pixel data should be driven on the bus (.delay.prepare), as well as afterwards, before activating the backlight (.delay.enable).
You are right I forgot to add those delays. I will submit a v3.
That gives prepare = unprepare = 40.5ms (rounded up to 41) and enable = disable = 50ms based on the values provided at page 6/20 of the following doc:
http://boundarydevices.com/datasheets/RS800480T-7X0GP-A.pdf
Regards,
Gary
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
v3 cover Add display timing for Okaya RS800480T-7X0
In reply to a message not in the archiveHi all,
This patch is the follow-up of a request from Philipp to add the Okaya display to the simple panel driver.
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-May/346657.html
v2:
- split into 2 patches, adding Okaya to the vendor prefixes should be its own patch as suggested by Thierry
https://patchwork.kernel.org/patch/6503261/
v3:
- add poweron/poweroff sequencing delays as suggested by Philipp. Values are based on datasheet available at:
http://boundarydevices.com/datasheets/RS800480T-7X0GP-A.pdf
Regards,
Gary
Gary Bisson (2):
of: add Okaya Electric America vendor prefix drm/panel: Add display timing for Okaya RS800480T-7X0GP
.../bindings/panel/okaya,rs800480t_7x0gp.txt | 7 +++++ .../devicetree/bindings/vendor-prefixes.txt | 1 + drivers/gpu/drm/panel/panel-simple.c | 33 ++++++++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/panel/okaya,rs800480t_7x0gp.txt
Signature · 6 lines
2.1.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 1433954663-31444-1-git-send-email-gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org
PATCH v3 1/2 of: add Okaya Electric America vendor prefix
This patch adds vendor prefix for Okaya Electronic America, a provider of LCD modules and display technologies.
--- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -0
@@ -148,6 +148,7 @@ nintendo Nintendo nokia Nokia nvidia NVIDIA nxp NXP Semiconductors +okaya Okaya Electric America, Inc. onnn ON Semiconductor Corp. opencores OpenCores.org ortustech Ortus Technology Co., Ltd.
Signature · 6 lines
2.1.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Thierry Reding
AppliedRe: [PATCH v3 1/2] of: add Okaya Electric America vendor prefix
Quoted 7 lines · Gary Bisson
This patch adds vendor prefix for Okaya Electronic America, a provider of LCD modules and display technologies.
Signed-off-by Gary Bisson <[email protected]>--- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+)
Applied, thanks.
Thierry
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH v3 2/2 drm/panel: Add display timing for Okaya RS800480T-7X0GP
In reply to a message not in the archiveAdd support for the Okaya RS800480T-7X0GP to the DRM simple panel driver.
The RS800480T-7X0GP is a WVGA (800x480) panel with an 18-bit parallel LCD interface. It supports pixel clocks in the range of 30-40 MHz.
This panel details can be found at:
http://boundarydevices.com/product/7-800x480-display/
--- .../bindings/panel/okaya,rs800480t_7x0gp.txt | 7 +++++ drivers/gpu/drm/panel/panel-simple.c | 33 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/panel/okaya,rs800480t_7x0gp.txt
Documentation/devicetree/bindings/panel/okaya,rs800480t_7x0gp.txt new file +7 -0
@@ -0,0 +1,7 @@ +OKAYA Electric America, Inc. RS800480T-7X0GP 7" WVGA LCD panel + +Required properties: +- compatible: should be "okaya,rs800480t_7x0gp" + +This binding is compatible with the simple-panel binding, which is specified +in simple-panel.txt in this directory.
drivers/gpu/drm/panel/panel-simple.c +33 -0
@@ -943,6 +943,36 @@ static const struct panel_desc lg_lp129qe = { }, }; +static const struct display_timing okaya_rs800480t_7x0gp_timing = { + .pixelclock = {30000000 ,30000000 ,40000000 }, + .hactive = {800 ,800 ,800 }, + .hfront_porch = {40 ,40 ,40 }, + .hback_porch = {40 ,40 ,40 }, + .hsync_len = {1 ,48 ,48 }, + .vactive = {480 ,480 ,480 }, + .vfront_porch = {13 ,13 ,13 }, + .vback_porch = {29 ,29 ,29 }, + .vsync_len = {3 ,3 ,3 }, + .flags =DISPLAY_FLAGS_DE_HIGH , +}; + +static const struct panel_desc okaya_rs800480t_7x0gp = { + .timings = &okaya_rs800480t_7x0gp_timing, + .num_timings =1 , + .bpc =6 , + .size = { + .width =154 , + .height =87 , + }, + .delay = { + .prepare =41 , + .enable =50 , + .unprepare =41 , + .disable =50 , + }, + .bus_format =MEDIA_BUS_FMT_RGB666_1X18 , +}; +static const struct drm_display_mode ortustech_com43h4m85ulc_mode = { .clock =25000 , .hdisplay =480 ,
@@ -1113,6 +1143,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "lg,lp129qe", .data = &lg_lp129qe, }, { + .compatible = "okaya,rs800480t_7x0gp", + .data = &okaya_rs800480t_7x0gp, + }, { .compatible = "ortustech,com43h4m85ulc", .data = &ortustech_com43h4m85ulc, }, {
Signature · 6 lines
2.1.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 22 lines · Gary Bisson
Add support for the Okaya RS800480T-7X0GP to the DRM simple panel driver.
The RS800480T-7X0GP is a WVGA (800x480) panel with an 18-bit parallel LCD interface. It supports pixel clocks in the range of 30-40 MHz.
This panel details can be found at:
http://boundarydevices.com/product/7-800x480-display/Signed-off-by Gary Bisson <[email protected]>--- .../bindings/panel/okaya,rs800480t_7x0gp.txt | 7 +++++ drivers/gpu/drm/panel/panel-simple.c | 33 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/panel/okaya,rs800480t_7x0gp.txtDocumentation/devicetree/bindings/panel/okaya,rs800480t_7x0gp.txt new file +0
-0
Documentation/devicetree/bindings/panel/okaya,rs800480t_7x0gp.txt line 4
Quoted 4 lines
Documentation/devicetree/bindings/panel/okaya,rs800480t_7x0gp.txt new file +4
-0@@ -0,0 +1,7 @@ +OKAYA Electric America, Inc. RS800480T-7X0GP 7" WVGA LCD panel + +Required properties: +- compatible: should be "okaya,rs800480t_7x0gp"
Underscores are not typically used in compatible strings, so I've changed this to "okaya,rs800480t-7x0gp".
Thierry
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi Thierry,
Quoted 17 lines · Thierry Reding
Quoted 16 lines · Gary Bisson
Add support for the Okaya RS800480T-7X0GP to the DRM simple panel driver.
The RS800480T-7X0GP is a WVGA (800x480) panel with an 18-bit parallel LCD interface. It supports pixel clocks in the range of 30-40 MHz.
This panel details can be found at:
http://boundarydevices.com/product/7-800x480-display/Signed-off-by Gary Bisson <[email protected]>--- .../bindings/panel/okaya,rs800480t_7x0gp.txt | 7 +++++ drivers/gpu/drm/panel/panel-simple.c | 33 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/panel/okaya,rs800480t_7x0gp.txt
Quoted 13 lines
Documentation/devicetree/bindings/panel/okaya,rs800480t_7x0gp.txt line 4
Quoted 10 lines
Documentation/devicetree/bindings/panel/okaya,rs800480t_7x0gp.txt new file +4
-0@@ -0,0 +1,7 @@ +OKAYA Electric America, Inc. RS800480T-7X0GP 7" WVGA LCD panel + +Required properties: +- compatible: should be "okaya,rs800480t_7x0gp"Underscores are not typically used in compatible strings, so I've changed this to "okaya,rs800480t-7x0gp".
Thanks! I'll make sure not to use underscores for such names in the future.
Regards,
Gary
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH v3 0/2] Add display timing for Okaya RS800480T-7X0
In reply to a message not in the archiveHi all,
Quoted 11 lines · Gary Bisson
Hi all,
This patch is the follow-up of a request from Philipp to add the Okaya display to the simple panel driver.
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-May/346657.htmlv2:
- split into 2 patches, adding Okaya to the vendor prefixes should be its own patch as suggested by Thierry
https://patchwork.kernel.org/patch/6503261/
Quoted 4 lines
v3:
- add poweron/poweroff sequencing delays as suggested by Philipp. Values are based on datasheet available at:
http://boundarydevices.com/datasheets/RS800480T-7X0GP-A.pdf
Now that Philipp's change that fixes the drm_panel support in the parallel-display has been merged, would it be ok to merge the okaya timings?
http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=553a59fc
Regards,
Gary
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html