Re:Re:hi

2015-03-25 Thread kp
Bäste herr iphone 6,280 € moto.camera, Mobiltelefon, laptop.moto.watch, gitarr . sjöfarten är gratis w eb : ereaaal . com

cron job: media_tree daily build: WARNINGS

2015-03-25 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Thu Mar 26 04:00:19 CET 2015 git branch: test git hash: 8a56b6b5fd6ff92b7e27d870b803b11b751660c2 gcc versio

Re: OMAP3 ISP previewer Y10 to UYVY conversion

2015-03-25 Thread Sakari Ailus
Hi Chris, On Wed, Mar 25, 2015 at 09:12:56AM -0500, Chris Whittenburg wrote: > Hi Sakari, > > Thanks for the reply. > > On Tue, Mar 24, 2015 at 6:51 PM, Sakari Ailus wrote: > > Do you know if the sensor has black level correction enabled? It appears to > > have one, but I'm not completely sure

Re: [PATCH v2 06/15] omap3isp: Refactor device configuration structs for Device Tree

2015-03-25 Thread Tony Lindgren
* Sakari Ailus [150325 16:00]: > Make omap3isp configuration data structures more suitable for consumption by > the DT by separating the I2C bus information of all the sub-devices in a > group and the ISP bus information from each other. The ISP bus information > is made a pointer instead of being

[GIT PULL FOR v4.1] [v2] OMAP3 ISP DT support & other fixes

2015-03-25 Thread Laurent Pinchart
Hi Mauro, This pull request supersedes "[GIT PULL FOR v4.1] OMAP3 ISP fixes". It contains all the patches of the previous pull request, plus OMAP3 ISP DT support. Board code and platform changes have been acked by the appropriate maintainers to the best of my knowledge. The following changes

[PATCH v2 06/15] omap3isp: Refactor device configuration structs for Device Tree

2015-03-25 Thread Sakari Ailus
Make omap3isp configuration data structures more suitable for consumption by the DT by separating the I2C bus information of all the sub-devices in a group and the ISP bus information from each other. The ISP bus information is made a pointer instead of being directly embedded in the struct. In th

[PATCH v2 07/15] omap3isp: Rename regulators to better suit the Device Tree

2015-03-25 Thread Sakari Ailus
Rename VDD_CSIPHY1 as vdd-csiphy1 and VDD_CSIPHY2 as vdd-csiphy2. Signed-off-by: Sakari Ailus Acked-by: Laurent Pinchart --- drivers/media/platform/omap3isp/isp.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/omap3isp/isp.c b/drivers/media/pl

[PATCH v2 02/15] omap3isp: Avoid a BUG_ON() in media_entity_create_link()

2015-03-25 Thread Sakari Ailus
If an uninitialised v4l2_subdev struct was passed to media_entity_create_link(), one of the BUG_ON()'s in the function will be hit since media_entity.num_pads will be zero. Avoid this by checking whether the num_pads field is non-zero for the interface. Signed-off-by: Sakari Ailus Acked-by: Laure

[PATCH v2 03/15] omap3isp: Separate external link creation from platform data parsing

2015-03-25 Thread Sakari Ailus
Move the code which connects the external entity to an ISP entity into a separate function. This disconnects it from parsing the platform data. Signed-off-by: Sakari Ailus Acked-by: Laurent Pinchart --- drivers/media/platform/omap3isp/isp.c | 143 + 1 file chang

[PATCH v2 15/15] omap3isp: Deprecate platform data support

2015-03-25 Thread Sakari Ailus
Print a warning when the driver is used with platform data. Existing platform data users should move to DT now. Signed-off-by: Sakari Ailus Acked-by: Laurent Pinchart --- drivers/media/platform/omap3isp/isp.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/platform/omap3i

[PATCH v2 12/15] dt: bindings: Add lane-polarity property to endpoint nodes

