Re: [PATCH 2/2] Input: Make lm8323 sticky key to work with console

2008-05-15 Thread Felipe Balbi
On Thu, May 15, 2008 at 10:14:24AM +0200, andrzej zaborowski wrote: On 15/05/2008, Felipe Balbi [EMAIL PROTECTED] wrote: On Wed, May 14, 2008 at 09:01:19PM -0700, Tony Lindgren wrote: This allows using N810 keyboard from console by adding optional Fn and shift sticky key handling

Re: N810: linux-2.6.26-rc2-omap1 with muru.com N810 patches

2008-05-15 Thread Felipe Balbi
the config, then 'make zImage' again without doing a 'make clean', so long as nothing in the source has been changed? That saves a lot of time. Yes, it's ok. ;-) -- Best Regards, Felipe Balbi http://felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] This patch adds the driver to turn on the TFP410 framer to get DVI output working on the beagleboard

2008-05-16 Thread Felipe Balbi
/majordomo-info.html -- Best Regards, Felipe Balbi http://felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [RFC PATCH 1/5] USB: MUSB: Switch to a_idle when micr o/mini-a cable is attached

2008-05-16 Thread Felipe Balbi
On Fri, 16 May 2008 10:38:43 -0700, Tony Lindgren [EMAIL PROTECTED] wrote: * Felipe Balbi [EMAIL PROTECTED] [080513 05:33]: From: ext Felipe Balbi [EMAIL PROTECTED] This is mostly cosmetic but can help us in the future making musb driver not insertion-based. I mean, whenever we attach

Re: enabling uart2 on omap5912 osk

2008-05-21 Thread Felipe Balbi
), }; what does it mean? i want all my uarts (1,2,3) enabled. how do i have to modify the above line? How about try .enabled_uarts = 3 this would enable only uarts 1 and 2, right? maybe it's enough :-p -- Best Regards, Felipe Balbi http://felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe

Re: enabling uart2 on omap5912 osk

2008-05-21 Thread Felipe Balbi
? -- Best Regards, Felipe Balbi http://felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: enabling uart2 on omap5912 osk

2008-05-21 Thread Felipe Balbi
0-255 pty:slave pty_master /dev/pty2 0-255 pty:master unknown /dev/tty4 1-63 console this is the output.. It seems ok, no idea why the 4 doesn't appear in ls -l. Sorry :-s -- Best Regards, Felipe Balbi http://felipebalbi.com [EMAIL PROTECTED

Re: omap osk and mistral touchscreen-ads7846

2008-05-22 Thread Felipe Balbi
-osk.c you'll see a spi_board_info. Just to be sure issue: watch 'cat /proc/interrupts' and keep touching the touchscreen. spi2.0 value should increase. -- Best Regards, Felipe Balbi http://felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux

Re: zlib error in x-windows on omap osk

2008-05-31 Thread Felipe Balbi
] i have already installed zlib.. all the previous xlib files compiled without any error. how about zlib-dev? -- Best Regards, Felipe Balbi [EMAIL PROTECTED] http://blog.felipebalbi.com -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL

Re: zlib error in x-windows on omap osk

2008-06-01 Thread Felipe Balbi
. -- Best Regards, Felipe Balbi http://felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Booting 2.6.25 on the OMAP5912OSK

2008-06-01 Thread Felipe Balbi
when it happens, that would be great ;-) -- Best Regards, Felipe Balbi http://felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Booting 2.6.25 on the OMAP5912OSK

2008-06-01 Thread Felipe Balbi
when it happens, that would be great ;-) -- Best Regards, Felipe Balbi http://felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo

Re: zlib error in x-windows on omap osk

2008-06-02 Thread Felipe Balbi
the library :-s -- Best Regards, Felipe Balbi http://felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: user space program for omap gpio

2008-06-02 Thread Felipe Balbi
to write your own module with, maybe, ioctl for writing to gpios. I don't know of any already implemented way for completely handling gpios via userland. -- Best Regards, Felipe Balbi [EMAIL PROTECTED] http://blog.felipebalbi.com -- To unsubscribe from this list: send the line unsubscribe linux

Re: omap5912-osk bad magic number

2008-06-02 Thread Felipe Balbi
# The transfer seems to be complete and proper. all the environment variables are also ok. i tried replacing the new image with the previous working image. that also fails. could some one tell me whats worng? use uImage instead of zImage -- Best Regards, Felipe Balbi [EMAIL PROTECTED] http

Re: omap5912-osk bad magic number

