[PATCH v2 12/13] ARM: pxa: remove the DMA IO resources

2018-05-24 Thread Robert Jarzmik
As the last driver using the former mechanism to acquire the DMA requestor line has be converted to the dma_slave_map, remove all these resources from the PXA devices. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- arch/arm/mach-pxa/devices.c

[PATCH v2 06/13] net: smc911x: remove the dmaengine compat need

2018-05-24 Thread Robert Jarzmik
-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/net/ethernet/smsc/smc911x.c | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/drivers/net/ethernet/smsc/smc911x.c b/drivers/net/ethernet/smsc/smc911x.c index 05157442a980..4c3713bd5caa

[PATCH v2 02/13] ARM: pxa: add dma slave map

2018-05-24 Thread Robert Jarzmik
In order to remove the specific knowledge of the dma mapping from PXA drivers, add a default slave map for pxa architectures. This is the first step, and once all drivers are converted, pxad_filter_fn() will be made static, and the DMA resources removed from device.c. Signed-off-by: Robert

[PATCH v2 09/13] ata: pata_pxa: remove the dmaengine compat need

2018-05-24 Thread Robert Jarzmik
-off-by: Robert Jarzmik <robert.jarz...@free.fr> Acked-by: Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com> --- drivers/ata/pata_pxa.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/ata/pata_pxa.c b/drivers/ata/pata_pxa.c index f6c46e9a4dc0..

[PATCH v2 08/13] ASoC: pxa: remove the dmaengine compat need

2018-05-24 Thread Robert Jarzmik
-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- sound/arm/pxa2xx-ac97.c | 14 ++ sound/arm/pxa2xx-pcm-lib.c | 6 +++--- sound/soc/pxa/pxa2xx-ac97.c | 32 +--- sound/soc/pxa/pxa2xx-i2s.c | 6 ++ 4 files changed, 12 insertions(+), 46 del

[PATCH v2 03/13] mmc: pxamci: remove the dmaengine compat need

2018-05-24 Thread Robert Jarzmik
-off-by: Robert Jarzmik <robert.jarz...@free.fr> Acked-by: Ulf Hansson <ulf.hans...@linaro.org> --- drivers/mmc/host/pxamci.c | 29 +++-- 1 file changed, 3 insertions(+), 26 deletions(-) diff --git a/drivers/mmc/host/pxamci.c b/drivers/mmc/host/pxamci.c index

[PATCH v2 11/13] dmaengine: pxa: make the filter function internal

2018-05-24 Thread Robert Jarzmik
As the pxa architecture and all its related drivers do not rely anymore on the filter function, thanks to the slave map conversion, make pxad_filter_fn() static, and remove it from the global namespace. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/dma/pxa_dma.c

[PATCH v2 10/13] dmaengine: pxa: document pxad_param

2018-05-24 Thread Robert Jarzmik
Add some documentation for the pxad_param structure, and describe the contract behind the minimal required priority of a DMA channel. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- include/linux/dma/pxa-dma.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include

[PATCH v2 05/13] mtd: rawnand: marvell: remove the dmaengine compat need

2018-05-24 Thread Robert Jarzmik
-off-by: Signed-off-by: Daniel Mack <dan...@zonque.org> Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/mtd/nand/raw/marvell_nand.c | 17 + 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/drivers/mtd/nand/raw/marvell_nand.c b/drivers/

[PATCH v2 04/13] media: pxa_camera: remove the dmaengine compat need

2018-05-24 Thread Robert Jarzmik
-off-by: Robert Jarzmik <robert.jarz...@free.fr> Acked-by: Hans Verkuil <hans.verk...@cisco.com> Acked-by: Mauro Carvalho Chehab <mchehab+sams...@kernel.org> --- drivers/media/platform/pxa_camera.c | 22 +++--- 1 file changed, 3 insertions(+), 19 deletions(-) di

[PATCH v2 01/13] dmaengine: pxa: use a dma slave map

2018-05-24 Thread Robert Jarzmik
, and the DMA resources removed from device.c. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> Reported-by: Arnd Bergmann <a...@arndb.de> Acked-by: Vinod Koul <vk...@kernel.org> --- drivers/dma/pxa_dma.c | 10 +- include/linux/platform_data/mmp_

[PATCH v2 13/13] ARM: pxa: change SSP DMA channels allocation

2018-05-24 Thread Robert Jarzmik
ot;rx" or "tx". - for device tree platforms, the dma node should be hooked into the pxa2xx-ac97 or pxa-ssp-dai node. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- Since v1: Removed channel names from platform_data --- arch/

[PATCH v2 07/13] net: smc91x: remove the dmaengine compat need

