Re: How to keep DM37x GPIO_162 high during off-mode

2013-07-11 Thread Peter Barada
On 07/11/2013 04:15 PM, Grygorii Strashko wrote: > Hi Peter, > > On 07/11/2013 10:00 PM, Peter Barada wrote: >> On 07/09/2013 11:55 AM, Tony Lindgren wrote: >>> * Peter Barada [130709 08:14]: >>>> I'm working with a 3.0.8 kernel in Android ICS and

Re: How to keep DM37x GPIO_162 high during off-mode

2013-07-11 Thread Peter Barada
On 07/09/2013 11:55 AM, Tony Lindgren wrote: > * Peter Barada [130709 08:14]: >> I'm working with a 3.0.8 kernel in Android ICS and have run into a >> problem using wl12xx bluetooth after a suspend/resume cycle. >> >> GPIO_162 in this design is connected to

How to keep DM37x GPIO_162 high during off-mode

2013-07-09 Thread Peter Barada
he bluetooth core works after resume. Any ideas why GPIO_162 would go low during suspend to off mode? Note I can't move to a newer kernel due to scheduling constraints. Thanks in advance! -- Peter Barada peter.bar...@logicpd.com -- To unsubscribe from this list: send the line "unsub

OMAP34xx HW 1-bit ECC algorithm

2012-08-14 Thread Peter Barada
the Micron in-chip ECC. Thanks in advance! -- Peter Barada peter.bar...@logicpd.com -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

linux-3.0: sporadic "illegal instruction" in init scripts

2012-04-13 Thread Peter Barada
tion to the kernel). Any suggestions are appreciated! -- Peter Barada peter.bar...@logicpd.com -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

linux-3.0: system suspend leaves usbhost clocks enabled

2011-12-19 Thread Peter Barada
usb_enable(), and disabled in omap_hsusb_disable(). I see omap_hsusb_eneable() called on startup, but never see omap_hsusb_disable() called during system suspend. Any ideas how I can get the usbhost clocks disabled across a board suspend? -- Peter Barada peter.bar...@logicpd.com -- To unsubs

Re: Linux 3.0 DSS support

2011-11-03 Thread Peter Barada
On 11/03/2011 05:46 AM, Tomi Valkeinen wrote: > On Thu, 2011-11-03 at 10:35 +0100, Koen Kooi wrote: >> Op 25 okt. 2011, om 09:37 heeft Tomi Valkeinen het volgende geschreven: >> >>> Hi, >>> >>> On Mon, 2011-10-24 at 13:55 -0400, Peter Barada wrote: >

Re: Linux 3.0 DSS support

2011-11-02 Thread Peter Barada
On 10/25/2011 03:37 AM, Tomi Valkeinen wrote: > Hi, > > On Mon, 2011-10-24 at 13:55 -0400, Peter Barada wrote: >> In the above case (and my case where I'm looking for a 9Mhz pixel >> clock), fck_div is calculated at higher than 16 - and the video >> output >

Re: Linux 3.0 DSS support

2011-10-24 Thread Peter Barada
* fck_div_factor; if (fck > max_dss_fck) continue; -- Peter Barada peter.bar...@logicpd.com -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

cpufreq-info doesn't work in linux-3.0 on DM3730

2011-10-01 Thread Peter Barada
e of the other operating points. Does anyone have CPU frequency scaling working in linux-3.0 and have any suggestions on what I'm doing wrong? -- Peter Barada peter.bar...@gmail.com -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a mes

Re: Module + offset calculations have to be signed in arch/arm/mach-omap2/pm-debug.c

2011-05-06 Thread Peter Barada
y the changelog to to just describe the fix needed due to using negative offsets in some PRM modules. I've attached a new patch to fix the tabs/changelog. -- Peter Barada peter.bar...@gmail.com >From 6857bb52af1fcd90e64d3e6c45de3ff0f071be7a Mon Sep 17 00:00:00 2001 From: Peter Barada Date

Re: Module + offset calculations have to be signed in arch/arm/mach-omap2/pm-debug.c

2011-05-05 Thread Peter Barada
On 05/05/2011 02:16 PM, Kevin Hilman wrote: Peter Barada writes: On 05/05/2011 01:11 PM, Kevin Hilman wrote: Peter Barada writes: I've been working on getting the TI OMAPPSP-03.00.01.06 kernel to properly suspend/resume on my DM37x board and all was going well until I added OTG su

Re: Module + offset calculations have to be signed in arch/arm/mach-omap2/pm-debug.c

2011-05-05 Thread Peter Barada
On 05/05/2011 01:11 PM, Kevin Hilman wrote: Peter Barada writes: I've been working on getting the TI OMAPPSP-03.00.01.06 kernel to properly suspend/resume on my DM37x board and all was going well until I added OTG support to the kernel and on suspend, the IVA2 and CORE pwrdms woul

Module + offset calculations have to be signed in arch/arm/mach-omap2/pm-debug.c

2011-05-05 Thread Peter Barada
offset" declaration in pm_module_def, rebuilt and tested again, IVA2/core pwrdms go into suspend correctly (and addresses look correct): Signed-off-by: Peter Barada diff --git a/arch/arm/mach-omap2/pm-debug.c b/arch/arm/mach-omap2/pm-debug.c index 125f565..b731ef3 100644 --- a/arch/arm

Re: Question regarding suspend/resume

2011-04-04 Thread Peter Barada
On 03/31/2011 04:48 PM, Kevin Hilman wrote: > Hi Peter, > > Peter Barada writes: > > [...] > >> Thanks for helping me to understand things. >> >> The kernel I'm using is TI's OMAPPSP_03.00.01.06 2.6.32 kernel [1] >> with their u-boot [2] and x-l

Re: Question regarding suspend/resume

2011-04-04 Thread Peter Barada
On 04/01/2011 01:05 AM, Hiremath, Vaibhav wrote: >> -Original Message- >> From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- >> ow...@vger.kernel.org] On Behalf Of Hilman, Kevin >> Sent: Friday, April 01, 2011 2:18 AM >> To: Peter Barada >>