2015-03-25 Thread Sakari Ailus
Add lane-polarity property to endpoint nodes. This essentially tells that the order of the differential signal wires is inverted. Signed-off-by: Sakari Ailus Acked-by: Laurent Pinchart --- Documentation/devicetree/bindings/media/video-interfaces.txt |6 ++ 1 file changed, 6 insertions(+

[PATCH v2 09/15] omap3isp: Replace mmio_base_phys array with the histogram block base

2015-03-25 Thread Sakari Ailus
Only the histogram sub-block driver uses the physical address. Do not store it for other sub-blocks. Signed-off-by: Sakari Ailus Acked-by: Laurent Pinchart --- drivers/media/platform/omap3isp/isp.c |3 ++- drivers/media/platform/omap3isp/isp.h |6 +++--- drivers/media/platform/o

[PATCH v2 10/15] omap3isp: Move the syscon register out of the ISP register maps

2015-03-25 Thread Sakari Ailus
The syscon register isn't part of the ISP, use it through the syscom driver regmap instead. The syscom block is considered to be from 343x on ISP revision 2.0 whereas 15.0 is assumed to have 3630 syscon. Signed-off-by: Sakari Ailus Acked-by: Laurent Pinchart Acked-by: Tony Lindgren --- arch/ar

[PATCH v2 13/15] v4l: of: Read lane-polarities endpoint property

2015-03-25 Thread Sakari Ailus
Add lane_polarities field to struct v4l2_of_bus_mipi_csi2 and write the contents of the lane-polarities property to it. The field tells the polarity of the physical lanes starting from the first one. Any unused lanes are ignored, i.e. only the polarity of the used lanes is specified. Also rework r

[PATCH v2 14/15] omap3isp: Add support for the Device Tree

2015-03-25 Thread Sakari Ailus
Add the ISP device to omap3 DT include file and add support to the driver to use it. Also obtain information on the external entities and the ISP configuration related to them through the Device Tree in addition to the platform data. Signed-off-by: Sakari Ailus --- drivers/media/platform/omap3i

[PATCH v2 01/15] omap3isp: Fix error handling in probe

2015-03-25 Thread Sakari Ailus
The mutex was not destroyed correctly if dma_coerce_mask_and_coherent() failed for some reason. Signed-off-by: Sakari Ailus Acked-by: Laurent Pinchart --- drivers/media/platform/omap3isp/isp.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/omap3isp

[PATCH v2 11/15] omap3isp: Replace many MMIO regions by two

2015-03-25 Thread Sakari Ailus
The omap3isp MMIO register block is contiguous in the MMIO register space apart from the fact that the ISP IOMMU register block is in the middle of the area. Ioremap it at two occasions, and keep the rest of the layout of the register space internal to the omap3isp driver. Signed-off-by: Sakari Ai

[PATCH v2 00/15] omap3isp driver DT support

2015-03-25 Thread Sakari Ailus
Hi folks, Here's an update to the omap3isp DT support patchset. v1 can be found here: http://www.spinics.net/lists/linux-media/msg87733.html> Changes since v1: patch 10: - Add Kconfig dependency to MFD_SYSCON patch 12: - Rename "lane-polarity" property as "lane-polarities" patch 13: - Add

[PATCH v2 08/15] omap3isp: Calculate vpclk_div for CSI-2

2015-03-25 Thread Sakari Ailus
The video port clock is l3_ick divided by vpclk_div. This clock must be high enough for the external pixel rate. The video port requires two clock cycles to process a pixel. Signed-off-by: Sakari Ailus Acked-by: Laurent Pinchart --- drivers/media/platform/omap3isp/ispcsi2.c |8 +++- inc

[PATCH v2 04/15] omap3isp: DT support for clocks

2015-03-25 Thread Sakari Ailus
From: Laurent Pinchart Signed-off-by: Laurent Pinchart --- drivers/media/platform/omap3isp/isp.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/media/platform/omap3isp/isp.c b/drivers/media/platform/omap3isp/isp.c index f694615..82499cd 100644 --- a/dr

[PATCH v2 05/15] omap3isp: Platform data could be NULL

2015-03-25 Thread Sakari Ailus
Only check for call platform data callback functions if there's platform data. Also take care of a few other cases where the NULL pdata pointer could have been accessed, and remove the check for NULL dev->platform_data pointer. Removing the check for NULL dev->platform_data isn't strictly needed b

Re: [PATCH v1.1 14/15] omap3isp: Add support for the Device Tree

2015-03-25 Thread Sakari Ailus
Hi Laurent, Thanks again for the comments! On Sun, Mar 22, 2015 at 10:26:39PM +0200, Laurent Pinchart wrote: > Hi Sakari, > > Thank you for the patch. This looks good to me, except that there's one last > bug I've spotted. Please see below. > > On Saturday 21 March 2015 00:05:04 Sakari Ailus w

[PATCH] [media] coda: drop dma_sync_single_for_device in coda_bitstream_queue

2015-03-25 Thread Philipp Zabel
Issuing a cache flush for the whole bitstream buffer is not optimal in the first place when only a part of it was written. But given that the buffer is mapped in writecombine mode, it is not needed at all. Signed-off-by: Philipp Zabel --- drivers/media/platform/coda/coda-bit.c | 4 1 file c

Re: [GIT PULL v2] of: Add of-graph helpers to loop over endpoints and find ports by id

2015-03-25 Thread Rob Herring
On Wed, Mar 25, 2015 at 4:15 AM, Philipp Zabel wrote: > Hi Rob, > > Am Dienstag, den 24.03.2015, 23:42 -0500 schrieb Rob Herring: >> On Tue, Mar 24, 2015 at 4:15 AM, Russell King - ARM Linux >> wrote: >> > On Mon, Mar 23, 2015 at 05:29:02PM +0100, Heiko Stuebner wrote: >> >> Hi Rob, Philipp, >> >

Re: OMAP3 ISP previewer Y10 to UYVY conversion

2015-03-25 Thread Chris Whittenburg
Hi Sakari, Thanks for the reply. On Tue, Mar 24, 2015 at 6:51 PM, Sakari Ailus wrote: > Do you know if the sensor has black level correction enabled? It appears to > have one, but I'm not completely sure what it does there. I'd check that it > is indeed enabled. The ar0130cs does have black lev

Re: input_polldev interval (was Re: [sur40] Debugging a race condition)?

2015-03-25 Thread Florian Echtler
Hello Dmitry, On 25.03.2015 14:23, Dmitry Torokhov wrote: > On March 24, 2015 11:52:54 PM PDT, Florian Echtler > wrote: >> Currently, I'm setting the interval for input_polldev to 10 ms. >> However, with video data being retrieved at the same time, it's quite >> possible that one iteration of po

Re: input_polldev interval (was Re: [sur40] Debugging a race condition)?

2015-03-25 Thread Dmitry Torokhov
On March 24, 2015 11:52:54 PM PDT, Florian Echtler wrote: >Sorry for the continued noise, but this bug/crash is proving quite >difficult to nail down. > >Currently, I'm setting the interval for input_polldev to 10 ms. >However, with video data being retrieved at the same time, it's quite >possible

Re: drivers/media/usb/au0828/au0828-video.c:1741:1-3: WARNING: end returns can be simpified if negative or 0 value

2015-03-25 Thread Julia Lawall
The function does only return 0 or a negative constant, but it seems like a matter of personal prefernce - shorter vs more explicit. julia On Wed, 25 Mar 2015, kbuild test robot wrote: > TO: Shuah Khan > CC: Mauro Carvalho Chehab > CC: linux-media@vger.kernel.org > CC: Hans Verkuil > > tree:

Re: [Linux-kernel] RFC: supporting adv7604.c under soc_camera/rcar_vin

2015-03-25 Thread William Towle
Hello again all, Previously I promised to comment further on progress with our work supporting HDMI input on Lager. After studying commit 4c28078 "[media] rcar_vin: Add scaling support" on Hans' subdev2 branch, I have come to the conclusion that the following is actually reasonable behaviour wh

Re: [GIT PULL v2] of: Add of-graph helpers to loop over endpoints and find ports by id

2015-03-25 Thread Philipp Zabel
Hi Rob, Am Dienstag, den 24.03.2015, 23:42 -0500 schrieb Rob Herring: > On Tue, Mar 24, 2015 at 4:15 AM, Russell King - ARM Linux > wrote: > > On Mon, Mar 23, 2015 at 05:29:02PM +0100, Heiko Stuebner wrote: > >> Hi Rob, Philipp, > >> > >> Am Mittwoch, 11. März 2015, 09:51:21 schrieb Philipp Zabel

Re: [PATCH v1 09/11] DT: Add documentation for exynos4-is 'flashes' property

2015-03-25 Thread Jacek Anaszewski
Hi Sakari, On 03/25/2015 02:06 AM, Sakari Ailus wrote: Hi Jacek, On Fri, Mar 20, 2015 at 04:03:29PM +0100, Jacek Anaszewski wrote: This patch adds a description of 'flashes' property to the samsung-fimc.txt. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Sylwester Nawrocki ---

Re: [PATCH v1 07/11] media: Add registration helpers for V4L2 flash sub-devices

2015-03-25 Thread Jacek Anaszewski
Hi Sakari, On 03/25/2015 02:00 AM, Sakari Ailus wrote: Hi Jacek, On Tue, Mar 24, 2015 at 09:35:05AM +0100, Jacek Anaszewski wrote: ... diff --git a/drivers/media/v4l2-core/v4l2-flash.c b/drivers/media/v4l2-core/v4l2-flash.c new file mode 100644 index 000..804c2e4 --- /dev/null +++ b/drive