2008-06-03 Thread Felipe Balbi
when building the kernel. -- Best Regards, Felipe Balbi http://felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: user space program for omap gpio

2008-06-03 Thread Felipe Balbi
the gpio, you'll have to write a module from scratch. afaict, there's no way of controlling gpio from userland. Besides gpiofs that a friend was writing and never finished :-p I'll try to reach him and ask him to send as RFC cuz it was a good work anyway :-) -- Best Regards, Felipe Balbi http

Re: user space program for omap gpio

2008-06-03 Thread Felipe Balbi
it is not merged yet. That's actually really good :-) -- Best Regards, Felipe Balbi http://felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org

Re: Booting 2.6.25 on the OMAP5912OSK

2008-06-03 Thread Felipe Balbi
to work without any underflow. Still need to read more, maybe i'll do it tomorrow. -- Best Regards, Felipe Balbi [EMAIL PROTECTED] http://blog.felipebalbi.com -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: [PATCH] Fix for the i2c initialiation error on 2430sdp

2008-06-06 Thread Felipe Balbi
that you must initiliaze hs bus first? Could you check on i2c chapter of your trm? -- Best Regards, Felipe Balbi http://felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: [PATCH 3/3] radio-tea5761: Update driver

2008-06-09 Thread Felipe Balbi
) { printk(KERN_ERR DRIVER_NAME : driver registration failed\n); return res; not needed, return i2c_add_driver(tea5761_driver); is enough as i2c subsystem already prints out error messages in case of failed probe. } -- Best Regards, Felipe Balbi [EMAIL PROTECTED] http

[PATCH 1/2] usb: musb: MUSB_OTG should depend on PM

2008-06-11 Thread Felipe Balbi
Current musb Kconfig causes cyclic depency on x86 arch. The best fix is to depend on PM in order to build on OTG mode. Anyone interested in reproducing the error in your linux-omap trees, just make ARCH=x86 menuconfig Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- drivers/usb/musb/Kconfig

Re: [PATCH 0/3] Adding support for OMAP2EVM(Replacing 2430OSK)

2008-06-11 Thread Felipe Balbi
all board files ? board-n810.c shares everything with board-n800, maybe you should do something similar? -- Best Regards, Felipe Balbi http://felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More

[PATCH] i2c: twl4030: warning: mixed declarations and code

2008-06-11 Thread Felipe Balbi
Latest patches for multi-omap support introduced it, removing. Trivial patch. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- drivers/i2c/chips/twl4030-usb.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/i2c/chips/twl4030-usb.c b/drivers/i2c/chips/twl4030

Re: [PATCH] i2c: twl4030: warning: mixed declarations and code

2008-06-11 Thread Felipe Balbi
On Wed, Jun 11, 2008 at 09:53:45AM -0400, ext Eduardo Valentin wrote: - struct twl4030_usb *twl = xceiv_to_twl(xceiv); u32 l; + struct twl4030_usb *twl = xceiv_to_twl(xceiv); To me you are just moving the place of this declaration. Yes, because ISO C99 forbids mixed

Re: [PATCH] Separate out 3430 LCD panel support from 2430 file

2008-06-12 Thread Felipe Balbi
-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html -- Best Regards, Felipe Balbi http://felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL

RE: [PATCH] Separate out 3430 LCD panel support from 2430 file

2008-06-12 Thread Felipe Balbi
defconfig updates, Kconfig changes in drivers/media/video/omap and the removal of conditional code in lcd_2430sdp.c Er... Why Kconfig in drivers/media/video/omap? brainfart :-p It uses CONFIG_MACH_OMAP_XXX :-) forget about the Kconfig :-) -- Best Regards, Felipe Balbi http://felipebalbi.com

[PATCH 0/4] more musb/i2c patches

2008-06-13 Thread Felipe Balbi
Basically adding module_alias and allowing some twl drivers to be dynamically linked. There's also one patch to make hdrc_cnf.h more omap3-compliant based on the musb configuration for musb ip core on omap3. Please, comment them out. Felipe Balbi (4): usb: musb: musb on omap3 has 32 endpoints

[PATCH 1/4] usb: musb: musb on omap3 has 32 endpoints

2008-06-13 Thread Felipe Balbi
Fix hdrc_cnf.h for omap3 configuration. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- include/asm-arm/arch-omap/hdrc_cnf.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/asm-arm/arch-omap/hdrc_cnf.h b/include/asm-arm/arch-omap/hdrc_cnf.h index 74c8432

[PATCH 3/4] i2c: allow twl modules to be built as modules