Re: Question regarding suspend/resume

2011-03-31 Thread Peter Barada
On 03/15/2011 04:11 PM, Kevin Hilman wrote: > Peter Barada writes: > >> Is there any reference how to decode the output of >> /debug/pm_debug/count? I'm trying to figure out when I resume why it >> says the core_pwrdm didn't enter the target state, and I'm

Problems with suspend/resume on DM3730...

2011-03-29 Thread Peter Barada
/* hang on start */ while (dm3730logic_hang) ; omap3_mux_init(board_mux, OMAP_PACKAGE_CBP); dm3730logic_i2c_init(); platform_add_devices(dm3730logic_devices, ARRAY_SIZE(dm3730logic_devices)); omap_serial_init(); } MACHINE_START(DM3730_SOM

Question regarding suspend/resume

2011-03-15 Thread Peter Barada
's no output in the pm_debug code that tells which clocks in a power domain are active at the time of a suspend. Any ideas? -- Peter Barada peter.bar...@gmail.com -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.ker

Re: Regulator question regarding I2C devices

2011-01-29 Thread Peter Barada
On 01/29/2011 12:34 PM, Matthias Kaehlcke wrote: > Hi Peter, > > El Fri, Jan 28, 2011 at 05:24:01PM -0500 Peter Barada ha dit: > >> I have a tsc2004 touch controller on I2C3 that is powered by vaux1, >> and since its probed I have to turn the power on before it can be >&

Regulator question regarding I2C devices

2011-01-28 Thread Peter Barada
ere are no users. Any suggestions on how I can turn on vaux1 so the tsc2004 touch controller is visible to by the I2C system? Thanks in advance! -- Peter Barada peter.bar...@logicpd.com -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message

Thermal issues with OMAP35x on Logic Torpedo module

2010-12-14 Thread Peter Barada
ation of the OPP point while operating near the extremes. Does anyone have suggestions on how I can best implement such in the latest kernel? Thanks in advance! -- Peter Barada peter.bar...@logicpd.com -- To unsubscribe from this list: send the line "unsubscribe linux-omap" i

Problem trying to measure OMAP35x core temperature

2010-12-11 Thread Peter Barada
increase/decrease the CPU load. Any ideas why this isn't working? Thanks in advance! -- Peter Barada pet...@logicpd.com -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Trouble getting Logic OMAp35x modules to boot

2010-11-22 Thread Peter Barada
On 11/23/2010 12:05 AM, Gadiyar, Anand wrote: On Tue, Nov 23, 2010 at 7:50 AM, Peter Barada wrote: I've pulled the latest linux-2.6.37-rc3 kernel from kernel.org, and using the arch/arm/configs/omap3plus_defconfig as .config, and turning on: CONFIG_MACH_OMAP35CONFIG_MACH_OMAP3530_LV_

Trouble getting Logic OMAp35x modules to boot

2010-11-22 Thread Peter Barada
put turns to trash on the serial console. 1) Is omap2plus_defconfig the default kernel configuration I should use for the Logic OMAP35x boards? 2) If so, any suggestions on where/why the console serial port is going south? -- Peter Barada pet...@logicpd.com -- To unsubscribe from this list: s

Problem using UART3 on Logic Torpedo w/2.6.32

2010-11-18 Thread Peter Barada
ook the same. Any ideas what is happening? -- Peter Barada pet...@logicpd.com -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: How to enable sys_clkout1 for use by brf6300

