[PATCH 3/3] usb: phy: generic: remove the vbus dependency

2016-07-08 Thread Robert Jarzmik
*() is not necessary anymore. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/usb/phy/phy-generic.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/usb/phy/phy-generic.c b/drivers/usb/phy/phy-generic.c index 41b8aff9b925..c14e767a3fbf

Re: [PATCH 5/5] rtc: v3020: move rtc-v3020.h to platform_data

2016-07-09 Thread Robert Jarzmik
uang <haojian.zhu...@gmail.com> > Cc: Robert Jarzmik <robert.jarz...@free.fr> > Cc: linux-arm-ker...@lists.infradead.org > arch/arm/mach-pxa/cm-x270.c | 2 +- > arch/arm/mach-pxa/cm-x300.c | 2 +- > arch/arm/mach-pxa/em-x270.c

[PATCH] dmaengine: pxa_dma: implement device_synchronize

2016-07-10 Thread Robert Jarzmik
ensures on pxa architecture that the interrupt cannot be fired anymore Reported-by: Vinod Koul <vinod.k...@intel.com> Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/dma/pxa_dma.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/dma

Re: [PATCH RFC v2 0/2] pxa_camera transition to v4l2 standalone device

2016-07-04 Thread Robert Jarzmik
Hans Verkuil <hverk...@xs4all.nl> writes: > Hi Robert, > > On 04/02/2016 04:26 PM, Robert Jarzmik wrote: >> Hi Hans and Guennadi, >> >> This is the second opus of this RFC. The goal is still to see how close our >> ports are to see if there are things we co

Re: [PATCH] dmaengine: qcom_hidma: release the descriptor before the callback

2016-08-05 Thread Robert Jarzmik
Lars-Peter Clausen writes: > On 08/04/2016 06:08 PM, Sinan Kaya wrote: > [...] >> The other way is I can feed this information to what Dave just introduced >> as part of the callback mechanism and not touch this. > > Use the callback mechanism. It is a lot easier to implement

[PATCH v3 04/14] media: mt9m111: move mt9m111 out of soc_camera

2016-08-08 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 v3 01/14] media: mt9m111: make a standalone v4l2 subdevice

2016-08-08 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 v3 00/14] pxa_camera transition to v4l2 standalone device

2016-08-08 Thread Robert Jarzmik
data). I've also put the whole serie here if you want to fetch and review from git directly : - git fetch https://github.com/rjarzmik/linux.git work/v4l2 Happy review. -- Robert Robert Jarzmik (14): media: mt9m111: make a standalone v4l2 subdevice media: mt9m111: prevent module removal

[PATCH v3 05/14] media: platform: pxa_camera: convert to vb2

2016-08-08 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() --- drivers/media/platform/soc_camera/Kconfig | 4 +- drivers/media/pla

[PATCH v3 11/14] media: platform: pxa_camera: make a standalone v4l2 device

2016-08-08 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 v3 13/14] media: platform: pxa_camera: change stop_streaming semantics

2016-08-08 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 v3 03/14] media: mt9m111: use only the SRGB colorspace

2016-08-08 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 v3 08/14] media: platform: pxa_camera: make printk consistent

2016-08-08 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 v3 06/14] media: platform: pxa_camera: trivial move of functions

2016-08-08 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 | 475 + 1 file changed, 242 insertions(+), 233 deletions(-) diff --git a/drivers/media/platform/soc_camera/pxa_camera.c b/d

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

2016-08-08 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 v3 02/14] media: mt9m111: prevent module removal while in use

2016-08-08 Thread Robert Jarzmik
-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/i2c/soc_camera/mt9m111.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c/soc_camera/mt9m111.c b/drivers/media/i2c/soc_camera/mt9m111.c index a7efaa5964d1..ea5b5e709402

[PATCH v3 09/14] media: platform: pxa_camera: add buffer sequencing

2016-08-08 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 v3 10/14] media: platform: pxa_camera: remove set_crop

2016-08-08 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 v3 12/14] media: platform: pxa_camera: add debug register access

2016-08-08 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 | 57 ++ 1 file changed, 57 insertions(+) diff --git a/drivers/media/platform/soc_

[PATCH v3 07/14] media: platform: pxa_camera: introduce sensor_call

2016-08-08 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] dmaengine: pxa_dma: fix debug message