2008-06-13 Thread Felipe Balbi
Besides twl core and twl gpio, all the others can be dynamically linked. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- drivers/i2c/chips/Kconfig |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/chips/Kconfig b/drivers/i2c/chips/Kconfig index cba8abf

[PATCH 2/4] usb: musb: add MODULE_ALIAS for udev module loading

2008-06-13 Thread Felipe Balbi
platform drivers should add MODULE_ALIAS for allowing udev module loading. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- drivers/usb/musb/musb_core.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index

[PATCH 4/4] i2c: add MODULE_ALIAS to twl4030 drivers

2008-06-13 Thread Felipe Balbi
When built as module, it helps udev to probe them. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- drivers/i2c/chips/twl4030-core.c|1 + drivers/i2c/chips/twl4030-gpio.c|1 + drivers/i2c/chips/twl4030-madc.c|1 + drivers/i2c/chips/twl4030

Re: [PATCH 7/8] 34XX: PM: Workaround to disable mmc

2008-06-17 Thread Felipe Balbi
? -- Best Regards, Felipe Balbi http://felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH/RFC 1/2] Add Dspbridge driver to OMAP GIT kernel

2008-06-18 Thread Felipe Balbi
errors or obvious warnings. Otherwise this code will just get ignored by people who should review the patches. sparse would also be quite nice :-) -- Best Regards, Felipe Balbi http://felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap

Re: FW: [PATCH] suppress needless timer reprogramming {tick-sched.c} - test/comment

2008-06-19 Thread Felipe Balbi
PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html -- Best Regards, Felipe Balbi http://felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http

RE: FW: [PATCH] suppress needless timer reprogramming {tick-sched.c} - test/comment

2008-06-20 Thread Felipe Balbi
tried I got something around 150mbps. That was a good catch Richard :-) -- Best Regards, Felipe Balbi http://felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: [RFC/PATCH 1/2] Triton Battery charger interface driver for OMAP3430

2008-06-23 Thread Felipe Balbi
(twl4030_battery_init); +module_exit(twl4030_battery_exit); +MODULE_LICENSE(GPL); missing MODULE_AUTHOR() and MODULE_ALIAS(platform:twl4030-bci-battery); -- Best Regards, Felipe Balbi http://felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap

Re: [RFC/PATCH 2/2] Triton Battery charger interface driver for OMAP3430

2008-06-23 Thread Felipe Balbi
also change it for when bci is built as a dynamically linked module. -- Best Regards, Felipe Balbi http://felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: [PATCH 1/4] usb: musb: musb on omap3 has 32 endpoints

2008-06-23 Thread Felipe Balbi
On Mon, Jun 23, 2008 at 02:10:09PM +0300, Tony Lindgren wrote: * Felipe Balbi [EMAIL PROTECTED] [080613 13:05]: Fix hdrc_cnf.h for omap3 configuration. Does this break the configuration for omap2? We should set these dynamically if different for omap2 and omap3 so we can compile both

Re: [RFC/PATCH 1/2] Triton Battery charger interface driver for OMAP3430

2008-06-23 Thread Felipe Balbi
you mean INIT_DELAYED_WORK_DEFERRABLE() is a better choice here?? Yes, as it could be deferred on suspend/resume. I think INIT_DELAYED_WORK also blocks dynamic pm ?!? Maybe Jouni could clarify this one better. Jouni, any comments? -- Best Regards, Felipe Balbi http://felipebalbi.com [EMAIL

Re: [PATCH 1/3] OMAP3 EVM: Add twl4030 keypad driver support

2008-06-23 Thread Felipe Balbi
: OMAP3: EVM: KEYPAD: Fix Kconfig dependency OMAP3: EVM: KEYPAD: Add twl4030 keypad to defconfig or something similar ;-) -- Best Regards, Felipe Balbi [EMAIL PROTECTED] http://blog.felipebalbi.com -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message

Re: [PATCH 3/3] OMAP3 EVM: Add twl4030 keypad driver support

2008-06-23 Thread Felipe Balbi
+# CONFIG_KEYBOARD_XTKBD is not set +# CONFIG_KEYBOARD_NEWTON is not set +# CONFIG_KEYBOARD_STOWAWAY is not set +CONFIG_KEYBOARD_TWL4030=y make them modules. If something happens we can rmmod/insmod. -- Best Regards, Felipe Balbi [EMAIL PROTECTED] http://blog.felipebalbi.com

Re: [PATCH 1/4] usb: musb: musb on omap3 has 32 endpoints

