Since msleep(2) can sleep up to 20ms anyway, make this explicit by using
usleep_range(2000, 2).
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
drivers/staging/imx-drm/ipu-v3/ipu-dc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/imx-drm/ipu-v3
framework,
but others, such as the dma controller (IDMAC) and image converter (IC) can
be used by both.
The IPUv3 core driver provides an internal API to access the modules, to be
used by both DRM and V4L2 IPUv3 drivers.
Signed-off-by: Lucas Stach l.st...@pengutronix.de
Signed-off-by: Philipp Zabel
Am Dienstag, den 25.02.2014, 12:43 +0100 schrieb Philipp Zabel:
The i.MX Image Processing Unit (IPU) contains a number of image processing
blocks that sit right in the middle between DRM and V4L2. Some of the modules,
such as Display Controller, Processor, and Interface (DC, DP, DI) or CMOS
This patch updates the device tree binding documentation for i.MX IPU/display
nodes using the OF graph bindings documented in
Documentation/devicetree/bindings/media/video-interfaces.txt.
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
.../bindings/staging/imx-drm/fsl-imx-drm.txt
The device tree bindings are updated regardless of the common display
framework and in the meantime the HDMI driver was included.
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
drivers/staging/imx-drm/TODO | 5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/staging/imx-drm
to the
display interfaces, it can be moved to the SoC dtsi level. At
the board level, only connections between the display interface
ports and encoders or panels have to be added.
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
Changes since v3:
- Removed port@4 output nodes from lvds-channel
From: Philipp Zabel philipp.za...@gmail.com
This patch adds support to find the involved components connected to
the IPU display interface ports using the OF graph bindings documented
in Documentation/devicetree/bindings/media/video-interfaces.txt.
It makes use of the of_graph (formerly v4l2_of
to drivers/of.
regards
Philipp
Philipp Zabel (8):
staging: imx-drm-core: Use OF graph to find components and connections
between encoder and crtcs
staging: imx-drm-core: use of_graph_parse_endpoint
staging: imx-drm: Document updated imx-drm device tree bindings
staging: imx-drm
node now only needs to contain links to the
display interfaces, it can be moved to the SoC dtsi level. At
the board level, only connections between the display interface
ports and panels have to be added.
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
arch/arm/boot/dts/imx51-apf51dev.dts
-by: Philipp Zabel p.za...@pengutronix.de
---
arch/arm/boot/dts/imx53-m53evk.dts | 17 +-
arch/arm/boot/dts/imx53-mba53.dts | 15 +
arch/arm/boot/dts/imx53-qsb.dts| 17 +-
arch/arm/boot/dts/imx53.dtsi | 64 +++---
4 files changed, 89
Using of_graph_parse_endpoint recovers the port id from an endpoint device
tree node. This just replaces an open coded read of the reg property.
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
drivers/staging/imx-drm/imx-drm-core.c | 8
1 file changed, 4 insertions(+), 4
Hi Fabio,
Am Dienstag, den 25.02.2014, 12:13 -0300 schrieb Fabio Estevam:
On Tue, Feb 25, 2014 at 11:23 AM, Philipp Zabel p.za...@pengutronix.de
wrote:
This patch adds device tree binding documentation for the HDMI transmitter
on i.MX6.
Signed-off-by: Philipp Zabel p.za
Am Dienstag, den 18.02.2014, 12:36 +0100 schrieb Philipp Zabel:
Hi,
here is an updated and more complete version of the imx-drm DT binding
series. These patches apply on top of Russell's second preview of the
imx-drm cleanup series on v3.14-rc2. I have added device tree bindings
between IPU
Am Montag, den 24.02.2014, 15:49 + schrieb Russell King - ARM Linux:
On Tue, Feb 18, 2014 at 12:36:02PM +0100, Philipp Zabel wrote:
From: Lucas Stach l.st...@pengutronix.de
Since imx_drm_encoder_parse_of is called from the encoder bind callbacks,
it is too late to request probe
Am Montag, den 24.02.2014, 15:52 + schrieb Russell King - ARM Linux:
On Tue, Feb 18, 2014 at 12:36:03PM +0100, Philipp Zabel wrote:
From: Philipp Zabel philipp.za...@gmail.com
The existing v4l2-of parser functions for the video interface bindings
described in Documentation/device
Am Montag, den 24.02.2014, 17:06 + schrieb Russell King - ARM Linux:
On Mon, Feb 24, 2014 at 05:56:38PM +0100, Philipp Zabel wrote:
Am Montag, den 24.02.2014, 15:49 + schrieb Russell King - ARM Linux:
One issue was that the DT parsing code would try to add the imx-ldb
component
be removed again once those are available
at a generic place.
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
drivers/staging/imx-drm/imx-drm-core.c | 203 ++---
drivers/staging/imx-drm/imx-drm.h | 5 +-
drivers/staging/imx-drm/imx-hdmi.c | 2 +-
drivers
This patch adds device tree binding documentation for the HDMI transmitter
on i.MX6.
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
.../devicetree/bindings/staging/imx-drm/hdmi.txt | 53 ++
1 file changed, 53 insertions(+)
create mode 100644 Documentation
node now only needs to contain links to the
display interfaces, it can be moved to the SoC dtsi level. At
the board level, only connections between the display interface
ports and panels have to be added.
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
arch/arm/boot/dts/imx51-apf51dev.dts
failure when using the LDB on i.MX6.
Signed-off-by: Lucas Stach l.st...@pengutronix.de
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
drivers/staging/imx-drm/imx-drm-core.c | 16
1 file changed, 4 insertions(+), 12 deletions(-)
diff --git a/drivers/staging/imx-drm/imx-drm
This patch updates the device tree binding documentation for i.MX IPU/display
nodes using the OF graph bindings documented in
Documentation/devicetree/bindings/media/video-interfaces.txt.
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
.../bindings/staging/imx-drm/fsl-imx-drm.txt
be used by drm drivers,
eventually, so those local copies can be dropped again.
regards
Philipp
Lucas Stach (1):
staging: imx-drm-core: don't request probe deferral in
imx_drm_encoder_parse_of
Philipp Zabel (8):
staging: imx-drm: Add temporary copies of v4l2-of parsing functions
staging
-by: Philipp Zabel p.za...@pengutronix.de
---
arch/arm/boot/dts/imx53-m53evk.dts | 17 +-
arch/arm/boot/dts/imx53-mba53.dts | 15 +
arch/arm/boot/dts/imx53-qsb.dts| 17 +-
arch/arm/boot/dts/imx53.dtsi | 64 +++---
4 files changed, 89
The device tree bindings are updated regardless of the common display
framework and in the meantime the HDMI driver was included.
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
drivers/staging/imx-drm/TODO | 5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/staging/imx-drm
Hi Russell,
Am Montag, den 10.02.2014, 17:56 + schrieb Russell King - ARM Linux:
On Mon, Feb 10, 2014 at 06:37:26PM +0100, Philipp Zabel wrote:
I'd like all of them to go through, too. If you don't want to have the DT
changes integrated, I'd appreciate if you could have a look at my
that I loathe the current DT bindings, which are
not the fault of this series:
Acked-by: Philipp Zabel p.za...@pengutronix.de
regards
Philipp
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo
Hi Dan,
Am Dienstag, den 11.02.2014, 11:38 +0300 schrieb Dan Carpenter:
Why is this loop soo complicated? Why do you need to mess around with
this last_ep stuff - you don't actually end up using it.
The loop reduces down to this without comments:
for (i = 0; !ret; i++) {
.
Explicitly converting the void* cookie to the port device tree node
allows to get rid of the ipu_id and di_id fields. The multiplexer
setting now can be obtained from the port reg property in the
device tree.
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
drivers/staging/imx-drm/imx-drm-core.c
are moved to a generic place.
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
drivers/staging/imx-drm/imx-drm-core.c | 43 +++---
1 file changed, 29 insertions(+), 14 deletions(-)
diff --git a/drivers/staging/imx-drm/imx-drm-core.c
b/drivers/staging/imx-drm
with an associated input multiplexer has multiple
input ports in the device tree. The order and reg property of
the ports must correspond to the multiplexer input order.
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
arch/arm/boot/dts/imx6dl.dtsi | 9 ++-
arch/arm/boot/dts/imx6q.dtsi
From: Philipp Zabel philipp.za...@gmail.com
The video interface bindings described in
Documentation/device-tree/bindings/media/video-interfaces.txt
are useful for DRM drivers, too. To decouple development,
duplicate the v4l2-of parser functions temporarily. Also modify
most of this ready for that
window too.
For the first 9 patches up to (including) imx-drm: ipu-v3: more
clocking fixes:
Acked-by: Philipp Zabel p.za...@pengutronix.de
As you say, comments about the device tree bindings still apply.
I'd prefer if the patches that currently use the crtcs property
On Mon, Feb 10, 2014 at 04:26:31PM +, Russell King - ARM Linux wrote:
[...]
Why is this loop soo complicated? Why do you need to mess around with
this last_ep stuff - you don't actually end up using it.
The last_ep dance is necessary because v4l2_of_get_next_endpoint(node,prev)
does not
Am Samstag, den 11.01.2014, 11:40 + schrieb Russell King - ARM
Linux:
On Sat, Jan 11, 2014 at 12:31:19PM +0100, Robert Schwebel wrote:
On Fri, Jan 10, 2014 at 11:23:37PM +, Russell King - ARM Linux wrote:
We do this in DT by providing a superdevice node which specifies
the
Am Samstag, den 11.01.2014, 11:23 +0800 schrieb Shawn Guo:
On Fri, Jan 10, 2014 at 03:22:24PM +0100, Philipp Zabel wrote:
Due to the voltage divider on the HPD line, the HDMI connector on
imx6q-sabrelite doesn't reliably detect connected DVI monitors.
This patch allows to use the RX_SENSE0
Due to the voltage divider on the HPD line, the HDMI connector on
imx6q-sabrelite doesn't reliably detect connected DVI monitors.
This patch allows to use the RX_SENSE0 signal as a workaround when
enabled by a boolean device tree property 'hpd-unreliable'.
Signed-off-by: Philipp Zabel p.za
Am Montag, den 06.01.2014, 19:31 -0700 schrieb Eric Nelson:
Hi Russell,
On 01/06/2014 10:46 AM, Russell King - ARM Linux wrote:
On Mon, Jan 06, 2014 at 06:41:28PM +0100, Philipp Zabel wrote:
Hi Eric,
Am Freitag, den 03.01.2014, 12:14 -0700 schrieb Eric Nelson:
This is an issue we've
Am Dienstag, den 07.01.2014, 08:30 -0700 schrieb Eric Nelson:
Hi Philipp,
On 01/07/2014 04:29 AM, Philipp Zabel wrote:
Am Montag, den 06.01.2014, 19:31 -0700 schrieb Eric Nelson:
Hi Russell,
On 01/06/2014 10:46 AM, Russell King - ARM Linux wrote:
On Mon, Jan 06, 2014 at 06:41:28PM
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
drivers/staging/imx-drm/imx-drm-core.c | 44 --
1 file changed, 32 insertions(+), 12 deletions(-)
diff --git a/drivers/staging/imx-drm/imx-drm-core.c
b/drivers/staging/imx-drm/imx-drm-core.c
index 2490dc3
.
Explicitly converting the void* cookie to the port device tree node
allows to get rid of the ipu_id and di_id fields. The multiplexer
setting now can be obtained from the port reg property in the
device tree.
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
drivers/staging/imx-drm/imx-drm-core.c
Hi Eric,
Am Freitag, den 03.01.2014, 12:14 -0700 schrieb Eric Nelson:
This is an issue we've seen before. The SABRE Lite board has
a voltage divider on the HPD pins and some monitors (esp. DVI
monitors) either don't drive things high enough to assert HPD or
bounce with connect/disconnect.
Hi Russell,
I've tested this series on a BD-SL (SabreLite) with HDMI. Right now
the HPD signal doesn't seem to work, but after overwriting the
connection check, I got a stable and correct picture on the monitor:
arch/arm/boot/dts/imx6q-sabrelite.dts | 22 ++
1 file changed,
Am Freitag, den 20.12.2013, 11:12 -0800 schrieb Greg Kroah-Hartman:
On Fri, Dec 20, 2013 at 06:52:41PM +0100, Philipp Zabel wrote:
Hi,
this is mostly about the first patch, which moves the IPUv3 core code
(drivers/staging/imx-drm/ipu-v3) to drivers/gpu. host1x, which
serves a similar
Am Freitag, den 03.01.2014, 17:07 + schrieb Russell King - ARM
Linux:
On Fri, Jan 03, 2014 at 05:48:57PM +0100, Philipp Zabel wrote:
Hi Russell,
I've tested this series on a BD-SL (SabreLite) with HDMI. Right now
the HPD signal doesn't seem to work, but after overwriting
From: Lucas Stach l.st...@pengutronix.de
Signed-off-by: Lucas Stach l.st...@pengutronix.de
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
drivers/staging/imx-drm/ipuv3-plane.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/imx-drm/ipuv3-plane.c
b
From: Lucas Stach l.st...@pengutronix.de
Signed-off-by: Lucas Stach l.st...@pengutronix.de
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
drivers/staging/imx-drm/ipuv3-crtc.c | 3 ++-
drivers/staging/imx-drm/ipuv3-plane.c | 4
2 files changed, 6 insertions(+), 1 deletion(-)
diff
These patches fix the issue of frame buffer offsets being forgotten
during crtc pageflip. Also we set the second buffer address.
Lucas Stach (2):
staging: drm/imx: handle framebuffer offsets correctly
staging: drm/imx: don't drop crtc offsets when doing pageflip
Philipp Zabel (1):
staging
framework,
but others, such as the dma controller (IDMAC) and image converter (IC) can
be used by both.
The IPUv3 core driver provides an internal API to access the modules, to be
used by both DRM and V4L2 IPUv3 drivers.
Signed-off-by: Lucas Stach l.st...@pengutronix.de
Signed-off-by: Philipp Zabel
the core code out of staging so that
we can start submitting V4L2 code for video capture and scaling / colorspace
conversion in parallel.
Philipp Zabel (5):
gpu: ipu-v3: Move i.MX IPUv3 core driver out of staging
gpu: ipu-v3: Add SMFC code
gpu: ipu-v3: Add ipu_idmac_get_current_buffer function
gpu
Signed-off-by: Lucas Stach l.st...@pengutronix.de
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
drivers/gpu/ipu-v3/ipu-common.c | 35 +++
include/video/imx-ipu-v3.h | 1 +
2 files changed, 32 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu
Hi Eric,
Am Mittwoch, den 13.11.2013, 08:53 +0100 schrieb Eric Bénard:
Hi Russell,
Le Tue, 12 Nov 2013 17:04:55 +,
Russell King - ARM Linux li...@arm.linux.org.uk a écrit :
On Tue, Nov 12, 2013 at 05:49:18PM +0100, Denis Carikli wrote:
diff --git a/drivers/gpu/drm/drm_modes.c
Connecting a 320x240 parallel display on i.MX6 resulted in an invalid DRDY
signal because the DC would not receive NL/EOL events on every line.
Reducing the allocated DMFC space from 4 slots (256 * 128-bit) to 2 slots
(128 * 128-bit) solved the problem.
Signed-off-by: Philipp Zabel p.za
-off-by: Philipp Zabel p.za...@pengutronix.de
---
drivers/staging/imx-drm/ipu-v3/imx-ipu-v3.h | 1 +
drivers/staging/imx-drm/ipu-v3/ipu-common.c | 23 ++-
drivers/staging/imx-drm/ipuv3-crtc.c| 1 +
3 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/drivers
internal representation.
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
drivers/staging/imx-drm/ipu-v3/imx-ipu-v3.h | 1 +
drivers/staging/imx-drm/ipu-v3/ipu-common.c | 121 +++-
2 files changed, 100 insertions(+), 22 deletions(-)
diff --git a/drivers/staging/imx-drm
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
drivers/staging/imx-drm/ipu-v3/ipu-common.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/staging/imx-drm/ipu-v3/ipu-common.c
b/drivers/staging/imx-drm/ipu-v3/ipu-common.c
index 54466df..f90bdb4 100644
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
drivers/staging/imx-drm/ipu-v3/ipu-dc.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/staging/imx-drm/ipu-v3/ipu-dc.c
b/drivers/staging/imx-drm/ipu-v3/ipu-dc.c
index 21bf1c8..1a6e06d 100644
--- a/drivers/staging/imx
Lets the IPU driver make use of the PRIME functionality introduced
by the drm: GEM CMA: Add DRM PRIME support patch.
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
drivers/staging/imx-drm/imx-drm-core.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git
Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
drivers/staging/imx-drm/ipuv3-crtc.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/staging/imx-drm/ipuv3-crtc.c
b/drivers/staging/imx-drm/ipuv3-crtc.c
index 574633b..f63931b 100644
--- a/drivers/staging/imx-drm/ipuv3
-off-by: Philipp Zabel p.za...@pengutronix.de
---
drivers/staging/imx-drm/Makefile| 2 +-
drivers/staging/imx-drm/TODO| 1 -
drivers/staging/imx-drm/imx-drm-core.c | 5 +
drivers/staging/imx-drm/imx-drm.h | 2 +
drivers/staging/imx-drm/ipu-v3/ipu
301 - 359 of 359 matches
Mail list logo