2018-05-24 Thread Robert Jarzmik
-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/net/ethernet/smsc/smc91x.c | 12 +--- drivers/net/ethernet/smsc/smc91x.h | 1 - 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/net/ethernet/smsc/smc91x.c b/drivers/net/ethernet/smsc/smc91x.c

[PATCH v2 00/13] ARM: pxa: switch to DMA slave maps

2018-05-24 Thread Robert Jarzmik
that the cpu device provides the DMA - I added pxa2xx-i2s which was forgotten Therefore I need a new ack - Arnd and Daniel / SSP topic / 0013 Review and ack of this one Happy review. -- Robert Robert Jarzmik (13): dmaengine: pxa: use a dma slave map ARM: pxa: add dma slave map mmc

Re: [PATCH 04/15] media: pxa_camera: remove the dmaengine compat need

2018-04-21 Thread Robert Jarzmik
Robert Jarzmik <robert.jarz...@free.fr> writes: > From: Robert Jarzmik <robert.jarz...@renault.com> > > As the pxa architecture switched towards the dmaengine slave map, the > old compatibility mechanism to acquire the dma requestor line number and > prio

Re: [PATCH 1/7] i2c: i2c-gpio: move header to platform_data

2018-04-20 Thread Robert Jarzmik
Wolfram Sang <w...@the-dreams.de> writes: > This header only contains platform_data. Move it to the proper directory. > > Signed-off-by: Wolfram Sang <w...@the-dreams.de> For mach-pxa: Acked-by: Robert Jarzmik <robert.jarz...@free.fr> Take it through your tree,

Re: [PATCH 08/15] ASoC: pxa: remove the dmaengine compat need

2018-04-12 Thread Robert Jarzmik
Mark Brown <broo...@kernel.org> writes: > On Mon, Apr 02, 2018 at 04:26:49PM +0200, Robert Jarzmik wrote: >> As the pxa architecture switched towards the dmaengine slave map, the >> old compatibility mechanism to acquire the dma requestor line number and >> prio

Re: [PATCH 00/15] ARM: pxa: switch to DMA slave maps

2018-04-04 Thread Robert Jarzmik
Ulf Hansson <ulf.hans...@linaro.org> writes: > On 2 April 2018 at 16:26, Robert Jarzmik <robert.jarz...@free.fr> wrote: >> Hi, >> >> This serie is aimed at removing the dmaengine slave compat use, and transfer >> knowledge of the DMA requestors into a

Re: [PATCH 02/15] ARM: pxa: add dma slave map

2018-04-03 Thread Robert Jarzmik
Arnd Bergmann writes: >> + { "smc911x.0", "rx", PDMA_FILTER_PARAM(LOWEST, -1) }, >> + { "smc911x.0", "tx", PDMA_FILTER_PARAM(LOWEST, -1) }, >> + { "smc91x.0", "data", PDMA_FILTER_PARAM(LOWEST, -1) }, > > This one is interesting, as you are dealing with an

[PATCH 08/15] ASoC: pxa: remove the dmaengine compat need

2018-04-02 Thread Robert Jarzmik
-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- sound/arm/pxa2xx-ac97.c | 14 ++ sound/arm/pxa2xx-pcm-lib.c | 6 +++--- sound/soc/pxa/pxa2xx-ac97.c | 32 +--- 3 files changed, 10 insertions(+), 42 deletions(-) diff --git a/sound/arm/pxa2xx-ac

[PATCH 00/15] ARM: pxa: switch to DMA slave maps

2018-04-02 Thread Robert Jarzmik
including : - pxamci - pxa_camera - smc* - ASoC and SSP Happy review. Robert Jarzmik (15): dmaengine: pxa: use a dma slave map ARM: pxa: add dma slave map mmc: pxamci: remove the dmaengine compat need media: pxa_camera: remove the dmaengine compat need mtd: nand: pxa3xx: remove the

[PATCH 02/15] ARM: pxa: add dma slave map

2018-04-02 Thread Robert Jarzmik
In order to remove the specific knowledge of the dma mapping from PXA drivers, add a default slave map for pxa architectures. This is the first step, and once all drivers are converted, pxad_filter_fn() will be made static, and the DMA resources removed from device.c. Signed-off-by: Robert

[PATCH 01/15] dmaengine: pxa: use a dma slave map

2018-04-02 Thread Robert Jarzmik
, and the DMA resources removed from device.c. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> Reported-by: Arnd Bergmann <a...@arndb.de> --- drivers/dma/pxa_dma.c | 10 +- include/linux/platform_data/mmp_dma.h | 4 2 files changed, 13 insertions(+)

[PATCH 03/15] mmc: pxamci: remove the dmaengine compat need

