* [PATCH v2 0/2] Add CX9020 device tree
[not found] <20170712090408.12212-1-linux-kernel-dev@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
[not found] ` <20170712090408.12212-1-linux-kernel-dev-QonKdJ6Bx35Wk0Htik3J/w@public.gmane.org>
1 sibling, 1 reply; 5+ messages in thread
From: linux-kernel-dev @ 2017-07-13 11:04 UTC (permalink / raw)
To: open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list:DRM PANEL DRIVERS
Cc: Mark Rutland, Patrick Bruenn, David Airlie, Russell King,
open list, Rob Herring, Thierry Reding, Sascha Hauer,
Fabio Estevam, Shawn Guo, moderated list:ARM PORT
From: Patrick Bruenn <p.bruenn@beckhoff.com>
Add device tree for Beckhoff CX9020 Embedded PC.
The CX9020 differs from i.MX53 Quick Start Board by:
- use uart2 instead of uart1
- DVI-D connector instead of VGA
- no audio
- CCAT FPGA connected to emi
- enable rtc
Patrick Bruenn (2):
ARM: dts: imx: add CX9020 Embedded PC device tree
drm/panel: simple: Add support for ddc-only panel
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/imx53-cx9020.dts | 370 +++++++++++++++++++++++++++++++++++
drivers/gpu/drm/panel/panel-simple.c | 6 +
3 files changed, 377 insertions(+)
create mode 100644 arch/arm/boot/dts/imx53-cx9020.dts
--
2.11.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2 2/2] drm/panel: simple: Add support for ddc-only panel
2017-07-13 11:04 ` [PATCH v2 0/2] Add CX9020 device tree linux-kernel-dev
@ 2017-07-13 11:04 ` linux-kernel-dev
2017-07-14 14:15 ` Rob Herring
0 siblings, 1 reply; 5+ messages in thread
From: linux-kernel-dev @ 2017-07-13 11:04 UTC (permalink / raw)
To: Thierry Reding, David Airlie, open list:DRM PANEL DRIVERS,
open list
Cc: Patrick Bruenn
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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v3 0/2] Add CX9020 device tree
[not found] ` <20170712090408.12212-1-linux-kernel-dev-QonKdJ6Bx35Wk0Htik3J/w@public.gmane.org>
@ 2017-07-13 11:13 ` linux-kernel-dev-QonKdJ6Bx35Wk0Htik3J/w
2017-07-13 11:13 ` [PATCH v3 2/2] drm/panel: simple: Add support for ddc-only panel linux-kernel-dev
0 siblings, 1 reply; 5+ messages in thread
From: linux-kernel-dev-QonKdJ6Bx35Wk0Htik3J/w @ 2017-07-13 11:13 UTC (permalink / raw)
To: open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list:DRM PANEL DRIVERS
Cc: Patrick Bruenn, Rob Herring, Mark Rutland, Russell King,
Shawn Guo, Sascha Hauer, Thierry Reding, David Airlie,
Fabio Estevam, moderated list:ARM PORT, open list
From: Patrick Bruenn <p.bruenn-QonKdJ6Bx35Wk0Htik3J/w@public.gmane.org>
Add device tree for Beckhoff CX9020 Embedded PC.
The CX9020 differs from i.MX53 Quick Start Board by:
- use uart2 instead of uart1
- DVI-D connector instead of VGA
- no audio
- CCAT FPGA connected to emi
- enable rtc
v3: add missing changelog, sorry about the noise
v2:
- include simple ddc-only panel patch
- keep alphabetic order of dts/Makefile
- configure uart2 with 'fsl,dte-mode'
- use display-0 and panel-0 as node names
- remove unnecessary "simple-bus" for fixed regulators
Patrick Bruenn (2):
ARM: dts: imx: add CX9020 Embedded PC device tree
drm/panel: simple: Add support for ddc-only panel
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/imx53-cx9020.dts | 370 +++++++++++++++++++++++++++++++++++
drivers/gpu/drm/panel/panel-simple.c | 6 +
3 files changed, 377 insertions(+)
create mode 100644 arch/arm/boot/dts/imx53-cx9020.dts
--
2.11.0
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v3 2/2] drm/panel: simple: Add support for ddc-only panel
2017-07-13 11:13 ` [PATCH v3 0/2] Add CX9020 device tree linux-kernel-dev-QonKdJ6Bx35Wk0Htik3J/w
@ 2017-07-13 11:13 ` linux-kernel-dev
0 siblings, 0 replies; 5+ messages in thread
From: linux-kernel-dev @ 2017-07-13 11:13 UTC (permalink / raw)
To: Thierry Reding, David Airlie, open list:DRM PANEL DRIVERS,
open list
Cc: Patrick Bruenn
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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v2 2/2] drm/panel: simple: Add support for ddc-only panel
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
0 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2017-07-14 14:15 UTC (permalink / raw)
To: linux-kernel-dev
Cc: Patrick Bruenn, Thierry Reding, open list,
open list:DRM PANEL DRIVERS
On Thu, Jul 13, 2017 at 6:04 AM, <linux-kernel-dev@beckhoff.com> wrote:
> 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.
Then fix this. It's not the DT that requires this, but limitations in
the i.MX driver.
> 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",
If you notice the rest of the file, we require compatibles be specific
for the panels.
What you want here is a "dvi-connector" node.
Rob
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-07-14 14:16 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20170712090408.12212-1-linux-kernel-dev@beckhoff.com>
2017-07-13 11:04 ` [PATCH v2 0/2] Add CX9020 device tree 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
[not found] ` <20170712090408.12212-1-linux-kernel-dev-QonKdJ6Bx35Wk0Htik3J/w@public.gmane.org>
2017-07-13 11:13 ` [PATCH v3 0/2] Add CX9020 device tree linux-kernel-dev-QonKdJ6Bx35Wk0Htik3J/w
2017-07-13 11:13 ` [PATCH v3 2/2] drm/panel: simple: Add support for ddc-only panel linux-kernel-dev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox