Re: [PATCH 11/41] clk: pxa: Remove CLK_IS_ROOT

2016-03-01 Thread Robert Jarzmik
Stephen Boyd <sb...@codeaurora.org> writes: > This flag is a no-op now. Remove usage of the flag. > > Cc: Robert Jarzmik <robert.jarz...@free.fr> > Signed-off-by: Stephen Boyd <sb...@codeaurora.org> > --- > drivers/clk/pxa/clk-pxa25x.c | 8 +++-

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

2016-03-09 Thread Robert Jarzmik
ill accept it anyway, and adapt the dmaengine transfer accordingly. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- I'm not very sure about the locking of the video buffers yet. --- drivers/media/platform/soc_camera/Kconfig | 4 +- drivers/media/platform/soc_camera/px

Re: [PATCH 1/4] scatterlist: Introduce some helper functions

2016-03-10 Thread Robert Jarzmik
Baolin Wang <baolin.w...@linaro.org> writes: > Hi Robert, > > On 4 March 2016 at 03:15, Robert Jarzmik <robert.jarz...@free.fr> wrote: >> Baolin Wang <baolin.w...@linaro.org> writes: >>> +static inline bool sg_is_contiguous(struct scatterlist *sga, &g

Re: [PATCH] net: smc911x: convert pxa dma to dmaengine

2016-03-15 Thread Robert Jarzmik
Robert Jarzmik <robert.jarz...@free.fr> writes: > Fabio Estevam <feste...@gmail.com> writes: >> Tested-by: Fabio Estevam <fabio.este...@nxp.com> > > Thanks Fabio for the test. > > I also tried with a different different approach. > > I built the dif

[PATCH] ARM: pxa: fix the number of DMA requestor lines

2016-03-08 Thread Robert Jarzmik
The number of requestor lines was clamped to 0 for all pxa architectures in the requestor declaration. Fix this by using the value. Fixes: 72b195cb7162 ("ARM: pxa: add the number of DMA requestor lines") Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- arch/arm/mach-p

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

2016-03-11 Thread Robert Jarzmik
Hans Verkuil writes: > Hi Robert, > > A quick review below. > > I assume this is the first step to moving the pxa_camera driver out of > soc-camera? Hi Hans, It probably is. The next step would be the soc_camera adherence removal. I already began the work, but it's still in

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

2016-03-11 Thread Robert Jarzmik
Hans Verkuil <hverk...@xs4all.nl> writes: > On 03/11/2016 02:41 PM, Robert Jarzmik wrote: >> Hans Verkuil <hverk...@xs4all.nl> writes: > One area where I would like to see some helper functions is with respect to > format/media bus processing. I pl

[PATCH] dmaengine: pxa: handle bus errors

2016-03-28 Thread Robert Jarzmik
was completed while T2 causes a bus error, the status of T3 and T4 will be reported as DMA_IN_PROGRESS, while the channel is actually stopped. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/dma/pxa_dma.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-)

Re: Problems with commit a770d946371e ("gpio: pxa: add pin control gpio direction and request")

2016-04-07 Thread Robert Jarzmik
Guenter Roeck writes: >> But no more poor excuses, would you try the patch at the end of this mail, >> while >> I'm doing the same on my Jenkins, on both device-tree and legacy >> platform-data >> builds, to see if we can fix this ? >> >> Cheers. > Any updates ? I still

Re: [PATCH RFC v2 1/2] media: platform: transfer format translations to soc_mediabus

2016-04-06 Thread Robert Jarzmik
Guennadi Liakhovetski writes: Hi Guennadi, > Not sure I understand, what should the purpose of this patch be? See in [1]. > Why do you want to move some function(s) from one file to another? And you > aren't even calling the new soc_mbus_build_fmts_xlate() function I'm

[PATCH 3/3] ARM: dts: add pxa25x .dtsi file

2016-04-10 Thread Robert Jarzmik
This file describes pxa25x SoCs. Not all devices are listed yet, only the subset which was already tested with a lubbock board. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- arch/arm/boot/dts/pxa25x.dtsi | 92 +++ 1 file changed, 92 inse

[PATCH 1/3] ARM: pxa: prepare pxa25x interrupts for device-tree platforms

2016-04-10 Thread Robert Jarzmik
Add the device-tree interrupts initialization function required to have a generic pxa25x device-tree machine. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- arch/arm/mach-pxa/generic.h | 1 + arch/arm/mach-pxa/pxa25x.c | 6 ++ 2 files changed, 7 insertions(+) diff --git

[PATCH 2/3] ARM: pxa: add pxa25x device-tree support

2016-04-10 Thread Robert Jarzmik
Add a device-tree machine entry (DT_MACHINE_START) for pxa25x based platforms. Take the opportunity to sort the file machine descriptions by alphabetical order. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- arch/arm/mach-pxa/Kconfig | 11 +++ arch/arm/mach-pxa/Ma