2008-06-24 Thread Felipe Balbi
all 32 endpoints ? Meanwhile I'll create a way for different boards to tell musb driver its configuration details. -- Best Regards, Felipe Balbi [EMAIL PROTECTED] http://blog.felipebalbi.com -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL

Re: [PATCH 1/3] OMAP2EVM: add ethernet support (smc911x)

2008-06-24 Thread Felipe Balbi
On Tue, 24 Jun 2008 18:24:11 +0530, Arun KS [EMAIL PROTECTED] wrote: it looks like drivers/net/smc911x doesn't use IORESOURCE_IRQ, am I misreading it ? Yes this driver uses platform_get_irq(pdev, 0) to get its irq number. Cool, thanks :-) -- Best Regards, Felipe Balbi http

Re: [Resend] [PATCH 1/3] OMAP2EVM: add ethernet support (smc911x)

2008-06-24 Thread Felipe Balbi
Your patch came with spaces in place of tabs, please tabify and resend -- Best Regards, Felipe Balbi http://felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: [PATCH 1/7] 34XX: PM: Workaround to build omap hsmmc as a module

2008-06-25 Thread Felipe Balbi
. I'll do the same to musb. -- Best Regards, Felipe Balbi http://felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

RE: [PATCH 1/7] 34XX: PM: Workaround to build omap hsmmc as a module

2008-06-25 Thread Felipe Balbi
be as modular as possible. My 2 cents ;-) -- Best Regards, Felipe Balbi http://blog.felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

RE: [PATCH 1/7] 34XX: PM: Workaround to build omap hsmmc as a module

2008-06-26 Thread Felipe Balbi
really simple: For development purposes on SDPs, dynamic linked modules can increase the development cycle by decreasing the amount of build/flash/reboot cycles. -- Best Regards, Felipe Balbi http://blog.felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe

do not block sleep patch

2008-06-26 Thread Felipe Balbi
hi all, Resending the patch as it didn't get applied. Searching on the archives would be painful :-p -- - Balbi From d8f7f708e32ad7daadf9e48e7ba0ebecdf91094c Mon Sep 17 00:00:00 2001 From: Felipe Balbi [EMAIL PROTECTED] Date: Thu, 26 Jun 2008 16:31:44 +0300 Subject: [PATCH] ARCH: OMAP

Re: do not block sleep patch

