[RESEND][PATCH] ASoC: ams-delta: Convert to use snd_soc_register_card()

2012-10-03 Thread Janusz Krzysztofik
snd_soc_register_card() method instead, as suggested by the ASoC core generated warning message, and move both the card and codec platform device registration to the arch board file where those belong. Created and tested against linux-3.6-rc5. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl

Re: [RESEND][PATCH] ASoC: ams-delta: Convert to use snd_soc_register_card()

2012-10-03 Thread Janusz Krzysztofik
...@atomide.com To: Janusz Krzysztofik jkrzy...@tis.icnet.pl Cc: Mark Brown broo...@opensource.wolfsonmicro.com, Liam Girdwood l...@ti.com, linux-omap@vger.kernel.org, linux-arm-ker...@lists.infradead.org, alsa-de...@alsa-project.org * Janusz Krzysztofik jkrzy...@tis.icnet.pl [120916 12:18]: Tony

Re: [PATCH] ASoC: ams-delta: Convert to use snd_soc_register_card()

2012-10-02 Thread Janusz Krzysztofik
Dnia niedziela, 16 września 2012 21:17:03 Janusz Krzysztofik pisze: The old method of registering with the ASoC core by creating a soc-audio platform device no longer works for Amstrad Delta sound card after recent changes to drvdata handling (commit 0998d0631001288a5974afc0b2a5f568bcdecb4d

Re: [PATCH 04/29] ARM: OMAP1: Move board-ams-delta.h from plat to mach

2012-09-20 Thread Janusz Krzysztofik
On Wed, 19 Sep 2012 14:05:43 Tony Lindgren wrote: This is only used by omap1. And to fix things properly, this should not be included from the drivers at all. Akced-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl I'll take care of updating the drivers when I have some spare time. Thanks

[PATCH] ASoC: ams-delta: Convert to use snd_soc_register_card()

2012-09-16 Thread Janusz Krzysztofik
snd_soc_register_card() method instead, as suggested by the ASoC core generated warning message, and move both the card and codec platform device registration to the arch board file where those belong. Created and tested against linux-3.6-rc5. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl

Re: [alsa-devel] [PATCH v3 00/15] ASoC: OMAP: Convert to use dmaengine

2012-09-15 Thread Janusz Krzysztofik
/pub/scm/linux/kernel/git/broonie/sound.git for-3.7 Janusz: Can you retest this series on OMAP1 to be sure I have not broken it? Hi Peter, It looks like you haven't :-). For OMAP1: Tested-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl Thanks, Janusz -- To unsubscribe from this list: send the line

Re: [alsa-devel] [RFC update 0/2] dmaengine/ASoC: omap: Enable element mode in cyclic DMA

2012-09-09 Thread Janusz Krzysztofik
phone as I didn't get back home for this weekend, but I think that the asterisk soft phone is quite a demanding use case. The only thing I'm not sure about is why the sysfs provided bytes_transferred values never change from their initial zeros. For OMAP1: Tested-by: Janusz Krzysztofik jkrzy

Re: [alsa-devel] [RFC update 0/2] dmaengine/ASoC: omap: Enable element mode in cyclic DMA

2012-09-04 Thread Janusz Krzysztofik
On Tue, 4 Sep 2012 15:08:00 Peter Ujfalusi wrote: Hi Russell, Enable the element mode (thus allowing mono playback and probably unblocking OMAP1, OMAP2420) in OMAP dmaengine and omap-pcm. Janusz: would it be possible for you to test Russell's series plus this on OMAP1 to make sure that we

Re: [alsa-devel] [PATCH] ASoC: ams-delta: fix card initalization failure

2012-09-01 Thread Janusz Krzysztofik
Dnia piątek, 31 sierpnia 2012 14:31:04 Mark Brown pisze: On Wed, Aug 29, 2012 at 07:04:48AM +0200, Janusz Krzysztofik wrote: On Tue, 28 Aug 2012 11:13:39 Mark Brown wrote: The above looks like you already have a platform driver? Mark, I should have rather answered: No, ams-delta.c

Re: [alsa-devel] [PATCH] ASoC: ams-delta: fix card initalization failure

2012-08-28 Thread Janusz Krzysztofik
On Mon, 27 Aug 2012 14:38:35 Mark Brown wrote: On Mon, Aug 27, 2012 at 11:28:30PM +0200, Janusz Krzysztofik wrote: - platform_set_drvdata(ams_delta_audio_platform_device, - ams_delta_audio_card); - - ret = platform_device_add(ams_delta_audio_platform_device

Re: [alsa-devel] [PATCH] ASoC: ams-delta: fix card initalization failure

2012-08-28 Thread Janusz Krzysztofik
On Tue, 28 Aug 2012 11:13:39 Mark Brown wrote: On Tue, Aug 28, 2012 at 05:13:05PM +0200, Janusz Krzysztofik wrote: On Mon, 27 Aug 2012 14:38:35 Mark Brown wrote: On Mon, Aug 27, 2012 at 11:28:30PM +0200, Janusz Krzysztofik wrote: - platform_set_drvdata

[PATCH] ASoC: ams-delta: fix card initalization failure

2012-08-27 Thread Janusz Krzysztofik
, is registered. Fix this by moving the codec registration bits up, before the card is probed for. Created and tested against linux-3.6-rc3 Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl --- sound/soc/omap/ams-delta.c | 18 ++ 1 files changed, 10 insertions(+), 8 deletions(-) diff

Re: [PATCH v2] omap: dma: Clear status registers on enable/disable irq.

2012-06-04 Thread Janusz Krzysztofik
On Tue, 15 May 2012 14:35:08 Oleg Matcovschi wrote: Use omap_disable_channel_irq() function instead of directly accessing CICR. The omap_disable_chanel_irq() function clears pending interrupts and disables interrupt on channel. Functions omap2_enable_irq_lch()/omap2_disable_irq_lch() clear

Re: [PATCH] omap: dma: Clear status registers on enable/disable irq.

2012-05-14 Thread Janusz Krzysztofik
On Sunday 06 of May 2012 18:50:16 Jarkko Nikula wrote: On 05/04/2012 10:39 PM, Janusz Krzysztofik wrote: This seems like a nice fix to me. As it affects all omaps, I'd like to see some tested-by from Janusz/Jarkko/Peter. Can you guys give it a try with some audio tests? OK, I can do

Re: [PATCH] ARM: OMAP1: USB: fix ocpi_enable compile problem on non-1610 builds

2012-05-14 Thread Janusz Krzysztofik
On Friday 11 of May 2012 09:53:07 Tony Lindgren wrote: * Paul Walmsley p...@pwsan.com [120510 15:31]: Janusz Krzysztofik reported the following build break on OMAP1 builds that don't include CONFIG_ARCH_OMAP16XX: LD .tmp_vmlinux1 arch/arm/mach-omap1/built-in.o: In function

Re: [PATCH-V7 0/3] ARM: OMAP: Make OMAP clocksource source selection runtime

2012-05-10 Thread Janusz Krzysztofik
Dnia czwartek, 3 maja 2012 13:28:58 Vaibhav Hiremath pisze: Current OMAP code supports couple of clocksource options based on compilation flag (CONFIG_OMAP_32K_TIMER). The 32KHz sync-timer and a gptimer which can run on 32KHz or system clock (e.g 38.4 MHz) This patch series cleans up the

Re: [PATCH v2] gpio/omap: fix incorrect initialization of omap_gpio_mod_init

2012-05-09 Thread Janusz Krzysztofik
on Amstrad Delta were not related, and this patch is still required for GPIO interrupts hardware being correctly initialized on OMAP1 in 3.4-rc6. You can add my Tested-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl if you wish. Thanks, Janusz -- To unsubscribe from this list: send the line

Re: [PATCH v2 3.4-rc6] MTD: NAND: ams-delta: fix request_mem_region() failure

2012-05-08 Thread Janusz Krzysztofik
Dnia wtorek, 8 maja 2012 10:11:46 Artem Bityutskiy pisze: On Tue, 2012-05-08 at 10:03 +0300, Artem Bityutskiy wrote: On Mon, 2012-05-07 at 22:51 +0200, Janusz Krzysztofik wrote: A call to request_mem_region() has been introduced in the omap- gpio driver recently (commit

[PATCH v2 3.4-rc6] MTD: NAND: ams-delta: fix request_mem_region() failure

2012-05-07 Thread Janusz Krzysztofik
the request_mem_region() call from the former, especially as this call is going to be removed while the long-term solution is implemented. Tested on Amstrad Delta. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl Acked-by: Tony Lindgren t...@atomide.com --- Artem, Tony, I hope the changelog

Re: [PATCH 3.4-rc4] ARM: OMAP1: Amstrad Delta: Fix wrong IRQ base in FIQ handler

2012-05-07 Thread Janusz Krzysztofik
Dnia piątek, 4 maja 2012 09:59:49 Tony Lindgren pisze: * Janusz Krzysztofik jkrzy...@tis.icnet.pl [120430 10:30]: Commit 384ebe1c2849160d040df3e68634ec506f13d9ff, gpio/omap: Add DT support to GPIO driver, introduced dynamic IRQ numbering of OMAP GPIO interrupts, breaking all IH_GPIO_BASE

Re: [PATCH v3.4-rc3] MTD: NAND: ams-delta: Fix request_mem_region() failure

2012-05-04 Thread Janusz Krzysztofik
On Fri, 4 May 2012 10:11:25 Tony Lindgren wrote: Hi, * Janusz Krzysztofik jkrzy...@tis.icnet.pl [120430 11:15]: Dnia czwartek, 26 kwietnia 2012 08:20:59 Artem Bityutskiy pisze: On Wed, 2012-04-25 at 19:01 +0200, Janusz Krzysztofik wrote: Both drivers use separate subsets of registers

Re: [PATCH] omap: dma: Clear status registers on enable/disable irq.

2012-05-04 Thread Janusz Krzysztofik
Dnia piątek, 4 maja 2012 09:51:46 Tony Lindgren pisze: Hi, * Oleg Matcovschi oleg.matcovs...@ti.com [120420 13:49]: Use omap_disable_channel_irq() function instead of directly accessing CICR. The omap_disable_chanel_irq() function clears pending interrupts and disables interrupt on

Re: [PATCH-V6 1/3] ARM: OMAP1: FIX: check possible error condition in timer_init

2012-05-04 Thread Janusz Krzysztofik
Dnia piątek, 4 maja 2012 10:43:02 Tony Lindgren pisze: Hi, * Kevin Hilman khil...@ti.com [120502 13:11]: Vaibhav Hiremath hvaib...@ti.com writes: OMAP1, omap_32k_timer_init() function always returns true, irrespective of whether error occurred while initializing 32k sync counter

[PATCH 3.4-rc4] ARM: OMAP1: Amstrad Delta: Fix wrong IRQ base in FIQ handler

2012-04-30 Thread Janusz Krzysztofik
-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl --- arch/arm/mach-omap1/ams-delta-fiq.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap1/ams-delta-fiq.c b/arch/arm/mach-omap1/ams-delta-fiq.c index fcce7ff..cfd98b1 100644 --- a/arch/arm/mach-omap1/ams-delta

Re: [PATCH v3.4-rc3] MTD: NAND: ams-delta: Fix request_mem_region() failure

2012-04-30 Thread Janusz Krzysztofik
Dnia czwartek, 26 kwietnia 2012 08:20:59 Artem Bityutskiy pisze: On Wed, 2012-04-25 at 19:01 +0200, Janusz Krzysztofik wrote: Both drivers use separate subsets of registers that belong to the OMAP1 MPU I/O device, but are used for controlling different sets of I/O pins. The NAND driver

Re: [PATCH] gpio/omap: fix incorrect initialization of omap_gpio_mod_init

2012-04-29 Thread Janusz Krzysztofik
On Friday 27 of April 2012 14:09:11 Tarun Kanti DebBarma wrote: Breaking commit: ab985f0f7c2c0ef90b7c832f0c04f470dda0593d Initialization of irqenable, irqstatus registers is the common operation done in this function for all OMAP platforms, viz. OMAP1, OMAP2+. The latter _gpio_rmw()'s to

Re: [PATCH v3.4-rc3] MTD: NAND: ams-delta: Fix request_mem_region() failure

2012-04-25 Thread Janusz Krzysztofik
Dnia środa, 25 kwietnia 2012 18:13:38 Artem Bityutskiy pisze: On Tue, 2012-04-17 at 15:49 +0200, Janusz Krzysztofik wrote: A call to request_mem_region() has been introduced in the omap-gpio driver recently (commit 96751fcbe5438e95514b025e9cee7a6d38038f40, gpio/omap: Use devm_ API and add

Re: [PATCH v9 11/25] gpio/omap: cleanup omap_gpio_mod_init function

2012-04-24 Thread Janusz Krzysztofik
Dnia wtorek, 24 kwietnia 2012 21:06:59 DebBarma, Tarun Kanti pisze: Hi Janusz, Here is the patch, with attachment as well. I have just tested on OMAP4 platform. Testing on other OMAP2+ platforms is pending. In the meantime can you please validate on OMAP1 platform and confirm? Thanks. Hi,

Re: [PATCH v9 11/25] gpio/omap: cleanup omap_gpio_mod_init function

2012-04-21 Thread Janusz Krzysztofik
On Thursday 02 of February 2012 23:00:37 Tarun Kanti DebBarma wrote: With register offsets now defined for respective OMAP versions we can get rid of cpu_class_* checks. This function now has common initialization code for all OMAP versions... Signed-off-by: Tarun Kanti DebBarma

[PATCH v3.4-rc3] MTD: NAND: ams-delta: Fix request_mem_region() failure

2012-04-17 Thread Janusz Krzysztofik
request_mem_region() call and related bits from ams-delta NAND driver. Created and tested against linux-3.4-rc3. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl --- drivers/mtd/nand/ams-delta.c | 12 +--- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/drivers/mtd

[PATCH v3 3/3] ASoC: OMAP: ams-delta: drop .set_bias_level callback

2012-03-05 Thread Janusz Krzysztofik
. Depends on patches 1/3 and 2/3 for clean apply and keep things working. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl Acked-by: Mark Brown broo...@opensource.wolfsonmicro.com Cc: Tony Lindgren t...@atomide.com --- v2 - v3 changes: none. Changes against initial version: * don't move consumer

[PATCH v3 2/3] ARM: OMAP1: ams-delta: update the modem to use regulator API

2012-03-05 Thread Janusz Krzysztofik
the modem initialization procedure, as this operation was already ineffective since patch 1/3, and not needed because the regulator is set up as initially enabled. Depends on patch 1/3 ARM: OMAP1: ams-delta: set up regulator over modem reset GPIO pin to apply cleanly. Signed-off-by: Janusz

[PATCH v3 0/3] Amstrad Delta: access MODEM_RESET GPIO pin over a regulator

2012-03-05 Thread Janusz Krzysztofik
track the regulator enable/disable state, compare new target bias level (the codec case) or power state (the modem case) with the old value instead; thanks to Mark Brown who suggested this solution, * a few other minor changes, mostly stylistic. Janusz Krzysztofik (3): ARM: OMAP1: ams-delta

[PATCH v3 1/3] ARM: OMAP1: ams-delta: set up regulator over modem reset GPIO pin

2012-03-05 Thread Janusz Krzysztofik
for balancing the regulator enable/disable operations, together with the consumer data needed for tracking the regulator state, will be removed once the drivers are updated. Depends on patch series ARM: OMAP1: ams-delta: replace custom I/O with GPIO. Signed-off-by: Janusz Krzysztofik jkrzy

Re: [GIT PULL 3/5] First set of omap1 related changes

2012-03-02 Thread Janusz Krzysztofik
On Thu, 1 Mar 2012 15:31:01 Tony Lindgren wrote: I've pushed ams-delta branch that's based on -rc5 merged with what Arnd pulled yesterday as -rc1 has i2c-omap.c a compile bug for omap1. I've applied these two patches there as the second one depends on what got pulled: ARM: OMAP1:

Re: [GIT PULL 3/5] First set of omap1 related changes

2012-03-01 Thread Janusz Krzysztofik
On Wed, 29 Feb 2012 13:13:31 Tony Lindgren wrote: * Arnd Bergmann a...@arndb.de [120229 12:35]: On Wednesday 29 February 2012, Tony Lindgren wrote: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap omap1 Janusz Krzysztofik (7): ARM: OMAP1: ams-delta: register

Re: [RFC 00/11]O MAP/ASoC: Move and merge McBSP driver under ASoC

2012-02-20 Thread Janusz Krzysztofik
On Wednesday 15 of February 2012 17:56:15 Ujfalusi, Peter wrote: Hi, CC-ing Janusz, since he is the only one I know who have, and use OMAP1 with audio... Janusz: if your time allows would you be able to test this series on OMAP1 (it compiles...)? for OMAP1: Tested-by: Janusz Krzysztofik

Re: [PATCH] ARM: OMAP1: ams-delta: correct init data section assignments

2012-02-10 Thread Janusz Krzysztofik
On Thursday 09 of February 2012 14:48:53 Russell King - ARM Linux wrote: There is no optimisation to adding __refdata to stuff. That's screaming that you have lots of bugs here. Thanks for your teaching. I find those aspects not very exhaustively documented under Documentation/, so any hints

[PATCH] ARM: OMAP1: ams-delta: fix incorrect section tags

2012-02-10 Thread Janusz Krzysztofik
While resolving section mismatches introduced with recent patches to for-next, a few dangerous, driver bind/unbind unaware section tagging already present in mainline have been identified. Fix them. Created and tested against linux-3.3-rc2. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl

[PATCH v2] ARM: OMAP1: ams-delta: clean up init data section assignments

2012-02-10 Thread Janusz Krzysztofik
data found in the board file have been revised and hopefully corrected and/or optimized. Created and tested on top of current linux-omap/omap1, commit 967809bd7faf71ddc29c8081e0f21db8b201a0f4. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl --- arch/arm/mach-omap1/board-ams-delta.c

[PATCH] ARM: OMAP1: ams-delta: clean up init data section assignments

2012-02-09 Thread Janusz Krzysztofik
of all init data found in the board file have been revised and hopefully optimised. Created and tested on top of current linux-omap/omap1, commit 967809bd7faf71ddc29c8081e0f21db8b201a0f4. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl --- arch/arm/mach-omap1/board-ams-delta.c | 35

Re: [PATCH] ARM: OMAP: update omap1 and omap2plus defconfigs

2012-02-08 Thread Janusz Krzysztofik
On Wednesday 08 of February 2012 12:16:13 Igor Grinberg wrote: ... After updating omap1_defconfig, there are several section mismatch warnings seen. Hopefully, I will have time to fix those tomorrow (unless someone will be kind enough to fix them before me). Sound like introduced with my

[RESUBMIT][PATCH v2 1/4] ARM: OMAP1: ams-delta: set up regulator over modem reset GPIO pin

2012-02-07 Thread Janusz Krzysztofik
for balancing the regulator enable/disable operations, together with the consumer data needed for tracking the regulator state, will be removed once the drivers are updated. Depends on patch series ARM: OMAP1: ams-delta: replace custom I/O with GPIO. Signed-off-by: Janusz Krzysztofik jkrzy

[RESUBMIT][PATCH v2 3/4] ARM: OMAP1: ams-delta: update the modem to use regulator API

2012-02-07 Thread Janusz Krzysztofik
. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl Cc: Tony Lindgren t...@atomide.com --- No functional changes against initial version. arch/arm/mach-omap1/board-ams-delta.c | 22 +- 1 files changed, 17 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-omap1

[RESUBMIT][PATCH v2 4/4] ASoC: OMAP: ams-delta: drop .set_bias_level callback

2012-02-07 Thread Janusz Krzysztofik
in the board file. While being at it, simplify the way the modem .pm callback handles the regulator and drop that helper function and its related consumer setup completely. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl Acked-by: Mark Brown broo...@opensource.wolfsonmicro.com Cc: Tony

[RESUBMIT][PATCH v2 0/4] Amstrad Delta: access MODEM_RESET GPIO pin over a regulator

2012-02-07 Thread Janusz Krzysztofik
suggested this solution, * a few other minor changes, mostly stylistic. Janusz Krzysztofik (3): ARM: OMAP1: ams-delta: set up regulator over modem reset GPIO pin ARM: OMAP1: ams-delta: update the modem to use regulator API ASoC: OMAP: ams-delta: drop .set_bias_level callback arch/arm/mach-omap1

[PATCH v2 0/4] Amstrad Delta: access MODEM_RESET GPIO pin over a regulator

2011-12-29 Thread Janusz Krzysztofik
track the regulator enable/disable state, compare new targert bias level (the codec case) or power state (the modem case) with the old value instead; thanks to Mark Brown who suggested this solution, * a few other minor changes, mostly stylistic. Janusz Krzysztofik (4): ARM: OMAP1: ams

[PATCH v2 1/4] ARM: OMAP1: ams-delta: set up regulator over modem reset GPIO pin

2011-12-29 Thread Janusz Krzysztofik
for balancing the regulator enable/disable operations, together with the consumer data needed for tracking the regulator state, will be removed once the drivers are updated. Depends on patch series ARM: OMAP1: ams-delta: replace custom I/O with GPIO. Signed-off-by: Janusz Krzysztofik jkrzy

[PATCH v2 2/4] ASoC: cx20442: add bias control over a platform provided regulator

2011-12-29 Thread Janusz Krzysztofik
card .set_bias_level callback to not touch codec-dapm.bias_level. While extending the cx20442 structure, drop unused control_type member. Created against linxu-3.2-rc6, tested on top of patch 1/4 ARM: OMAP1: ams-delta: set up a regulator over the modem reset GPIO pin. Signed-off-by: Janusz

[PATCH v2 4/4] ASoC: OMAP: ams-delta: drop .set_bias_level callback

2011-12-29 Thread Janusz Krzysztofik
-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl --- Changes against initial version: * don't move consumer setup elements, now named to indicated their modem related purpose, down the file, * don't track the regulator enavble/disable state, compare new target power state with the old one instead; thanks

[PATCH v2 3/4] ARM: OMAP1: ams-delta: update the modem to use regulator API

2011-12-29 Thread Janusz Krzysztofik
. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl --- No functional changes against initial version. arch/arm/mach-omap1/board-ams-delta.c | 22 +- 1 files changed, 17 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-omap1/board-ams-delta.c b/arch/arm/mach

Re: [alsa-devel] [PATCH 2/4] ASoC: cx20442: add bias control over a platform provided regulator

2011-12-27 Thread Janusz Krzysztofik
On Monday 26 of December 2011 at 12:02:01, Mark Brown wrote: On Sat, Dec 24, 2011 at 12:12:22AM +0100, Janusz Krzysztofik wrote: + case SND_SOC_BIAS_ON: + case SND_SOC_BIAS_PREPARE: + if (IS_ERR(cx20442-por.regulator)) { + err = PTR_ERR(cx20442

Re: [alsa-devel] [PATCH 2/4] ASoC: cx20442: add bias control over a platform provided regulator

2011-12-26 Thread Janusz Krzysztofik
On Monday 26 of December 2011 at 12:02:01, Mark Brown wrote: On Sat, Dec 24, 2011 at 12:12:22AM +0100, Janusz Krzysztofik wrote: + case SND_SOC_BIAS_ON: + case SND_SOC_BIAS_PREPARE: + if (IS_ERR(cx20442-por.regulator)) { + err = PTR_ERR(cx20442

Re: [PATCH 4/4] ASoC: OMAP: ams-delta: drop .set_bias_level callback

2011-12-26 Thread Janusz Krzysztofik
On Monday 26 of December 2011 at 12:03:49, Mark Brown wrote: On Sat, Dec 24, 2011 at 12:12:24AM +0100, Janusz Krzysztofik wrote: +struct regulator_consumer_data { + struct mutex lock; + struct regulator *regulator; + bool enabled; +}; + +static int regulator_toggle(struct

Re: [PATCH 4/4] ASoC: OMAP: ams-delta: drop .set_bias_level callback

2011-12-26 Thread Janusz Krzysztofik
On Monday 26 of December 2011 at 18:23:50, Mark Brown wrote: On Mon, Dec 26, 2011 at 01:30:22PM +0100, Janusz Krzysztofik wrote: Why's this code not been dropped and what is it for? It is, and will be, used by another regulator consumer, the modem. The device is controlled

[PATCH 0/4] Amstrad Delta: access MODEM_RESET GPIO pin over a regulator

2011-12-23 Thread Janusz Krzysztofik
conflicts, or trying to solve that sharing issue with a custom piece of code, set up a fixed regulator device on top of that GPIO pin and update both drivers to manipulate that regulator, not the GPIO pin directly. Janusz Krzysztofik (4): ARM: OMAP1: ams-delta: set up regulator over modem reset

[PATCH 1/4] ARM: OMAP1: ams-delta: set up regulator over modem reset GPIO pin

2011-12-23 Thread Janusz Krzysztofik
custom I/O with GPIO. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl --- arch/arm/mach-omap1/Kconfig |2 + arch/arm/mach-omap1/board-ams-delta.c | 103 +++-- 2 files changed, 99 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-omap1

[PATCH 2/4] ASoC: cx20442: add bias control over a platform provided regulator

2011-12-23 Thread Janusz Krzysztofik
unused control_type member. Created against linxu-3.2-rc6, tested on top of patch 1/4 ARM: OMAP1: ams-delta: set up regulator over modem reset GPIO pin. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl --- sound/soc/codecs/cx20442.c | 58 ++- 1 files

[PATCH 3/4] ARM: OMAP1: ams-delta: update the modem to use regulator API

2011-12-23 Thread Janusz Krzysztofik
correctly in coexistence with the modem. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl --- arch/arm/mach-omap1/board-ams-delta.c | 20 +++- 1 files changed, 15 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-omap1/board-ams-delta.c b/arch/arm/mach-omap1/board-ams

[PATCH 4/4] ASoC: OMAP: ams-delta: drop .set_bias_level callback

2011-12-23 Thread Janusz Krzysztofik
-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl --- arch/arm/mach-omap1/board-ams-delta.c | 75 ++--- arch/arm/plat-omap/include/plat/board-ams-delta.h |1 - sound/soc/omap/ams-delta.c| 34 - 3 files changed, 36 insertions(+), 74 deletions

Re: [PATCH v2 1/7 v2] ARM: OMAP1: ams-delta: register latch dependent devices later

2011-12-22 Thread Janusz Krzysztofik
On Wednesday 21 of December 2011 at 21:07:29, Tony Lindgren wrote: * Janusz Krzysztofik jkrzy...@tis.icnet.pl [111221 11:20]: On Wednesday 21 of December 2011 at 20:08:15, Tony Lindgren wrote: * Janusz Krzysztofik jkrzy...@tis.icnet.pl [111220 13:23]: In preparation to converting Amstrad

Re: [PATCH v2 5/7] MTD: NAND: ams-delta: use GPIO instead of custom I/O

2011-12-21 Thread Janusz Krzysztofik
On Wednesday 21 of December 2011 at 20:12:12, Tony Lindgren wrote: * Janusz Krzysztofik jkrzy...@tis.icnet.pl [111219 14:41]: Don't use Amstrad Delta custom I/O functions for controlling the device, use GPIO API instead. While being at it, add missing gpio_free(AMS_DELTA_GPIO_PIN_NAND_RB

Re: [PATCH v2 1/7 v2] ARM: OMAP1: ams-delta: register latch dependent devices later

2011-12-21 Thread Janusz Krzysztofik
On Wednesday 21 of December 2011 at 20:08:15, Tony Lindgren wrote: * Janusz Krzysztofik jkrzy...@tis.icnet.pl [111220 13:23]: In preparation to converting Amstrad Delta on-board latches to basic_mmio_gpio devices, registration of platform devices which depend on latches and will require

Re: [PATCH] input: serio: ams-delta: toggle keyboard power over GPIO

2011-12-21 Thread Janusz Krzysztofik
On Wednesday 21 of December 2011 at 20:09:45, Tony Lindgren wrote: * Janusz Krzysztofik jkrzy...@tis.icnet.pl [111220 13:39]: Don't use Amstrad Delta custom I/O functions once GPIO interface is available for the underlying hardware. While requesting and initializing GPIO pins used, also

Re: [PATCH 07/10] ASoC: OMAP: ams-delta: Drive modem/codec pins over GPIO API

2011-12-21 Thread Janusz Krzysztofik
On Wednesday 21 of December 2011 at 19:33:44, Liam Girdwood wrote: On Sun, 2011-12-11 at 21:12 +0100, Janusz Krzysztofik wrote: Don't use Amstrad Delta custom I/O functions any longer, replace them with GPIO. Old pin definitions, no longer used by the modem bits either, can be dropped

Re: [PATCH v2 1/7][RESEND] ARM: OMAP1: ams-delta: register latch dependent devices later

2011-12-20 Thread Janusz Krzysztofik
On Tuesday 20 of December 2011 at 19:06:11, Tony Lindgren wrote: * Janusz Krzysztofik jkrzy...@tis.icnet.pl [111219 14:57]: Resending because of a typo in the Cc: list, sorry. 8-- In preparation to converting Amstrad Delta on-board latches to basic_mmio_gpio

Re: [alsa-devel] [PATCH v2 1/7][RESEND] ARM: OMAP1: ams-delta: register latch dependent devices later

2011-12-20 Thread Janusz Krzysztofik
On Tuesday 20 of December 2011 at 21:40:46, Russell King - ARM Linux wrote: On Tue, Dec 20, 2011 at 12:28:32AM +0100, Janusz Krzysztofik wrote: diff --git a/drivers/input/serio/ams_delta_serio.c b/drivers/input/serio/ams_delta_serio.c index d4d08bd..56ffd7c 100644 --- a/drivers/input

[PATCH v2 1/7 v2] ARM: OMAP1: ams-delta: register latch dependent devices later

2011-12-20 Thread Janusz Krzysztofik
will depend on their GPIO pins already requested from the board late_init() function until updated to register their GPIO pins themselves. Created and tested against linux-3.2-rc6. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl --- Changes since the initial version of this patch: * use

[PATCH] input: serio: ams-delta: toggle keyboard power over GPIO

2011-12-20 Thread Janusz Krzysztofik
dependent devices. Depends on patch 2/7 ARM: OMAP1: ams-delta: convert latches to basic_mmio_gpio Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl --- Hi, I'm submitting only this one refreshed on top of updated 1/7. All others (2/7-6/7) don't require any refresh, can be rebased smoothly. Thanks

[PATCH v2 0/7] ARM: OMAP1: ams-delta: replace custom I/O with GPIO

2011-12-19 Thread Janusz Krzysztofik
or Acks. Janusz Janusz Krzysztofik (7): ARM: OMAP1: ams-delta: register latch dependent devices later ARM: OMAP1: ams-delta: convert latches to basic_mmio_gpio ARM: OMAP1: ams-delta: supersede custom led device by leds-gpio LED: drop leds-ams-delta driver MTD: NAND: ams-delta: use GPIO

[PATCH v2 2/7] ARM: OMAP1: ams-delta: convert latches to basic_mmio_gpio

2011-12-19 Thread Janusz Krzysztofik
after converting selected ams-delta platform devices to follow generic GPIO based device models. Depends on patch 1/7, ARM: OMAP1: ams-delta: register latch dependent devices later. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl --- Changes against initial version: * refreshed on top

[PATCH v2 4/7] LED: drop leds-ams-delta driver

2011-12-19 Thread Janusz Krzysztofik
This driver is no longer needed after the Amstrad Delta on-board LED devices have been converted to leds-gpio compatible. Created against linux-3.2-rc6. Requires patch 3/7 ARM: OMAP1: ams-delta: supersede custom led device by leds-gpio for those LEDs to still work. Signed-off-by: Janusz

[PATCH v2 5/7] MTD: NAND: ams-delta: use GPIO instead of custom I/O

2011-12-19 Thread Janusz Krzysztofik
Don't use Amstrad Delta custom I/O functions for controlling the device, use GPIO API instead. While being at it, add missing gpio_free(AMS_DELTA_GPIO_PIN_NAND_RB). Depends on patch 2/7 ARM: OMAP1: ams-delta: convert latches to basic_mmio_gpio Signed-off-by: Janusz Krzysztofik jkrzy

[PATCH v2 3/7] ARM: OMAP1: ams-delta: supersede custom led device by leds-gpio

2011-12-19 Thread Janusz Krzysztofik
Now that the Amstrad Delta on-board latches have been converted to GPIO devices, use the generic driver to control on-board LEDs which hang off those latches. Depends on patch 2/7 ARM: OMAP1: ams-delta: convert latches to basic_mmio_gpio Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl

[PATCH v2 6/7] omapfb: lcd_ams_delta: drive control lines over GPIO

2011-12-19 Thread Janusz Krzysztofik
Don't use Amstrad Delta custom I/O functions any longer, use GPIO API instead. Depends on patch 2/7 ARM: OMAP1: ams-delta: convert latches to basic_mmio_gpio. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl Acked-by: Tomi Valkeinen tomi.valkei...@ti.com Cc: Tony Lindgren t...@atomide.com

[PATCH v2 7/7] input: serio: ams-delta: toggle keyboard power over GPIO

2011-12-19 Thread Janusz Krzysztofik
latch2 dependent devices. Depends on patch 2/7 ARM: OMAP1: ams-delta: convert latches to basic_mmio_gpio Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl --- Changes against initial version: * was 9/10, * rebased on top of v2 of patch 2/7, just in case, * moved

[PATCH v2 1/7][RESEND] ARM: OMAP1: ams-delta: register latch dependent devices later

2011-12-19 Thread Janusz Krzysztofik
the board late_init() function until updated to register their GPIO pins themselves. Thanks to Tony Lindgren t...@atomide.com who suggested this approach instead of shifting up the gpio-generic driver initialization. Created and tested against linux-3.2-rc6. Signed-off-by: Janusz Krzysztofik jkrzy

Re: [PATCH v2 2/7] ARM: OMAP1: ams-delta: convert latches to basic_mmio_gpio

2011-12-19 Thread Janusz Krzysztofik
On Tuesday 20 of December 2011 at 01:06:00, Tony Lindgren wrote: * Janusz Krzysztofik jkrzy...@tis.icnet.pl [111219 14:41]: Once ready, ams-delta specific device drivers currently calling custom ams_delta_latch[12]_write() functions can be updated to call generic gpio_set_value() instead

Re: [PATCH v2 2/7] ARM: OMAP1: ams-delta: convert latches to basic_mmio_gpio

2011-12-19 Thread Janusz Krzysztofik
On Tuesday 20 of December 2011 at 02:04:46, Tony Lindgren wrote: * Janusz Krzysztofik jkrzy...@tis.icnet.pl [111219 16:28]: On Tuesday 20 of December 2011 at 01:06:00, Tony Lindgren wrote: This part especially looks like it really should be just a regular device driver under drivers

[PATCH v2 2/7 v2] ARM: OMAP1: ams-delta: convert latches to basic_mmio_gpio

2011-12-19 Thread Janusz Krzysztofik
after all custom drivers are converted or replaced. Depends on patch 1/7, ARM: OMAP1: ams-delta: register latch dependent devices later. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl --- Changes against initial version: * refreshed on top of patch 1/7, which is the old 1/10 replacement

Re: [PATCH 01/10] GPIO: gpio-generic: Move initialization up to postcore

2011-12-14 Thread Janusz Krzysztofik
On Sunday 11 of December 2011 at 21:11:59, Janusz Krzysztofik wrote: This will allow boards with custom memory mapped GPIO ports to set up and use those port pins while initializing devices from arch init. Please ignore this patch, I'm going to submit a replacement, based on an alternative

Re: [PATCH 01/10] GPIO: gpio-generic: Move initialization up to postcore

2011-12-14 Thread Janusz Krzysztofik
On Tuesday 13 of December 2011 at 00:55:44, Tony Lindgren wrote: * Janusz Krzysztofik jkrzy...@tis.icnet.pl [111212 15:13]: On Tuesday 13 of December 2011 at 00:15:20, Tony Lindgren wrote: Might be worth checking if some board specific __initcall helps here too? If I only knew

Re: [PATCH 01/10] GPIO: gpio-generic: Move initialization up to postcore

2011-12-14 Thread Janusz Krzysztofik
(adding Mark Brown and Liam Girdwood - regulator experts - to Cc:) On Wednesday 14 of December 2011 at 19:21:49, Tony Lindgren wrote: * Janusz Krzysztofik jkrzy...@tis.icnet.pl [111214 04:40]: On Tuesday 13 of December 2011 at 00:55:44, Tony Lindgren wrote: * Janusz Krzysztofik jkrzy

Re: [PATCH 01/10] GPIO: gpio-generic: Move initialization up to postcore

2011-12-12 Thread Janusz Krzysztofik
(adding Greg Kroah-Hartman and linux-ser...@vger.kernel.org to Cc:) On Monday 12 of December 2011 at 19:04:56, Tony Lindgren wrote: * Janusz Krzysztofik jkrzy...@tis.icnet.pl [111211 11:41]: This will allow boards with custom memory mapped GPIO ports to set up and use those port pins while

Re: [PATCH 01/10] GPIO: gpio-generic: Move initialization up to postcore

2011-12-12 Thread Janusz Krzysztofik
On Tuesday 13 of December 2011 at 00:15:20, Tony Lindgren wrote: Might be worth checking if some board specific __initcall helps here too? If I only knew how I could insert a board specific __initcall between two points from where the generic-gpio first, then the 8250 driver, are called.

Re: [PATCH 01/10] GPIO: gpio-generic: Move initialization up to postcore

2011-12-12 Thread Janusz Krzysztofik
On Tuesday 13 of December 2011 at 00:55:44, Tony Lindgren wrote: * Janusz Krzysztofik jkrzy...@tis.icnet.pl [111212 15:13]: On Tuesday 13 of December 2011 at 00:15:20, Tony Lindgren wrote: Might be worth checking if some board specific __initcall helps here too? If I only knew

[PATCH 00/10] ARM: OMAP1: ams-delta: replace custom I/O with GPIO

2011-12-11 Thread Janusz Krzysztofik
be created, it could be designed as a generic GPIO based driver, not a custom one. Janusz Krzysztofik (10): GPIO: gpio-generic: Move initialization up to postcore ARM: OMAP1: ams-delta: convert latches to basic_mmio_gpio ARM: OMAP1: ams-delta: supersede custom led device by leds-gpio LED: drop

[PATCH 01/10] GPIO: gpio-generic: Move initialization up to postcore

2011-12-11 Thread Janusz Krzysztofik
This will allow boards with custom memory mapped GPIO ports to set up and use those port pins while initializing devices from arch init. Created against linux-3.2-rc5. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl --- drivers/gpio/gpio-generic.c |2 +- 1 files changed, 1

[PATCH 02/10] ARM: OMAP1: ams-delta: Convert latches to basic_mmio_gpio

2011-12-11 Thread Janusz Krzysztofik
selected ams-delta platform devices to follow generic GPIO based device models. Created against linux-3.2-rc5. Requires patch 1/10 GPIO: gpio-generic: Move initialization up to postcore to work correctly. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl --- arch/arm/mach-omap1/Kconfig

[PATCH 03/10] ARM: OMAP1: ams-delta: Supersede custom led device by leds-gpio

2011-12-11 Thread Janusz Krzysztofik
Now that the Amstrad Delta on-board latches have been converted to GPIO devices, use the generic driver to control on-board LEDs which hang off those latches. Depends on patch 2/10 ARM: OMAP1: Convert Amstrad E3 latches to basic_mmio_gpio. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl

[PATCH 04/10] LED: Drop leds-ams-delta driver

2011-12-11 Thread Janusz Krzysztofik
This is no longer needed after the Amstrad Delta on-board LED devices have been converted to leds-gpio compatible. Created against linux-3.2-rc5. Requires patch 3/10 ARM: OMAP1: ams-delta: Supersede custom led device by leds-gpio for those LEDs to still work. Signed-off-by: Janusz Krzysztofik

[PATCH 05/10] MTD: NAND: ams-delta: Use GPIO instead of custom I/O

2011-12-11 Thread Janusz Krzysztofik
Don't use Amstrad Delta custom I/O functions for controlling the device, use GPIO API instead. While being at it, add missing gpio_free(AMS_DELTA_GPIO_PIN_NAND_RB). Depends on patch 2/10 ARM: OMAP1: Convert Amstrad E3 latches to basic_mmio_gpio. Signed-off-by: Janusz Krzysztofik jkrzy

[PATCH 06/10] ARM: OMAP1: ams-delta: Use GPIO API in modem setup

2011-12-11 Thread Janusz Krzysztofik
with a power management hook which toggles one of those new GPIO pins. Depends on patch 2/10 ARM: OMAP1: Convert Amstrad E3 latches to basic_mmio_gpio. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl --- arch/arm/mach-omap1/board-ams-delta.c | 44 1 files changed

[PATCH 07/10] ASoC: OMAP: ams-delta: Drive modem/codec pins over GPIO API

2011-12-11 Thread Janusz Krzysztofik
Don't use Amstrad Delta custom I/O functions any longer, replace them with GPIO. Old pin definitions, no longer used by the modem bits either, can be dropped. Depends on patch 2/10 ARM: OMAP1: Convert Amstrad E3 latches to basic_mmio_gpio. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl

[PATCH 08/10] omapfb: lcd_ams_delta: Drive control lines over GPIO

2011-12-11 Thread Janusz Krzysztofik
Don't use Amstrad Delta custom I/O functions any longer, use GPIO API instead. Depends on patch 5/10 MTD: NAND: ams-delta: Use GPIO instead of custom I/O. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl --- arch/arm/mach-omap1/board-ams-delta.c | 10 --- arch/arm/plat

[PATCH 09/10] input: serio: ams-delta: Toggle keyboard power over GPIO

2011-12-11 Thread Janusz Krzysztofik
Don't use Amstrad Delta custom I/O functions once GPIO interface is available for the underlying hardware. Depends on patch 8/10 omapfb: lcd_ams_delta: Drive control lines over GPIO. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl --- arch/arm/mach-omap1/board-ams-delta.c

[PATCH 10/10] ARM: OMAP1: ams-delta: Drop custom I/O functions

2011-12-11 Thread Janusz Krzysztofik
Those are no longer required after all drivers which used them have been converted to the GPIO interface. Depends on patch 9/10 input: serio: ams-delta: Toggle keyboard power over GPIO. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl --- arch/arm/mach-omap1/board-ams-delta.c

Re: [PATCH 5/5 v2] ARM: OMAP1: recalculate loops per jiffy after dpll1 reprogram

2011-12-10 Thread Janusz Krzysztofik
On Saturday 10 of December 2011 at 01:25:03, Russell King - ARM Linux wrote: On Fri, Dec 09, 2011 at 11:00:01AM +0100, Janusz Krzysztofik wrote: Those were BogoMIPS, ... I realise that. But which is which - is 70.40 from recalibrate_delay or is it 74.54? Your message is too vague

Re: [PATCH 5/5 v2] ARM: OMAP1: recalculate loops per jiffy after dpll1 reprogram

2011-12-09 Thread Janusz Krzysztofik
On Friday 09 of December 2011 at 09:42:45, Russell King - ARM Linux wrote: On Tue, Nov 29, 2011 at 01:25:32AM +0100, Janusz Krzysztofik wrote: However, the result of cpufreq_scale() differs from that of (re)calibrate_delay() by ca. 6%, i.e., 70.40 vs. 74.54. Please advise

Re: [PATCH 5/5 v2] ARM: OMAP1: recalculate loops per jiffy after dpll1 reprogram

2011-12-09 Thread Janusz Krzysztofik
On Friday 09 of December 2011 at 11:00:01, Janusz Krzysztofik wrote: On Friday 09 of December 2011 at 09:42:45, Russell King - ARM Linux wrote: On Tue, Nov 29, 2011 at 01:25:32AM +0100, Janusz Krzysztofik wrote: However, the result of cpufreq_scale() differs from that of (re

  1   2   3   4   5   >