* [PATCH 0/2] Add support for Tianma TM070JDHG30 display
@ 2016-12-02 8:52 Gary Bisson
2016-12-02 8:52 ` [PATCH 1/2] of: Add vendor prefix for Tianma Micro-electronics Gary Bisson
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Gary Bisson @ 2016-12-02 8:52 UTC (permalink / raw)
To: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
Cc: thierry.reding-Re5JQEeQqe8AvxtiuMwx3w, airlied-cv59FeDIM0c,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, Gary Bisson
Hi all,
This series adds support for the Tianma TM070JDHG30 7" display (1280x800).
http://usa.tianma.com/products-technology/product/tm070jdhg30-00
https://boundarydevices.com/product/bd070lic2/
The first patch adds Tianma as a new vendor prefix whereas the second patch
adds the display to the simple panel driver.
Regards,
Gary
Gary Bisson (2):
of: Add vendor prefix for Tianma Micro-electronics
drm/panel: simple: Add support for Tianma TM070JDHG30
.../bindings/display/panel/tianma,tm070jdhg30.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/tianma,tm070jdhg30.txt
--
2.9.3
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread* [PATCH 1/2] of: Add vendor prefix for Tianma Micro-electronics 2016-12-02 8:52 [PATCH 0/2] Add support for Tianma TM070JDHG30 display Gary Bisson @ 2016-12-02 8:52 ` Gary Bisson 2016-12-09 18:12 ` Rob Herring 2016-12-02 8:52 ` [PATCH 2/2] drm/panel: simple: Add support for Tianma TM070JDHG30 Gary Bisson 2017-01-26 9:41 ` [PATCH 0/2] Add support for Tianma TM070JDHG30 display Thierry Reding 2 siblings, 1 reply; 6+ messages in thread From: Gary Bisson @ 2016-12-02 8:52 UTC (permalink / raw) To: dri-devel Cc: thierry.reding, airlied, robh+dt, devicetree, linux-kernel, Gary Bisson Tianma Micro-electronics Co., Ltd. (Tianma) specializes in providing display solutions and efficient support services worldwide. More info: http://en.tianma.com/about.shtml Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 163f84b..3d1ec68 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -291,6 +291,7 @@ technologic Technologic Systems terasic Terasic Inc. thine THine Electronics, Inc. ti Texas Instruments +tianma Tianma Micro-electronics Co., Ltd. tlm Trusted Logic Mobility topeet Topeet toradex Toradex AG -- 2.9.3 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] of: Add vendor prefix for Tianma Micro-electronics 2016-12-02 8:52 ` [PATCH 1/2] of: Add vendor prefix for Tianma Micro-electronics Gary Bisson @ 2016-12-09 18:12 ` Rob Herring 0 siblings, 0 replies; 6+ messages in thread From: Rob Herring @ 2016-12-09 18:12 UTC (permalink / raw) To: Gary Bisson; +Cc: devicetree, linux-kernel, dri-devel On Fri, Dec 02, 2016 at 09:52:07AM +0100, Gary Bisson wrote: > Tianma Micro-electronics Co., Ltd. (Tianma) specializes in providing > display solutions and efficient support services worldwide. > > More info: > http://en.tianma.com/about.shtml > > Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> > --- > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herring <robh@kernel.org> _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 2/2] drm/panel: simple: Add support for Tianma TM070JDHG30 2016-12-02 8:52 [PATCH 0/2] Add support for Tianma TM070JDHG30 display Gary Bisson 2016-12-02 8:52 ` [PATCH 1/2] of: Add vendor prefix for Tianma Micro-electronics Gary Bisson @ 2016-12-02 8:52 ` Gary Bisson 2016-12-09 18:14 ` Rob Herring 2017-01-26 9:41 ` [PATCH 0/2] Add support for Tianma TM070JDHG30 display Thierry Reding 2 siblings, 1 reply; 6+ messages in thread From: Gary Bisson @ 2016-12-02 8:52 UTC (permalink / raw) To: dri-devel; +Cc: devicetree, linux-kernel, robh+dt, Gary Bisson The Tianma TM070JDHG30 is a 7" LVDS display with a resolution of 1280x800. http://usa.tianma.com/products-technology/product/tm070jdhg30-00 You can also find this product along with a FT5x06 touch controller from Boundary Devices: https://boundarydevices.com/product/bd070lic2/ Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> --- .../bindings/display/panel/tianma,tm070jdhg30.txt | 7 ++++++ drivers/gpu/drm/panel/panel-simple.c | 27 ++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/tianma,tm070jdhg30.txt diff --git a/Documentation/devicetree/bindings/display/panel/tianma,tm070jdhg30.txt b/Documentation/devicetree/bindings/display/panel/tianma,tm070jdhg30.txt new file mode 100644 index 0000000..eb9501a --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/tianma,tm070jdhg30.txt @@ -0,0 +1,7 @@ +Tianma Micro-electronics TM070JDHG30 7.0" WXGA TFT LCD panel + +Required properties: +- compatible: should be "tianma,tm070jdhg30" + +This binding is compatible with the simple-panel binding, which is specified +in simple-panel.txt in this directory. diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 113db3c..bc3dd46 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1471,6 +1471,30 @@ static const struct panel_desc starry_kr122ea0sra = { }, }; +static const struct display_timing tianma_tm070jdhg30_timing = { + .pixelclock = { 62600000, 68200000, 78100000 }, + .hactive = { 1280, 1280, 1280 }, + .hfront_porch = { 15, 64, 159 }, + .hback_porch = { 5, 5, 5 }, + .hsync_len = { 1, 1, 256 }, + .vactive = { 800, 800, 800 }, + .vfront_porch = { 3, 40, 99 }, + .vback_porch = { 2, 2, 2 }, + .vsync_len = { 1, 1, 128 }, + .flags = DISPLAY_FLAGS_DE_HIGH, +}; + +static const struct panel_desc tianma_tm070jdhg30 = { + .timings = &tianma_tm070jdhg30_timing, + .num_timings = 1, + .bpc = 8, + .size = { + .width = 151, + .height = 95, + }, + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, +}; + static const struct drm_display_mode tpk_f07a_0102_mode = { .clock = 33260, .hdisplay = 800, @@ -1689,6 +1713,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "starry,kr122ea0sra", .data = &starry_kr122ea0sra, }, { + .compatible = "tianma,tm070jdhg30", + .data = &tianma_tm070jdhg30, + }, { .compatible = "tpk,f07a-0102", .data = &tpk_f07a_0102, }, { -- 2.9.3 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] drm/panel: simple: Add support for Tianma TM070JDHG30 2016-12-02 8:52 ` [PATCH 2/2] drm/panel: simple: Add support for Tianma TM070JDHG30 Gary Bisson @ 2016-12-09 18:14 ` Rob Herring 0 siblings, 0 replies; 6+ messages in thread From: Rob Herring @ 2016-12-09 18:14 UTC (permalink / raw) To: Gary Bisson; +Cc: devicetree, linux-kernel, dri-devel On Fri, Dec 02, 2016 at 09:52:08AM +0100, Gary Bisson wrote: > The Tianma TM070JDHG30 is a 7" LVDS display with a resolution of > 1280x800. > http://usa.tianma.com/products-technology/product/tm070jdhg30-00 > > You can also find this product along with a FT5x06 touch controller > from Boundary Devices: > https://boundarydevices.com/product/bd070lic2/ > > Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> > --- > .../bindings/display/panel/tianma,tm070jdhg30.txt | 7 ++++++ Acked-by: Rob Herring <robh@kernel.org> > drivers/gpu/drm/panel/panel-simple.c | 27 ++++++++++++++++++++++ > 2 files changed, 34 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/panel/tianma,tm070jdhg30.txt _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/2] Add support for Tianma TM070JDHG30 display 2016-12-02 8:52 [PATCH 0/2] Add support for Tianma TM070JDHG30 display Gary Bisson 2016-12-02 8:52 ` [PATCH 1/2] of: Add vendor prefix for Tianma Micro-electronics Gary Bisson 2016-12-02 8:52 ` [PATCH 2/2] drm/panel: simple: Add support for Tianma TM070JDHG30 Gary Bisson @ 2017-01-26 9:41 ` Thierry Reding 2 siblings, 0 replies; 6+ messages in thread From: Thierry Reding @ 2017-01-26 9:41 UTC (permalink / raw) To: Gary Bisson; +Cc: devicetree, robh+dt, linux-kernel, dri-devel [-- Attachment #1.1: Type: text/plain, Size: 959 bytes --] On Fri, Dec 02, 2016 at 09:52:06AM +0100, Gary Bisson wrote: > Hi all, > > This series adds support for the Tianma TM070JDHG30 7" display (1280x800). > http://usa.tianma.com/products-technology/product/tm070jdhg30-00 > https://boundarydevices.com/product/bd070lic2/ > > The first patch adds Tianma as a new vendor prefix whereas the second patch > adds the display to the simple panel driver. > > Regards, > Gary > > Gary Bisson (2): > of: Add vendor prefix for Tianma Micro-electronics > drm/panel: simple: Add support for Tianma TM070JDHG30 > > .../bindings/display/panel/tianma,tm070jdhg30.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/tianma,tm070jdhg30.txt Both patches applied, thanks. Thierry [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] [-- Attachment #2: Type: text/plain, Size: 160 bytes --] _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-01-26 9:41 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-12-02 8:52 [PATCH 0/2] Add support for Tianma TM070JDHG30 display Gary Bisson 2016-12-02 8:52 ` [PATCH 1/2] of: Add vendor prefix for Tianma Micro-electronics Gary Bisson 2016-12-09 18:12 ` Rob Herring 2016-12-02 8:52 ` [PATCH 2/2] drm/panel: simple: Add support for Tianma TM070JDHG30 Gary Bisson 2016-12-09 18:14 ` Rob Herring 2017-01-26 9:41 ` [PATCH 0/2] Add support for Tianma TM070JDHG30 display Thierry Reding
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).