2018-04-02 Thread Robert Jarzmik
-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/mmc/host/pxamci.c | 29 +++-- 1 file changed, 3 insertions(+), 26 deletions(-) diff --git a/drivers/mmc/host/pxamci.c b/drivers/mmc/host/pxamci.c index c763b404510f..6c94474e36f4 100644 --- a/drivers/mm

[PATCH 06/15] net: smc911x: remove the dmaengine compat need

2018-04-02 Thread Robert Jarzmik
From: Robert Jarzmik <robert.jarz...@renault.com> As the pxa architecture switched towards the dmaengine slave map, the old compatibility mechanism to acquire the dma requestor line number and priority are not needed anymore. This patch simplifies the dma resource acquisition, using th

[PATCH 07/15] net: smc91x: remove the dmaengine compat need

2018-04-02 Thread Robert Jarzmik
From: Robert Jarzmik <robert.jarz...@renault.com> As the pxa architecture switched towards the dmaengine slave map, the old compatibility mechanism to acquire the dma requestor line number and priority are not needed anymore. This patch simplifies the dma resource acquisition, using th

[PATCH 09/15] net: irda: pxaficp_ir: remove the dmaengine compat need

2018-04-02 Thread Robert Jarzmik
-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/staging/irda/drivers/pxaficp_ir.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/drivers/staging/irda/drivers/pxaficp_ir.c b/drivers/staging/irda/drivers/pxaficp_ir.c index 2ea00a6531f9..9dd6e2

[PATCH 10/15] ata: pata_pxa: remove the dmaengine compat need

2018-04-02 Thread Robert Jarzmik
-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/ata/pata_pxa.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/ata/pata_pxa.c b/drivers/ata/pata_pxa.c index f6c46e9a4dc0..e8b6a2e464c9 100644 --- a/drivers/ata/pata_pxa.c +++ b/drivers/ata/pata

[PATCH 11/15] dmaengine: pxa: document pxad_param

2018-04-02 Thread Robert Jarzmik
Add some documentation for the pxad_param structure, and describe the contract behind the minimal required priority of a DMA channel. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- include/linux/dma/pxa-dma.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include

[PATCH 12/15] dmaengine: pxa: make the filter function internal

2018-04-02 Thread Robert Jarzmik
As the pxa architecture and all its related drivers do not rely anymore on the filter function, thanks to the slave map conversion, make pxad_filter_fn() static, and remove it from the global namespace. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/dma/pxa_dma.c

[PATCH 15/15] ARM: pxa: change SSP DMA channels allocation

2018-04-02 Thread Robert Jarzmik
- for device tree platforms, the dma node should be hooked into the pxa-pcm-audio node. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- arch/arm/plat-pxa/ssp.c| 50 +- include/linux/pxa2xx_ssp.h | 4 ++-- sound/soc/pxa/pxa-ssp.c

[PATCH 14/15] ARM: pxa: change SSP devices allocation

2018-04-02 Thread Robert Jarzmik
In order to prepare for the dma_slave_map change for SSP DMA channels allocation, the SSP platform devices will now include a platform data structure which in turn selects which dma channel has to be used for data transfers, especially the PCM ones. Signed-off-by: Robert Jarzmik <robert.j

[PATCH 13/15] ARM: pxa: remove the DMA IO resources

2018-04-02 Thread Robert Jarzmik
As the last driver using the former mechanism to acquire the DMA requestor line has be converted to the dma_slave_map, remove all these resources from the PXA devices. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- arch/arm/mach-pxa/devices.c

[PATCH 05/15] mtd: nand: pxa3xx: remove the dmaengine compat need

2018-04-02 Thread Robert Jarzmik
From: Robert Jarzmik <robert.jarz...@renault.com> As the pxa architecture switched towards the dmaengine slave map, the old compatibility mechanism to acquire the dma requestor line number and priority are not needed anymore. This patch simplifies the dma resource acquisition, using th

[PATCH 04/15] media: pxa_camera: remove the dmaengine compat need

2018-04-02 Thread Robert Jarzmik
From: Robert Jarzmik <robert.jarz...@renault.com> As the pxa architecture switched towards the dmaengine slave map, the old compatibility mechanism to acquire the dma requestor line number and priority are not needed anymore. This patch simplifies the dma resource acquisition, using th

Re: [PATCH] [media] pxa_camera: Delete an error message for a failed memory allocation in pxa_camera_probe()

2017-09-09 Thread Robert Jarzmik
using the Coccinelle software. > > Signed-off-by: Markus Elfring <elfr...@users.sourceforge.net> Acked-by: Robert Jarzmik <robert.jarz...@free.fr> Cheers. -- Robert

