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
-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
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
-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..
-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
-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
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
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
-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/
-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
, 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_
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/
-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
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
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
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,
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
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
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
-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
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
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
, 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(+)
-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
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
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
-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
-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
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
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
- 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
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
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
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
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
using the Coccinelle software.
>
> Signed-off-by: Markus Elfring <elfr...@users.sourceforge.net>
Acked-by: Robert Jarzmik <robert.jarz...@free.fr>
Cheers.
--
Robert
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
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
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
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
in a modified OV9640 driver.
>
> Signed-off-by: Petr Cvek <petr.c...@tul.cz>
Acked-by: Robert Jarzmik <robert.jarz...@free.fr>
Cheers.
--
Robert
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 :
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
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
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
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
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
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-
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
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
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
.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
-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
_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
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
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
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.
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
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_
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
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
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
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
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
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
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
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_
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
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.
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
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
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 ---
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
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
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
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 +-
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
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
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
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.
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
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
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_
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
-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
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
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
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
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
-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
/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
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
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.
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
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
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
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 ---
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_
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
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 - 100 of 285 matches
Mail list logo