Re: NULL pointer dereference when using ALSA SOC

2008-09-26 Thread Tony Lindgren
* Siarhei Siamashka [EMAIL PROTECTED] [080925 22:20]: On Tuesday 23 September 2008, Arun KS wrote: Hi all, I am writing an ASOC driver for tlvaic23 on osk5912 platform. [...] Hi. Coincidentally I have been hacking the old aic23 driver in the last few days to make it work on Nokia 770.

Re: [patch 2.6.27-rc6-omap] ASOC: quieter boot for non-Overo boards

2008-09-26 Thread Jarkko Nikula
On Thu, 25 Sep 2008 10:41:48 -0700 ext David Brownell [EMAIL PROTECTED] wrote: Putting the board specific bits in the arch/arm/mach-omap2/board-XYZ.c file has been discussed a number of times on alsa-devel and the folks there insist that for now (i.e. ASoC V1) this is the proper way to do

Re: [patch] some drivers switch away from OMAP-specific GPIO calls

2008-09-26 Thread Tony Lindgren
* David Brownell [EMAIL PROTECTED] [080925 19:52]: On Thursday 25 September 2008, Tony Lindgren wrote: This updates most of the OMAP drivers which are in mainline to switch to using the cross-platform GPIO calls instead of the older OMAP-specific ones. This is all fairly

Re: NULL pointer dereference when using ALSA SOC

2008-09-26 Thread Jarkko Nikula
On Thu, 25 Sep 2008 22:20:43 +0300 ext Siarhei Siamashka [EMAIL PROTECTED] wrote: On Tuesday 23 September 2008, Arun KS wrote: Hi all, I am writing an ASOC driver for tlvaic23 on osk5912 platform. [...] Hi. Coincidentally I have been hacking the old aic23 driver in the last few days

RE: [PATCH] OMAP3 clock: put DPLL into bypass if bypass rate = clk-rate, not hardware rate