Re: [RFC] [PATCH 0/4] [media] pxa_camera: Fixing bugs and missing colorformats

2017-05-02 Thread Robert Jarzmik
Petr Cvek writes: > Dne 1.5.2017 v 06:20 Petr Cvek napsal(a): >> This patchset is just a grouping of a few bugfixes I've found during >> the ov9640 sensor support re-adding. > > P.S. I've manually calculated every format variant for the image size > calculation functions, but

Re: [PATCH 4/4] [media] pxa_camera: Fix a call with an uninitialized device pointer

2017-05-02 Thread Robert Jarzmik
from the platform_device > (as before the old patch). > > Signed-off-by: Petr Cvek <petr.c...@tul.cz> Right, would be good to add to the commit message : Fixes: 295ab497d635 ("[media] media: platform: pxa_camera: make printk consistent") And : Acked-by: Robert Jarzmik <ro

Re: [PATCH 3/4] [media] pxa_camera: Add (un)subscribe_event ioctl

2017-05-02 Thread Robert Jarzmik
Petr Cvek writes: > The v4l2-compliance complains about nonexistent vidioc_subscribe_event > and vidioc_unsubscribe_event calls. Add them to fix the complaints. > > Signed-off-by: Petr Cvek Don't know on that one, let others on the mailing list comment, I'm

Re: [PATCH 2/4] [media] pxa_camera: Fix incorrect test in the image size generation

2017-05-02 Thread Robert Jarzmik
Petr Cvek writes: > During the transfer from the soc_camera a test in pxa_mbus_image_size() > got removed. Without it any PXA_MBUS_LAYOUT_PACKED format causes either > the return of a wrong value (PXA_MBUS_PACKING_2X8_PADHI doubles > the correct value) or EINVAL

Re: [PATCH 1/4] [media] pxa_camera: Add remaining Bayer 8 formats

2017-05-02 Thread Robert Jarzmik
in a modified OV9640 driver. > > Signed-off-by: Petr Cvek <petr.c...@tul.cz> Acked-by: Robert Jarzmik <robert.jarz...@free.fr> Cheers. -- Robert

Re: [PATCH] [media] pxa_camera: fix module remove codepath for v4l2 clock

2017-04-28 Thread Robert Jarzmik
Petr Cvek writes: > I will post some other bugfixes (and feature adding) for pxa_camera soon. Do > you wish to be CC'd? > > P.S. Who is the the maintainer of pxa_camera BTW? Still Guennadi Liakhovetski? Euh no, that's me. I had submitted a patch for that here :

Re: [PATCH] [media] pxa_camera: fix module remove codepath for v4l2 clock

2017-04-27 Thread Robert Jarzmik
the conversion > of the ov9640 from the soc_camera. > > Signed-off-by: Petr Cvek <petr.c...@tul.cz> Yeah, it's way better with this patch, especially the insmod/rmmod/insmod/rmmod test. Tested-by: Robert Jarzmik <robert.jarz...@free.fr> Acked-by: Robert Jarzmik <robert.jarz...@free.fr> Cheers. -- Robert

Re: [PATCH 1/2] media: platform: pxa_camera: add missing sensor power on

2016-10-18 Thread Robert Jarzmik
Robert Jarzmik <robert.jarz...@free.fr> writes: > During sensors binding, there is a window where the sensor is switched > off, while there is a call it to set a new format, which can end up in > an access to the sensor, especially an I2C based sensor. > > Remove this

Re: [PATCH 54/57] [media] platform: don't break long lines

2016-10-14 Thread Robert Jarzmik
ertions(+), 11 deletions(-) For pxa_camera, FWIW: Acked-by: Robert Jarzmik <robert.jarz...@free.fr> Cheers. -- Robert -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 2/2] media: mt9m111: add regulator support

2016-09-23 Thread Robert Jarzmik
plug in a gpio based or ldo regulator, mimicking their former soc_camera power hook. Fixes: 5c10113cc668 ("media: mt9m111: make a standalone v4l2 subdevice") Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/i2c/mt9m111.c | 14 ++ 1 file change

[PATCH 1/2] media: platform: pxa_camera: add missing sensor power on

2016-09-23 Thread Robert Jarzmik
During sensors binding, there is a window where the sensor is switched off, while there is a call it to set a new format, which can end up in an access to the sensor, especially an I2C based sensor. Remove this window by activating the sensor. Signed-off-by: Robert Jarzmik <robert.j

Re: [PATCH] pxa_camera: merge soc_mediabus.c into pxa_camera.c

