[PATCH v3] tags: honor COMPILED_SOURCE with apart output directory

2017-06-05 Thread Robert Jarzmik
the simple expression to compute "k" as the built object. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- Since v1: amended k expression, Marek's comments Since v2: removed k from Masahiro's comments --- scripts/tags.sh | 1 + 1 file changed, 1 insertion(+) diff --git a

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

2017-06-05 Thread Robert Jarzmik
Masahiro Yamada writes: > Hi Robert, Hi Masahiro, Sorry, I was out lately. I sent a v3, thanks for keeping up pushing for this one. Cheers. -- Robert

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

2017-06-06 Thread Robert Jarzmik
Masahiro Yamada <yamada.masah...@socionext.com> writes: > Hi Robert, > > I wanted you to update the log. > > 2017-06-05 20:59 GMT+09:00 Robert Jarzmik <robert.jarz...@free.fr>: >> When the kernel is compiled with an "O=" argument, the object file

Re: [PATCH 0/3] ARM-pxa: Adjustments for two function implementations

2017-06-06 Thread Robert Jarzmik
SF Markus Elfring writes: > From: Markus Elfring > Date: Sat, 3 Jun 2017 22:02:34 +0200 > > Three update suggestions were taken into account > from static source code analysis. Applied to the pxa/for-next tree, thanks. Cheers. --

[PATCH v2 00/12] AC97 device/driver model revamp

2017-06-19 Thread Robert Jarzmik
nel.org/patch/9398223/ Have a happy review. -- Robert Robert Jarzmik (11): ALSA: ac97: add an ac97 bus ASoC: add new ac97 bus support ASoC: arm: make pxa2xx-ac97-lib ac97 codec agnostic Input: wm97xx: split out touchscreen registering mfd: wm97xx-core: core support for wm97xx Codec I

[PATCH v2 01/12] ALSA: ac97: add an ac97 bus

