All of lore.kernel.org
 help / color / mirror / Atom feed
From: <linux-kernel-dev@beckhoff.com>
To: Thierry Reding <thierry.reding@gmail.com>,
	David Airlie <airlied@linux.ie>,
	"open list:DRM PANEL DRIVERS" <dri-devel@lists.freedesktop.org>,
	open list <linux-kernel@vger.kernel.org>
Cc: Patrick Bruenn <p.bruenn@beckhoff.com>
Subject: [PATCH v3 2/2] drm/panel: simple: Add support for ddc-only panel
Date: Thu, 13 Jul 2017 13:13:39 +0200	[thread overview]
Message-ID: <20170713111340.13862-3-linux-kernel-dev@beckhoff.com> (raw)
In-Reply-To: <20170713111340.13862-1-linux-kernel-dev@beckhoff.com>

From: Patrick Bruenn <p.bruenn@beckhoff.com>

This is a fix for the CX9020 Embedded PC. On that device the 24-bit
parallel-display signal of the imx53 is combined with an I2C channel
and converted to DVI-D port. Devicetree magic always requires a panel
connected to the parallel-display port.
We add an empty panel_desc, to get recognized by the panel-simple
driver, which can then use the ddc bus to read the panels configuration.

Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>
---
 drivers/gpu/drm/panel/panel-simple.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index c4566ce8fda7..52b2a7fb59ed 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1856,6 +1856,9 @@ static const struct panel_desc winstar_wf35ltiacd = {
 	.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
 };
 
+static const struct panel_desc simple_ddc_only = {
+};
+
 static const struct of_device_id platform_of_match[] = {
 	{
 		.compatible = "ampire,am-480272h3tmqw-t01h",
@@ -2050,6 +2053,9 @@ static const struct of_device_id platform_of_match[] = {
 		.compatible = "winstar,wf35ltiacd",
 		.data = &winstar_wf35ltiacd,
 	}, {
+		.compatible = "simple,ddc-only",
+		.data = &simple_ddc_only,
+	}, {
 		/* sentinel */
 	}
 };
-- 
2.11.0

  parent reply	other threads:[~2017-07-13 11:14 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-12  9:04 [PATCH] ARM: dts: imx: add CX9020 Embedded PC device tree linux-kernel-dev
2017-07-12  9:04 ` linux-kernel-dev at beckhoff.com
2017-07-12  9:04 ` linux-kernel-dev
2017-07-12  9:46 ` Mark Rutland
2017-07-12  9:46   ` Mark Rutland
2017-07-12  9:46   ` Mark Rutland
2017-07-12 11:46   ` Patrick Brünn
2017-07-12 11:46     ` Patrick Brünn
2017-07-12 11:46     ` Patrick Brünn
2017-07-12 14:42 ` Andrew Lunn
2017-07-12 14:42   ` Andrew Lunn
2017-07-12 14:42   ` Andrew Lunn
2017-07-13  3:00   ` Patrick Brünn
2017-07-13  3:00     ` Patrick Brünn
2017-07-13  3:00     ` Patrick Brünn
2017-07-13 11:04 ` [PATCH v2 0/2] Add CX9020 " linux-kernel-dev
2017-07-13 11:04   ` linux-kernel-dev at beckhoff.com
2017-07-13 11:04   ` linux-kernel-dev
2017-07-13 11:04   ` [PATCH v2 1/2] ARM: dts: imx: add CX9020 Embedded PC " linux-kernel-dev
2017-07-13 11:04     ` linux-kernel-dev at beckhoff.com
2017-07-13 11:04     ` linux-kernel-dev
2017-07-13 11:04   ` [PATCH v2 2/2] drm/panel: simple: Add support for ddc-only panel linux-kernel-dev
2017-07-14 14:15     ` Rob Herring
2017-07-14 14:15       ` Rob Herring
2017-07-13 11:13 ` [PATCH v3 0/2] Add CX9020 device tree linux-kernel-dev
2017-07-13 11:13   ` linux-kernel-dev at beckhoff.com
2017-07-13 11:13   ` linux-kernel-dev-QonKdJ6Bx35Wk0Htik3J/w
2017-07-13 11:13   ` [PATCH v3 1/2] ARM: dts: imx: add CX9020 Embedded PC " linux-kernel-dev
2017-07-13 11:13     ` linux-kernel-dev at beckhoff.com
2017-07-13 11:13     ` linux-kernel-dev
2017-07-14  2:16     ` Shawn Guo
2017-07-14  2:16       ` Shawn Guo
2017-07-14  2:16       ` Shawn Guo
2017-07-13 11:13   ` linux-kernel-dev [this message]
     [not found] ` <20170712090408.12212-1-linux-kernel-dev-QonKdJ6Bx35Wk0Htik3J/w@public.gmane.org>
2017-07-21  4:06   ` [PATCH v4 0/2] " linux-kernel-dev-QonKdJ6Bx35Wk0Htik3J/w
2017-07-21  4:06     ` linux-kernel-dev at beckhoff.com
2017-07-21  4:06     ` [PATCH v4 1/2] dt-bindings: arm: Add entry for Beckhoff CX9020 linux-kernel-dev
2017-07-21  4:06       ` linux-kernel-dev-QonKdJ6Bx35Wk0Htik3J/w
2017-07-24 20:28       ` Rob Herring
2017-07-24 20:28         ` Rob Herring
2017-07-21  4:06     ` [PATCH v4 2/2] ARM: dts: imx: add CX9020 Embedded PC device tree linux-kernel-dev
2017-07-21  4:06       ` linux-kernel-dev at beckhoff.com
2017-07-21  4:06       ` linux-kernel-dev-QonKdJ6Bx35Wk0Htik3J/w
2017-07-25  7:59       ` Shawn Guo
2017-07-25  7:59         ` Shawn Guo
2017-07-25  7:59         ` Shawn Guo
2017-07-25 11:41         ` Patrick Brünn
2017-07-25 11:41           ` Patrick Brünn
2017-07-25 11:41           ` Patrick Brünn
2017-07-25 13:17           ` Shawn Guo
2017-07-25 13:17             ` Shawn Guo
2017-07-25 13:17             ` Shawn Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170713111340.13862-3-linux-kernel-dev@beckhoff.com \
    --to=linux-kernel-dev@beckhoff.com \
    --cc=airlied@linux.ie \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=p.bruenn@beckhoff.com \
    --cc=thierry.reding@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.