2016-09-23 Thread Robert Jarzmik
amera once I get the atmel-isi driver out of soc_camera. Ok, fair enough. I have tested that for at least YUV422, YUYV, YVYU and RGB565 formats : Tested-by: Robert Jarzmik <robert.jarz...@free.fr> Cheers. -- Robert -- To unsubscribe from this list: send the line "unsubscribe linux-

Re: [PATCH] pxa_camera: merge soc_mediabus.c into pxa_camera.c

2016-09-21 Thread Robert Jarzmik
ures from soc_mediabus and renames it > to pxa_mbus_*. > > The large table of formats has been culled a bit, removing formats that are > not supported > by this driver. > > Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> > Cc: Robert Jarzmik <robert.jarz...@fr

Re: [PATCH -next] [media] pxa_camera: remove duplicated include from pxa_camera.c

2016-09-21 Thread Robert Jarzmik
Wei Yongjun <weiyj...@gmail.com> writes: > From: Wei Yongjun <weiyongj...@huawei.com> > > Remove duplicated include. > > Signed-off-by: Wei Yongjun <weiyongj...@huawei.com> Acked-by: Robert Jarzmik <robert.jarz...@free.fr> Cheers. -- Robert -- To un

Re: [PATCH -next] [media] pxa_camera: fix error return code in pxa_camera_probe()

2016-09-21 Thread Robert Jarzmik
s in v4l2_clk_register() error handling. > > Signed-off-by: Wei Yongjun <weiyongj...@huawei.com> Acked-by: Robert Jarzmik <robert.jarz...@free.fr> Cheers. -- Robert -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message

Re: [PATCH] [media] platform: pxa_camera: add VIDEO_V4L2 dependency

2016-09-21 Thread Robert Jarzmik
.text.vb2_core_streamon+0x1b4): undefined reference to > `v4l_vb2q_enable_media_source' > drivers/media/v4l2-core/videobuf2-v4l2.o: In function `vb2_ioctl_reqbufs': > videobuf2-v4l2.c:(.text.vb2_ioctl_reqbufs+0xc): undefined reference to > `video_devdata' > > This adds back an explicit depen

Re: [PATCH 2/2] [media] pxa_camera: remove an unused structure pointer

2016-09-18 Thread Robert Jarzmik
-variable] > struct pxa_buffer *active; > ^~ > > Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> Acked-by: Robert Jarzmik <robert.jarz...@free.fr> Cheers. -- Robert -- To unsubscribe from this list: send the line "unsubscri

Re: [PATCH 1/2] [media] pxa_camera: make soc_mbus_xlate_by_fourcc() static

2016-09-18 Thread Robert Jarzmik
_mbus_xlate_by_fourcc( >^~~~ > > Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> Acked-by: Robert Jarzmik <robert.jarz...@free.fr> Cheers. -- Robert -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] pxa_camera: allow building it if COMPILE_TEST is set

2016-09-06 Thread Robert Jarzmik
Hans Verkuil <hverk...@xs4all.nl> writes: > Allow building this driver if COMPILE_TEST is set. > > Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> Acked-by: Robert Jarzmik <robert.jarz...@free.fr> -- Robert -- To unsubscribe from this list: send the li

[PATCH v6 13/14] media: platform: pxa_camera: move pxa_camera out of soc_camera

2016-09-06 Thread Robert Jarzmik
As the conversion to a v4l2 standalone device is finished, move pxa_camera one directory up and finish severing any dependency to soc_camera. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/platform/Kconfig | 8 drivers/media/pl

[PATCH v6 06/14] media: platform: pxa_camera: introduce sensor_call

2016-09-06 Thread Robert Jarzmik
Introduce sensor_call(), which will be used for all sensor invocations. This is a preparation move to v4l2 device conversion, ie. soc_camera adherence removal. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/platform/soc_camera/pxa_camera.

[PATCH v6 12/14] media: platform: pxa_camera: change stop_streaming semantics

2016-09-06 Thread Robert Jarzmik
a "cancel capture" than a "wait for end of capture" semantic. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/platform/soc_camera/pxa_camera.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers

[PATCH v6 11/14] media: platform: pxa_camera: add debug register access

2016-09-06 Thread Robert Jarzmik
Add pxa_camera registers access through advanced video debugging. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/platform/soc_camera/pxa_camera.c | 32 ++ 1 file changed, 32 insertions(+) diff --git a/drivers/media/platform/soc_

[PATCH v6 07/14] media: platform: pxa_camera: make printk consistent

2016-09-06 Thread Robert Jarzmik
Make all print consistent by always using : - dev_xxx(pcdev_to_dev(pcdev), ) This prepares the soc_camera adherence removal by making these call rely on only pcdev, and not the soc_camera icd structure. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/pl