[PATCH] pinctrl: pxa: add pxa25x architecture

2016-04-10 Thread Robert Jarzmik
Add the pxa25x architecture, which is a pxa2xx with 85 pins. The registers spacing, and pins logic is common to pxa2xx, only the pins and their alternate function are specific to pxa25x. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/pinctrl/pxa/Kconfig

Re: [PATCH] ARM: pxa: activate pinctrl for device-tree machines

2016-04-11 Thread Robert Jarzmik
Linus Walleij <linus.wall...@linaro.org> writes: > On Sat, Apr 2, 2016 at 8:56 PM, Robert Jarzmik <robert.jarz...@free.fr> wrote: > >> Pincontrol is not yet ready for all PXA platforms. >> For example, a legacy platform, if PINCTRL was activated, will fai

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

2016-03-19 Thread Robert Jarzmik
devices - pxa_camera is ported This sets a ground of discussion for soc_camera adherence removal from pxa_camera. I'd like to have a comment from Hans if this is what he has in mind, and Guennadi if he agrees to transfer the soc xlate stuff to soc_mediabus. Cheers. -- Robert Robert Jarzmik (2

[PATCH RFC 2/2] media: platform: pxa_camera: make a standalone v4l2 device

2016-03-19 Thread Robert Jarzmik
is provided by then sensor, ie. not MCLK, the dual stage change is not handled yet. (see all the comments left) Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/platform/soc_camera/pxa_camera.c | 715 ++--- include/linux/platform_data/media/camera

[PATCH RFC 1/2] media: platform: transfer format translations to soc_mediabus

2016-03-19 Thread Robert Jarzmik
available in the v4l2 device, given any sensors format capabilities bound with known image processing transformations. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/platform/soc_camera/soc_camera.c | 7 +-- drivers/media/platform/soc_camera/soc_mediabus.

[PATCH v2] net: smc911x: convert pxa dma to dmaengine

2016-03-19 Thread Robert Jarzmik
Convert the dma transfers to be dmaengine based, now pxa has a dmaengine slave driver. This makes this driver a bit more PXA agnostic. The driver was only compile tested. The risk is quite small as no current PXA platform I'm aware of is using smc911x driver. Signed-off-by: Robert Jarzmik

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

2016-03-21 Thread Robert Jarzmik
Hans Verkuil <hverk...@xs4all.nl> writes: > On 03/19/2016 10:01 PM, Robert Jarzmik wrote: >> Hi Hans and Guennadi, >> >> As Hans is converting sh_mobile_ceu_camera.c, > > That's not going as fast as I hoped. This driver is quite complex and > extracting >

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

2016-03-21 Thread Robert Jarzmik
Hans Verkuil writes: >> Input ioctls: >> test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported) >> test VIDIOC_G/S_FREQUENCY: OK (Not Supported) >> test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported) >> test VIDIOC_ENUMAUDIO: OK (Not Supported) >>

Re: Problems with commit a770d946371e ("gpio: pxa: add pin control gpio direction and request")

2016-03-27 Thread Robert Jarzmik
end of this mail, while I'm doing the same on my Jenkins, on both device-tree and legacy platform-data builds, to see if we can fix this ? Cheers. -- Robert ---8<--- >From 05c5c95d4ee77918be9c2ef271edf8dcd492ab81 Mon Sep 17 00:00:00 2001 From: Robert Jarzmik <robert.jarz...@free.fr> D

Re: [PATCH v2] dmaengine: pxa_dma: fix cyclic transfers

2016-03-03 Thread Robert Jarzmik
Vinod Koul <vinod.k...@intel.com> writes: > On Tue, Feb 16, 2016 at 10:54:02PM +0100, Robert Jarzmik wrote: >> While testing audio with pxa2xx-ac97, underrun were happening while the >> user application was correctly feeding the music. Debug proved that the >> cyclic

Re: [PATCH 1/4] scatterlist: Introduce some helper functions