2008-06-26 Thread Felipe Balbi
On Thu, Jun 26, 2008 at 04:38:38PM +0300, Tony Lindgren wrote: Did you mean to remove omap2_allow_sleep() instead of clk_disable()? Crap... yeah.. sorry, attached is new patch. -- - Balbi From d096d1c215e4c519d77ba27035ea4c57fb793362 Mon Sep 17 00:00:00 2001 From: Felipe Balbi [EMAIL

Re: N810 power problems, bootloader upgrade, won't boot

2008-06-27 Thread Felipe Balbi
. -- Best Regards, Felipe Balbi http://blog.felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

[RFC][PATCH] usb: musb: pass configuration specifics via pdata

2008-06-30 Thread Felipe Balbi
Use platform_data to pass musb configuration-specific details to musb driver. It's easier to maintain in the sense that neither board will affect the other. For now tested on n800 only, wanna hear from everybody what guys think before test on omap3430sdp Signed-off-by: Felipe Balbi [EMAIL

[PATCH] omap: hsmmc: Avoid NULL pointer dereference

2008-06-30 Thread Felipe Balbi
Try if pdata provides a cleanup function pointers. For boards which don't provide it, driver will oops in omap_remove. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- drivers/mmc/host/omap_hsmmc.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host

Re: [RFC][PATCH] usb: musb: pass configuration specifics via pdata

2008-06-30 Thread Felipe Balbi
. I'll try to finish tomorrow the other boards. -- Best Regards, Felipe Balbi [EMAIL PROTECTED] http://blog.felipebalbi.com -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org

Re: [RFC][PATCH] usb: musb: pass configuration specifics via pdata

2008-06-30 Thread Felipe Balbi
On Mon, Jun 30, 2008 at 11:33:15AM -0700, David Brownell wrote: On Monday 30 June 2008, Felipe Balbi wrote: The patch won't probe. But if you just copy what's added in board-omap3430sdp.c should work. Better: that controller data should be provided by SOC glue in those cases (omap2430

[PATCH 0/1] musb configs

2008-07-01 Thread Felipe Balbi
The following patch gets rid os hdrc_cnf.h and make musb configuration details more dynamic by introducing proper fields in the platform_data. I tested the patch with n810 and omap3 beagle, but please everyone interested, give it a good review and try it out. Felipe Balbi (1): usb: musb: pass

Re: [PATCH 1/1] usb: musb: pass configuration specifics via pdata

2008-07-01 Thread Felipe Balbi
On Tue, Jul 01, 2008 at 03:56:51PM +0300, Felipe Balbi wrote: diff --git a/include/asm-arm/arch-omap/usb-musb.h b/include/asm-arm/arch-omap/usb-musb.h index 4f0c830..bd507e7 100644 --- a/include/asm-arm/arch-omap/usb-musb.h +++ b/include/asm-arm/arch-omap/usb-musb.h @@ -29,6 +29,9

[PATCH 1/1] usb: musb: pass configuration specifics via pdata

2008-07-01 Thread Felipe Balbi
Use platform_data to pass musb configuration-specific details to musb driver. It's easier to maintain in the sense that neither board will affect the other. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] Cc: Tony Lindgre [EMAIL PROTECTED] Cc: David Brownell [EMAIL PROTECTED] Cc: Anand Gadiyar

Re: [PATCH 09/11] gpio context save/restore

2008-07-01 Thread Felipe Balbi
we're gonna get undef reference or maybe do it in the header, but then use static inline, instead of inline only. -- Best Regards, Felipe Balbi [EMAIL PROTECTED] http://blog.felipebalbi.com -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL

Re: [PATCH 01/11] Basic cpuidle driver

2008-07-01 Thread Felipe Balbi
On Tue, Jul 01, 2008 at 07:46:07PM +0530, Rajendra Nayak wrote: OMAP3 Basic cpuidle small style comment: change __FUNCTION__ to __func__ to make checkpatch.pl happy ;-) -- Best Regards, Felipe Balbi [EMAIL PROTECTED] http://blog.felipebalbi.com -- To unsubscribe from this list: send the line

Re: TSC2004 touch driver

2008-07-01 Thread Felipe Balbi
) of the kernel work-in-progress, or is it all in the git trees? there is tsc2005 in linux-omap. look at drivers/input/touchscreen/tsc2005.c if it helps you somehow, it's there :p -- Best Regards, Felipe Balbi [EMAIL PROTECTED] http://blog.felipebalbi.com -- To unsubscribe from this list: send the line

Re: Suggestion required to switch to a new kernel

2008-07-02 Thread Felipe Balbi
On Wed, Jul 02, 2008 at 02:02:37PM -0500, [EMAIL PROTECTED] wrote: We are working on a product which is based on OMAP5912 (OSK). As of now, we are using linux-omap 2.6.16-rc3. We had issues with the JFFS2 cleanmarkers on oneNAND. JFFS2 driver in 2.6.16-rc3 did not understand the segmented

Re: [Resending - PATCH 1/3] Triton BCI driver device setup for OMAP3430

2008-07-03 Thread Felipe Balbi
= 1, use -1. There will be no other twl4030-bci-battery in the system :-) -- Best Regards, Felipe Balbi http://blog.felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http

[PATCH] input: keypad: General fixes to omap-twl4030keypad.c

2008-07-04 Thread Felipe Balbi
-off-by: Felipe Balbi [EMAIL PROTECTED] Signed-off-by: Timo Kokkonen [EMAIL PROTECTED] --- arch/arm/mach-omap2/board-2430sdp.c |5 +- arch/arm/mach-omap2/board-3430sdp.c |5 +- drivers/input/keyboard/omap-twl4030keypad.c | 206 --- include/asm-arm

Re: [PATCH] input: keypad: General fixes to omap-twl4030keypad.c

2008-07-04 Thread Felipe Balbi
On Fri, Jul 04, 2008 at 12:34:21PM +0300, Felipe Balbi wrote: + mutex_lock(kp-lock); This should be mutex, final patch is coming. -- - Balbi -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info

[PATCH] input: keypad: General fixes to omap-twl4030keypad.c

2008-07-04 Thread Felipe Balbi
of this same patch. For now, consider this one RFC. Comments are welcome. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- arch/arm/mach-omap2/board-2430sdp.c |5 +- arch/arm/mach-omap2/board-3430sdp.c |5 +- drivers/input/keyboard/omap-twl4030keypad.c | 206

Re: [PATCH 3/4] Hook start_hnp into ohci struct