2008-09-26 Thread Tero.Kristo
Hi, The three patches you sent (fix CONFIG_OMAP_RESET_CLOCKS, fix dss1_alwon_clk and this one) seem to fix problems I was seeing with retention. -Tero -Original Message- From: ext Paul Walmsley [mailto:[EMAIL PROTECTED] Sent: 25 September, 2008 17:39 To: linux-omap@vger.kernel.org Cc:

[PATCH 3/8] i2c: clean add_children a bit

2008-09-26 Thread Felipe Balbi
Clean up add_children a bit before adding more children to twl4030-core.c Signed-off-by: Felipe Balbi [EMAIL PROTECTED] Acked-by: David Brownell [EMAIL PROTECTED] --- drivers/i2c/chips/twl4030-core.c | 63 + 1 files changed, 36 insertions(+), 27 deletions(-)

[PATCH 4/8] i2c: move twl4030_keypad to new style registration

2008-09-26 Thread Felipe Balbi
let twl4030-core.c take care of twl4030_keypad registration. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- arch/arm/mach-omap2/board-2430sdp.c | 14 ++ arch/arm/mach-omap2/board-3430sdp.c | 14 ++ arch/arm/mach-omap2/board-omap2evm.c| 16 ++

[PATCH 7/8] twl4030 gpio platform data

2008-09-26 Thread Felipe Balbi
From: David Brownell [EMAIL PROTECTED] Define platform data for configuring TWL4030 GPIOs, and provide it for all boards using these chips. For now all boards use the same fixed assignments for GPIO and IRQ numbers. Eventually we should be able to shuffle them without changing platform headers.

[PATCH 8/8] twl4030 uses gpiolib

2008-09-26 Thread Felipe Balbi
From: David Brownell [EMAIL PROTECTED] Make the twl4030 core create a platform device to which its GPIO code will bind, with platform_data used to configure board-specific behaviors and configuration. Update the twl4030 GPIO code: - Morph its gpio function code into a platform driver. -

[PATCH 5/8] i2c: move twl4030-usb to platform_device

2008-09-26 Thread Felipe Balbi
use new style twl4030-core to register a platform_device for twl4030-usb. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- arch/arm/mach-omap2/board-2430sdp.c |6 + arch/arm/mach-omap2/board-3430sdp.c |5 + arch/arm/mach-omap2/board-ldp.c |7 +

Re: [PATCH 5/8] i2c: move twl4030-usb to platform_device

2008-09-26 Thread Felipe Balbi
On Fri, Sep 26, 2008 at 12:40:58PM +0300, Felipe Balbi wrote: use new style twl4030-core to register a platform_device for twl4030-usb. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- arch/arm/mach-omap2/board-2430sdp.c |6 + arch/arm/mach-omap2/board-3430sdp.c |5 +

Re: [PATCH 5/8] i2c: move twl4030-usb to platform_device

2008-09-26 Thread Felipe Balbi
On Fri, Sep 26, 2008 at 01:33:47PM +0300, Felipe Balbi wrote: -static void __exit twl4030_usb_exit(void) +static int __exit twl4030_usb_remove(struct platform_device *pdev) { - struct twl4030_usb *twl = the_transceiver; + struct twl4030_usb *twl = dev_get_drvdata(pdev-dev); Damn,

Re: MMC broken on beagleboard with current git

2008-09-26 Thread Tony Lindgren
* Tony Lindgren [EMAIL PROTECTED] [080926 10:40]: * Steve Sakoman [EMAIL PROTECTED] [080925 18:24]: On Thu, Sep 25, 2008 at 3:39 AM, Tony Lindgren [EMAIL PROTECTED] wrote: Hmm, I don't understand how it could work on 3430sdp... Looks like board-omap3beagle.c calls hsmmc_init() just

[PATCH 1/9] twl4030: fix potential null pointer dereference

2008-09-26 Thread Felipe Balbi
The following patch fix a potential null pointer dereference in twl4030 keypad driver when parts of keypad platform_data aren't passed down to the driver. At that point kp-dbg_dev is not set yet. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- drivers/input/keyboard/omap-twl4030keypad.c |2

[PATCH 0/9] twl4030 updates

2008-09-26 Thread Felipe Balbi
Resending the series with madc conversion done and another updates that I missed previously from Dave's comments. *** NOTE: I didn't test the madc changes (besides compile testing) since I don't have code for testing that. Maybe Mikko Ylinen could help us with that. David Brownell (2):

[PATCH 4/9] i2c: move twl4030_keypad to new style registration

2008-09-26 Thread Felipe Balbi
let twl4030-core.c take care of twl4030_keypad registration. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- arch/arm/mach-omap2/board-2430sdp.c | 14 ++ arch/arm/mach-omap2/board-3430sdp.c | 14 ++ arch/arm/mach-omap2/board-omap2evm.c| 16 ++

[PATCH 6/9] i2c: twl4030-usb: add 'vbus' sysfs file

2008-09-26 Thread Felipe Balbi
vbus sysfs file will report the state of vbus irq coming from twl4030-usb. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- drivers/i2c/chips/twl4030-usb.c | 51 ++- 1 files changed, 50 insertions(+), 1 deletions(-) diff --git

[PATCH 2/9] twl4030-gpio: Remove default pullup enable/disable of GPIO

2008-09-26 Thread Felipe Balbi
From: Jagadeesh Bhaskar Pakaravoor [EMAIL PROTECTED] One twl4030_request_gpio() should not tamper with the pullup enabling/disabling of the rest of the GPIOs. So removing the default pullup values written to REG_GPIOPUPDCTR1. Signed-off-by: Girish S G [EMAIL PROTECTED] Signed-off-by: Jagadeesh

[PATCH 5/9] i2c: move twl4030-usb to platform_device

2008-09-26 Thread Felipe Balbi
use new style twl4030-core to register a platform_device for twl4030-usb. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- arch/arm/mach-omap2/board-2430sdp.c |6 + arch/arm/mach-omap2/board-3430sdp.c |5 + arch/arm/mach-omap2/board-ldp.c |7 +

[PATCH 9/9] i2c: move twl4030-madc to new registration style

2008-09-26 Thread Felipe Balbi
Moving twl4030-madc to new style registration just like the other twl4030 children. Cc: Mikko Ylinen [EMAIL PROTECTED] Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- arch/arm/mach-omap2/board-2430sdp.c |6 + arch/arm/mach-omap2/board-3430sdp.c |6 +

[PATCH 02/16] OMAP3: GPMC context save/restore

2008-09-26 Thread Rajendra Nayak
This patch adds the context save restore functions for GPMC Signed-off-by: Rajendra Nayak [EMAIL PROTECTED] --- arch/arm/mach-omap2/gpmc.c | 93 + arch/arm/plat-omap/include/mach/gpmc.h |3 + 2 files changed, 96 insertions(+) Index:

[PATCH 03/16] OMAP3: Serial context save/restore

2008-09-26 Thread Rajendra Nayak
This patch adds the context save restore functions for UART Signed-off-by: Rajendra Nayak [EMAIL PROTECTED] --- arch/arm/mach-omap2/serial.c | 65 +++ arch/arm/plat-omap/include/mach/serial.h |4 + include/linux/serial_reg.h |1 3

[PATCH 04/16] OMAP3: GPIO context save/restore

2008-09-26 Thread Rajendra Nayak
This patch adds the context save restore functions for GPIO Signed-off-by: Rajendra Nayak [EMAIL PROTECTED] --- arch/arm/plat-omap/gpio.c | 93 + arch/arm/plat-omap/include/mach/gpio.h |3 - 2 files changed, 95 insertions(+), 1 deletion(-)

[PATCH 05/16] OMAP3: I2C context save/restore

2008-09-26 Thread Rajendra Nayak
This patch does i2c init/re-init for every transfer. Avoids a i2c controller reset every time Signed-off-by: Jouni Hogander [EMAIL PROTECTED] Signed-off-by: Rajendra Nayak [EMAIL PROTECTED] --- drivers/i2c/busses/i2c-omap.c | 41 +++-- 1 files changed, 27

[PATCH 06/16] OMAP3: INTC context save/restore

2008-09-26 Thread Rajendra Nayak
This patch adds the Interrupt controller context save/restore routines Signed-off-by: Rajendra Nayak [EMAIL PROTECTED] --- arch/arm/mach-omap2/irq.c | 67 + arch/arm/plat-omap/include/mach/irqs.h |5 ++ 2 files changed, 72 insertions(+) Index:

[PATCH 09/16] OMAP3: SCM context save/restore

2008-09-26 Thread Rajendra Nayak
This patch adds the System control module context save/restore Signed-off-by: Rajendra Nayak [EMAIL PROTECTED] --- arch/arm/mach-omap2/control.c | 151 ++ arch/arm/plat-omap/include/mach/control.h | 23 2 files changed, 173 insertions(+), 1

[PATCH 12/16] OMAP3: Restore MMU table entry

2008-09-26 Thread Rajendra Nayak
During the MMU restoration on the restore path from MPU OFF, the page table entry for the page consisting of the code being executed is modified to make MMU return VA=PA. The MMU is then enabled and the original entry is being stored in scratchpad. This patch reads the original values stored in

[PATCH 14/16] OMAP3: CORE Off support

2008-09-26 Thread Rajendra Nayak
This patch updates omap_sram_idle with CORE OFF support Signed-off-by: Rajendra Nayak [EMAIL PROTECTED] --- arch/arm/mach-omap2/pm34xx.c | 79 +-- 1 files changed, 77 insertions(+), 2 deletions(-) Index: linux-omap-2.6/arch/arm/mach-omap2/pm34xx.c

[PATCH 10/16] OMAP3: SRAM restore function

2008-09-26 Thread Rajendra Nayak
This patch updates the context restore function for sram Signed-off-by: Rajendra Nayak [EMAIL PROTECTED] --- arch/arm/mach-omap2/pm34xx.c | 10 +++--- arch/arm/plat-omap/include/mach/sram.h |1 + arch/arm/plat-omap/sram.c |6 +++--- 3 files changed, 11

[PATCH 15/16] OMAP3: Dynamic enable/disable of OFF support

2008-09-26 Thread Rajendra Nayak
This patch adds a runtime sysfs knob (/sys/power/enable_off_mode) to enable/disbale CORE OFF support for OMAP3. Signed-off-by: Rajendra Nayak [EMAIL PROTECTED] --- arch/arm/mach-omap2/pm.c | 21 + arch/arm/mach-omap2/pm.h |2 ++ arch/arm/mach-omap2/pm34xx.c |

[PATCH 11/16] OMAP3: PER/NEON/CORE control in idle

2008-09-26 Thread Rajendra Nayak
This patch adds handling of PER/NEON and CORE domain in idle. Signed-off-by: Rajendra Nayak [EMAIL PROTECTED] --- arch/arm/mach-omap2/pm34xx.c | 69 +-- arch/arm/mach-omap2/serial.c | 19 +++- arch/arm/plat-omap/include/mach/common.h |

[PATCH 00/16] OMAP3: Context save/Restore + OFF mode support

2008-09-26 Thread Rajendra Nayak
Hi, This patch set adds context save/restore routines for minimal kernel and OFF mode support in idle and suspend. This patch set applies on top of pm-1 branch. This has context save/restore support implemented for the following modules GPMC, UART, GPIO, I2C, PRCM, INTC, SCM, SRAM. A sysfs

[PATCH 13/16] OMAP3: MPU Off support

2008-09-26 Thread Rajendra Nayak
This enables support for MPU OFF in idle. Signed-off-by: Rajendra Nayak [EMAIL PROTECTED] --- arch/arm/mach-omap2/pm34xx.c| 11 ++- arch/arm/mach-omap2/sleep34xx.S | 13 - 2 files changed, 18 insertions(+), 6 deletions(-) Index:

[PATCH 01/16] OMAP3: Adds missing CM offset defs

2008-09-26 Thread Rajendra Nayak
This is a *temp* patch needed only till the clock patches which add additional offset defs from Paul W are in pm-1 Signed-off-by: Rajendra Nayak [EMAIL PROTECTED] --- arch/arm/mach-omap2/cm.h |2 ++ 1 files changed, 2 insertions(+) Index: linux-omap-2.6/arch/arm/mach-omap2/cm.h

[PATCH 16/16] OMAP3: 3430SDP minimal kernel defconfig

2008-09-26 Thread Rajendra Nayak
Adds a minimal defconfig for OMAP3430 SDP. This can be used to test OFF mode till all drivers are adapted. Signed-off-by: Rajendra Nayak [EMAIL PROTECTED] --- arch/arm/configs/omap_3430sdp_min_defconfig | 1084 1 files changed, 1084 insertions(+) Index:

[PATCH 08/16] OMAP3: Populate scratchpad contents

2008-09-26 Thread Rajendra Nayak
This patch populates the scratchpad contents as expected by the bootROM code. Signed-off-by: Rajendra Nayak [EMAIL PROTECTED] --- arch/arm/mach-omap2/control.c | 204 ++ arch/arm/plat-omap/include/mach/control.h | 10 + 2 files changed, 214

[PATCH 0/2] PM counters

2008-09-26 Thread Peter 'p2' De Schrijver
This patch introduces counters for the various PM states in OMAP3. Peter 'p2' De Schrijver (2): PM counter infrastructure. Hook into PM counters arch/arm/mach-omap2/clock.c |2 + arch/arm/mach-omap2/clockdomain.c |4 + arch/arm/mach-omap2/pm34xx.c

[PATCH 1/2] PM counter infrastructure.

2008-09-26 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/powerdomain.c | 94 + arch/arm/plat-omap/include/mach/powerdomain.h |7 ++ 2 files changed, 101 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/powerdomain.c

[PATCH 1/1] Hook into PM counters

2008-09-26 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/clock.c |2 ++ arch/arm/mach-omap2/clockdomain.c |4 arch/arm/mach-omap2/pm34xx.c |6 ++ 3 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/clock.c

[PATCH 2/2] Hook into PM counters

2008-09-26 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/clock.c |2 ++ arch/arm/mach-omap2/clockdomain.c |4 arch/arm/mach-omap2/pm34xx.c |6 ++ 3 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/clock.c

Re: [PATCH 1/1] Hook into PM counters

2008-09-26 Thread Peter 'p2' De Schrijver
This seems to be duplicate. You can ignore it. Cheers, Peter. Signed-off-by: Peter 'p2' De Schrijver [EMAIL PROTECTED] --- arch/arm/mach-omap2/clock.c |2 ++ arch/arm/mach-omap2/clockdomain.c |4 arch/arm/mach-omap2/pm34xx.c |6 ++ 3 files changed, 12

OMAP34xx vs OMAP 35xx

2008-09-26 Thread twebb
I'm relatively new to the list and hoping someone can clarify a few things. Does OMAP3 imply support of both 34xx and 35xx? When the term OMAP3 EVM is used, does this mean OMAP3430 SDP only or does it include OMAP35x EVM? Thanks. twebb -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] OMAP3: Update USBHOST pinmux settings

2008-09-26 Thread Ashwin Bihari
On Fri, Sep 26, 2008 at 11:34 AM, Gadiyar, Anand [EMAIL PROTECTED] wrote: From: Anand Gadiyar [EMAIL PROTECTED] Add pin-mux settings for OHCI in PHY mode. Also change settings for EHCI in TLL mode. Signed-off-by: Anand Gadiyar [EMAIL PROTECTED] --- arch/arm/mach-omap2/mux.c |

RE: [PATCH] OMAP3: Update USBHOST pinmux settings

2008-09-26 Thread Gadiyar, Anand
-Original Message- From: Ashwin Bihari [mailto:[EMAIL PROTECTED] snip Anand, Can you configure the USBHOST to just use the OHCI controller with a Phy and not use the EHCI controller at all? Regards ~ Ashwin Hi Ashwin, Yes, you can configure USBHOST to just use the OHCI

Re: [PATCH] OMAP3: Update USBHOST pinmux settings

2008-09-26 Thread Ashwin Bihari
On Fri, Sep 26, 2008 at 11:44 AM, Gadiyar, Anand [EMAIL PROTECTED] wrote: -Original Message- From: Ashwin Bihari [mailto:[EMAIL PROTECTED] snip Anand, Can you configure the USBHOST to just use the OHCI controller with a Phy and not use the EHCI controller at all? Regards ~

MUSB OTG Interrupts

2008-09-26 Thread Ashwin Bihari
Greetings, I've got a very curious problem with my OMAP3 based board. I'm using the OMAPZOOM kernel v2.6.27-rc3 and have enabled MUSB in OTG mode (both host and perihperhal). I've got the file-backed-storage gadget. If I plug the mini-B connector to the board, it gets the appropriate interrupt

Soft lockup when disconnecting musb isochronous device.

2008-09-26 Thread Nathan Monson
I've been trying to get the UVC camera driver working in linux-omap on the Beagleboard, which uses musb. With the latest linux-omap git, capture doesn't work. Applying Ajay Gupta's MUSB patches posted here on 9/8 allows capture to work until the device is closed. With or without Ajay's patches,

RE: [PATCH] OMAP3: Update USBHOST pinmux settings

2008-09-26 Thread Gadiyar, Anand
Tony, Hold off on this patch. Will send a better one on Monday. David pointerd out that the comments mentiond 4-pin PHY mode, but six pins are described. Also, I just noticed that TXENs are marked as inputs - I believe they should be outputs. Will test the updated patch and resend. Thanks

Re: [PATCH 9/9] i2c: move twl4030-madc to new registration style

2008-09-26 Thread Felipe Balbi
On Fri, Sep 26, 2008 at 10:09:12AM -0700, David Brownell wrote: On Friday 26 September 2008, Felipe Balbi wrote:  arch/arm/mach-omap2/board-2430sdp.c     |    6 +  arch/arm/mach-omap2/board-3430sdp.c     |    6 +  arch/arm/mach-omap2/board-ldp.c         |    6 +  

Re: [PATCH 8/9] twl4030 uses gpiolib

2008-09-26 Thread Felipe Balbi
On Fri, Sep 26, 2008 at 10:10:50AM -0700, David Brownell wrote: On Friday 26 September 2008, Felipe Balbi wrote: NYET-Signed-off-by: David Brownell [EMAIL PROTECTED] NYET-Signed-off-by: Felipe Balbi [EMAIL PROTECTED] Err, strike the NYET- for me. Editing mistake, that should have been

Re: MUSB OTG Interrupts

2008-09-26 Thread Felipe Balbi
On Fri, Sep 26, 2008 at 12:00:17PM -0400, Ashwin Bihari wrote: Greetings, I've got a very curious problem with my OMAP3 based board. I'm using the OMAPZOOM kernel v2.6.27-rc3 and have enabled MUSB in OTG mode (both host and perihperhal). I've got the file-backed-storage gadget. If I plug

RE: [PATCH] watchdog: fix typo in omap_wdt.c

2008-09-26 Thread Gadiyar, Anand
-Original Message- From: Felipe Balbi [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2008 11:23 PM To: Gadiyar, Anand Cc: linux-omap@vger.kernel.org; [EMAIL PROTECTED] Subject: Re: [PATCH] watchdog: fix typo in omap_wdt.c On Fri, Sep 26, 2008 at 09:20:14PM +0530, Gadiyar,

Re: [PATCH 8/9] twl4030 uses gpiolib

2008-09-26 Thread David Brownell
On Friday 26 September 2008, Felipe Balbi wrote: Err, strike the NYET- for me.  Editing mistake, that should have been removed before.  ;) There were a few comments in the patch header that sugested me this patch wasn't finished yet :-) This patch is done. The other work will be done

Re: [PATCH 0/9] twl4030 updates

2008-09-26 Thread David Brownell
On Friday 26 September 2008, David Brownell wrote: Let's apply the following patch 10/9 on top of this though. And after applying this, and removing MADC config from the Beagle and Overo board setup files, things worked!! Moreover ... the USB host code worked, at least partially. (Finally!

Re: [PATCH 0/9] twl4030 updates

2008-09-26 Thread Steve Sakoman
On Fri, Sep 26, 2008 at 12:00 PM, David Brownell [EMAIL PROTECTED] wrote: And after applying this, and removing MADC config from the Beagle and Overo board setup files, things worked!! That's really great news! Moreover ... the USB host code worked, at least partially. (Finally! RC7.) It

Re: [PATCH] watchdog: fix typo in omap_wdt.c

2008-09-26 Thread Felipe Balbi
On Fri, Sep 26, 2008 at 11:32:13PM +0530, Gadiyar, Anand wrote: -Original Message- From: Felipe Balbi [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2008 11:23 PM To: Gadiyar, Anand Cc: linux-omap@vger.kernel.org; [EMAIL PROTECTED] Subject: Re: [PATCH] watchdog: fix

Re: [PATCH 9/9] i2c: move twl4030-madc to new registration style

2008-09-26 Thread Steve Sakoman
On Fri, Sep 26, 2008 at 12:50 PM, David Brownell [EMAIL PROTECTED] wrote: Steve, if Overo wires out any of the ADC channels on that one connector, you may want to come up with a better fox. Overo does bring out the ADC channels to one of the 2 70 pin connectors. Let's go ahead with your

OMAP3EVM LCD red tint

2008-09-26 Thread Daniel Schaeffer
Has anyone looked into why the LCD display on the OMAP3EVM is always tinted red? I created a couple of color test images that I cat'ed to /dev/fb and it looks like the blue color channel is completely ignored. I was testing on v2.6.26-omap2 but is doesn't look like there have been any changes