* [PATCH 1/2] dt-bindings: add Sharp LQ123P1JX31 panel binding
@ 2016-06-10 16:50 Douglas Anderson
2016-06-10 16:50 ` [PATCH 2/2] drm/panel: simple: Add support for Starry KR122EA0SRA 1920x1200 panel Douglas Anderson
2016-06-10 17:00 ` [PATCH 1/2] dt-bindings: add Sharp LQ123P1JX31 panel binding Doug Anderson
0 siblings, 2 replies; 3+ messages in thread
From: Douglas Anderson @ 2016-06-10 16:50 UTC (permalink / raw)
To: thierry.reding
Cc: airlied, robh+dt, Douglas Anderson, mark.rutland, dri-devel,
devicetree, linux-kernel
The Starry KR122EA0SRA is a 12.2", 1920x1200 TFT-LCD panel connected
using eDP interfaces.
Signed-off-by: Douglas Anderson <dianders@chromium.org>
---
.../devicetree/bindings/display/panel/starry,kr122ea0sra.txt | 7 +++++++
1 file changed, 7 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/panel/starry,kr122ea0sra.txt
diff --git a/Documentation/devicetree/bindings/display/panel/starry,kr122ea0sra.txt b/Documentation/devicetree/bindings/display/panel/starry,kr122ea0sra.txt
new file mode 100644
index 000000000000..1e87fe6078af
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/starry,kr122ea0sra.txt
@@ -0,0 +1,7 @@
+Starry 12.2" (1920x1200 pixels) TFT LCD panel
+
+Required properties:
+- compatible: should be "starry,kr122ea0sra"
+
+This binding is compatible with the simple-panel binding, which is specified
+in simple-panel.txt in this directory.
--
2.8.0.rc3.226.g39d4020
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] drm/panel: simple: Add support for Starry KR122EA0SRA 1920x1200 panel
2016-06-10 16:50 [PATCH 1/2] dt-bindings: add Sharp LQ123P1JX31 panel binding Douglas Anderson
@ 2016-06-10 16:50 ` Douglas Anderson
2016-06-10 17:00 ` [PATCH 1/2] dt-bindings: add Sharp LQ123P1JX31 panel binding Doug Anderson
1 sibling, 0 replies; 3+ messages in thread
From: Douglas Anderson @ 2016-06-10 16:50 UTC (permalink / raw)
To: thierry.reding
Cc: airlied, robh+dt, Douglas Anderson, dri-devel, linux-kernel
The Starry KR122EA0SRA is a 12.2", 1920x1200 TFT-LCD panel connected
using eDP interfaces.
EDID shows:
Detailed mode: Clock 147.000 MHz, 263 mm x 164 mm
1920 1936 1952 1984 hborder 0
1200 1215 1217 1235 vborder 0
-hsync -vsync
Manufacturer-specified data, tag 15
ASCII string: STARRY
ASCII string: KR122EA0SRA
Signed-off-by: Douglas Anderson <dianders@chromium.org>
---
drivers/gpu/drm/panel/panel-simple.c | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 3a7bdf1c842b..659a963f7bce 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1293,6 +1293,29 @@ static const struct panel_desc shelly_sca07010_bfn_lnn = {
.bus_format = MEDIA_BUS_FMT_RGB666_1X18,
};
+static const struct drm_display_mode starry_kr122ea0sra_mode = {
+ .clock = 147000,
+ .hdisplay = 1920,
+ .hsync_start = 1920 + 16,
+ .hsync_end = 1920 + 16 + 16,
+ .htotal = 1920 + 16 + 16 + 32,
+ .vdisplay = 1200,
+ .vsync_start = 1200 + 15,
+ .vsync_end = 1200 + 15 + 2,
+ .vtotal = 1200 + 15 + 2 + 18,
+ .vrefresh = 60,
+ .flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC,
+};
+
+static const struct panel_desc starry_kr122ea0sra = {
+ .modes = &starry_kr122ea0sra_mode,
+ .num_modes = 1,
+ .size = {
+ .width = 263,
+ .height = 164,
+ },
+};
+
static const struct drm_display_mode tpk_f07a_0102_mode = {
.clock = 33260,
.hdisplay = 800,
@@ -1490,6 +1513,9 @@ static const struct of_device_id platform_of_match[] = {
.compatible = "shelly,sca07010-bfn-lnn",
.data = &shelly_sca07010_bfn_lnn,
}, {
+ .compatible = "starry,kr122ea0sra",
+ .data = &starry_kr122ea0sra,
+ }, {
.compatible = "tpk,f07a-0102",
.data = &tpk_f07a_0102,
}, {
--
2.8.0.rc3.226.g39d4020
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] dt-bindings: add Sharp LQ123P1JX31 panel binding
2016-06-10 16:50 [PATCH 1/2] dt-bindings: add Sharp LQ123P1JX31 panel binding Douglas Anderson
2016-06-10 16:50 ` [PATCH 2/2] drm/panel: simple: Add support for Starry KR122EA0SRA 1920x1200 panel Douglas Anderson
@ 2016-06-10 17:00 ` Doug Anderson
1 sibling, 0 replies; 3+ messages in thread
From: Doug Anderson @ 2016-06-10 17:00 UTC (permalink / raw)
To: Thierry Reding
Cc: David Airlie, Rob Herring, Douglas Anderson, Mark Rutland,
dri-devel, devicetree, linux-kernel
Hi,
On Fri, Jun 10, 2016 at 9:50 AM, Douglas Anderson <dianders@chromium.org> wrote:
> The Starry KR122EA0SRA is a 12.2", 1920x1200 TFT-LCD panel connected
> using eDP interfaces.
>
> Signed-off-by: Douglas Anderson <dianders@chromium.org>
> ---
> .../devicetree/bindings/display/panel/starry,kr122ea0sra.txt | 7 +++++++
> 1 file changed, 7 insertions(+)
Ugh. I clearly messed up the subject and copied from Yakir's. Sorry!
:( I'll resend...
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-06-10 17:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-10 16:50 [PATCH 1/2] dt-bindings: add Sharp LQ123P1JX31 panel binding Douglas Anderson
2016-06-10 16:50 ` [PATCH 2/2] drm/panel: simple: Add support for Starry KR122EA0SRA 1920x1200 panel Douglas Anderson
2016-06-10 17:00 ` [PATCH 1/2] dt-bindings: add Sharp LQ123P1JX31 panel binding Doug Anderson
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).