2016-08-07 Thread Robert Jarzmik
In a very tight timeframe, the debug message in the transfer completion handler can be misleading, as the completion test report can change just after the message, and the code flow cannot be deduced from the debug message. This is just a cleanup to make debugging easier. Signed-off-by: Robert

[PATCH] dmaengine: pxa_dma: fix hotchain corner case

2016-08-07 Thread Robert Jarzmik
-chaining several "small transfers" to a running "big transfer", not in a real-life usecase but by testing the robustness of the driver. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/dma/pxa_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH] media: platform: pxa_camera: convert to vb2

2016-08-02 Thread Robert Jarzmik
Hans Verkuil writes: Hi Hans, Working further on the pxa_camera conversion out of soc_camera, I hit a problem of dma being very long, in running v4l2-compliance -f. After digging a bit, I realized that the video buffer queued was a 640x480 format, while the s_fmt_vid_cap()

Re: [PATCH v4] ARM: pxa: fix GPIO double shifts

2016-08-09 Thread Robert Jarzmik
Robert Jarzmik <robert.jarz...@free.fr> writes: > The commit 9bf448c66d4b ("ARM: pxa: use generic gpio operation instead of > gpio register") from Oct 17, 2011, leads to the following static checker > warning: > arch/arm/mach-pxa/spitz_pm.c:172 spitz_charger_wakeup()

Re: [PATCH v3 09/14] media: platform: pxa_camera: add buffer sequencing

2016-08-15 Thread Robert Jarzmik
Robert Jarzmik <robert.jarz...@free.fr> writes: > 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(+) > >

Re: [PATCH v3 09/14] media: platform: pxa_camera: add buffer sequencing

2016-08-15 Thread Robert Jarzmik
Hans Verkuil <hverk...@xs4all.nl> writes: > On 08/15/2016 03:26 PM, Robert Jarzmik wrote: >> Robert Jarzmik <robert.jarz...@free.fr> writes: >> I've seen no documentation on the rules applicable to this sequence number: >> - should it be reset if a &

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 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 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 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 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

[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 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 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 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 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 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 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 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 ---

Re: [PATCH] ARM: defconfigs: make NF_CT_PROTO_SCTP and NF_CT_PROTO_UDPLITE built-in

2017-02-06 Thread Robert Jarzmik
Arnd Bergmann writes: > On Fri, Feb 3, 2017 at 5:46 PM, Arnd Bergmann wrote: >> The symbols can no longer be used as loadable modules, leading to a harmless >> Kconfig >> warning: >> >> arch/arm/configs/imote2_defconfig:60:warning: symbol value 'm' invalid for >>

Re: [PATCH 8/9] mfd: wm97xx-core: core support for wm97xx Codec

2017-02-03 Thread Robert Jarzmik
Mark Brown writes: >> >> As for the "sound specific part", it's because AC97 bus is mainly used in >> >> sound >> >> oriented drivers, but still the codec IPs provide more than just sound, >> >> as the >> >> Wolfson codecs for instance. > >> > I'd like to get Mark Brown's

Re: [PATCH v2] tags: honor COMPILED_SOURCE with apart output directory

2017-01-22 Thread Robert Jarzmik
Robert Jarzmik <robert.jarz...@free.fr> writes: > When the kernel is compiled with an "O=" argument, the object files are > not necessarily in the source tree, and more probably in another tree. > > In this situation, the current used check doesn't work, and >

Re: [PATCH 6/9] power_supply: wm97xx_battery: use power_supply_get_drvdata

2017-01-23 Thread Robert Jarzmik
Kevin Hilman <khil...@kernel.org> writes: > Hello, > > On Wed, Oct 26, 2016 at 12:41 PM, Robert Jarzmik <robert.jarz...@free.fr> > wrote: >> As the power supply framework provides a way to store and retrieve >> private supply data, use it. >> &

Re: [PATCH] usb: gadget: udc: constify usb_ep_ops structures

2017-01-26 Thread Robert Jarzmik
A smaller version of the script) For pxa27x_udc.c : Acked-by: Robert Jarzmik <robert.jarz...@free.fr> Cheers. -- Robert

Re: [PATCH 0/4] ARM64: Initial Marvell IAP140 enablement

2017-02-21 Thread Robert Jarzmik
Andreas Färber writes: > Hi Gregory, > > Am 20.02.2017 um 14:17 schrieb Gregory CLEMENT: >> On dim., févr. 19 2017, Andreas Färber wrote: >> >>> This mini-series adds initial support for the Marvell IAP140 SoC (aka >>> PXA1908) >>> and the Andromeda Box