2010-09-22 Thread Peter Barada
On Mon, 2010-09-20 at 11:04 -0700, Kevin Hilman wrote: > Hi Peter, > > Peter Barada writes: > > > I have a brf6300 that requires sys_clkout1, and I have it working fine > > right now, but if I enable CONFIG_OMAP_RESET_CLOCKS, then > > sys_clkou1 is disabled. >

How to enable sys_clkout1 for use by brf6300

2010-09-19 Thread Peter Barada
All, I have a brf6300 that requires sys_clkout1, and I have it working fine right now, but if I enable CONFIG_OMAP_RESET_CLOCKS, then sys_clkou1 is disabled. How do I tell the system that I need sys_clkout1 enabled for the brf6300 chip to work? Should I use "clk = clk_get(NULL, "sys_clkout1"); c

Re: [PATCH v3 1/3] omap3 gpmc: functionality enhancement

2010-05-19 Thread Peter Barada
On Wed, 2010-05-19 at 20:16 +0530, Vimal Singh wrote: > On Tue, May 18, 2010 at 4:46 PM, Sukumar Ghorai wrote: > > few functions added in gpmc module and to be used by other drivers like > > NAND. > > E.g.: - ioctl function > > - ecc functions > > > > Signed-off-by: Sukumar Ghorai > > --- >

using gpiolib driver to manipulate GPIO pins

2010-05-07 Thread Peter Barada
I'm trying to use the gpio driver in 2.6.32 to manipulate a pin after the kernel comes up(via /sys/class/gpio/...), and I can tweak the gpio value, but the gpio driver does not handle the mux setting to set the mux mode (or input/output/pullup/puldown) to 4 for the particular pin. I've looked at t

Need help understanding sporadic errors on OMAP35x YAFFS/NAND system

2010-04-23 Thread Peter Barada
I've got a sporadic problem that I'm seeing using NAND/YAFFS on a Logic LV SOM using a 1928 block YAFFS filesystem. I've got the 2.6.32 kernel (L23 Poky from http://www.omappedia.org/wiki/OMAP_Poky) up and running, and sporadically in testing I observe an error where 0xff30 shows up in the data re

Where did the twl4030 battery charging code go?

2010-03-30 Thread Peter Barada
I'm looking in linux-2.6.33-rc3 to turn on the battery backup charger to get the RTC working on a Logic SOM, and I don't see drivers/mfd/twl4030_bci_battery.c anymore. Digging through Tony's trees I find it was removed way back at:: http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.

Re: Trying to understand how to use new OMAP mux code

2010-03-11 Thread Peter Barada
On Thu, Mar 11, 2010 at 5:48 PM, Tony Lindgren wrote: > * Peter Barada [100311 14:29]: >> 1) Suppose I want to talk to a bluetooth chip through UART2.  UART2_TX >>  gives me a choice of pins to hook up to, either to pin AA26 in Mode0, >> or pin AF5 in Mode1.  If I use

Trying to understand how to use new OMAP mux code

2010-03-11 Thread Peter Barada
1) Suppose I want to talk to a bluetooth chip through UART2. UART2_TX gives me a choice of pins to hook up to, either to pin AA26 in Mode0, or pin AF5 in Mode1. If I use omape_mux_init_signal("uart2_tx", OMAP_PIN_OUTPUT), which pin will that map to? 2) How can I tell the muxing code that I want

Problem specifying which gpio_126 to use on omap353x

2010-02-18 Thread Peter Barada
On my board I have an isp1760 hooked up using gpio_126 (pin P27 - MMC1_DAT4/SIM_IO/GPIO_126). From the schematics (and TRM), there is a 2nd gpio_126 on pin D25 (CAM_STROBE/GPIO_126). I tried to use: #define ISP1760_IRQ 126 omap_mux_init_gpio(ISP1760_IRQ, OMAP_PIN_INPUT_PULLUP); if (gpio_request

Which ARM toolchain for OMAP35x?

2010-02-14 Thread Peter Barada
What's a known good toolcahin for linux-omap development? I'm currently using CodeSroucery 2009q1-203 and wondering if there's a better toolchain or if people have had problems using the the 2009q1-203 toolchain. Thanks in advance! -- To unsubscribe from this list: send the line "unsubscribe linu

Circular mm_lock semaphore in omapfb code

2010-02-11 Thread Peter Barada
I've got a version of OMAP 2.6.33-rc3 up on my board, based on Kevin's tree, commit 838cb5e10ba0131bd46b5404d313980144a481a5 And I've added in my LCD code which works (I see a penguin on bootup). I have CONFIG_FB_OMAP enabled and CONFIG_OMAp2_DSS not disabled in my kernel config. When I try to e

Trying to understand how to use regulator supplies