2017-06-19 Thread Robert Jarzmik
+++ b/include/sound/ac97/codec.h @@ -0,0 +1,118 @@ +/* + * Copyright (C) 2016 Robert Jarzmik <robert.jarz...@free.fr> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Softwar

[PATCH v2 04/12] Input: wm97xx: split out touchscreen registering

2017-06-19 Thread Robert Jarzmik
specific from the remaining part. This is only code shuffling, there is no functional change. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- Since v1: - took into account Charles's comment --- drivers/input/touchscreen/wm97xx-core.c | 196 +++- 1 file c

[PATCH v2 12/12] ASoC: Fix use-after-free at card unregistration

2017-06-19 Thread Robert Jarzmik
ed via snd_card_free(). The fix is simple: just move the snd_card_free() call to the beginning of the whole procedure. This also gives another benefit: it guarantees that all operations have been shut down before actually releasing the resources, which was racy until now. Reported-and-tested-by: Robert J

[PATCH v2 05/12] mfd: wm97xx-core: core support for wm97xx Codec

2017-06-19 Thread Robert Jarzmik
will not withstand the new AC97 bus model, where codecs are discovered on runtime. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/mfd/Kconfig| 14 +++ drivers/mfd/Makefile | 1 + drivers/mfd/wm97xx-core.c | 282 + include/lin

[PATCH v2 07/12] ASoC: wm9713: add ac97 new bus support

2017-06-19 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/Kconfig | 3 ++- sound/soc/codecs/wm9713.c | 39 +++ 2 files changed, 29 inse

[PATCH v2 03/12] ASoC: arm: make pxa2xx-ac97-lib ac97 codec agnostic

2017-06-19 Thread Robert Jarzmik
All pxa library functions don't use the input parameters for nothing but slot number. This simplifies their prototypes, and makes them usable by both the legacy ac97 bus and the new ac97 bus. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- include/sound/pxa2xx-lib.h

[PATCH v2 10/12] ASoC: wm9705: add ac97 new bus support

2017-06-19 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/Kconfig | 3 ++- sound/soc/codecs/wm9705.c | 35 +++ 2 files changed, 25 insertions(

[PATCH v2 02/12] ASoC: add new ac97 bus support

2017-06-19 Thread Robert Jarzmik
Add the new ac97 bus support, with ac97 bus automatic probing. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> Acked-by: Charles Keepax <ckee...@opensource.wolfsonmicro.com> --- sound/Kconfig | 2 ++ sound/Makefile| 1 + sound/soc/Kconfig | 4 3 files changed,

[PATCH v2 09/12] ASoC: wm9705: add private structure

2017-06-19 Thread Robert Jarzmik
Add a private data structure. This is a preparation for a codec which would need an another data on top of snd_ac97, which will be the case when an MFD wm97xx device will probe wm9705. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- sound/soc/codecs/wm9705.

[PATCH v2 06/12] Input: wm97xx: add new AC97 bus support

2017-06-19 Thread Robert Jarzmik
;cell" as the touchscreen driver. This was tested on the pxa architecture with a pxa270 + wm9713 + the mioa701 touchscreen. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> Acked-by: Charles Keepax <ckee...@opensource.wolfsonmicro.com> --- drivers/input/touchscreen/Kconfig

[PATCH v2 08/12] ASoC: wm9712: add ac97 new bus support

2017-06-19 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/Kconfig | 3 ++- sound/soc/codecs/wm9712.c | 37 - 2 files changed, 26 inse

[PATCH v2 11/12] ASoC: pxa: switch to new ac97 bus support

2017-06-19 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> --- Since v1: split into 2 patches, the former being XXX ac97 codec agnostic --- sound/arm/Kconfig | 1 - sound/soc/pxa/Kconfig

Re: [PATCH v2 12/12] ASoC: Fix use-after-free at card unregistration

2017-06-19 Thread Robert Jarzmik
Takashi Iwai <ti...@suse.de> writes: > On Mon, 19 Jun 2017 09:27:09 +0200, > Robert Jarzmik wrote: >> >> From: Takashi Iwai <ti...@suse.de> >> >> soc_cleanup_card_resources() call snd_card_free() at the last of its >> procedure. This turned out t

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

2017-05-04 Thread Robert Jarzmik
Masahiro Yamada <yamada.masah...@socionext.com> writes: > Hi Robert, > > 2017-04-26 5:07 GMT+09:00 Robert Jarzmik <robert.jarz...@free.fr>: >> Masahiro Yamada <yamada.masah...@socionext.com> writes: >> >>> Hi Robert, >>>> diff --git

[PATCH v7 5/8] ASoC: wm9712: add ac97 new bus support

2017-09-13 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> --- Since v4: - added #ifdef spotted by Charles Since v6: reworked wm9712_soc_remove() --- sound/soc/codecs/Kconfig | 3 ++- sound/soc/

[PATCH v7 4/8] ASoC: wm9713: add ac97 new bus support

2017-09-13 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> Acked-by: Charles Keepax <ckee...@opensource.wolfsonmicro.com> --- Since v6: reworked wm9713_soc_remove() --- sound/soc/codecs/K

[PATCH v7 6/8] ASoC: wm9705: add private structure

2017-09-13 Thread Robert Jarzmik
Add a private data structure. This is a preparation for a codec which would need an another data on top of snd_ac97, which will be the case when an MFD wm97xx device will probe wm9705. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> Acked-by: Charles Keepax

[PATCH v7 8/8] ASoC: pxa: switch to new ac97 bus support

2017-09-13 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> --- Since v1: split into 2 patches, the former being XXX ac97 codec agnostic Since v2: fix driver unregistration Since v3: added platform drive

[PATCH v7 2/8] mfd: wm97xx-core: core support for wm97xx Codec

2017-09-13 Thread Robert Jarzmik
will not withstand the new AC97 bus model, where codecs are discovered on runtime. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> Acked-by: Charles Keepax <ckee...@opensource.wolfsonmicro.com> Acked-by: Lee Jones <lee.jo...@linaro.org> --- Since v3: - added a "depends on AC97_BUS

[PATCH v7 1/8] Input: wm97xx: split out touchscreen registering

2017-09-13 Thread Robert Jarzmik
specific from the remaining part. This is only code shuffling, there is no functional change. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> Acked-by: Dmitry Torokhov <dmitry.torok...@gmail.com> Acked-by: Charles Keepax <ckee...@opensource.wolfsonmicro.com> --- Since v1: -

[PATCH v7 7/8] ASoC: wm9705: add ac97 new bus support

2017-09-13 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> Acked-by: Charles Keepax <ckee...@opensource.wolfsonmicro.com> --- Since v4: - added #ifdef spotted by Charles - tentatively kept C

[PATCH v7 3/8] Input: wm97xx: add new AC97 bus support

2017-09-13 Thread Robert Jarzmik
;cell" as the touchscreen driver. This was tested on the pxa architecture with a pxa270 + wm9713 + the mioa701 touchscreen. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> Acked-by: Charles Keepax <ckee...@opensource.wolfsonmicro.com> Acked-by: Dmitry Torokhov <dmitry.torok..

[PATCH v7 0/8] AC97 device/driver model revamp

2017-09-13 Thread Robert Jarzmik
the last serie. As before Charles, I think your ack is not granted anymore for codecs, could you have a look please ? Cheers. -- Robert Robert Jarzmik (8): Input: wm97xx: split out touchscreen registering mfd: wm97xx-core: core support for wm97xx Codec Input: wm97xx: add new AC97 bus

Re: [PATCH] clk: pxa: fix building on older compilers

2017-09-19 Thread Robert Jarzmik
xtraneous ':' to let all compilers parse the > driver correctly. > > Signed-off-by: Arnd Bergmann <a...@arndb.de> Acked-by: Robert Jarzmik <robert.jarz...@free.fr> Cheers. -- Robert

Re: linux-next: build failure after merge of the sound-asoc tree

2017-09-20 Thread robert . jarzmik
Hi Stephen and Mark, This is my mess. And today my mailer is not my usual one, please don't blame me for its probably awfull rendering. Somehow, in my last serie, in wm9712_soc_probe(), a closing bracket has disappeared. This affects only wm9712.c, not the others, ie. the commit : - 2ed1a8e

[PATCH 1/3] backlight: tdo24m: fix the spi cs between transfers

2017-10-06 Thread Robert Jarzmik
ct changes between transfers") Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/video/backlight/tdo24m.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/backlight/tdo24m.c b/drivers/video/backlight/tdo24m.c index eab1f842f9c0..e4b

[PATCH 2/3] backlight: tdo24m: add the reset line gpio

2017-10-06 Thread Robert Jarzmik
The Toppoly panels have a global reset line. Add an optional gpio control for this line, for platforms which have the ability to drive it. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/video/backlight/tdo24m.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/d

[PATCH 3/3] backlight: tdo24m: add model and status sysfs entries

2017-10-06 Thread Robert Jarzmik
Add entries to query the panel ASIC to acquire the model number and the status field. This comes in handy to check that the SPI connection is functional and that the panel's firmware is alive. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/video/backlight/tdo24m.

Re: [PATCH v5 0/9] mtd: sharpslpart partition parser

2017-10-08 Thread Robert Jarzmik
Robert Jarzmik <robert.jarz...@free.fr> writes: > Boris Brezillon <boris.brezil...@free-electrons.com> writes: > >> Hi Robert, >> Wait a bit before applying. I think patches 6 to 9 have a dependency on >> patch 1 (it's not a build dependency, but NAND partiti

Re: [PATCH 1/3] backlight: tdo24m: fix the spi cs between transfers

2017-10-09 Thread Robert Jarzmik
Daniel Thompson <daniel.thomp...@linaro.org> writes: > On 06/10/17 20:58, Robert Jarzmik wrote: > > I'm a tiny bit worried about see-saw bug fixing here but nevertheless this > change looks correct to me. > > Mike's change was eight years ago and it is reasonabl

Stack protector kernel build error

2017-10-14 Thread Robert Jarzmik
Hi Kees, Today my linux-next build broke for the pxa architecture. My specific setup is : - ARCH=arm make pxa_defconfig; ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make - my compiler is: rj@belgarion:~/mio_linux/kernel$ arm-linux-gnueabi-gcc --version arm-linux-gnueabi-gcc

[PATCH] ASoC: wm97xx: fix compilation corner case

2017-10-14 Thread Robert Jarzmik
When the old AC97 is not used, CONFIG_SND_SOC_AC97_BUS is not defined. As a consequence, in the error path, snd_soc_free_ac97_codec() is not defined and triggers a compilation error. Fix it for wm9705 and wm9712, as wm9713 is correctly written. Signed-off-by: Robert Jarzmik <robert.j

[PATCH v3 RESEND] cpufreq: pxa: convert to clock API

2017-10-14 Thread Robert Jarzmik
As the clock settings have been introduced into the clock pxa drivers, which are now available to change the CPU clock by themselves, remove the clock handling from this driver, and rely on pxa clock drivers. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> Acked-by: Viresh Kumar <

Re: [PATCH] Makefile: Another fix for stackprotector _AUTO mode

2017-10-15 Thread Robert Jarzmik
Kees Cook <keesc...@chromium.org> writes: > If the compiler didn't support a build mode, the second empty test would > still trip. This moves it to an "else" test for the non-AUTO modes. > > Reported-by: Robert Jarzmik <robert.jarz...@free.fr> > Signed-off

Re: [PATCH] i2c: pxa: move header file out of deprecated i2c folder

2017-10-13 Thread Robert Jarzmik
Wolfram Sang writes: > include/linux/i2c is deprecated because too many platform_data of i2c > clients incorrectly ended up there. The few still relevant include files > for I2C bus masters with their platform_data have been moved to the > platform_data directory. This final

[PATCH v2 1/3] backlight: tdo24m: fix the spi cs between transfers

2017-10-13 Thread Robert Jarzmik
ea Adami <andrea.ad...@gmail.com> Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- Since v1: added 2 other panels --- drivers/video/backlight/corgi_lcd.c | 2 +- drivers/video/backlight/tdo24m.c| 2 +- drivers/video/backlight/tosa_lcd.c | 2 +- 3 files changed, 3 inser

[PATCH v2 3/3] backlight: tdo24m: add model and status sysfs entries

2017-10-13 Thread Robert Jarzmik
Add entries to query the panel ASIC to acquire the model number and the status field. This comes in handy to check that the SPI connection is functional and that the panel's firmware is alive. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/video/backlight/tdo24m.

[PATCH v2 2/3] backlight: tdo24m: add the reset line gpio

2017-10-13 Thread Robert Jarzmik
The Toppoly panels have a global reset line. Add an optional gpio control for this line, for platforms which have the ability to drive it. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/video/backlight/tdo24m.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/d

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

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

Re: [PATCH v5 0/9] mtd: sharpslpart partition parser

2017-08-23 Thread Robert Jarzmik
Boris Brezillon writes: > Le Mon, 14 Aug 2017 22:48:31 +0200, >> Andrea Adami (9): >> mtd: sharpslpart: Add sharpslpart partition parser >> mtd: nand: sharpsl: Add partition parsers platform data >> mfd: tmio: Add partition parsers platform data >>

Re: [PATCH 06/11] ASoC: pxa: make snd_soc_platform_driver const

2017-08-23 Thread Robert Jarzmik
--- > sound/soc/pxa/mmp-pcm.c| 2 +- > sound/soc/pxa/pxa2xx-pcm.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) For sound/soc/pxa/pxa2xx-pcm.c : Acked-by: Robert Jarzmik <robert.jarz...@free.fr> Cheers. -- Robert

Re: [PATCH] rtc: pxa: fix possible race condition

2017-08-23 Thread Robert Jarzmik
ned-off-by: Alexandre Belloni <alexandre.bell...@free-electrons.com> Acked-by: Robert Jarzmik <robert.jarz...@free.fr> Cheers. -- Robert

Re: [PATCH] rtc: sa1100: fix unbalanced clk_prepare_enable/clk_disable_unprepare

2017-08-23 Thread Robert Jarzmik
: 0cc0c38e9139 ("drivers/rtc/rtc-sa1100.c: move clock enable/disable to > probe/remove") > Signed-off-by: Alexandre Belloni <alexandre.bell...@free-electrons.com> Acked-by: Robert Jarzmik <robert.jarz...@free.fr> Cheers. -- Robert

Re: [PATCH v5 00/12] AC97 device/driver model revamp

2017-08-23 Thread Robert Jarzmik
Robert Jarzmik <robert.jarz...@free.fr> writes: > Hi Lars, Mark, Charles, Lee, Hi again, I have Lee's comments covered now. If there are no more comments, I'll send out a v6 for Lee to verify my work is dealing with his concerns. Cheers. -- Robert

Re: [PATCH v5 0/9] mtd: sharpslpart partition parser

2017-08-29 Thread Robert Jarzmik
Boris Brezillon writes: > Hi Robert, > Wait a bit before applying. I think patches 6 to 9 have a dependency on > patch 1 (it's not a build dependency, but NAND partitioning might be > wrong if you apply them), so we need to sync. What release is > pxa/for-next

Re: [PATCH v6 09/12] ASoC: wm9712: add ac97 new bus support

2017-09-04 Thread Robert Jarzmik
Charles Keepax <ckee...@opensource.cirrus.com> writes: > On Sat, Sep 02, 2017 at 09:54:11PM +0200, Robert Jarzmik wrote: >> Add support for the new ac97 bus model, where devices are automatically >> discovered on AC-Links. >> >> Signed-off-by: Rober

[PATCH v6 05/12] Input: wm97xx: split out touchscreen registering

2017-09-02 Thread Robert Jarzmik
specific from the remaining part. This is only code shuffling, there is no functional change. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> Acked-by: Dmitry Torokhov <dmitry.torok...@gmail.com> Acked-by: Charles Keepax <ckee...@opensource.wolfsonmicro.com> --- Since v1: -

[PATCH v6 01/12] ALSA: ac97: split out the generic ac97 registers

2017-09-02 Thread Robert Jarzmik
tion which would come with ac97_codec.h by "chance". - don't have to have snd_a97_*() functions, as they rely on struct snd_ac97. - don't want the struct snd_ac97_bus_ops, there is a new one Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- Since v1: improve commit

[PATCH v6 02/12] ALSA: ac97: add an ac97 bus

2017-09-02 Thread Robert Jarzmik
odec.c create mode 100644 sound/ac97/snd_ac97_compat.c diff --git a/include/sound/ac97/codec.h b/include/sound/ac97/codec.h new file mode 100644 index ..ec04be9ab119 --- /dev/null +++ b/include/sound/ac97/codec.h @@ -0,0 +1,118 @@ +/* + * Copyright (C) 2016 Robert Jarzmik <robert.jarz..

[PATCH v6 00/12] AC97 device/driver model revamp

2017-09-02 Thread Robert Jarzmik
following Lee's review, if you don't agree Charles, I'll remove it. Cheers. -- Robert Robert Jarzmik (12): ALSA: ac97: split out the generic ac97 registers ALSA: ac97: add an ac97 bus ASoC: add new ac97 bus support ASoC: arm: make pxa2xx-ac97-lib ac97 codec agnostic Input: wm97xx: split out

[PATCH v6 03/12] ASoC: add new ac97 bus support

2017-09-02 Thread Robert Jarzmik
Add the new ac97 bus support, with ac97 bus automatic probing. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> Acked-by: Charles Keepax <ckee...@opensource.wolfsonmicro.com> --- sound/Kconfig | 2 ++ sound/Makefile | 1 + 2 files changed, 3 insertions(+) diff --git a/sou

[PATCH v6 11/12] ASoC: wm9705: add ac97 new bus support

2017-09-02 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> Acked-by: Charles Keepax <ckee...@opensource.wolfsonmicro.com> --- Since v4: - added #ifdef spotted by Charles - tentatively kept C

[PATCH v6 06/12] mfd: wm97xx-core: core support for wm97xx Codec

2017-09-02 Thread Robert Jarzmik
will not withstand the new AC97 bus model, where codecs are discovered on runtime. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> Acked-by: Charles Keepax <ckee...@opensource.wolfsonmicro.com> --- Since v3: - added a "depends on AC97_BUS_NEW" Kconfig statement - added default val

[PATCH v6 04/12] ASoC: arm: make pxa2xx-ac97-lib ac97 codec agnostic

2017-09-02 Thread Robert Jarzmik
All pxa library functions don't use the input parameters for nothing but slot number. This simplifies their prototypes, and makes them usable by both the legacy ac97 bus and the new ac97 bus. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- include/sound/pxa2xx-lib.h

[PATCH v6 12/12] ASoC: pxa: switch to new ac97 bus support

2017-09-02 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> --- Since v1: split into 2 patches, the former being XXX ac97 codec agnostic Since v2: fix driver unregistration Since v3: added platform drive

[PATCH v6 10/12] ASoC: wm9705: add private structure

2017-09-02 Thread Robert Jarzmik
Add a private data structure. This is a preparation for a codec which would need an another data on top of snd_ac97, which will be the case when an MFD wm97xx device will probe wm9705. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> Acked-by: Charles Keepax

[PATCH v6 07/12] Input: wm97xx: add new AC97 bus support

2017-09-02 Thread Robert Jarzmik
;cell" as the touchscreen driver. This was tested on the pxa architecture with a pxa270 + wm9713 + the mioa701 touchscreen. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> Acked-by: Charles Keepax <ckee...@opensource.wolfsonmicro.com> Acked-by: Dmitry Torokhov <dmitry.torok..

[PATCH v6 09/12] ASoC: wm9712: add ac97 new bus support

2017-09-02 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> --- Since v4: - added #ifdef spotted by Charles --- sound/soc/codecs/Kconfig | 3 ++- sound/soc/codecs/wm9712.

[PATCH v6 08/12] ASoC: wm9713: add ac97 new bus support

2017-09-02 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> Acked-by: Charles Keepax <ckee...@opensource.wolfsonmicro.com> --- sound/soc/codecs/Kconfig | 3 ++- sound/soc/codecs/w

Re: [PATCH] arm: pxa: Convert timers to use timer_setup()

2017-10-17 Thread Robert Jarzmik
rrupt private data pointer. > > Cc: Daniel Mack <dan...@zonque.org> > Cc: Haojian Zhuang <haojian.zhu...@gmail.com> > Cc: Robert Jarzmik <robert.jarz...@free.fr> > Cc: Russell King <li...@armlinux.org.uk> > Cc: linux-arm-ker...@lists.infradead.org > S

Re: [PATCH 1/4] ARM: pxa/corgi: Remove hardcoded partitioning, use sharpslpart parser

2017-11-28 Thread Robert Jarzmik
Andrea Adami writes: > With the introduction of sharpslpart partition parser we can now read the > offsets from NAND: we specify the list of the parsers as platform data, with > cmdlinepart and ofpart parsers first allowing to override the part. table > written in NAND.

Re: [PATCH 3/4] ARM: pxa/spitz: Remove hardcoded partitioning, use sharpslpart parser

2017-11-28 Thread Robert Jarzmik
Andrea Adami writes: > On Thu, Nov 23, 2017 at 12:06 AM, Pavel Machek wrote: >> On Tue 2017-11-21 22:43:50, Andrea Adami wrote: Pavel, given that you didn't challenge Andrea's statement, I assume QEMU users will switch to mtdparts again. I'll apply the

Re: [PATCH v2 2/3] backlight: tdo24m: add the reset line gpio

2017-12-16 Thread Robert Jarzmik
Daniel Thompson <daniel.thomp...@linaro.org> writes: > On Fri, Oct 13, 2017 at 09:42:48PM +0200, Robert Jarzmik wrote: >> The Toppoly panels have a global reset line. Add an optional gpio >> control for this line, for platforms which have the ability to drive it. >>

Re: [PATCH v2 1/3] backlight: tdo24m: fix the spi cs between transfers

2017-12-16 Thread Robert Jarzmik
Daniel Thompson <daniel.thomp...@linaro.org> writes: > On Fri, Oct 13, 2017 at 09:42:47PM +0200, Robert Jarzmik wrote: >> Currently the LCD display (TD035S) on the cm-x300 platform is broken and >> remains blank. > Didn't I already ack this one? Ah yes, I forgot to report

Re: [PATCH v2 3/3] backlight: tdo24m: add model and status sysfs entries

2017-12-16 Thread Robert Jarzmik
Daniel Thompson <daniel.thomp...@linaro.org> writes: > On Fri, Oct 13, 2017 at 09:42:49PM +0200, Robert Jarzmik wrote: >> Add entries to query the panel ASIC to acquire the model number and the >> status field. This comes in handy to check that the SPI connec

Re: [PATCH v2 1/3] backlight: tdo24m: fix the spi cs between transfers

2017-12-14 Thread Robert Jarzmik
Robert Jarzmik <robert.jarz...@free.fr> writes: > Currently the LCD display (TD035S) on the cm-x300 platform is broken and > remains blank. ... blablabla ... Could I know when this serie can be cherry-picked please ? Cheers. -- Robert

Re: [PATCH v5 0/9] mtd: sharpslpart partition parser

2017-11-08 Thread Robert Jarzmik
Boris Brezillon writes: >> Hi Boris, >> >> So what's the status about the sync, should I pick the patches, and have the >> others make it to your for-next branch ? > > It's been merged in l2-mtd/master (our -next branch) which is > targeting 4.15.

Re: [PATCH][V2] usb: gadget: pxa27x: Remove redundant assignment to is_short and dev

2017-11-07 Thread Robert Jarzmik
adget/udc/pxa27x_udc.c:1141:2: warning: Value stored > to 'dev' is never read Acked-by: Robert Jarzmik <robert.jarz...@free.fr> Cheers. -- Robert

Re: [PATCH] i2c: pxa: move header file out of deprecated i2c folder

2017-10-29 Thread Robert Jarzmik
Wolfram Sang writes: Hi Wolfram, > Wouldn't it be even cleaner if patch 1 & 2 above would be swapped? First > move the chunk, then rename the file? Yeah sure. > And is there a branch I should base this on? Currently, I am thinking of > basing this patch on for-next and then

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[PATCH] dmaengine: pxa: add a default requestor policy

2018-05-25 Thread Robert Jarzmik
As what former drcmr -1 value meant, add a this as a default to each channel, ie. that by default no requestor line is used. This is specifically used for network drivers smc91x and smc911x, and needed for their port to slave maps. Cc: Arnd Bergmann <a...@arndb.de> Signed-off-by: Robert J

[PATCH] mfd: asic3: Fix the broken MMC card detection

2018-05-26 Thread Robert Jarzmik
The MMC framework requires the ocr_mask to be provided. Without it, the SD card is not detected, especially on the hx4700 platform. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- drivers/mfd/asic3.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mfd/asic3.c b/d

[PATCH] ARM: pxa: hx4700: fix the usb client

2018-05-26 Thread Robert Jarzmik
The usb client of the hx4700 is not working because no platform data is declared. Fix it by adding the missing call. Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr> --- arch/arm/mach-pxa/hx4700.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-pxa/hx4700.c b/ar

[RESEND PATCH] dmaengine: pxa: add a default requestor policy

2018-05-26 Thread Robert Jarzmik
As what former drcmr -1 value meant, add a this as a default to each channel, ie. that by default no requestor line is used. This is specifically used for network drivers smc91x and smc911x, and needed for their port to slave maps. Cc: Arnd Bergmann <a...@arndb.de> Signed-off-by: Robert J

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

2018-05-24 Thread Robert Jarzmik
Miquel Raynal writes: > Hi Robert, Actually, a last time error slipped in this patch here (I'm really doing poorly on the copy paste side): + nfc->dma_chan = dma_request_slave_channel(>dev, "data"); This should rather be : + nfc->dma_chan =

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

2018-05-24 Thread Robert Jarzmik
Robert Jarzmik <robert.jarz...@free.fr> writes: > 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 mad

Re: [RESEND v2] dmaengine: pxa: add a default requestor policy

2018-06-09 Thread Robert Jarzmik
Robert Jarzmik writes: > As what former drcmr -1 value meant, add a this as a default to each > channel, ie. that by default no requestor line is used. > > This is specifically used for network drivers smc91x and smc911x, and > needed for their port to slave maps. > > Cc: Ar

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

2018-06-18 Thread Robert Jarzmik
Boris Brezillon writes: > Hi Robert, > > On Sun, 17 Jun 2018 19:02:03 +0200 > Robert Jarzmik wrote: > >> As I gathered almost all the required acks, this is an information only post >> before queuing to the PXA tree. > > We'll need an immutable branch/t

Re: [PATCH 1/2] ASoC: pxa: add binding for pxa2xx-ac97 audio complex

2018-06-13 Thread Robert Jarzmik
Rob Herring writes: > On Mon, Jun 11, 2018 at 10:22:10PM +0200, Robert Jarzmik wrote: >> This adds a binding for the Marvell PXA audio complex, available in >> pxa2xx and pxa3xx variants. >> +Required properties: >> + - compatible: "marvell,pxa2xx-ac97"

[PATCH v2 2/2] ASoC: pxa: add devicetree support

2018-06-17 Thread Robert Jarzmik
Add the devicetree support, so that the driver can be used in a devictree platform. Signed-off-by: Robert Jarzmik --- Since v1: changed compatible string to pxa250-ac97, pxa270-ac97... --- sound/arm/pxa2xx-ac97-lib.c | 12 sound/soc/pxa/pxa2xx-ac97.c | 12 2 files

[PATCH v2 1/2] ASoC: pxa: add binding for pxa2xx-ac97 audio complex

2018-06-17 Thread Robert Jarzmik
This adds a binding for the Marvell PXA audio complex, available in pxa2xx and pxa3xx variants. Signed-off-by: Robert Jarzmik --- Since v1: Rob's review, compatible string, reset-gpios, status --- .../bindings/sound/marvell,pxa2xx-ac97.txt | 27 ++ 1 file changed, 27

[PATCH 1/2] ASoC: pxa: add binding for pxa2xx-ac97 audio complex

2018-06-11 Thread Robert Jarzmik
This adds a binding for the Marvell PXA audio complex, available in pxa2xx and pxa3xx variants. Signed-off-by: Robert Jarzmik --- .../bindings/sound/marvell,pxa2xx-ac97.txt | 25 ++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree

<    7   8   9   10   11   12   13   14   15   16   >