Re: [PATCH v2] tags: honor COMPILED_SOURCE with apart output directory

2017-02-13 Thread Robert Jarzmik
Robert Jarzmik <robert.jarz...@free.fr> writes: > Robert Jarzmik <robert.jarz...@free.fr> writes: >> Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> >> --- >> Since v1: amended k expression, Marek's comments > Hi Marek, > > Is this vers

Re: [PATCH v2 2/3] spi: pxa2xx: Prepare for edge-triggered interrupts

2017-01-18 Thread Robert Jarzmik
Jan Kiszka <jan.kis...@siemens.com> writes: > On 2017-01-17 08:54, Robert Jarzmik wrote: >> Jan Kiszka <jan.kis...@siemens.com> writes: >> >>> When using the a device with edge-triggered interrupts, such as MSIs, >>> the interrupt handler has t

Re: [PATCH v2 2/3] spi: pxa2xx: Prepare for edge-triggered interrupts

2017-01-17 Thread Robert Jarzmik
Jan Kiszka writes: > When using the a device with edge-triggered interrupts, such as MSIs, > the interrupt handler has to ensure that there is a point in time during > its execution where all interrupts sources are silent so that a new > event can trigger a new interrupt

Re: [PATCH v2 2/3] spi: pxa2xx: Prepare for edge-triggered interrupts

2017-01-16 Thread Robert Jarzmik
Jan Kiszka writes: > When using the a device with edge-triggered interrupts, such as MSIs, > the interrupt handler has to ensure that there is a point in time during > its execution where all interrupts sources are silent so that a new > event can trigger a new interrupt

Re: [PATCH] ARM: pxa: include linux/leds.h

2017-01-18 Thread Robert Jarzmik
Arnd Bergmann writes: > When the header is not included implicitly, we get a build failure: > > arch/arm/mach-pxa/idp.c:205:22: error: field 'cdev' has incomplete type > struct led_classdev cdev; > > This adds an explicit #include. > > Signed-off-by: Arnd Bergmann

Re: [PATCH v3 2/3] spi: pxa2xx: Prepare for edge-triggered interrupts

2017-01-19 Thread Robert Jarzmik
de. > > Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> Acked-by: Robert Jarzmik <robert.jarz...@free.fr> Cheers. -- Robert

Re: [PATCH -next] ARM: pxa: remove duplicated include from spitz.c

2016-08-23 Thread Robert Jarzmik
Wei Yongjun writes: > Remove duplicated include. How so duplicated ? Can you elaborate please ? Moreover, how do you do think symbol_get() can stay in spitz.c without having this include ? Cheers. -- Robert

Re: [PATCH -next] ARM: pxa: remove duplicated include from spitz.c

2016-08-23 Thread Robert Jarzmik
Wei Yongjun <weiyj...@gmail.com> writes: > Hi Robert, > On 08/24/2016 12:24 AM, Robert Jarzmik wrote: >> Wei Yongjun <weiyj...@gmail.com> writes: >> >>> Remove duplicated include. >> How so duplicated ? Can you elaborate please ? >> >

Re: [RFC PATCH v2 0/7] AC97 device/driver model revamp

2016-08-23 Thread Robert Jarzmik
Robert Jarzmik <robert.jarz...@free.fr> writes: > It all started in the pxa device-tree submission here : >https://lkml.org/lkml/2016/2/25/965 > > It will be maintained in : >git fetch https://github.com/rjarzmik/linux.git work/ac97 > > And now it trans

Re: [PATCH 2/3] ARM: pxa: lubbock: add pcmcia clock

2016-09-05 Thread Robert Jarzmik
Russell King - ARM Linux <li...@armlinux.org.uk> writes: > On Mon, Sep 05, 2016 at 04:37:23PM +0200, Robert Jarzmik wrote: > From what I remember, the SA takes the 3.6864MHz clock input as an > input to its own PLL to generate the clocks it needs internally. All >

Re: [PATCH 2/3] ARM: pxa: lubbock: add pcmcia clock

2016-09-05 Thread Robert Jarzmik
Russell King - ARM Linux <li...@armlinux.org.uk> writes: > On Sun, Sep 04, 2016 at 08:59:46PM +0200, Robert Jarzmik wrote: >> Add the clock provided to the PCMCIA block so that sa_pcmcia_add() >> doesn't end up on error while probing "1800" device. > > I