[PATCH v6 14/14] media: platform: pxa_camera: fix style

2016-09-06 Thread Robert Jarzmik
This is a tiny fix for a switch case which quiets 2 checkpatch harmless warnings. The generated code is not affected. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/platform/pxa_camera.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/pl

[PATCH v6 02/14] media: mt9m111: use only the SRGB colorspace

2016-09-06 Thread Robert Jarzmik
mt9m111 being a camera sensor, its colorspace should always be SRGB, for both RGB based formats or YCbCr based ones. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/i2c/soc_camera/mt9m111.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

[PATCH v6 05/14] media: platform: pxa_camera: trivial move of functions

2016-09-06 Thread Robert Jarzmik
doesn't modify a single line of code. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/platform/soc_camera/pxa_camera.c | 473 + 1 file changed, 241 insertions(+), 232 deletions(-) diff --git a/drivers/media/platform/soc_camera/pxa_camera.c b/d

[PATCH v6 01/14] media: mt9m111: make a standalone v4l2 subdevice

2016-09-06 Thread Robert Jarzmik
also drops support for inverters on synchronisation and clock lines. It is assumed, if any board ever needs such inverters, support for them can be added in the future Acked-by: Guennadi Liakhovetski <g.liakhovet...@gmx.de> Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- d

[PATCH v6 03/14] media: mt9m111: move mt9m111 out of soc_camera

2016-09-06 Thread Robert Jarzmik
As the mt9m111 is now working as a standalone v4l2 subdevice sensor, move it out of soc_camera directory and severe its dependency on soc_camera. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/i2c/Kconfig| 7 +++ drivers/media/i2c/Ma

[PATCH v6 10/14] media: platform: pxa_camera: make a standalone v4l2 device

2016-09-06 Thread Robert Jarzmik
ing. In a subsequence patch pxa_camera_mclk_ops should be used, and platform data MCLK ignored. It will be the sensor's duty to request the clock and enable it, which will end in pxa_camera_mclk_ops. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/platform/soc_camera/Kconfig

[PATCH v6 08/14] media: platform: pxa_camera: add buffer sequencing

2016-09-06 Thread Robert Jarzmik
Add sequence numbers to completed buffers. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/platform/soc_camera/pxa_camera.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/media/platform/soc_camera/pxa_camera.c b/drivers/media/platform/soc_

[PATCH v6 04/14] media: platform: pxa_camera: convert to vb2

2016-09-06 Thread Robert Jarzmik
Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/platform/soc_camera/Kconfig | 4 +- drivers/media/platform/soc_camera/pxa_camera.c | 579 - 2 files changed, 269 insertions(+), 314 deletions(-) diff --git a/drivers/media/platform/soc_c

[PATCH v6 09/14] media: platform: pxa_camera: remove set_selection

2016-09-06 Thread Robert Jarzmik
This is to be seen as a regression as the set_selection (former set_crop) function is removed. This is a temporary situation in the v4l2 porting, and will have to be added later. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/platform/soc_camera/pxa_camera.

Re: [PATCH v5 00/13] pxa_camera transition to v4l2 standalone device

2016-09-06 Thread Robert Jarzmik
Hans Verkuil <hverk...@xs4all.nl> writes: > On 08/29/2016 07:55 PM, Robert Jarzmik wrote: >> There is no change between v4 and v5, ie. the global diff is empty, only one >> line was shifted to prevent breaking bisectablility. > > Against which tree do you develop? Unfo

Re: [PATCH v5 01/13] media: mt9m111: make a standalone v4l2 subdevice

2016-08-30 Thread Robert Jarzmik
Guennadi Liakhovetski <g.liakhovet...@gmx.de> writes: > Hi Robert, > > On Mon, 29 Aug 2016, Robert Jarzmik wrote: > >> Remove the soc_camera adherence. Mostly the change removes the power >> manipulation provided by soc_camera, and instead : >> - powers on

[PATCH v5 09/13] media: platform: pxa_camera: remove set_crop

2016-08-29 Thread Robert Jarzmik
This is to be seen as a regression as the set_crop function is removed. This is a temporary situation in the v4l2 porting, and will have to be added later. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/platform/soc_camera/pxa_camera.c | 76 ---

[PATCH v5 10/13] media: platform: pxa_camera: make a standalone v4l2 device

2016-08-29 Thread Robert Jarzmik
ing. In a subsequence patch pxa_camera_mclk_ops should be used, and platform data MCLK ignored. It will be the sensor's duty to request the clock and enable it, which will end in pxa_camera_mclk_ops. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- Since v1: - function namings wer

[PATCH v5 08/13] media: platform: pxa_camera: add buffer sequencing