2010-02-10 Thread Peter Barada
I've got a OMAP3530 board with a tsc2004 touch controller that is powered off of VAUX1(VAUX1_30 on my schematic) at 3V, and I'm trying to understand how to code it up so that vaux1 power comes up before the i2c code tries to probe for the touch controller. Looking at some of the board files, I've

linux-2.6.28-rc8 wedges in twl_mmc_set_voltage()...

2009-12-03 Thread Peter Barada
Has anyone stumbled across this before or have any ideas on how I can debug this further? I'm currently using the CodeSourcery 2009q1-203 compiler. Thanks in advance! -- Peter Barada Logic Product Development, Inc. -- To unsubscribe from this list: send the line "unsubscribe linux-o

Re: Preventing OMAP3 serial driver to take control of all UARTs

2009-11-30 Thread Peter Barada
On Mon, 2009-11-30 at 11:40 -0800, Tony Lindgren wrote: > * Grant Likely [091130 09:01]: > > On Mon, Nov 30, 2009 at 9:36 AM, Peter Barada wrote: > > > On Mon, 2009-11-30 at 10:46 +0200, Mika Westerberg wrote: > > >> Hi Tony, > > >> > > >> C

Re: Preventing OMAP3 serial driver to take control of all UARTs

2009-11-30 Thread Peter Barada
On Mon, 2009-11-30 at 10:46 +0200, Mika Westerberg wrote: > Hi Tony, > > Current omap serial driver takes control of all 3 (4 on OMAP3640) > UARTS. However, we have such a setup where UART2 for example is used > by bluetooth driver. It uses the UART as non-standard way (there are > some Nokia exte

Problems trying to boot am3517 w/NFSroot

2009-11-29 Thread Peter Barada
I'm trying to boot an am3517 using TI's PSP-SDK-03.00.00.02 kernel, and it fails to get an IP address w/dhcp (retrying forever). I used the omap3517_evm_defconfig to config the kernel. The command line is "console=ttyS2,115200n8 root=/dev/nfs rw nfsroot=192.168.3.5:/opt/nfs-exports/ltib-am3517,w

Re: Problem trying to pull particular commit from PM tree

2009-11-18 Thread Peter Barada
On Wed, 2009-11-18 at 08:57 -0800, Tony Lindgren wrote: > * Peter Barada [091118 06:20]: > > Is it possible to back up in time on the PM tree to find a particular > > commit, even across rebasings? I'm interested in the commit used by TI > > to base the

Problem trying to pull particular commit from PM tree

2009-11-18 Thread Peter Barada
#x27;t work? Thanks in advance! -- Peter Barada Logic Product Development, Inc. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

hrtimer_nanosleep() weirdness...

2009-10-16 Thread Peter Barada
le. Any ideas why firing up the SMSC911x driver would cause hrtimer_nanosleep() to be much more predictable? -- Peter Barada Logic Product Development, Inc. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vg

RE: [RFC][PATCH] omapfb: Reorder Register_framebuffer call

2009-09-04 Thread Peter Barada
: Anand Gadiyar > > This patch on top of current linux-omap kernel allows me to > boot with the default SDP defconfig on a 3430 SDP. Tested-by: Peter Barada This patch on top of current linux-omap kernel allows me to boot with the LCD enabled on LogicPD's OMAP board

RE: Problem tryhing to bring up new LCD on OMAP Logic board

2009-08-25 Thread Peter Barada
On Wed, 2009-08-26 at 08:33 +0530, Hiremath, Vaibhav wrote: > > -Original Message- > > From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- > > ow...@vger.kernel.org] On Behalf Of Peter Barada > > Sent: Wednesday, August 26, 2009 1:37 AM > > To: Gad

RE: Problem tryhing to bring up new LCD on OMAP Logic board

2009-08-25 Thread Peter Barada
> > > > Any ideas what I'm doing wrong? > > > > > Maybe this patch will help? > > <http://patchwork.kernel.org/patch/42995/> Thanks, that got me past the issue, but now, I get a whole raft of: <4>__ratelimit: 1736188 callbacks suppressed __ratelim

Problem tryhing to bring up new LCD on OMAP Logic board

2009-08-25 Thread Peter Barada
0) from [] (bus_add_driver+0xa0/0x224) [] (bus_add_driver+0xa0/0x224) from [] (driver_register+0xac/0x134) [] (driver_register+0xac/0x134) from [] (do_one_initcall+0x50/0x17c) [] (do_one_initcall+0x50/0x17c) from [] (kernel_init +0x88/0x100) [] (kernel_init+0x88/0x100) from [] (kernel_thread_exit+0x0

Re: Patch format for submission?

2009-08-21 Thread Peter Barada
On Fri, 2009-08-21 at 15:10 +0200, Kevin Hilman wrote: > Tim Bird writes: > > > Paul Walmsley wrote: > >> Hi Peter, > >> > >> On Wed, 19 Aug 2009, Peter Barada wrote: > >> > >>> 1) Does anyone have a URL of the format patches