[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 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 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 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.

[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 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 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 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 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

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

[PATCH] MAINTAINERS: add pxa_camera driver

2016-09-06 Thread Robert Jarzmik
Add the pxa27x camera driver as a maintained driver. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0bbe4b105c34..0d6c29bf90bf 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -

[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 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 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 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] pcmcia: sa1111: propagate error code

2016-09-01 Thread Robert Jarzmik
Propagate board initialization return code upwards, so that pcmcia_probe() can report a failure if occurs down the call chain. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/pcmcia/sa_generic.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff

[PATCH 2/3] ARM: pxa: lubbock: add pcmcia clock

2016-09-04 Thread Robert Jarzmik
Add the clock provided to the PCMCIA block so that sa_pcmcia_add() doesn't end up on error while probing "1800" device. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- arch/arm/mach-pxa/lubbock.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach

[PATCH 1/3] ARM: pxa: pxa_cplds: fix interrupt handling

2016-09-04 Thread Robert Jarzmik
mk+ker...@armlinux.org.uk> Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- arch/arm/mach-pxa/pxa_cplds_irqs.c | 24 +++- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/arch/arm/mach-pxa/pxa_cplds_irqs.c b/arch/arm/mach-pxa/pxa_cplds_irqs.c inde

[PATCH 3/3] [DO_NOT_REVIEW] sa1111: left up to Russell King

2016-09-04 Thread Robert Jarzmik
In order to be able to cope with ordering problems, especially when the interrupt descriptor is allocated only after the sa is probed, add a workaround to "wait" for the interrupt chip to be available. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- arch/arm/com

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 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 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 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 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 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 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 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 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 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 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

[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 +-

Re: [PATCH] ARM: pxa: remove irq init from dt machines

2016-08-29 Thread Robert Jarzmik
Arnd Bergmann <a...@arndb.de> writes: > On Monday, August 15, 2016 12:24:55 AM CEST Robert Jarzmik wrote: >> The init_irq and handle_irq can be declared through standard irqchip >> declaration and are not necessary in machine descriptions. >> >> This is anothe

Re: [PATCH] ARM: pxa: Use kmalloc_array() in pxa_pm_init()

2016-08-29 Thread Robert Jarzmik
SF Markus Elfring writes: > From: Markus Elfring > Date: Thu, 25 Aug 2016 18:01:37 +0200 > > * A multiplication for the size determination of a memory allocation > indicated that an array data structure should be processed. >

[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

Re: [PATCH 1/3] ARM: pxa: pxa_cplds: fix interrupt handling

2016-09-09 Thread Robert Jarzmik
Robert Jarzmik <robert.jarz...@free.fr> writes: > Since its initial commit, the driver is buggy for multiple interrupts > handling. The translation from the former lubbock.c file was not > complete, and might stall all interrupt handling when multiple > interrupts occur. >

[PATCH] net: smc91x: take into account register shift

2016-09-25 Thread Robert Jarzmik
This aligns smc91x with its cousin, namely smc911x.c. This also allows the driver to run also in a device-tree based lubbock board build, on which it was tested. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/net/ethernet/smsc/smc91x.c | 3 +++ 1 file changed, 3 inse

Re: [PATCH 0/4] kill get_clock_tick_rate()

2016-09-26 Thread Robert Jarzmik
Robert Jarzmik <robert.jarz...@free.fr> writes: > Hi, > > This serie aims at killing get_clock_tick_rate() from pxa and sa1100 and > replace > it by clock API calls. > > I'd like to have this reviewed and acked afterwards at least by : > - Russell for th

[PATCH] ARM: pxa: pxa_cplds: honor probe deferral

2016-09-26 Thread Robert Jarzmik
, platform_get_irq() doesn't honor the irq type IO resource (ie. edge rising for example), and it must be passed again at irq request in a not device-tree build, hence the irq_get_trigger_type() call. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- arch/arm/mach-pxa/pxa_cplds_irqs.

[PATCH] ARM: pxa: fix pxa25x interrupt init

2016-09-26 Thread Robert Jarzmik
In the device-tree case, the root interrupt controller cannot be accessed through the 6th coprocessor, contrary to pxa27x and pxa3xx architectures. Fix it to behave as in non-devicetree builds. Fixes: 32f17997c130 ("ARM: pxa: remove irq init from dt machines") Signed-off-by: Robe

<    4   5   6   7   8   9   10   11   12   13   >