2016-03-03 Thread Robert Jarzmik
Baolin Wang writes: > @@ -212,6 +212,37 @@ static inline void sg_unmark_end(struct scatterlist *sg) > } > > /** > + * sg_is_contiguous - Check if the scatterlists are contiguous > + * @sga: SG entry > + * @sgb: SG entry > + * > + * Description: > + * If the sga

Re: [PATCH] net: smc911x: convert pxa dma to dmaengine

2016-03-03 Thread Robert Jarzmik
Fabio Estevam <feste...@gmail.com> writes: > On Sat, Feb 20, 2016 at 12:48 PM, Robert Jarzmik <robert.jarz...@free.fr> > wrote: > >> Hello, >> >> I'll reping once more, to see if any of you could give this patch a try. >> So far Hitoshi doesn't

Re: [PATCH] mtd: only use __xipram annotation when XIP_KERNEL is set

2016-03-05 Thread Robert Jarzmik
Arnd Bergmann writes: > I guess we can bring back the macros for the case that MTD_XIP and XIP_KERNEL > are both enabled. > > Arnd I wouldn't have ICMR and ICIP exposed to drivers, Eric's original move looks corect to me. On the other hand, I'm wondering if

[PATCH] ARM: pxa: remove platform dma code

2016-04-03 Thread Robert Jarzmik
As the last pxa related driver was converted to dmaengine, it's time to kill the legacy dma code, which is not used anymore. This finishes the pxa dmaengine transition. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- arch/arm/mach-pxa/devices.h | 1 + arch/arm/ma

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

2016-04-04 Thread Robert Jarzmik
Hans Verkuil writes: > Hi Robert, > > It's been a very busy time for me, and both Guennadi and myself are attending > the > ELC the coming week. Speaking for myself that means that it is unlikely I'll > have > time to review anything for the next two weeks. > > My own

[PATCH 1/6] ARM: dts: pxa: add pxa framebuffer device

2016-04-05 Thread Robert Jarzmik
Add the framebuffer device, or display controller, available on pxa2xx and pxa3xx platforms. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- arch/arm/boot/dts/pxa2xx.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/pxa2xx.dtsi b/arch/arm/bo

[PATCH 4/6] ARM: dts: pxa: fix the ohci clock for pxa3xx

2016-04-05 Thread Robert Jarzmik
Fix the USB host clock, which is CLK_USBH. CLK_USBHOST is the clock of the usb host of pxa27x SoCs. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- arch/arm/boot/dts/pxa3xx.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/pxa3xx.dtsi

[PATCH 5/6] ARM: dts: pxa: add pinctrl to pxa3xx

2016-04-05 Thread Robert Jarzmik
Add pincontrol to pxa3xx, based on pinconf-simple. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- arch/arm/boot/dts/pxa3xx.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/pxa3xx.dtsi b/arch/arm/boot/dts/pxa3xx.dtsi index 5e2dea0f1436..6995b1

[PATCH 3/6] ARM: dts: add pincontroller to pxa27x

2016-04-05 Thread Robert Jarzmik
Add the new pincontrol driver to pxa27x based boards. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- arch/arm/boot/dts/pxa27x.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/pxa27x.dtsi b/arch/arm/boot/dts/pxa27x.dtsi index 210192c38df3..9e73dc

[PATCH 2/6] ARM: dts: pxa: add pxa3xx pwm nodes

2016-04-05 Thread Robert Jarzmik
The pxa3xx SoC has 4 PWMs, exactly as the pxa27x does. Add them to the description. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- arch/arm/boot/dts/pxa3xx.dtsi | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/pxa3xx.dtsi

[PATCH 6/6] ARM: dts: pxa3xx: add pincontrol helpers

2016-04-05 Thread Robert Jarzmik
The various pxa3xx variants have a really weird pin scheme assignement, when you want the pin number relative to a known gpio pin. This change adds the various tools to ease up writing the pinmux and pinconf devicetree parts. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- ar

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

2016-03-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_*() --- drivers/media/platform/soc_camera/Kconfig | 4 +- drivers/media/platform/soc_camera/pxa_camera.c | 576 -

Re: [PATCH] ARM: pxa: fix the number of DMA requestor lines

2016-03-29 Thread Robert Jarzmik
Robert Jarzmik <robert.jarz...@free.fr> writes: > The number of requestor lines was clamped to 0 for all pxa architectures > in the requestor declaration. Fix this by using the value. > > Fixes: 72b195cb7162 ("ARM: pxa: add the number of DMA requestor lines") >

[PATCH] gpio: pxa: fix legacy non pinctrl aware builds

2016-03-29 Thread Robert Jarzmik
y: Guenter Roeck <guen...@roeck-us.net> Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/gpio/gpio-pxa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c index 20267d8ff858..4d54e56fbb6a 100644 -

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

2016-04-02 Thread Robert Jarzmik
test MMAP: OK test USERPTR: OK test DMABUF: Cannot test, specify --expbuf-device Total: 45, Succeeded: 45, Failed: 0, Warnings: 6 Robert Jarzmik (2): media: platform: transfer format translations to soc_mediabus media: platform: pxa_camera: make a

[PATCH RFC v2 2/2] media: platform: pxa_camera: make a standalone v4l2 device

2016-04-02 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 RFC v2 1/2] media: platform: transfer format translations to soc_mediabus

2016-04-02 Thread Robert Jarzmik
available in the v4l2 device, given any sensors format capabilities bound with known image processing transformations. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/media/platform/soc_camera/soc_camera.c | 7 +-- drivers/media/platform/soc_camera/soc_mediabus.

Re: [PATCH v2 1/4] scatterlist: Introduce some helper functions

2016-04-02 Thread Robert Jarzmik
Baolin Wang writes: > +/** > + * sg_is_contiguous - Check if the scatterlists are contiguous > + * @sga: SG entry > + * @sgb: SG entry > + * > + * Description: > + * If the sga scatterlist is contiguous with the sgb scatterlist, > + * that means they can be merged

[PATCH v2] kbuild: forbid kernel directory to contain spaces and colons

2016-04-02 Thread Robert Jarzmik
and improving kbuild to resist to directories including these characters, error out early to prevent any build if the kernel's main directory contains a space. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- Since v1: add colon check as requested by Michal. --- Makefile | 4

[PATCH] ARM: pxa: activate pinctrl for device-tree machines

2016-04-02 Thread Robert Jarzmik
nus Walleij <linus.wall...@linaro.org> Cc: Masahiro Yamada <yamada.masah...@socionext.com> Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- arch/arm/mach-pxa/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-pxa/Kconf

Re: [PATCH 3/4] dmaengine: pxa_dma: remove duplicate const qualifier

2016-04-25 Thread Robert Jarzmik
Eric Engestrom <eric.engest...@imgtec.com> writes: > Signed-off-by: Eric Engestrom <eric.engest...@imgtec.com> > --- > drivers/dma/pxa_dma.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Robert Jarzmik <robert.jarz...@free.fr> -- Robert

[RFC PATCH 7/7] ASoC: add new ac97 bus support

2016-04-30 Thread Robert Jarzmik
Add the new ac97 bus support, with ac97 bus automatic probing. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- sound/Kconfig | 7 +++ sound/Makefile| 1 + sound/soc/Kconfig | 4 3 files changed, 12 insertions(+) diff --git a/sound/Kconfig b/sound/Kconfig

[RFC PATCH 1/7] ALSA: ac97: split out the generic ac97 registers

2016-04-30 Thread Robert Jarzmik
Split out from the ac97_codec.h the ac97 generic registers, which can be used by a codec, typically a generic ac97 codec, and by the ac97 bus, to scan an ac97 AC-Link. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- include/sound/ac97/regs.h

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

2016-04-30 Thread Robert Jarzmik
hers are here so that I can test it all. Well, this is a long term effort, which might need a complete rewrite according to the comments it'll get. Let's expose it for comments and see how I can progress with it. Cheers. -- Robert Robert Jarzmik (7): ALSA: ac97: split out the generic ac97

[RFC PATCH 3/7] ASoC: wm9713: add ac97 new bus support

2016-04-30 Thread Robert Jarzmik
Add support for the new ac97 bus model, where devices are automatically discovered on AC-Links. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- sound/soc/codecs/wm9713.c | 62 ++- 1 file changed, 56 insertions(+), 6 deletions(-) diff

[RFC PATCH 5/7] ARM: pxa: mioa701 remove wm9713 from platform devices

2016-04-30 Thread Robert Jarzmik
As the ac97 autoprobing is introduced, remove the manually added wm9713 device. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- arch/arm/mach-pxa/mioa701.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-pxa/mioa701.c b/arch/arm/mach-pxa/mioa701.c index 38a96a

[RFC PATCH 4/7] ASoC: pxa: switch to new ac97 bus support

2016-04-30 Thread Robert Jarzmik
Switch to the new ac97 bus support in sound/ac97 instead of the legacy snd_ac97 one. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- include/sound/pxa2xx-lib.h | 14 -- sound/arm/Kconfig | 1 - sound/arm/pxa2xx-ac97-lib.

[RFC PATCH 2/7] ALSA: ac97: add an ac97 bus

2016-04-30 Thread Robert Jarzmik
d/ac97/snd_ac97_compat.c diff --git a/include/sound/ac97/codec.h b/include/sound/ac97/codec.h new file mode 100644 index ..4b8b3e570892 --- /dev/null +++ b/include/sound/ac97/codec.h @@ -0,0 +1,98 @@ +/* + * Copyright (C) 2016 Robert Jarzmik <robert.jarz...@free.fr> + * + * This program is f

[RFC PATCH 6/7] ASoC: mioa701_wm9713: convert to new ac97 bus

2016-04-30 Thread Robert Jarzmik
Convert to the new auto-probing ac97 bus, which changes the device name. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- sound/soc/pxa/mioa701_wm9713.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/pxa/mioa701_wm9713.c b/sound/soc/pxa/mioa701_

Re: [PATCH] dmaengine: pxa: handle bus errors

2016-04-26 Thread Robert Jarzmik
Vinod Koul writes: > Applied, thanks Thanks Vinod. Cheers. -- Robert

Re: [PATCH 1/1] ASoC: pxa: Fix module autoload for platform drivers

2016-05-21 Thread Robert Jarzmik
Andrea Adami <andrea.ad...@gmail.com> writes: > These platform drivers are lacking MODULE_ALIAS so module autoloading > doesn't work. Tested on corgi and poodle with kernel 4.4. > > Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> Yes, why not. Acked-by: Rob

Re: [RFC PATCH 2/7] ALSA: ac97: add an ac97 bus

2016-05-15 Thread Robert Jarzmik
Takashi Iwai <ti...@suse.de> writes: > On Sat, 14 May 2016 11:50:50 +0200, > Robert Jarzmik wrote: >> >> +unsigned int ac97_bus_scan_one(struct ac97_controller *ac97, >> >> + int codec_num) >> >> +{ >> >> +

Re: [RFC PATCH 2/7] ALSA: ac97: add an ac97 bus

2016-05-16 Thread Robert Jarzmik
Takashi Iwai <ti...@suse.de> writes: > On Sun, 15 May 2016 23:29:27 +0200, > Robert Jarzmik wrote: >> >> Takashi Iwai <ti...@suse.de> writes: >> >> > On Sat, 14 May 2016 11:50:50 +0200, >> > >> > No, my concern is that it's c

Re: [RFC PATCH 2/7] ALSA: ac97: add an ac97 bus

2016-05-14 Thread Robert Jarzmik
Takashi Iwai <ti...@suse.de> writes: > On Sat, 30 Apr 2016 23:15:34 +0200, > Robert Jarzmik wrote: >> >> diff --git a/include/sound/ac97/codec.h b/include/sound/ac97/codec.h >> new file mode 100644 >> index ..4b8b3e570892 >> --- /de

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

2016-05-14 Thread Robert Jarzmik
Takashi Iwai <ti...@suse.de> writes: > On Sat, 30 Apr 2016 23:15:32 +0200, > Robert Jarzmik wrote: >> >> Well, this is a long term effort, which might need a complete rewrite >> according >> to the comments it'll get. Let's expose it for comments and see

Re: [RFC PATCH 2/7] ALSA: ac97: add an ac97 bus

2016-05-03 Thread Robert Jarzmik
Mark Brown <broo...@kernel.org> writes: > On Sat, Apr 30, 2016 at 11:15:34PM +0200, Robert Jarzmik wrote: >> AC97 is a bus for sound usage. It enables for a AC97 AC-Link to link one >> controller to 0 to 4 AC97 codecs. > >> The goal of this new implementation i

Re: [RFC PATCH 1/7] ALSA: ac97: split out the generic ac97 registers

2016-05-03 Thread Robert Jarzmik
Mark Brown <broo...@kernel.org> writes: > On Sat, Apr 30, 2016 at 11:15:33PM +0200, Robert Jarzmik wrote: >> Split out from the ac97_codec.h the ac97 generic registers, which can be >> used by a codec, typically a generic ac97 codec, and by the ac97 bus, to >> scan a

Re: [RFC PATCH 2/7] ALSA: ac97: add an ac97 bus

2016-05-05 Thread Robert Jarzmik
Mark Brown <broo...@kernel.org> writes: > On Tue, May 03, 2016 at 09:43:20PM +0200, Robert Jarzmik wrote: > >> You probably mean the BITCLK clock. > >> What is a bit pesky about this clock is that it can either be mastered by >> digital controller and the codec is

Re: [RFC PATCH 1/7] ALSA: ac97: split out the generic ac97 registers

2016-05-05 Thread Robert Jarzmik
Mark Brown <broo...@kernel.org> writes: > On Tue, May 03, 2016 at 09:22:05PM +0200, Robert Jarzmik wrote: >> Mark Brown <broo...@kernel.org> writes: > >> > On Sat, Apr 30, 2016 at 11:15:33PM +0200, Robert Jarzmik wrote: > >> >> Split out from the ac

Re: [RFC PATCH 1/7] ALSA: ac97: split out the generic ac97 registers

2016-05-05 Thread Robert Jarzmik
Mark Brown <broo...@kernel.org> writes: > On Thu, May 05, 2016 at 09:06:44PM +0200, Robert Jarzmik wrote: >> Mark Brown <broo...@kernel.org> writes: > >> > I see that, I just don't know why that helps. >> In order to have a clean split between former ac97

Re: [PATCH] dmaengine: pxa: handle bus errors

2016-04-14 Thread Robert Jarzmik
Vinod Koul <vinod.k...@intel.com> writes: > On Mon, Mar 28, 2016 at 11:32:24PM +0200, Robert Jarzmik wrote: >> In the current state, upon bus error the driver will spin endlessly, >> relaunching the last tx, which will fail again and again : >> - a bus error happ

Re: [PATCH 2/3] ARM: pxa: add pxa25x device-tree support

2016-04-20 Thread Robert Jarzmik
Arnd Bergmann <a...@arndb.de> writes: > On Sunday 10 April 2016 21:29:59 Robert Jarzmik wrote: >> + >> +DT_MACHINE_START(PXA_DT, "Marvell PXA3xx (Device Tree Support)") >> + .map_io = pxa3xx_map_io, >> + .init_irq =

Re: [PATCH] ARM: pxa: remove platform dma code

2016-04-20 Thread Robert Jarzmik
Robert Jarzmik <robert.jarz...@free.fr> writes: > As the last pxa related driver was converted to dmaengine, it's time to > kill the legacy dma code, which is not used anymore. > > This finishes the pxa dmaengine transition. > > Signed-off-by: Robert Jarzmik <robert.jar

Re: [PATCH] ARM: pxa: Remove CLK_IS_ROOT

2016-04-20 Thread Robert Jarzmik
Stephen Boyd writes: > This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate > CLK_IS_ROOT", 2016-02-02) so remove it. > > Signed-off-by: Stephen Boyd Queued to pxa/for-next, thanks ! Cheers. -- Robert

Re: [PATCH 1/6] ARM: dts: pxa: add pxa framebuffer device

2016-04-20 Thread Robert Jarzmik
Robert Jarzmik <robert.jarz...@free.fr> writes: > Add the framebuffer device, or display controller, available on pxa2xx > and pxa3xx platforms. Tentatively queued the whole serie in pxa/dt. -- Robert

Re: [PATCH] dmaengine: pxa: handle bus errors

2016-04-16 Thread Robert Jarzmik
Vinod Koul <vinod.k...@intel.com> writes: > On Thu, Apr 14, 2016 at 08:23:26PM +0200, Robert Jarzmik wrote: >> Vinod Koul <vinod.k...@intel.com> writes: >> >> > So what exactly are you trying to fix/achive here? >> Euh you mean the first cha

Re: [PATCH 1/1 linux-next] kbuild: add make force=1 for testing

2016-07-26 Thread Robert Jarzmik
Andrew Morton writes: > On Sun, 24 Jul 2016 15:28:18 +0200 Fabian Frederick wrote: > >> Commit 51193b76bfff >> ("kbuild: forbid kernel directory to contain spaces and colons") >> >> makes it impossible to build kernel on default SD labels like >> "SD

[PATCH] mmc: pxamci: fix potential oops

2016-07-14 Thread Robert Jarzmik
pen...@oracle.com> Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/mmc/host/pxamci.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/drivers/mmc/host/pxamci.c b/drivers/mmc/host/pxamci.c index 86fac3e86833..c763b404510f 100644 --- a/drive

Re: [PATCH 0/3] ARM: fix three implicit module use cases fed via gpio

2016-07-23 Thread Robert Jarzmik
gt; > Cc: Alexandre Courbot <gnu...@gmail.com> > Cc: Daniel Mack <dan...@zonque.org> > Cc: Haojian Zhuang <haojian.zhu...@gmail.com> > Cc: Linus Walleij <linus.wall...@linaro.org> > Cc: linux-arm-ker...@lists.infradead.org > Cc: linux-g...@vger.kernel.

[PATCH v2] ARM: pxa: fix GPIO double shifts

2016-07-30 Thread Robert Jarzmik
a boolean value to check a gpio activation. Fixes: 9bf448c66d4b ("ARM: pxa: use generic gpio operation instead of gpio register") Reported-by: Dan Carpenter <dan.carpen...@oracle.com> Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- Since v1: replaced binary ORs with

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

2016-07-31 Thread Robert Jarzmik
Joe Perches <j...@perches.com> writes: > On Sat, 2016-07-30 at 13:22 +0200, Robert Jarzmik wrote: ...zip... > $ git grep -w charger_wakeup > arch/arm/mach-pxa/corgi_pm.c:   .charger_wakeup  = corgi_charger_wakeup, > arch/arm/mach-pxa/sharpsl_pm.c: if >

[PATCH v3] ARM: pxa: fix GPIO double shifts

2016-07-31 Thread Robert Jarzmik
gpio register") Reported-by: Dan Carpenter <dan.carpen...@oracle.com> Cc: Joe Perches <j...@perches.com> Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- Since v1: replaced binary ORs with logical ORs after assembly comparison Since v2: changed charger_wakeup prototype

Re: [PATCH RFC v2 2/2] media: platform: pxa_camera: make a standalone v4l2 device

2016-07-31 Thread Robert Jarzmik
Hi Hans, Hans Verkuil <hverk...@xs4all.nl> writes: > On 04/02/2016 04:26 PM, Robert Jarzmik wrote: >> diff --git a/drivers/media/platform/soc_camera/pxa_camera.c >> b/drivers/media/platform/soc_camera/pxa_camera.c >> index b8dd878e98d6..30d266bbab55 100644 >

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

2016-07-31 Thread Robert Jarzmik
Hi Joe, Joe Perches writes: > trivially: >> diff --git a/arch/arm/mach-pxa/corgi_pm.c b/arch/arm/mach-pxa/corgi_pm.c > [] >> @@ -131,15 +131,13 @@ static int corgi_should_wakeup(unsigned int >> resume_on_alarm) >>  return is_resume; >>  } >>   >> -static unsigned long

Re: [RFT PATCH v2 2/3] ARM: Fix *MIGHT_HAVE_PCI* config from being selected redundantly

2016-08-01 Thread Robert Jarzmik
Kishon Vijay Abraham I writes: > *MIGHT_HAVE_PCI* config is already selected in ARCH_MULTIPLATFORM. > Fix it from getting redundantly selected in all > ARCH_MULTIPLATFORM based machines. If that's the purpose, then CM-X255 and CM-X270 don't fall in that category, as they are not

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

2016-08-01 Thread Robert Jarzmik
gpio register") Reported-by: Dan Carpenter <dan.carpen...@oracle.com> Cc: Joe Perches <j...@perches.com> Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- Since v1: replaced binary ORs with logical ORs after assembly comparison Since v2: changed charger_wakeup pr

Re: [PATCH] dm9000: Fix irq trigger type setup on non-dt platforms

2016-08-09 Thread Robert Jarzmik
ctually send the mail. Your analysis of the core in non-OF/ACPI case is the reason I didn't post a patch for dm9000 ... I was overconfident in finding a reason in irq core code within a couple of days. Therefore: Acked-by: Robert Jarzmik <robert.jarz...@free.fr> And I can make a test for you

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

2016-08-03 Thread Robert Jarzmik
Hans Verkuil <hverk...@xs4all.nl> writes: > On 08/02/2016 08:03 PM, Robert Jarzmik wrote: >> Hans Verkuil <hverk...@xs4all.nl> writes: >> [ 1509.773051] pxa27x-camera pxa27x-camera.0: >> s_fmt_vid_cap(pix=48x32:56595559) >> [ 1509.777213] pxa27x-came

Re: [PATCH v3 02/14] media: mt9m111: prevent module removal while in use

2016-08-14 Thread Robert Jarzmik
Hans Verkuil <hverk...@xs4all.nl> writes: > On 08/08/2016 09:30 PM, Robert Jarzmik wrote: >> The mt9m111 can be a removable module : the only case where the module >> should be kept loaded is while it is used, ie. while an active >> transation is ongoing on it.

Re: [PATCH v3 12/14] media: platform: pxa_camera: add debug register access

2016-08-14 Thread Robert Jarzmik
Hans Verkuil <hverk...@xs4all.nl> writes: > On 08/08/2016 09:30 PM, Robert Jarzmik wrote: >> Add pxa_camera registers access through advanced video debugging. >> +static int pxac_vidioc_g_chip_info(struct file *file, void *fh, >> + stru

Re: [PATCH v3 10/14] media: platform: pxa_camera: remove set_crop

2016-08-14 Thread Robert Jarzmik
Hans Verkuil <hverk...@xs4all.nl> writes: > On 08/08/2016 09:30 PM, Robert Jarzmik wrote: >> 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. > &g

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

2016-08-14 Thread Robert Jarzmik
Hans Verkuil <hverk...@xs4all.nl> writes: > On 08/08/2016 09:30 PM, Robert Jarzmik wrote: > >> +pcdev->sensor = subdev; >> +pcdev->vdev.queue = >vb2_vq; >> +pcdev->vdev.v4l2_dev = >v4l2_dev; > > You're missing this line here: > &

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

2016-08-14 Thread Robert Jarzmik
The init_irq and handle_irq can be declared through standard irqchip declaration and are not necessary in machine descriptions. This is another step towards the generic kernel for the pxa architecture. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> Cc: Arnd Bergmann <a...

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

2016-08-15 Thread Robert Jarzmik
Robert Jarzmik <robert.jarz...@free.fr> writes: > As the conversion to a v4l2 standalone device is finished, move > pxa_camera one directory up and finish severing any dependency to > soc_camera. > diff --git a/drivers/media/platform/soc_camera/Kconfig > b/drivers/medi

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

2016-08-13 Thread Robert Jarzmik
Hi Hans, Robert Jarzmik <robert.jarz...@free.fr> writes: > Convert pxa_camera from videobuf to videobuf2. ...zip... > +static int pxac_vb2_queue_setup(struct vb2_queue *vq, > + unsigned int *nbufs, > + unsigned int *num_pl

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

2016-08-13 Thread Robert Jarzmik
Hans Verkuil <hverk...@xs4all.nl> writes: > On 08/13/2016 11:25 AM, Robert Jarzmik wrote: >> Hi Hans, >> >> Robert Jarzmik <robert.jarz...@free.fr> writes: >>> Convert pxa_camera from videobuf to videobuf2. >> ...zip... >> >

[PATCH] ARM: dts: add pxa25x .dtsi file

2016-08-10 Thread Robert Jarzmik
This file describes pxa25x SoCs. Not all devices are listed yet, only the subset which was already tested with a lubbock board. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- arch/arm/boot/dts/pxa25x.dtsi | 92 +++ 1 file changed, 92 inse

Re: [PATCH 2/7] dmaengine: omap-dma: Complete the cookie first on transfer completion

2016-07-20 Thread Robert Jarzmik
Peter Ujfalusi writes: > On 07/18/16 13:34, Russell King - ARM Linux wrote: >> On Thu, Jul 14, 2016 at 03:42:37PM +0300, Peter Ujfalusi wrote: >>> Before looking for the next descriptor to start, complete the just finished >>> cookie. >> >> This change will reduce

[PATCH] ARM: pxa: fix GPIO double shifts

2016-07-16 Thread Robert Jarzmik
a boolean value to check a gpio activation. Fixes: 9bf448c66d4b ("ARM: pxa: use generic gpio operation instead of gpio register") Reported-by: Dan Carpenter <dan.carpen...@oracle.com> Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- arch/arm/mach-pxa/corgi_pm.c

Re: [RESEND PATCH] arm: colibri_pxa270_defconfig: disable IDE subsystem

2016-07-16 Thread Robert Jarzmik
Bartlomiej Zolnierkiewicz writes: > This patch disables deprecated IDE subsystem in colibri_pxa270_defconfig > (no IDE host drivers are selected in this config so there is no valid > reason to enable IDE subsystem itself). Hi Bartlomiej, It seems I have missed that

Re: [RFC] [PATCH v2 1/3] scatterlist: Add support to clone scatterlist

2016-07-12 Thread Robert Jarzmik
Mark Brown <broo...@kernel.org> writes: > On Thu, Jul 07, 2016 at 07:43:25PM +0200, Robert Jarzmik wrote: > >> I'll try, but I don't trust much my chances of success, given that this >> tester : >> - should compile and link in $(TOP)/lib/scatterlist.c, a

Re: [PATCH RFC v2 1/2] media: platform: transfer format translations to soc_mediabus

2016-07-12 Thread Robert Jarzmik
Hans Verkuil <hverk...@xs4all.nl> writes: > On 04/02/2016 04:26 PM, Robert Jarzmik wrote: >> Transfer the formats translations to soc_mediabus. Even is soc_camera >> was to be deprecated, soc_mediabus will survive, and should describe all >> that happens on the bus conn

Re: [patch] video: fbdev: pxafb: potential NULL dereference on error

2016-07-17 Thread Robert Jarzmik
tree conversion') > Signed-off-by: Dan Carpenter <dan.carpen...@oracle.com> Acked-by: Robert Jarzmik <robert.jarz...@free.fr> Cheers. -- Robert

Re: [RFC] [PATCH v2 1/3] scatterlist: Add support to clone scatterlist

2016-07-07 Thread Robert Jarzmik
Mark Brown <broo...@kernel.org> writes: > On Thu, Jul 07, 2016 at 12:04:33AM +0200, Robert Jarzmik wrote: > >> For these "tricky" cases, at the time I created sg_split I had done a tester >> as >> well. It's very basic, doesn't cover all the corner cas

Re: [RFC] [PATCH v2 1/3] scatterlist: Add support to clone scatterlist

2016-07-06 Thread Robert Jarzmik
"Franklin S Cooper Jr." writes: > Unfortunately, for the original purpose of this series the scatterlist I > want to clone is indeed DMA mapped. > > The times I've seen dma_length != length is when the dma_map_sg is > trying to combine contiguous sgl (ex ppc_iommu_map_sg and

[PATCH 1/3] usb: gadget: pxa27x: add phy notifier event handler

2016-07-08 Thread Robert Jarzmik
platforms, we'll rely on the probe deferral, and the phy can be gadget API agnostic. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/usb/gadget/udc/pxa27x_udc.c | 51 +++-- 1 file changed, 49 insertions(+), 2 deletions(-) diff --git a/drive

[PATCH 2/3] usb: phy: generic: cope with initial state

2016-07-08 Thread Robert Jarzmik
, and the gadget will be aware it should answer enumeration and go forth Without this fix, the USB cable must be removed and replugged for any gadget relying on phy-generic and its gpio vbus handling to work. The problem was seen on a pxa27x architecture based board on a devicetree build. Signed-off-by

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