Re: Question regarding MUSB and dynamic fifo sizing

2009-08-20 Thread Peter Barada
On Wed, 2009-08-12 at 00:17 +0300, Felipe Balbi wrote: > On Tue, Aug 11, 2009 at 05:17:56PM -0400, Peter Barada wrote: > > On Tue, 2009-08-11 at 23:51 +0300, Felipe Balbi wrote: > > > Hi, > > > > > > On Tue, Aug 11, 2009 at 11:21:17AM -0400, Peter Barada wr

Patch format for submission?

2009-08-19 Thread Peter Barada
1) Does anyone have a URL of the format patches should be in that are submitted to the linux-omap list? I've got some patches to add base support for the Logic OMAP 35x SOM and Torpedo boards and I'd like to submit them in the right format for inclusion and push into mainline. -- Pe

Question(s) regarding OMAP3 PM and PBIAS

2009-08-17 Thread Peter Barada
noticed with CPUIDLE enabled, turning on debug for clock/powerdomains overloads the console with sate change messages. -- Peter Barada Logic Product Development, Inc. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Question regarding MUSB and dynamic fifo sizing

2009-08-11 Thread Peter Barada
On Tue, 2009-08-11 at 23:51 +0300, Felipe Balbi wrote: > Hi, > > On Tue, Aug 11, 2009 at 11:21:17AM -0400, Peter Barada wrote: > > Unfortunately, with the patch, and: > > > > 1) modprobe musb_hdrc > > 2) modprobe g_ether > > 3) connect micro-a cabl

smsc911x IRQ on MMC1_DAT7 pin problem with ES3.1 35x

2009-08-11 Thread Peter Barada
d for an SD/MMC port? 2) Will the code in twl_mmc1_set_power() affect the voltage/bias on pins MMC1_dat4 through MMC1_DAT7? -- Peter Barada Logic Product Development, Inc. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger

Re: Question regarding MUSB and dynamic fifo sizing

2009-08-11 Thread Peter Barada
On Tue, 2009-08-11 at 09:33 +0300, Felipe Balbi wrote: > Hi, > > On Mon, Aug 10, 2009 at 10:42:41PM +0200, ext Peter Barada wrote: > > Since the twl4030 thinks its got Vbus, I've added code to dump the > > TWL4030 register accesses and other structure in the twl4030-us

Re: Question regarding MUSB and dynamic fifo sizing

2009-08-10 Thread Peter Barada
On Mon, 2009-08-10 at 21:48 +0300, Felipe Balbi wrote: > On Mon, Aug 10, 2009 at 01:28:43PM -0400, Peter Barada wrote: > > On Mon, 2009-08-10 at 20:02 +0300, Felipe Balbi wrote: > > > Hi, > > > > > > On Mon, Aug 10, 2009 at 01:00:07PM -0400, Peter Barada wr

Re: Question regarding MUSB and dynamic fifo sizing

2009-08-10 Thread Peter Barada
On Mon, 2009-08-10 at 20:02 +0300, Felipe Balbi wrote: > Hi, > > On Mon, Aug 10, 2009 at 01:00:07PM -0400, Peter Barada wrote: > > Actually, not quite. I noticed that twl4030_vbus_work only sets Vbus, > > never clears it. > > With that change and the driver config

Re: Question regarding MUSB and dynamic fifo sizing

2009-08-10 Thread Peter Barada
On Mon, 2009-08-10 at 19:16 +0300, Felipe Balbi wrote: > Hi, > > On Mon, Aug 10, 2009 at 10:33:19AM -0400, Peter Barada wrote: > > On Sat, 2009-08-08 at 10:17 +0300, Felipe Balbi wrote: > > > Hi, > > > > > > On Sat, Aug 08, 2009 at 09:43:13AM +0300,

Re: Question regarding MUSB and dynamic fifo sizing

2009-08-10 Thread Peter Barada
On Sat, 2009-08-08 at 10:17 +0300, Felipe Balbi wrote: > Hi, > > On Sat, Aug 08, 2009 at 09:43:13AM +0300, Felipe Balbi wrote: > > On Fri, Aug 07, 2009 at 10:17:12PM +0200, Balbi Felipe (Nokia-D/Helsinki) > > wrote: > > > On Fri, Aug 07, 2009 at 09:22:33PM

RE: Question regarding MUSB and dynamic fifo sizing

