* [PATCH 1/2] drm/panel: simple: Add support for Sharp LQ101K1LY04
[not found] <Re: [PATCH] drm_panel: simple: Add support for Sharp LQ101K1LY04>
@ 2016-01-12 21:55 ` Joshua Clayton
2016-01-12 21:55 ` [PATCH 2/2] drm/panel: simple: Add Documentation " Joshua Clayton
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Joshua Clayton @ 2016-01-12 21:55 UTC (permalink / raw)
To: Lucas Stach, Thierry Reding, David Airlie
Cc: dri-devel, linux-kernel, Joshua Clayton
Add simple-panel support for the Sharp LQ101K1LY04i, which is
a 10 inch WXGA (1280x800) lvds panel.
Signed-off-by: Joshua Clayton <stillcompiling@gmail.com>
---
drivers/gpu/drm/panel/panel-simple.c | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index f97b73e..e01eacb 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1073,6 +1073,30 @@ static const struct panel_desc samsung_ltn140at29_301 = {
},
};
+static const struct display_timing sharp_lq101k1ly04_timing = {
+ .pixelclock = { 60000000, 65000000, 80000000 },
+ .hactive = { 1280, 1280, 1280 },
+ .hfront_porch = { 20, 20, 20 },
+ .hback_porch = { 20, 20, 20 },
+ .hsync_len = { 10, 10, 10 },
+ .vactive = { 800, 800, 800 },
+ .vfront_porch = { 4, 4, 4 },
+ .vback_porch = { 4, 4, 4 },
+ .vsync_len = { 4, 4, 4 },
+ .flags = DISPLAY_FLAGS_PIXDATA_POSEDGE,
+};
+
+static const struct panel_desc sharp_lq101k1ly04 = {
+ .timings = &sharp_lq101k1ly04_timing,
+ .num_timings = 1,
+ .bpc = 8,
+ .size = {
+ .width = 217,
+ .height = 136,
+ },
+ .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA,
+};
+
static const struct drm_display_mode shelly_sca07010_bfn_lnn_mode = {
.clock = 33300,
.hdisplay = 800,
@@ -1188,6 +1212,9 @@ static const struct of_device_id platform_of_match[] = {
.compatible = "samsung,ltn140at29-301",
.data = &samsung_ltn140at29_301,
}, {
+ .compatible = "sharp,lq101k1ly04",
+ .data = &sharp_lq101k1ly04,
+ }, {
.compatible = "shelly,sca07010-bfn-lnn",
.data = &shelly_sca07010_bfn_lnn,
}, {
--
2.5.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] drm/panel: simple: Add Documentation for Sharp LQ101K1LY04
2016-01-12 21:55 ` [PATCH 1/2] drm/panel: simple: Add support for Sharp LQ101K1LY04 Joshua Clayton
@ 2016-01-12 21:55 ` Joshua Clayton
2016-01-26 14:46 ` [PATCH 1/2] drm/panel: simple: Add support " Joshua Clayton
2016-02-23 19:23 ` Joshua Clayton
2 siblings, 0 replies; 4+ messages in thread
From: Joshua Clayton @ 2016-01-12 21:55 UTC (permalink / raw)
To: Lucas Stach, Thierry Reding, David Airlie
Cc: dri-devel, linux-kernel, Joshua Clayton
Document basic simple-panel support for Sharp LQ101K1LY04
Signed-off-by: Joshua Clayton <stillcompiling@gmail.com>
---
.../devicetree/bindings/display/panel/sharp,lq101k1ly04.txt | 7 +++++++
1 file changed, 7 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/panel/sharp,lq101k1ly04.txt
diff --git a/Documentation/devicetree/bindings/display/panel/sharp,lq101k1ly04.txt b/Documentation/devicetree/bindings/display/panel/sharp,lq101k1ly04.txt
new file mode 100644
index 0000000..4aff25b
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/sharp,lq101k1ly04.txt
@@ -0,0 +1,7 @@
+Sharp Display Corp. LQ101K1LY04 10.07" WXGA TFT LCD panel
+
+Required properties:
+- compatible: should be "sharp,lq101k1ly04"
+
+This binding is compatible with the simple-panel binding, which is specified
+in simple-panel.txt in this directory.
--
2.5.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] drm/panel: simple: Add support for Sharp LQ101K1LY04
2016-01-12 21:55 ` [PATCH 1/2] drm/panel: simple: Add support for Sharp LQ101K1LY04 Joshua Clayton
2016-01-12 21:55 ` [PATCH 2/2] drm/panel: simple: Add Documentation " Joshua Clayton
@ 2016-01-26 14:46 ` Joshua Clayton
2016-02-23 19:23 ` Joshua Clayton
2 siblings, 0 replies; 4+ messages in thread
From: Joshua Clayton @ 2016-01-26 14:46 UTC (permalink / raw)
To: Lucas Stach; +Cc: Thierry Reding, David Airlie, dri-devel, linux-kernel
On Tuesday, January 12, 2016 01:55:35 PM Joshua Clayton wrote:
> Add simple-panel support for the Sharp LQ101K1LY04i, which is
> a 10 inch WXGA (1280x800) lvds panel.
>
> Signed-off-by: Joshua Clayton <stillcompiling@gmail.com>
> ---
> drivers/gpu/drm/panel/panel-simple.c | 27 +++++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
>
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index f97b73e..e01eacb 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -1073,6 +1073,30 @@ static const struct panel_desc samsung_ltn140at29_301 = {
> },
> };
>
> +static const struct display_timing sharp_lq101k1ly04_timing = {
> + .pixelclock = { 60000000, 65000000, 80000000 },
> + .hactive = { 1280, 1280, 1280 },
> + .hfront_porch = { 20, 20, 20 },
> + .hback_porch = { 20, 20, 20 },
> + .hsync_len = { 10, 10, 10 },
> + .vactive = { 800, 800, 800 },
> + .vfront_porch = { 4, 4, 4 },
> + .vback_porch = { 4, 4, 4 },
> + .vsync_len = { 4, 4, 4 },
> + .flags = DISPLAY_FLAGS_PIXDATA_POSEDGE,
> +};
> +
> +static const struct panel_desc sharp_lq101k1ly04 = {
> + .timings = &sharp_lq101k1ly04_timing,
> + .num_timings = 1,
> + .bpc = 8,
> + .size = {
> + .width = 217,
> + .height = 136,
> + },
> + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA,
> +};
> +
> static const struct drm_display_mode shelly_sca07010_bfn_lnn_mode = {
> .clock = 33300,
> .hdisplay = 800,
> @@ -1188,6 +1212,9 @@ static const struct of_device_id platform_of_match[] = {
> .compatible = "samsung,ltn140at29-301",
> .data = &samsung_ltn140at29_301,
> }, {
> + .compatible = "sharp,lq101k1ly04",
> + .data = &sharp_lq101k1ly04,
> + }, {
> .compatible = "shelly,sca07010-bfn-lnn",
> .data = &shelly_sca07010_bfn_lnn,
> }, {
Ping? This panel is needed for a system I am working to get upstreamed.
I can confirm that the timings are in use several months and well tested.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] drm/panel: simple: Add support for Sharp LQ101K1LY04
2016-01-12 21:55 ` [PATCH 1/2] drm/panel: simple: Add support for Sharp LQ101K1LY04 Joshua Clayton
2016-01-12 21:55 ` [PATCH 2/2] drm/panel: simple: Add Documentation " Joshua Clayton
2016-01-26 14:46 ` [PATCH 1/2] drm/panel: simple: Add support " Joshua Clayton
@ 2016-02-23 19:23 ` Joshua Clayton
2 siblings, 0 replies; 4+ messages in thread
From: Joshua Clayton @ 2016-02-23 19:23 UTC (permalink / raw)
To: Lucas Stach, Thierry Reding, David Airlie; +Cc: dri-devel, linux-kernel
On Tue, 12 Jan 2016 13:55:35 -0800
Joshua Clayton <stillcompiling@gmail.com> wrote:
Ping?
FYI The dts for the board using this panel is now in linux-next.
Is there something more I need to do to get it queued?
They are my first patches for the drm subsystem, so I may be
unfamiliar with the customs.
I just checked; the patches still apply cleanly against linux-next.
> Add simple-panel support for the Sharp LQ101K1LY04i, which is
> a 10 inch WXGA (1280x800) lvds panel.
>
> Signed-off-by: Joshua Clayton <stillcompiling@gmail.com>
> ---
> drivers/gpu/drm/panel/panel-simple.c | 27 +++++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
>
> diff --git a/drivers/gpu/drm/panel/panel-simple.c
> b/drivers/gpu/drm/panel/panel-simple.c index f97b73e..e01eacb 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -1073,6 +1073,30 @@ static const struct panel_desc
> samsung_ltn140at29_301 = { },
> };
>
> +static const struct display_timing sharp_lq101k1ly04_timing = {
> + .pixelclock = { 60000000, 65000000, 80000000 },
> + .hactive = { 1280, 1280, 1280 },
> + .hfront_porch = { 20, 20, 20 },
> + .hback_porch = { 20, 20, 20 },
> + .hsync_len = { 10, 10, 10 },
> + .vactive = { 800, 800, 800 },
> + .vfront_porch = { 4, 4, 4 },
> + .vback_porch = { 4, 4, 4 },
> + .vsync_len = { 4, 4, 4 },
> + .flags = DISPLAY_FLAGS_PIXDATA_POSEDGE,
> +};
> +
> +static const struct panel_desc sharp_lq101k1ly04 = {
> + .timings = &sharp_lq101k1ly04_timing,
> + .num_timings = 1,
> + .bpc = 8,
> + .size = {
> + .width = 217,
> + .height = 136,
> + },
> + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA,
> +};
> +
> static const struct drm_display_mode shelly_sca07010_bfn_lnn_mode = {
> .clock = 33300,
> .hdisplay = 800,
> @@ -1188,6 +1212,9 @@ static const struct of_device_id
> platform_of_match[] = { .compatible = "samsung,ltn140at29-301",
> .data = &samsung_ltn140at29_301,
> }, {
> + .compatible = "sharp,lq101k1ly04",
> + .data = &sharp_lq101k1ly04,
> + }, {
> .compatible = "shelly,sca07010-bfn-lnn",
> .data = &shelly_sca07010_bfn_lnn,
> }, {
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-02-23 19:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Re: [PATCH] drm_panel: simple: Add support for Sharp LQ101K1LY04>
2016-01-12 21:55 ` [PATCH 1/2] drm/panel: simple: Add support for Sharp LQ101K1LY04 Joshua Clayton
2016-01-12 21:55 ` [PATCH 2/2] drm/panel: simple: Add Documentation " Joshua Clayton
2016-01-26 14:46 ` [PATCH 1/2] drm/panel: simple: Add support " Joshua Clayton
2016-02-23 19:23 ` Joshua Clayton
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.