* [PATCH v2] drm/panel: simple: Add support for Innolux AT070TN92 @ 2016-04-20 13:37 ` Boris Brezillon 0 siblings, 0 replies; 11+ messages in thread From: Boris Brezillon @ 2016-04-20 13:37 UTC (permalink / raw) To: linux-arm-kernel From: Riccardo Bortolato <bortolato@navaltechitalia.it> Add support for the Innolux AT070TN92 panel. Signed-off-by: Riccardo Bortolato <bortolato@navaltechitalia.it> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> --- Changes since v1: - Add missing SoB --- .../bindings/display/panel/innolux,at070tn92.txt | 7 ++++++ drivers/gpu/drm/panel/panel-simple.c | 26 ++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/innolux,at070tn92.txt diff --git a/Documentation/devicetree/bindings/display/panel/innolux,at070tn92.txt b/Documentation/devicetree/bindings/display/panel/innolux,at070tn92.txt new file mode 100644 index 0000000..3e10cd7 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/innolux,at070tn92.txt @@ -0,0 +1,7 @@ +Innolux AT070TN92 7.0" WQVGA TFT LCD panel + +Required properties: +- compatible: should be "innolux,at070tn92" + +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 3649eb0..d321c57 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -822,6 +822,29 @@ static const struct panel_desc innolux_at043tn24 = { .bus_format = MEDIA_BUS_FMT_RGB888_1X24, }; +static const struct drm_display_mode innolux_at070tn92_mode = { + .clock = 33333, + .hdisplay = 800, + .hsync_start = 800 + 210, + .hsync_end = 800 + 210 + 20, + .htotal = 800 + 210 + 20 + 46, + .vdisplay = 480, + .vsync_start = 480 + 22, + .vsync_end = 480 + 22 + 10, + .vtotal = 480 + 22 + 23 + 10, + .vrefresh = 60, +}; + +static const struct panel_desc innolux_at070tn92 = { + .modes = &innolux_at070tn92_mode, + .num_modes = 1, + .size = { + .width = 154, + .height = 86, + }, + .bus_format = MEDIA_BUS_FMT_RGB888_1X24, +}; + static const struct drm_display_mode innolux_g121i1_l01_mode = { .clock = 71000, .hdisplay = 1280, @@ -1362,6 +1385,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "innolux,at043tn24", .data = &innolux_at043tn24, }, { + .compatible = "innolux,at070tn92", + .data = &innolux_at070tn92, + }, { .compatible ="innolux,g121i1-l01", .data = &innolux_g121i1_l01 }, { -- 2.5.0 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH v2] drm/panel: simple: Add support for Innolux AT070TN92 @ 2016-04-20 13:37 ` Boris Brezillon 0 siblings, 0 replies; 11+ messages in thread From: Boris Brezillon @ 2016-04-20 13:37 UTC (permalink / raw) To: Thierry Reding, dri-devel Cc: David Airlie, Daniel Vetter, Nicolas Ferre, Jean-Christophe Plagniol-Villard, Alexandre Belloni, linux-arm-kernel, linux-kernel, Riccardo Bortolato, Boris Brezillon From: Riccardo Bortolato <bortolato@navaltechitalia.it> Add support for the Innolux AT070TN92 panel. Signed-off-by: Riccardo Bortolato <bortolato@navaltechitalia.it> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> --- Changes since v1: - Add missing SoB --- .../bindings/display/panel/innolux,at070tn92.txt | 7 ++++++ drivers/gpu/drm/panel/panel-simple.c | 26 ++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/innolux,at070tn92.txt diff --git a/Documentation/devicetree/bindings/display/panel/innolux,at070tn92.txt b/Documentation/devicetree/bindings/display/panel/innolux,at070tn92.txt new file mode 100644 index 0000000..3e10cd7 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/innolux,at070tn92.txt @@ -0,0 +1,7 @@ +Innolux AT070TN92 7.0" WQVGA TFT LCD panel + +Required properties: +- compatible: should be "innolux,at070tn92" + +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 3649eb0..d321c57 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -822,6 +822,29 @@ static const struct panel_desc innolux_at043tn24 = { .bus_format = MEDIA_BUS_FMT_RGB888_1X24, }; +static const struct drm_display_mode innolux_at070tn92_mode = { + .clock = 33333, + .hdisplay = 800, + .hsync_start = 800 + 210, + .hsync_end = 800 + 210 + 20, + .htotal = 800 + 210 + 20 + 46, + .vdisplay = 480, + .vsync_start = 480 + 22, + .vsync_end = 480 + 22 + 10, + .vtotal = 480 + 22 + 23 + 10, + .vrefresh = 60, +}; + +static const struct panel_desc innolux_at070tn92 = { + .modes = &innolux_at070tn92_mode, + .num_modes = 1, + .size = { + .width = 154, + .height = 86, + }, + .bus_format = MEDIA_BUS_FMT_RGB888_1X24, +}; + static const struct drm_display_mode innolux_g121i1_l01_mode = { .clock = 71000, .hdisplay = 1280, @@ -1362,6 +1385,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "innolux,at043tn24", .data = &innolux_at043tn24, }, { + .compatible = "innolux,at070tn92", + .data = &innolux_at070tn92, + }, { .compatible ="innolux,g121i1-l01", .data = &innolux_g121i1_l01 }, { -- 2.5.0 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH v2] drm/panel: simple: Add support for Innolux AT070TN92 @ 2016-04-20 13:37 ` Boris Brezillon 0 siblings, 0 replies; 11+ messages in thread From: Boris Brezillon @ 2016-04-20 13:37 UTC (permalink / raw) To: Thierry Reding, dri-devel Cc: Riccardo Bortolato, Nicolas Ferre, linux-kernel, Alexandre Belloni, Jean-Christophe Plagniol-Villard, linux-arm-kernel From: Riccardo Bortolato <bortolato@navaltechitalia.it> Add support for the Innolux AT070TN92 panel. Signed-off-by: Riccardo Bortolato <bortolato@navaltechitalia.it> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> --- Changes since v1: - Add missing SoB --- .../bindings/display/panel/innolux,at070tn92.txt | 7 ++++++ drivers/gpu/drm/panel/panel-simple.c | 26 ++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/innolux,at070tn92.txt diff --git a/Documentation/devicetree/bindings/display/panel/innolux,at070tn92.txt b/Documentation/devicetree/bindings/display/panel/innolux,at070tn92.txt new file mode 100644 index 0000000..3e10cd7 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/innolux,at070tn92.txt @@ -0,0 +1,7 @@ +Innolux AT070TN92 7.0" WQVGA TFT LCD panel + +Required properties: +- compatible: should be "innolux,at070tn92" + +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 3649eb0..d321c57 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -822,6 +822,29 @@ static const struct panel_desc innolux_at043tn24 = { .bus_format = MEDIA_BUS_FMT_RGB888_1X24, }; +static const struct drm_display_mode innolux_at070tn92_mode = { + .clock = 33333, + .hdisplay = 800, + .hsync_start = 800 + 210, + .hsync_end = 800 + 210 + 20, + .htotal = 800 + 210 + 20 + 46, + .vdisplay = 480, + .vsync_start = 480 + 22, + .vsync_end = 480 + 22 + 10, + .vtotal = 480 + 22 + 23 + 10, + .vrefresh = 60, +}; + +static const struct panel_desc innolux_at070tn92 = { + .modes = &innolux_at070tn92_mode, + .num_modes = 1, + .size = { + .width = 154, + .height = 86, + }, + .bus_format = MEDIA_BUS_FMT_RGB888_1X24, +}; + static const struct drm_display_mode innolux_g121i1_l01_mode = { .clock = 71000, .hdisplay = 1280, @@ -1362,6 +1385,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "innolux,at043tn24", .data = &innolux_at043tn24, }, { + .compatible = "innolux,at070tn92", + .data = &innolux_at070tn92, + }, { .compatible ="innolux,g121i1-l01", .data = &innolux_g121i1_l01 }, { -- 2.5.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH v2] drm/panel: simple: Add support for Innolux AT070TN92 2016-04-20 13:37 ` Boris Brezillon (?) @ 2016-04-20 13:40 ` Thierry Reding -1 siblings, 0 replies; 11+ messages in thread From: Thierry Reding @ 2016-04-20 13:40 UTC (permalink / raw) To: linux-arm-kernel On Wed, Apr 20, 2016 at 03:37:15PM +0200, Boris Brezillon wrote: > From: Riccardo Bortolato <bortolato@navaltechitalia.it> > > Add support for the Innolux AT070TN92 panel. > > Signed-off-by: Riccardo Bortolato <bortolato@navaltechitalia.it> > Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> > > --- > Changes since v1: > - Add missing SoB > --- > .../bindings/display/panel/innolux,at070tn92.txt | 7 ++++++ > drivers/gpu/drm/panel/panel-simple.c | 26 ++++++++++++++++++++++ > 2 files changed, 33 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/panel/innolux,at070tn92.txt Applied, thanks. Thierry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160420/f4e71d52/attachment-0001.sig> ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v2] drm/panel: simple: Add support for Innolux AT070TN92 @ 2016-04-20 13:40 ` Thierry Reding 0 siblings, 0 replies; 11+ messages in thread From: Thierry Reding @ 2016-04-20 13:40 UTC (permalink / raw) To: Boris Brezillon Cc: dri-devel, David Airlie, Daniel Vetter, Nicolas Ferre, Jean-Christophe Plagniol-Villard, Alexandre Belloni, linux-arm-kernel, linux-kernel, Riccardo Bortolato [-- Attachment #1: Type: text/plain, Size: 692 bytes --] On Wed, Apr 20, 2016 at 03:37:15PM +0200, Boris Brezillon wrote: > From: Riccardo Bortolato <bortolato@navaltechitalia.it> > > Add support for the Innolux AT070TN92 panel. > > Signed-off-by: Riccardo Bortolato <bortolato@navaltechitalia.it> > Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> > > --- > Changes since v1: > - Add missing SoB > --- > .../bindings/display/panel/innolux,at070tn92.txt | 7 ++++++ > drivers/gpu/drm/panel/panel-simple.c | 26 ++++++++++++++++++++++ > 2 files changed, 33 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/panel/innolux,at070tn92.txt Applied, thanks. Thierry [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v2] drm/panel: simple: Add support for Innolux AT070TN92 @ 2016-04-20 13:40 ` Thierry Reding 0 siblings, 0 replies; 11+ messages in thread From: Thierry Reding @ 2016-04-20 13:40 UTC (permalink / raw) To: Boris Brezillon Cc: Riccardo Bortolato, Nicolas Ferre, linux-kernel, dri-devel, Alexandre Belloni, Jean-Christophe Plagniol-Villard, linux-arm-kernel [-- Attachment #1.1: Type: text/plain, Size: 692 bytes --] On Wed, Apr 20, 2016 at 03:37:15PM +0200, Boris Brezillon wrote: > From: Riccardo Bortolato <bortolato@navaltechitalia.it> > > Add support for the Innolux AT070TN92 panel. > > Signed-off-by: Riccardo Bortolato <bortolato@navaltechitalia.it> > Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> > > --- > Changes since v1: > - Add missing SoB > --- > .../bindings/display/panel/innolux,at070tn92.txt | 7 ++++++ > drivers/gpu/drm/panel/panel-simple.c | 26 ++++++++++++++++++++++ > 2 files changed, 33 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/panel/innolux,at070tn92.txt Applied, thanks. Thierry [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 819 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] 11+ messages in thread
* [PATCH v2] drm/panel: simple: Add support for Innolux AT070TN92 2016-04-20 13:40 ` Thierry Reding @ 2016-04-21 12:11 ` Holger Schurig -1 siblings, 0 replies; 11+ messages in thread From: Holger Schurig @ 2016-04-21 12:11 UTC (permalink / raw) To: linux-arm-kernel Thierry Reding <thierry.reding@gmail.com> writes: > Applied, thanks. I once read that this is the recommended way to go, instead of specifying the timings in the device tree. Why is this so? Any new display just increases the .text size of the kernel unnessary. Did this idea stem from the era where bootloaders like Barebox couldn't modify the DT ad-hoc before handing it over to the kernel? ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v2] drm/panel: simple: Add support for Innolux AT070TN92 @ 2016-04-21 12:11 ` Holger Schurig 0 siblings, 0 replies; 11+ messages in thread From: Holger Schurig @ 2016-04-21 12:11 UTC (permalink / raw) To: Thierry Reding Cc: Boris Brezillon, Riccardo Bortolato, David Airlie, Nicolas Ferre, linux-kernel, dri-devel, Alexandre Belloni, Daniel Vetter, Jean-Christophe Plagniol-Villard, linux-arm-kernel Thierry Reding <thierry.reding@gmail.com> writes: > Applied, thanks. I once read that this is the recommended way to go, instead of specifying the timings in the device tree. Why is this so? Any new display just increases the .text size of the kernel unnessary. Did this idea stem from the era where bootloaders like Barebox couldn't modify the DT ad-hoc before handing it over to the kernel? ^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH v2] drm/panel: simple: Add support for Innolux AT070TN92 2016-04-21 12:11 ` Holger Schurig (?) @ 2016-04-22 22:30 ` Thierry Reding -1 siblings, 0 replies; 11+ messages in thread From: Thierry Reding @ 2016-04-22 22:30 UTC (permalink / raw) To: linux-arm-kernel On Thu, Apr 21, 2016 at 02:11:19PM +0200, Holger Schurig wrote: > Thierry Reding <thierry.reding@gmail.com> writes: > > Applied, thanks. > > I once read that this is the recommended way to go, instead of > specifying the timings in the device tree. Why is this so? Any new > display just increases the .text size of the kernel unnessary. It's actually only the .rodata section that's increased every time we add a new display panel. > Did this idea stem from the era where bootloaders like Barebox couldn't > modify the DT ad-hoc before handing it over to the kernel? No, not really. But since this has come up every now and again I finally wrote down my recollection and thoughts on the matter, hopefully that will be satisfactory as an answer: http://sietch-tagr.blogspot.com/2016/04/display-panels-are-not-special.html Thierry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160423/7be16892/attachment.sig> ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v2] drm/panel: simple: Add support for Innolux AT070TN92 @ 2016-04-22 22:30 ` Thierry Reding 0 siblings, 0 replies; 11+ messages in thread From: Thierry Reding @ 2016-04-22 22:30 UTC (permalink / raw) To: Holger Schurig Cc: Boris Brezillon, Riccardo Bortolato, David Airlie, Nicolas Ferre, linux-kernel, dri-devel, Alexandre Belloni, Daniel Vetter, Jean-Christophe Plagniol-Villard, linux-arm-kernel [-- Attachment #1: Type: text/plain, Size: 859 bytes --] On Thu, Apr 21, 2016 at 02:11:19PM +0200, Holger Schurig wrote: > Thierry Reding <thierry.reding@gmail.com> writes: > > Applied, thanks. > > I once read that this is the recommended way to go, instead of > specifying the timings in the device tree. Why is this so? Any new > display just increases the .text size of the kernel unnessary. It's actually only the .rodata section that's increased every time we add a new display panel. > Did this idea stem from the era where bootloaders like Barebox couldn't > modify the DT ad-hoc before handing it over to the kernel? No, not really. But since this has come up every now and again I finally wrote down my recollection and thoughts on the matter, hopefully that will be satisfactory as an answer: http://sietch-tagr.blogspot.com/2016/04/display-panels-are-not-special.html Thierry [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v2] drm/panel: simple: Add support for Innolux AT070TN92 @ 2016-04-22 22:30 ` Thierry Reding 0 siblings, 0 replies; 11+ messages in thread From: Thierry Reding @ 2016-04-22 22:30 UTC (permalink / raw) To: Holger Schurig Cc: Riccardo Bortolato, Nicolas Ferre, linux-kernel, dri-devel, Alexandre Belloni, Jean-Christophe Plagniol-Villard, linux-arm-kernel [-- Attachment #1.1: Type: text/plain, Size: 859 bytes --] On Thu, Apr 21, 2016 at 02:11:19PM +0200, Holger Schurig wrote: > Thierry Reding <thierry.reding@gmail.com> writes: > > Applied, thanks. > > I once read that this is the recommended way to go, instead of > specifying the timings in the device tree. Why is this so? Any new > display just increases the .text size of the kernel unnessary. It's actually only the .rodata section that's increased every time we add a new display panel. > Did this idea stem from the era where bootloaders like Barebox couldn't > modify the DT ad-hoc before handing it over to the kernel? No, not really. But since this has come up every now and again I finally wrote down my recollection and thoughts on the matter, hopefully that will be satisfactory as an answer: http://sietch-tagr.blogspot.com/2016/04/display-panels-are-not-special.html Thierry [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 819 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] 11+ messages in thread
end of thread, other threads:[~2016-04-22 22:30 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-04-20 13:37 [PATCH v2] drm/panel: simple: Add support for Innolux AT070TN92 Boris Brezillon 2016-04-20 13:37 ` Boris Brezillon 2016-04-20 13:37 ` Boris Brezillon 2016-04-20 13:40 ` Thierry Reding 2016-04-20 13:40 ` Thierry Reding 2016-04-20 13:40 ` Thierry Reding 2016-04-21 12:11 ` Holger Schurig 2016-04-21 12:11 ` Holger Schurig 2016-04-22 22:30 ` Thierry Reding 2016-04-22 22:30 ` Thierry Reding 2016-04-22 22:30 ` Thierry Reding
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.