Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1687467

Re: [PATCH v2 2/2] drm/panel: simple: Add support for ddc-only panel

From Rob Herring <robh@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/2] drm/panel: simple: Add support for ddc-only panel
Date 2017-07-14 16:20 +0200
Message-ID <u39BL-4A9-9@gated-at.bofh.it> (permalink)
References <u2lYm-6m0-31@gated-at.bofh.it> <u2Kam-4RD-15@gated-at.bofh.it> <u2Kan-4RD-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] ARM: dts: imx: add CX9020 Embedded PC device tree <linux-kernel-dev@beckhoff.com> - 2017-07-12 11:20 +0200
  Re: [PATCH] ARM: dts: imx: add CX9020 Embedded PC device tree Mark Rutland <mark.rutland@arm.com> - 2017-07-12 11:50 +0200
    RE: [PATCH] ARM: dts: imx: add CX9020 Embedded PC device tree Patrick Brünn <P.Bruenn@beckhoff.com> - 2017-07-12 14:00 +0200
  Re: [PATCH] ARM: dts: imx: add CX9020 Embedded PC device tree Andrew Lunn <andrew@lunn.ch> - 2017-07-12 16:50 +0200
    RE: [PATCH] ARM: dts: imx: add CX9020 Embedded PC device tree Patrick Brünn <P.Bruenn@beckhoff.com> - 2017-07-13 05:20 +0200
  [PATCH v2 0/2] Add CX9020 device tree <linux-kernel-dev@beckhoff.com> - 2017-07-13 13:10 +0200
    [PATCH v2 2/2] drm/panel: simple: Add support for ddc-only panel <linux-kernel-dev@beckhoff.com> - 2017-07-13 13:10 +0200
      Re: [PATCH v2 2/2] drm/panel: simple: Add support for ddc-only panel Rob Herring <robh@kernel.org> - 2017-07-14 16:20 +0200
    [PATCH v2 1/2] ARM: dts: imx: add CX9020 Embedded PC device tree <linux-kernel-dev@beckhoff.com> - 2017-07-13 13:20 +0200
  [PATCH v3 1/2] ARM: dts: imx: add CX9020 Embedded PC device tree <linux-kernel-dev@beckhoff.com> - 2017-07-13 13:20 +0200
    Re: [PATCH v3 1/2] ARM: dts: imx: add CX9020 Embedded PC device tree Shawn Guo <shawnguo@kernel.org> - 2017-07-14 04:20 +0200
  [PATCH v3 0/2] Add CX9020 device tree <linux-kernel-dev@beckhoff.com> - 2017-07-13 13:20 +0200
    [PATCH v3 2/2] drm/panel: simple: Add support for ddc-only panel <linux-kernel-dev@beckhoff.com> - 2017-07-13 13:20 +0200

csiph-web