From: laurent.pinchart@ideasonboard.com (Laurent Pinchart)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 07/12] drm: drm_display_mode: add signal polarity flags
Date: Tue, 18 Mar 2014 14:05:03 +0100 [thread overview]
Message-ID: <126833534.i9WITsrxHj@avalon> (raw)
In-Reply-To: <20140318125623.GW21483@n2100.arm.linux.org.uk>
Hi Russell,
On Tuesday 18 March 2014 12:56:23 Russell King - ARM Linux wrote:
> On Tue, Mar 18, 2014 at 01:41:54PM +0100, Laurent Pinchart wrote:
> > Hi Lothar,
> >
> > That's not my point. I *know* that DE is a data gating signal with a
> > polarity already defined by the DRM_MODE_FLAG_POL_DE_(LOW|HIGH) flags.
> > Like all other signals it gets generated on a clock edge and is sampled
> > on a clock edge. The DRM_MODE_FLAG_POL_DE_*EDGE flags proposed above
> > describe seem to describe just that, *not* the signal polarity. I thus
> > want to know whether there are systems where the data signals and the DE
> > signal need to be sampled on different edges of the pixel clock.
>
> That's not relevant to this patch series though. This patch series is
> about adding configuration which will allow iMX6 SoCs to be properly
> configured for their displays.
>
> iMX has the ability to:
>
> - define the polarity of the clock signal
> - define the polarity of the other signals
>
> It does not have the ability to define which clock edge individual signals
> like vsync (frame clock), hsync (line clock), disable enable change on
> independently.
>
> So, it doesn't make sense _here_ for the display enable to be defined by
> an edge - it's not something that can be changed here. What can only be
> changed is it's active level.
>
> Of course, there may be some which can do this, and that's a separate
> problem that would need to be addressed when there's hardware that does
> support it.
>
> The objection which Lothar is raising is that _this_ definition does not
> match the _hardware_ capabilities which it is intended to be used with,
> which is a very valid objection.
Thank you for the clarification. That absolutely makes sense.
--
Regards,
Laurent Pinchart
WARNING: multiple messages have this Message-ID (diff)
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: devel@driverdev.osuosl.org, "Eric Bénard" <eric@eukrea.com>,
"Denis Carikli" <denis@eukrea.com>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org,
"Andrzej Hajda" <a.hajda@samsung.com>,
"Mauro Carvalho Chehab" <m.chehab@samsung.com>,
"Sascha Hauer" <kernel@pengutronix.de>,
linux-arm-kernel@lists.infradead.org,
"Lothar Waßmann" <LW@karo-electronics.de>
Subject: Re: [PATCH 07/12] drm: drm_display_mode: add signal polarity flags
Date: Tue, 18 Mar 2014 14:05:03 +0100 [thread overview]
Message-ID: <126833534.i9WITsrxHj@avalon> (raw)
In-Reply-To: <20140318125623.GW21483@n2100.arm.linux.org.uk>
Hi Russell,
On Tuesday 18 March 2014 12:56:23 Russell King - ARM Linux wrote:
> On Tue, Mar 18, 2014 at 01:41:54PM +0100, Laurent Pinchart wrote:
> > Hi Lothar,
> >
> > That's not my point. I *know* that DE is a data gating signal with a
> > polarity already defined by the DRM_MODE_FLAG_POL_DE_(LOW|HIGH) flags.
> > Like all other signals it gets generated on a clock edge and is sampled
> > on a clock edge. The DRM_MODE_FLAG_POL_DE_*EDGE flags proposed above
> > describe seem to describe just that, *not* the signal polarity. I thus
> > want to know whether there are systems where the data signals and the DE
> > signal need to be sampled on different edges of the pixel clock.
>
> That's not relevant to this patch series though. This patch series is
> about adding configuration which will allow iMX6 SoCs to be properly
> configured for their displays.
>
> iMX has the ability to:
>
> - define the polarity of the clock signal
> - define the polarity of the other signals
>
> It does not have the ability to define which clock edge individual signals
> like vsync (frame clock), hsync (line clock), disable enable change on
> independently.
>
> So, it doesn't make sense _here_ for the display enable to be defined by
> an edge - it's not something that can be changed here. What can only be
> changed is it's active level.
>
> Of course, there may be some which can do this, and that's a separate
> problem that would need to be addressed when there's hardware that does
> support it.
>
> The objection which Lothar is raising is that _this_ definition does not
> match the _hardware_ capabilities which it is intended to be used with,
> which is a very valid objection.
Thank you for the clarification. That absolutely makes sense.
--
Regards,
Laurent Pinchart
WARNING: multiple messages have this Message-ID (diff)
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: "Lothar Waßmann" <LW@karo-electronics.de>,
"Andrzej Hajda" <a.hajda@samsung.com>,
devel@driverdev.osuosl.org,
"Philipp Zabel" <p.zabel@pengutronix.de>,
"David Airlie" <airlied@linux.ie>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
dri-devel@lists.freedesktop.org,
"Mauro Carvalho Chehab" <m.chehab@samsung.com>,
"Denis Carikli" <denis@eukrea.com>,
"Eric Bénard" <eric@eukrea.com>,
"Shawn Guo" <shawn.guo@linaro.org>,
"Sascha Hauer" <kernel@pengutronix.de>,
linux-arm-kernel@lists.infradead.org,
linux-media@vger.kernel.org
Subject: Re: [PATCH 07/12] drm: drm_display_mode: add signal polarity flags
Date: Tue, 18 Mar 2014 14:05:03 +0100 [thread overview]
Message-ID: <126833534.i9WITsrxHj@avalon> (raw)
In-Reply-To: <20140318125623.GW21483@n2100.arm.linux.org.uk>
Hi Russell,
On Tuesday 18 March 2014 12:56:23 Russell King - ARM Linux wrote:
> On Tue, Mar 18, 2014 at 01:41:54PM +0100, Laurent Pinchart wrote:
> > Hi Lothar,
> >
> > That's not my point. I *know* that DE is a data gating signal with a
> > polarity already defined by the DRM_MODE_FLAG_POL_DE_(LOW|HIGH) flags.
> > Like all other signals it gets generated on a clock edge and is sampled
> > on a clock edge. The DRM_MODE_FLAG_POL_DE_*EDGE flags proposed above
> > describe seem to describe just that, *not* the signal polarity. I thus
> > want to know whether there are systems where the data signals and the DE
> > signal need to be sampled on different edges of the pixel clock.
>
> That's not relevant to this patch series though. This patch series is
> about adding configuration which will allow iMX6 SoCs to be properly
> configured for their displays.
>
> iMX has the ability to:
>
> - define the polarity of the clock signal
> - define the polarity of the other signals
>
> It does not have the ability to define which clock edge individual signals
> like vsync (frame clock), hsync (line clock), disable enable change on
> independently.
>
> So, it doesn't make sense _here_ for the display enable to be defined by
> an edge - it's not something that can be changed here. What can only be
> changed is it's active level.
>
> Of course, there may be some which can do this, and that's a separate
> problem that would need to be addressed when there's hardware that does
> support it.
>
> The objection which Lothar is raising is that _this_ definition does not
> match the _hardware_ capabilities which it is intended to be used with,
> which is a very valid objection.
Thank you for the clarification. That absolutely makes sense.
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2014-03-18 13:05 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-13 17:17 [PATCH v11][ 01/12] [media] v4l2: add new V4L2_PIX_FMT_RGB666 pixel format Denis Carikli
2014-03-13 17:17 ` Denis Carikli
2014-03-13 17:17 ` [PATCH v11][ 02/12] imx-drm: Add RGB666 support for parallel display Denis Carikli
2014-03-13 17:17 ` Denis Carikli
2014-03-13 17:17 ` [PATCH v11][ 03/12] imx-drm: Correct BGR666 and the board's dts that use them Denis Carikli
2014-03-13 17:17 ` Denis Carikli
2014-03-13 17:17 ` Denis Carikli
2014-03-13 17:17 ` [PATCH v11][ 04/12] imx-drm: Match ipu_di_signal_cfg's clk_pol with its description Denis Carikli
2014-03-13 17:17 ` Denis Carikli
2014-03-13 17:17 ` [PATCH v11][ 05/12] imx-drm: use defines for clock polarity settings Denis Carikli
2014-03-13 17:17 ` Denis Carikli
2014-03-13 17:17 ` [PATCH v11][ 06/12] ARM: dts: imx5*, imx6*: correct display-timings nodes Denis Carikli
2014-03-13 17:17 ` Denis Carikli
2014-03-13 17:17 ` Denis Carikli
2014-03-13 17:17 ` [PATCH 07/12] drm: drm_display_mode: add signal polarity flags Denis Carikli
2014-03-13 17:17 ` Denis Carikli
2014-03-13 17:17 ` Denis Carikli
2014-03-17 13:41 ` Andrzej Hajda
2014-03-17 13:41 ` Andrzej Hajda
2014-03-17 13:41 ` Andrzej Hajda
2014-03-17 13:58 ` Laurent Pinchart
2014-03-17 13:58 ` Laurent Pinchart
2014-03-17 15:14 ` Lothar Waßmann
2014-03-17 15:14 ` Lothar Waßmann
2014-03-17 15:44 ` Laurent Pinchart
2014-03-17 15:44 ` Laurent Pinchart
2014-03-17 15:44 ` Laurent Pinchart
2014-03-18 7:50 ` Lothar Waßmann
2014-03-18 7:50 ` Lothar Waßmann
2014-03-18 7:50 ` Lothar Waßmann
2014-03-18 9:30 ` Russell King - ARM Linux
2014-03-18 9:30 ` Russell King - ARM Linux
2014-03-18 9:30 ` Russell King - ARM Linux
2014-03-18 12:41 ` Laurent Pinchart
2014-03-18 12:41 ` Laurent Pinchart
2014-03-18 12:41 ` Laurent Pinchart
2014-03-18 12:56 ` Russell King - ARM Linux
2014-03-18 12:56 ` Russell King - ARM Linux
2014-03-18 12:56 ` Russell King - ARM Linux
2014-03-18 13:05 ` Laurent Pinchart [this message]
2014-03-18 13:05 ` Laurent Pinchart
2014-03-18 13:05 ` Laurent Pinchart
2014-03-18 13:05 ` Lothar Waßmann
2014-03-18 13:05 ` Lothar Waßmann
2014-03-18 13:05 ` Lothar Waßmann
2014-03-13 17:17 ` [PATCH 08/12] imx-drm: Use drm_display_mode timings flags Denis Carikli
2014-03-13 17:17 ` Denis Carikli
2014-03-18 13:04 ` Lothar Waßmann
2014-03-18 13:04 ` Lothar Waßmann
2014-03-18 13:04 ` Lothar Waßmann
2014-03-13 17:17 ` [PATCH 09/12] drm/panel: Add Eukrea mbimxsd51 displays Denis Carikli
2014-03-13 17:17 ` Denis Carikli
2014-03-13 17:17 ` [PATCH 10/12] ARM: dts: mbimx51sd: Add display support Denis Carikli
2014-03-13 17:17 ` Denis Carikli
2014-03-13 17:17 ` [PATCH 11/12] ARM: dts: mbimx51sd: Add CMO-QVGA backlight support Denis Carikli
2014-03-13 17:17 ` Denis Carikli
2014-03-13 17:17 ` Denis Carikli
2014-03-13 17:17 ` [PATCH 12/12] ARM: imx_v6_v7_defconfig: Add more drm drivers Denis Carikli
2014-03-13 17:17 ` Denis Carikli
2014-03-13 17:17 ` Denis Carikli
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=126833534.i9WITsrxHj@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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.