2009-08-07 Thread Peter Barada
On Fri, 2009-08-07 at 22:55 +0530, Pandita, Vikram wrote: > > >-Original Message- > >From: linux-omap-ow...@vger.kernel.org > >[mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of Peter > >Barada > >Sent: Friday, August 07, 2009 12:24 PM > &

RE: Question regarding MUSB and dynamic fifo sizing

2009-08-07 Thread Peter Barada
On Fri, 2009-08-07 at 22:55 +0530, Pandita, Vikram wrote: > > >-Original Message- > >From: linux-omap-ow...@vger.kernel.org > >[mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of Peter > >Barada > >Sent: Friday, August 07, 2009 12:24 PM > &

RE: Question regarding MUSB and dynamic fifo sizing

2009-08-07 Thread Peter Barada
On Fri, 2009-08-07 at 01:41 +0530, Gadiyar, Anand wrote: > Peter Barada wrote: > > I'm running into a problem where the MUSB controller stops talking with > > the hardwired device on the other end, and I wasn to unload the musb as > > a module and reload it to th

Question regarding MUSB and dynamic fifo sizing

2009-08-06 Thread Peter Barada
} } 1) How can one change from dynamic to static fifo sizing in the MUSB? 2) Would it be safe to program for dynamic fifo sizing if CONFIG_DATA indicates the fifos are Statically sized? -- Peter Barada Logic Product Development, Inc. -- To unsubscribe from this list: send the line "un

Re: MMC3 Overo

2009-08-06 Thread Peter Barada
x with enum search in pin table - this breaks the requirement that the enum list and table align - a good thing as misalingment has bitten me multiple times when adding pins to the current mux table. Also, pinmux setup is done infrequently, so the search doesn't add much overall execution time.

OMAP PM question

2009-07-23 Thread Peter Barada
f inactivity - characters typed at ttyS0 don't get echoed back. How do I enable wake on serial, or is it on by default? -- Peter Barada Logic Product Development, Inc. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Missing OMAP nand drivers from 2.6.30?

2009-06-19 Thread Peter Barada
Looking at the current linux-omap tree from yesterday, I'm wondering where the NAND chip driver for the OMAP34x/35x is. It used to be in drivers/mtd/nand/omap2.c, but there's no trace of it now (that I can find). Any ideas where it went? -- Peter Barada Logic Product Development,

Re: OMAP3xxx hsmmc : MMC3 doesn't work, always times out?

2009-06-10 Thread Peter Barada
On Thu, 2009-06-11 at 15:35 +1200, Hugo Vincent wrote: > On Thu, Jun 11, 2009 at 2:39 PM, Pandita, Vikram wrote: > > Hugo > > > >>-Original Message- > >>From: linux-omap-ow...@vger.kernel.org > >>[mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of Hugo > >>Vincent > >>Sent: Wednesday, J

Trying to get OMAP3530 twl4030-usb interrupt to trigger

2009-05-29 Thread Peter Barada
wl4030-usb interrupt fire in the code on insertion/removal? 2) If not, then any ideas on how to plumb the USB interrupt out of the twl4030? 3) Which actual interrupt does IRQ378 (the one twl4030-usb request) correspond to? Thanks in advance! -- Peter Barada -- To unsubscribe from this list: s

No OMAP PM code on the PM branch???

2009-05-01 Thread Peter Barada
This is due to no code calling suspend_set_ops() which used to be in arch/arm/mach-omap2/pm34xx.c - this isn't in either Tony or Kevin's current tree. 1) Am I way off base (i.e. am I missing something obvious here)? -- Peter Barada -- To unsubscribe from this list: send the line &

Anyone have MUSB working on PM branch?

2009-05-01 Thread Peter Barada
; hw0 urb c7a27840 spd3 dev2 ep0out h_addr00 h_port00 bytes 8 musb_port_suspend 78: Root port suspended, power f2 usb 1-1: usb auto-suspend hub 1-0:1.0: hub_suspend usb usb1: bus auto-suspend OMAP-35x# OMAP-35x# At this point,unplug the hub OMAP-35x# OMAP-35x# musb_stage2_irq 763: DISCONNECT (a_suspend) as Host, devctl 19 musb_stage2_irq 805: SUSPEND (a_wait_bcon) devctl 19 power e0 usb usb1: usb resume hub 1-0:1.0: hub_resume musb_hub_control 344: port status 00010100 hub 1-0:1.0: port 1: status 0100 change 0001 hub 1-0:1.0: state 7 ports 1 chg 0002 evt 0002 hub 1-0:1.0: port 1, status 0100, change , 12 Mb/s usb 1-1: USB disconnect, address 2 usb 1-1: unregistering device usb 1-1: usb_disable_device nuking all URBs usb 1-1: unregistering interface 1-1:1.0 usb 1-1:1.0: uevent usb 1-1: uevent hub 1-0:1.0: hub_suspend usb usb1: bus auto-suspend OMAP-35x# # insert the hub again, and nothing... OMAP-35x# 1) Has anyone gotten the MUSB in the latest PM branch working? 2) Outside of setting up the pinmux, is there anything else necessary to get the MUSB to come up? 3) Any ideas on how to fix this? -- Peter Barada -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Problems bringing up new PM 2.6.29 tree on Logic 35x LV SOM