2008-07-06 Thread Felipe Balbi
On Sun, Jul 06, 2008 at 02:33:32PM +0400, Dmitry Baryshkov wrote: Actually the ohci-omap.c:start_hnp does a bit more than just otg_start_hnp(tranceiver). Maybe it should be merged. I dunno. Most likely it should be merged, or at least the name should change. -- - Balbi -- To

Re: Kernel oops when shutting down program using usb device

2008-07-16 Thread Felipe Balbi
On Wed, Jul 16, 2008 at 05:59:01PM -0400, Philip Balister wrote: Alan Stern wrote: On Wed, 16 Jul 2008, Philip Balister wrote: The program streams data from the USRP (Universal Software Radio Peripheral) and calculates a transfer rate. It looks like the test completes and the program

Re: N800 problems with MMC, LM8323 on current linux-omap git head

2008-07-18 Thread Felipe Balbi
On Thu, Jul 17, 2008 at 09:25:06PM -0600, ext Paul Walmsley wrote: noticed a few issues booting the N800 with the current git head d3b3ae0fe6c71641da19c8de466ec366d39847e3 today. Haven't booted the N800 for a while, so not sure when these showed up. Can you reproduce it, I just botted n800

Re: [PATCH 2/2] TWL4030: convert old-style function documentation to current kerneldoc

2008-07-18 Thread Felipe Balbi
of operation - 0 is success I suppose you mean Returns here. -- Best Regards, Felipe Balbi http://blog.felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: N800 problems with MMC, LM8323 on current linux-omap git head

2008-07-18 Thread Felipe Balbi
On Fri, Jul 18, 2008 at 02:49:45AM -0600, ext Paul Walmsley wrote: It boots to desktop, but those messages come across the serial console consistently across several boots. Do touchscreen taps play sound for you? Hmm, now I got it right. The thing is that n800 doesn't have lm8323 (keypad),

Re: N800 problems with MMC, LM8323 on current linux-omap git head

2008-07-18 Thread Felipe Balbi
From 2fa4882be13e00076c641bbff5d9607225ec647a Mon Sep 17 00:00:00 2001 From: Felipe Balbi [EMAIL PROTECTED] Date: Fri, 18 Jul 2008 12:20:01 +0300 Subject: [PATCH] input: add more error checks to lm8323 driver If we can't reach the driver, we stop trying to probe it. Useful when building kernel

Re: [PATCH] Set correct off mode polarity

2008-07-21 Thread Felipe Balbi
Hi, style comments inlined. On Mon, Jul 21, 2008 at 07:02:02PM +0300, Peter 'p2' De Schrijver wrote: +#define OFFMODE_POL (13) add spaces after 1 and before 3 (1 3) - unnecessary change ?!? -- balbi -- To unsubscribe from this list: send the line unsubscribe linux-omap

Re: [PATCH] Load triton2 scripts.