2016-08-29 Thread Robert Jarzmik
Add sequence numbers to completed buffers. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- Since v3: reset buffer sequence number in start_streaming() --- drivers/media/platform/soc_camera/pxa_camera.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/media/pl

[PATCH v5 12/13] media: platform: pxa_camera: change stop_streaming semantics

2016-08-29 Thread Robert Jarzmik
a "cancel capture" than a "wait for end of capture" semantic. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/platform/soc_camera/pxa_camera.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers

[PATCH v5 05/13] media: platform: pxa_camera: trivial move of functions

2016-08-29 Thread Robert Jarzmik
doesn't modify a single line of code. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- Since v3: replace void *alloc_ctxt by struct device *alloc_devs impact Since v4: videobuf2 device init change impact --- drivers/media/platform/soc_camera/pxa_camera.c | 473 +-

[PATCH v5 03/13] media: mt9m111: move mt9m111 out of soc_camera

2016-08-29 Thread Robert Jarzmik
As the mt9m111 is now working as a standalone v4l2 subdevice sensor, move it out of soc_camera directory and severe its dependency on soc_camera. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/i2c/Kconfig |7 + drivers/media/i2c/Ma

[PATCH v5 02/13] media: mt9m111: use only the SRGB colorspace

2016-08-29 Thread Robert Jarzmik
mt9m111 being a camera sensor, its colorspace should always be SRGB, for both RGB based formats or YCbCr based ones. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/i2c/soc_camera/mt9m111.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

[PATCH v5 13/13] media: platform: pxa_camera: move pxa_camera out of soc_camera

2016-08-29 Thread Robert Jarzmik
As the conversion to a v4l2 standalone device is finished, move pxa_camera one directory up and finish severing any dependency to soc_camera. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/platform/Kconfig |8 + drivers/media/platform/Ma

[PATCH v5 06/13] media: platform: pxa_camera: introduce sensor_call

2016-08-29 Thread Robert Jarzmik
Introduce sensor_call(), which will be used for all sensor invocations. This is a preparation move to v4l2 device conversion, ie. soc_camera adherence removal. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/platform/soc_camera/pxa_camera.

[PATCH v5 04/13] media: platform: pxa_camera: convert to vb2

2016-08-29 Thread Robert Jarzmik
Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- Since v1: took into account Hans's comments renamed all vb2 functions to pxac_vb2_*() Since v2: spit queue_buffer() and start_streaming() Since v3: replace void *alloc_ctxs by struct device *alloc_devs Since v4: move

[PATCH v5 07/13] media: platform: pxa_camera: make printk consistent

2016-08-29 Thread Robert Jarzmik
Make all print consistent by always using : - dev_xxx(pcdev_to_dev(pcdev), ) This prepares the soc_camera adherence removal by making these call rely on only pcdev, and not the soc_camera icd structure. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/pl

[PATCH v5 11/13] media: platform: pxa_camera: add debug register access

2016-08-29 Thread Robert Jarzmik
Add pxa_camera registers access through advanced video debugging. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/platform/soc_camera/pxa_camera.c | 32 ++ 1 file changed, 32 insertions(+) diff --git a/drivers/media/platform/soc_

[PATCH v5 00/13] pxa_camera transition to v4l2 standalone device

2016-08-29 Thread Robert Jarzmik
There is no change between v4 and v5, ie. the global diff is empty, only one line was shifted to prevent breaking bisectablility. All the text in https://lkml.org/lkml/2016/8/15/609 is still applicable. Cheers. -- Robert Robert Jarzmik (13): media: mt9m111: make a standalone v4l2 subdevice

[PATCH v5 01/13] media: mt9m111: make a standalone v4l2 subdevice

2016-08-29 Thread Robert Jarzmik
-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/i2c/soc_camera/mt9m111.c | 51 ++ 1 file changed, 15 insertions(+), 36 deletions(-) diff --git a/drivers/media/i2c/soc_camera/mt9m111.c b/drivers/media/i2c/soc_camera/mt9m111.c index 6dfaea

Re: [PATCH v4 04/13] media: platform: pxa_camera: convert to vb2

2016-08-16 Thread Robert Jarzmik
Robert Jarzmik <robert.jarz...@free.fr> writes: > Convert pxa_camera from videobuf to videobuf2. > > As the soc_camera was already compatible with videobuf2, the port is > quite straightforward. > > The special case of this code in which the vb2 to prepare is &quo

[PATCH v4 10/13] media: platform: pxa_camera: make a standalone v4l2 device