2009-03-31 Thread Peter Barada
On Thu, 2009-03-26 at 15:13 -0600, Paul Walmsley wrote: > On Thu, 26 Mar 2009, Peter Barada wrote: > > > I changed the call to omap_init_common_hw to pass in four NULLs (as I > > think the sdrc params for mt46h32m32lf6 (somehow?) don't match the > > mt29c2g2

Re: PM branch rebased to 2.6.29

2009-03-30 Thread Peter Barada
t; FWIW, the latest HEAD of the PM branch has that debug patch included. > > After doing the suspend/resume, just > > # cat /debug/pm_debug/registers/1 > > and attach the output. > > Kevin > -- Peter Barada -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Problems bringing up new PM 2.6.29 tree on Logic 35x LV SOM

2009-03-26 Thread Peter Barada
git commands I used the proper way to pull out Kevin's PM tree? 2) Does my approch of using Beagle as a starting point for a port to Logic's 35x LV SOM look sane (I already have 2.6.28-rc8 running on the LV som, started from LDP)? 3) Any suggestions on how to figure out why I2C co

Re: PM branch rebased to 2.6.29

2009-03-24 Thread Peter Barada
On Tue, 2009-03-24 at 13:21 -0700, Kevin Hilman wrote: > Peter Barada wrote: > > On Tue, 2009-03-24 at 11:08 -0700, Kevin Hilman wrote: > >> Peter Barada writes: > >> > >>> On Tue, 2009-03-17 at 22:21 -0700, Kevin Hilman wrote: > >>>> FYI..

Re: PM branch rebased to 2.6.29

2009-03-24 Thread Peter Barada
On Tue, 2009-03-24 at 11:08 -0700, Kevin Hilman wrote: > Peter Barada writes: > > > On Tue, 2009-03-17 at 22:21 -0700, Kevin Hilman wrote: > >> FYI... > >> > >> The PM branch has now been rebased to today's linux-omap HEAD which is > >> b

Re: PM branch rebased to 2.6.29

2009-03-24 Thread Peter Barada
t; [] (state_store+0x0/0xc4) from [] > (kobj_attr_store+0x20/0x24) > [] (kobj_attr_store+0x0/0x24) from [] > (sysfs_write_file+0x110/0x144) > [] (sysfs_write_file+0x0/0x144) from [] > (vfs_write+0xb8/0x148) > [] (vfs_write+0x0/0x148) from [] (sys_write+0x44/0x70) > r7:0004 r6:c78d3

Re: Problems with 2.6.29-rc8 and SDRAM on LDP

2009-03-23 Thread Peter Barada
On Mon, 2009-03-23 at 00:38 -0600, Paul Walmsley wrote: > Hello Peter, > > On Sun, 22 Mar 2009, Peter Barada wrote: > > > I'm basing a port of 2.6.29-rc8 (khilmans's PM branch) off of the LDP > > configuration, and in arch/arm/mach-omap2/board-ldp, the call to

Problems with 2.6.29-rc8 and SDRAM on LDP

2009-03-22 Thread Peter Barada
e" seems to go down as the OPP level goes up. This doesn't make sense to me as I'd expect the rate to go up with OPP level. What am I missing? -- Peter Barada -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to

Re: Suggestion regarding the ordering of GPIO MUX configurations

2009-03-02 Thread Peter Barada
down registers) as well as extend the mux table for that board(per-board GPIO pin mux definitions). 3) Setting up the pinmux is something that is done at startup, or rarely changed afterwards - as far as I can see, its not time-critical. Just a thought. -- Peter Barada -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

RE: Question on how to best access a chip on init that needs VAUX1 power?

2009-01-16 Thread Peter Barada
.. > u-boot also has simple utility to read from mtd which has u-boot environment > where you could have stored it away. Ultimately I should just pull the block of data in u-boot, extract what I need for u-boot, and then pass it to the kernel. Outside of creating a specific ATAG for this, what'

Question on how to best access a chip on init that needs VAUX1 power?

2009-01-16 Thread Peter Barada
ys_sync() to have my code called after the twl4040 initializes, but before the devices come up. Is the the right way to approach this? -- Peter Barada -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.or

RE: Missing USB OTG ID interrupt../

