* [REPOST v3 1/2] drm/panel: simple: Add support for Sharp LQ101K1LY04
@ 2016-07-06 22:59 Joshua Clayton
2016-07-06 22:59 ` [REPOST v3 2/2] drm/panel: simple: Add Documentation " Joshua Clayton
2016-07-11 12:06 ` [REPOST v3 1/2] drm/panel: simple: Add support " Thierry Reding
0 siblings, 2 replies; 3+ messages in thread
From: Joshua Clayton @ 2016-07-06 22:59 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
Reposting again in hopes of getting this into 4.8
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 3a7bdf1..c2d377c 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1270,6 +1270,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,
@@ -1487,6 +1511,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.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [REPOST v3 2/2] drm/panel: simple: Add Documentation for Sharp LQ101K1LY04
2016-07-06 22:59 [REPOST v3 1/2] drm/panel: simple: Add support for Sharp LQ101K1LY04 Joshua Clayton
@ 2016-07-06 22:59 ` Joshua Clayton
2016-07-11 12:06 ` [REPOST v3 1/2] drm/panel: simple: Add support " Thierry Reding
1 sibling, 0 replies; 3+ messages in thread
From: Joshua Clayton @ 2016-07-06 22:59 UTC (permalink / raw)
To: linux-arm-kernel
Document basic simple-panel support for Sharp LQ101K1LY04
Signed-off-by: Joshua Clayton <stillcompiling@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
---
.../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.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [REPOST v3 1/2] drm/panel: simple: Add support for Sharp LQ101K1LY04
2016-07-06 22:59 [REPOST v3 1/2] drm/panel: simple: Add support for Sharp LQ101K1LY04 Joshua Clayton
2016-07-06 22:59 ` [REPOST v3 2/2] drm/panel: simple: Add Documentation " Joshua Clayton
@ 2016-07-11 12:06 ` Thierry Reding
1 sibling, 0 replies; 3+ messages in thread
From: Thierry Reding @ 2016-07-11 12:06 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Jul 06, 2016 at 03:59:16PM -0700, 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>
> ---
> Reposting again in hopes of getting this into 4.8
>
> drivers/gpu/drm/panel/panel-simple.c | 27 +++++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
Applied both patches, 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/20160711/6bb6c150/attachment.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-07-11 12:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-06 22:59 [REPOST v3 1/2] drm/panel: simple: Add support for Sharp LQ101K1LY04 Joshua Clayton
2016-07-06 22:59 ` [REPOST v3 2/2] drm/panel: simple: Add Documentation " Joshua Clayton
2016-07-11 12:06 ` [REPOST v3 1/2] drm/panel: simple: Add support " 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).