2008-07-21 Thread Felipe Balbi
On Mon, Jul 21, 2008 at 07:02:05PM +0300, Peter 'p2' De Schrijver wrote: +/* +*Power Bus Message Format +* +*Broadcast Message (16 Bits) +*DEV_GRP[15:13] MT[12] RES_GRP[11:9] RES_TYPE2[8:7] RES_TYPE[6:4] +*RES_STATE[3:0] +* +*Singular Message (16 Bits) +*

Re: N800 problems with MMC, LM8323 on current linux-omap git head

2008-07-22 Thread Felipe Balbi
. I did the same thing before, but then we're gonna start adding several i2c_board_info for different hw. I mean, we should just reuse the code and the driver should know when the device is not present and stop probing without any problems to the rest of the system. -- Best Regards, Felipe Balbi

Re: [i2c] N800 problems with MMC, LM8323 on current linux-omap git head

2008-07-22 Thread Felipe Balbi
of a better error handling in lm8323. I think both patches will need to be applied :-) -- Best Regards, Felipe Balbi http://blog.felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo

Re: [Resending - PATCH 1/3] Triton BCI driver board/device setup for OMAP3430

2008-07-23 Thread Felipe Balbi
replied to your mail so it's easy to see why we need that patch :-) -- Best Regards, Felipe Balbi http://blog.felipebalbi.com [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: [PATCH] Set correct off mode polarity

2008-07-23 Thread Felipe Balbi
On Wed, Jul 23, 2008 at 04:26:32PM +0300, Peter 'p2' De Schrijver wrote: - unnecessary change ?!? ? This change is necessary, otherwise the system dies as soon as the triton2 sysoffmode scripts become active. ehehe, i meant the whitespace :-) -- balbi -- To unsubscribe from this

Re: [PATCH 0/4] OMAP: MENELAUS: Improvements on menelaus

2008-07-29 Thread Felipe Balbi
On Tue, Jul 29, 2008 at 12:44:19PM -0400, Carlos Aguiar wrote: Hi Tony and folks, This patch series proposes some improvements on menelaus code. Basically it makes menelaus to use macros instead of some magic constant numbers, making menelaus code more legible. The menelaus header was

Re: [PATCH 0/4] OMAP: MENELAUS: Improvements on menelaus

2008-07-29 Thread Felipe Balbi
On Wed, Jul 30, 2008 at 01:07:35AM +0530, Gadiyar, Anand wrote: I think it'll be hard for a newbie to figure out what this menelaus is. Google won't help either, (unless one really thinks there is a connection between Linux and Greek Mythology ;) ). eheh, That's true :-) I second renaming

Re: USB driver issue

2008-07-30 Thread Felipe Balbi
On Wed, Jul 30, 2008 at 06:28:35PM +0530, ext Dasgupta, Romit wrote: What is the application you are using and could you turn the musb driver debug options? You can try it by echo D 3 /proc/driver/musb_hdrc (Check if MUSB_DEBUG is enabled). it's D3, together :-) This should give more

Re: USB driver issue

2008-07-30 Thread Felipe Balbi
On Wed, Jul 30, 2008 at 07:21:53AM -0700, ext Emanoil Kotsev wrote: Dear Felipe, I just want to tell, that while still developing kernels in the 2.6.2X series a kernel 2.6.22 can not be labeled as old. Besides it comes along with few distros as default kernel. A lot of people like me

Re: USB driver issue

2008-07-30 Thread Felipe Balbi
On Wed, Jul 30, 2008 at 10:55:03PM +0530, Gadiyar, Anand wrote: Okay. That comparison wasn't warranted, I guess. But here's what went through my mind when I read Felipe's post. If you want this to work, then upgrade. And that looked exactly like MS telling me I can't help you with XP anymore,

Re: USB driver issue

2008-07-31 Thread Felipe Balbi
Hi, I hope we end this thread some day... On Thu, Jul 31, 2008 at 01:38:59PM -0700, Emanoil Kotsev wrote: Kernel developers should fix bugs in minor kernel versions as they are meant for this purpous and do major changes only in major version. A bunch of bugfixes I see (not only usb

Re: USB driver issue

2008-08-02 Thread Felipe Balbi
On Sat, Aug 02, 2008 at 04:45:19PM -0700, Emanoil Kotsev wrote: I don't mind testing for you for free, but I need for few reasons something relaible. If you can not make it to offer such a kernel version then admit it and stop writing things that are insulting to hear. Did you really had a

[PATCH] usb: musb: fix hanging when rmmod gadget driver

2008-08-04 Thread Felipe Balbi
] Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- drivers/usb/musb/musb_gadget.c | 16 +++- 1 files changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index b3773f1..d6a802c 100644 --- a/drivers/usb/musb/musb_gadget.c

Re: [PATCH] MUSB: Workaround for simultaneous TX and RX usage

2008-08-04 Thread Felipe Balbi
On Mon, Aug 04, 2008 at 06:48:22PM +0530, ext Gadiyar, Anand wrote: MUSB RTL v1.4 has a hardware issue which results in a DMA controller hang when TX and RX DMA channels are simultaneously enabled. This affects at least OMAP2430 and OMAP34XX. Since RX transfers are in Mode 0 and anyway

Re: [Resending - PATCH 1/3] Triton BCI driver board/device setup for OMAP3430

2008-08-05 Thread Felipe Balbi
On Tue, Aug 05, 2008 at 04:35:51PM +0300, Tony Lindgren wrote: * Felipe Balbi [EMAIL PROTECTED] [080723 10:32]: On Wed, 23 Jul 2008 10:16:27 +0530, Madhusudhan Chikkature [EMAIL PROTECTED] wrote: Hi Felipe, Tony, weird that we still have these prototypes in these headers

Re: Problems with USB Gadget on the OMAP3EVM

2008-08-06 Thread Felipe Balbi
On Wed, Aug 06, 2008 at 01:27:40PM +0530, ext Gadiyar, Anand wrote: Also increase MUSB_LOGLEVEL to 3 in your .config file and reabuild that 2.6.22.18 kernel. Don't bother re-building the kernel. You could just do an echo D3 /proc/driver/musb_hdrc or even D5 for more

Re: [PATCH RFC] MUSB: Fix index register corruption seen with g_ether and Windows host

2008-08-06 Thread Felipe Balbi
On Tue, Aug 05, 2008 at 09:18:14PM +0530, ext Gadiyar, Anand wrote: If Indexed Mode register accesses are enabled, the ep0_rxstate() function calls musb_g_ep0_giveback() before writing to the CSR register. When control returns to this ep0_rxstate, the index register contents are over-written.

Re: [PATCH RFC] MUSB: Fix index register corruption seen with g_ether and Windows host

2008-08-06 Thread Felipe Balbi
On Wed, Aug 06, 2008 at 01:47:33PM +0300, Felipe Balbi wrote: Hi, can you mail me (only) this patch as an attachement or put it somewhere i can download ? eheh, forget it, did it by hand :-p -- balbi -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body

Re: musb bogosity

2008-08-08 Thread Felipe Balbi
On Fri, Aug 08, 2008 at 11:32:45AM +0300, Felipe Balbi wrote: other users. Why this driver isn't using ioread/writeXX_rep() is beyond I'll try to fix io routines asap. From your next mail I could see that it's really bogus :-p drivers/usb/musb/musb_core.c: In function 'fifo_setup': drivers

omap24xx is broken in current head

2008-08-10 Thread Felipe Balbi
Hi, at least n810 is not booting with current l-o head The problem is in clockdomain.c:omap2_clkdm_clk_enable/disable() functions. Well, just for keep hacking I returned on top of the function and it's ok so far :-p Below is the Unhandled fault exception from console. 5Kernel command line:

Re: [PATCH] usb: musb: get rid of MUSB_LOGLEVEL and use parameter

2008-08-10 Thread Felipe Balbi
On Sun, Aug 10, 2008 at 10:53:19AM -0700, Greg KH wrote: On Sun, Aug 10, 2008 at 03:20:46PM +0300, Felipe Balbi wrote: From: Felipe Balbi [EMAIL PROTECTED] We can change debugging level on the fly via /sys/module/musb_hdrc/parameters/debug, there's no need for an extra command

Re: Git tree updated to v2.6.27-rc2, help needed

2008-08-12 Thread Felipe Balbi
On Tue, Aug 12, 2008 at 05:31:20PM +0300, Tony Lindgren wrote: For me reverting 0e5194e1a84c219bebbb78f305b7a8eabc4a3656 fixes this. Reverting 718fc6cd4db902aa2242a736cc3feb8744a4c71a like Felipe mentioned does not help for me with gcc version 4.2.3 (Sourcery G++ Lite 2008q1-126). But still

[PATCH 0/3] my pending patches

2008-08-13 Thread Felipe Balbi
time I tried, but after merge I only rebased them and made sure they build. So, please, give it a try before applying. Felipe Balbi (3): input: keypad: General fixes to omap-twl4030keypad.c usb: musb: pass configuration specifics via pdata input: add more error checks to lm8323 driver arch

[PATCH 1/3] input: keypad: General fixes to omap-twl4030keypad.c

2008-08-13 Thread Felipe Balbi
of this same patch. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- arch/arm/mach-omap2/board-2430sdp.c |5 +- arch/arm/mach-omap2/board-3430sdp.c |5 +- drivers/input/keyboard/omap-twl4030keypad.c | 204 --- include/asm-arm/arch-omap/keypad.h

[PATCH 2/3] usb: musb: pass configuration specifics via pdata

2008-08-13 Thread Felipe Balbi
Use platform_data to pass musb configuration-specific details to musb driver. It's easier to maintain in the sense that neither board will affect the other Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- arch/arm/mach-omap2/board-n800-usb.c | 46 +- arch/arm/mach-omap2/usb-musb.c

[PATCH 3/3] input: add more error checks to lm8323 driver

2008-08-13 Thread Felipe Balbi
If we can't reach the driver, we stop trying to probe it. Useful when building kernel for n800 and n810. n800 doesn't have lm8323, so that driver shouldn't probe there. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- drivers/input/keyboard/lm8323.c | 42

Re: Git tree updated to v2.6.26-rc3, all header files moved

2008-08-14 Thread Felipe Balbi
On Thu, Aug 14, 2008 at 04:35:41PM +0300, Tony Lindgren wrote: Thanks, pushing to l-o. Your twl patch also needs to be updated for the include path. Here it is thanks -- balbi From bc91d54477fef30befd382a538526b8a963aee8d Mon Sep 17 00:00:00 2001 From: Felipe Balbi [EMAIL PROTECTED] Date

<    1   2   3   4   5   6   7   8   9   10   >