2009-01-12 Thread Peter Barada
On Tue, 2009-01-13 at 11:14 +0530, Gupta, Ajay Kumar wrote: > V > > > -Original Message- > > From: linux-omap-ow...@vger.kernel.org > > [mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of Peter > > Barada > > Sent: Tuesday, January 13, 2009 1:

Missing USB OTG ID interrupt../

2009-01-12 Thread Peter Barada
On the current PM tree (2.6.28-rc8, revision 2beb9b4b) I have USB OTG working - I see a device plugged in on boot, and it detaches when I pull the cable, but it doesn't appear again when I reinsert the cable. Any ideas on why the device doesn't show up again? -- Peter Barada -- To u

Re: Suspend/Resume questions

2009-01-12 Thread Peter Barada
On Mon, 2009-01-12 at 19:26 +0100, Koen Kooi wrote: > Op 12 jan 2009, om 18:11 heeft Peter Barada het volgende geschreven: > > > > > I'm using the current PM branch (2.6.28-rc8, revision 2beb9b4b) to > > investigate power consumption on an OMAP35x board (Lo

Suspend/Resume questions

2009-01-12 Thread Peter Barada
after the suspend? (If the card is not mounted, it doesn't "move"). 3) Any ideas why the iva2, core, per power domains not change states to PWRDM_POWER_RET? Any way to find out? 4) Any suggestions on how to code the power button (attached to TWL4030 PWRON pin) to wake it back up again?

Power Management question...

2008-12-29 Thread Peter Barada
any interrupt (touch, serial, mmc insert/removal) automagicaly wakes it up. Any pointers on how to make sense of this? I would have thought that drivers have to specify which interrupts are capable of waking the core... -- Peter Barada -- To unsubscribe from this list: send the line "unsubscrib

ANyone have success using a BDI-200 to debug an OMAP3xx board?

2008-12-11 Thread Peter Barada
Subject says it all. I've been able to use a BDI-2000 to debug u-boot and initial kernel startup, but somewhere into the startup, the BDI times out and I can't connect to the process to debug the kernel. Any ideas? -- Peter Barada [EMAIL PROTECTED] -- To unsubscribe from this list

Problems unblanking backlight in 2.6.27

2008-12-03 Thread Peter Barada
ouch (including having the backlight turn back on)? -- Peter Barada // senior software engineer LOGIC // embedded product solutions 411 Washington Ave. N. Suite 400 Minneapolis, MN 55401 M // 617.513.5874 [EMAIL PROTECTED] www.logicpd.com / / / / / / / / / / / / / / / / / / / / / / / / / / / /

Question regarding OMAP NAND driver read_buf16() function

2008-11-20 Thread Peter Barada
, buf, len / 2); -- Peter Barada // senior software engineer LOGIC // embedded product solutions 411 Washington Ave. N. Suite 400 Minneapolis, MN 55401 M // 617.513.5874 [EMAIL PROTECTED] www.logicpd.com -- To unsubscribe from this list: send the line "unsubscribe linux-omap"

Re: JTAG debugging of the kernel

2008-08-18 Thread Peter Barada
On Fri, 2008-08-15 at 14:57 -0400, Josh Karabin wrote: > Peter Barada wrote: > > On Fri, 2008-08-15 at 23:04 +0530, Syed Mohammed, Khasim wrote: > >>> -Original Message- > >>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter > >>

RE: JTAG debugging of the kernel

2008-08-15 Thread Peter Barada
On Fri, 2008-08-15 at 23:04 +0530, Syed Mohammed, Khasim wrote: > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter > > Barada > > Sent: Friday, August 15, 2008 8:34 PM > > To: linux-omap@vger.kernel.org &

JTAG debugging of the kernel

2008-08-15 Thread Peter Barada
I've been trying to use JTAG (and an Abatron BDI-2000) to debug the ALSA driver to determine why madplay can't keep up when pulling .mp3 from an SD card, and have not had any luck trying to halt via JTAG and set/stop at breakpoints within the kernelthe kernel. I've found that JTAG works for a whil

Troubles with twl4030 audio...

2008-08-08 Thread Peter Barada
I'm trying to get ALSA audio going on an OMAP3430-based board, and I've configured using CONFIG_SND_OMAP_3430SDP_COMP=m which builds sound/arm/omap/omap2-audio-twl4030.ko module that I load/unload as part of my debug cycle. When I play a sound though, the results are *really* distorted with lots o

Re: TSC2004 touch driver

2008-07-01 Thread Peter Barada
work-in-progress, or is it all in the git trees? > Todd > > > > > The TSC2004 is a newer version the > On Tue, 2008-07-01 at 13:59 -0400, Peter Barada wrote: > > I'm trying to incorporate a TSC2004 touch driver for my omap3430 board, > > and before I go off an

TSC2004 touch driver

2008-07-01 Thread Peter Barada
I'm trying to incorporate a TSC2004 touch driver for my omap3430 board, and before I go off and reinvent the wheel, fiugred I'd ask. Google doesn't come up with anything for a driver on tsc2004. Thanks in advance! -- Peter Barada <[EMAIL PROTECTED]> -- To unsubscribe fro