2016-08-15 Thread Robert Jarzmik
ing. In a subsequence patch pxa_camera_mclk_ops should be used, and platform data MCLK ignored. It will be the sensor's duty to request the clock and enable it, which will end in pxa_camera_mclk_ops. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- Since v1: - function namings wer

[PATCH v4 08/13] media: platform: pxa_camera: add buffer sequencing

2016-08-15 Thread Robert Jarzmik
Add sequence numbers to completed buffers. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- Since v3: reset buffer sequence number in start_streaming() --- drivers/media/platform/soc_camera/pxa_camera.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/media/pl

[PATCH v4 03/13] media: mt9m111: move mt9m111 out of soc_camera

2016-08-15 Thread Robert Jarzmik
As the mt9m111 is now working as a standalone v4l2 subdevice sensor, move it out of soc_camera directory and severe its dependency on soc_camera. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/i2c/Kconfig |7 + drivers/media/i2c/Ma

[PATCH v4 01/13] media: mt9m111: make a standalone v4l2 subdevice

2016-08-15 Thread Robert Jarzmik
-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/i2c/soc_camera/mt9m111.c | 51 ++ 1 file changed, 15 insertions(+), 36 deletions(-) diff --git a/drivers/media/i2c/soc_camera/mt9m111.c b/drivers/media/i2c/soc_camera/mt9m111.c index 6dfaea

[PATCH v4 00/13] pxa_camera transition to v4l2 standalone device

2016-08-15 Thread Robert Jarzmik
/linux.git work/v4l2 The result of v4l-compliance -s is in [1]. The result of v4l-compliance -f is in [2]. Happy review. -- Robert Robert Jarzmik (13): media: mt9m111: make a standalone v4l2 subdevice media: mt9m111: use only the SRGB colorspace media: mt9m111: move mt9m111 out of soc_camera

[PATCH v4 04/13] media: platform: pxa_camera: convert to vb2

2016-08-15 Thread Robert Jarzmik
Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- Since v1: took into account Hans's comments renamed all vb2 functions to pxac_vb2_*() Since v2: spit queue_buffer() and start_streaming() Since v3: replace void *alloc_ctxs by struct device *alloc_devs --- drivers/media/pla

[PATCH v4 06/13] media: platform: pxa_camera: introduce sensor_call

2016-08-15 Thread Robert Jarzmik
Introduce sensor_call(), which will be used for all sensor invocations. This is a preparation move to v4l2 device conversion, ie. soc_camera adherence removal. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/platform/soc_camera/pxa_camera.

[PATCH v4 02/13] media: mt9m111: use only the SRGB colorspace

2016-08-15 Thread Robert Jarzmik
mt9m111 being a camera sensor, its colorspace should always be SRGB, for both RGB based formats or YCbCr based ones. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/i2c/soc_camera/mt9m111.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

[PATCH v4 05/13] media: platform: pxa_camera: trivial move of functions

2016-08-15 Thread Robert Jarzmik
doesn't modify a single line of code. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- Since v3: replace void *alloc_ctxt by struct device *alloc_devs impact --- drivers/media/platform/soc_camera/pxa_camera.c | 475 + 1 file changed, 242 insertions(+), 233 del

[PATCH v4 13/13] media: platform: pxa_camera: move pxa_camera out of soc_camera

2016-08-15 Thread Robert Jarzmik
As the conversion to a v4l2 standalone device is finished, move pxa_camera one directory up and finish severing any dependency to soc_camera. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/platform/Kconfig |8 + drivers/media/platform/Ma

[PATCH v4 09/13] media: platform: pxa_camera: remove set_crop

2016-08-15 Thread Robert Jarzmik
This is to be seen as a regression as the set_crop function is removed. This is a temporary situation in the v4l2 porting, and will have to be added later. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/platform/soc_camera/pxa_camera.c | 76 ---

[PATCH v4 11/13] media: platform: pxa_camera: add debug register access

2016-08-15 Thread Robert Jarzmik
Add pxa_camera registers access through advanced video debugging. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/platform/soc_camera/pxa_camera.c | 32 ++ 1 file changed, 32 insertions(+) diff --git a/drivers/media/platform/soc_

[PATCH v4 12/13] media: platform: pxa_camera: change stop_streaming semantics

2016-08-15 Thread Robert Jarzmik
a "cancel capture" than a "wait for end of capture" semantic. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/platform/soc_camera/pxa_camera.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers

[PATCH v4 07/13] media: platform: pxa_camera: make printk consistent

2016-08-15 Thread Robert Jarzmik
Make all print consistent by always using : - dev_xxx(pcdev_to_dev(pcdev), ) This prepares the soc_camera adherence removal by making these call rely on only pcdev, and not the soc_camera icd structure. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/pl

  1   2   3   >