Hi Jean, On Tue, May 3, 2011 at 6:51 PM, Jean Pihet <jean.pihet@xxxxxxxxxxxxxx> wrote: > On Thu, Apr 14, 2011 at 2:27 PM, Lesly A M <leslyam@xxxxxx> wrote: >> Patch series for TWL4030 power scripts and workaround for TWL erratum 27. >> >> Changes for implementing TWL4030 power scripts recommended by hardware team. >> Introduced a new TWL4030 power script file, which can be used by different >> OMAP3 board with the power companion chip TWL4030. >> >> Updated the changes for TWL4030 errata 27 & 28, and modified >> the TWL4030 power script. >> Workaround for TWL4030 erratum 27 is required for Si version less than or >> equal to TWL5030 ES1.1. >> > ... > >> This changes are tested on OMAP3430 & OMAP3630 SDP with off mode enabled in suspend path. > With the patches series applied and a board file change for > Beagleboard (similar to patch 7/9 for SDP), the Beagleboard is not > consistently booting. Most of the time it is hanging at boot, cf. dump > below. In the case it boots OK no voltage drop is observed when going > to OFF mode. > > Uncompressing Linux... done, booting the kernel. > [ 0.000000] Linux version 2.6.39-rc5-09490-gf4c2b2b (def@defasus) > (gcc version 4.4.1 (Sourcery G++ L > ite 2010q1-202) ) #694 SMP Tue May 3 14:11:31 CEST 2011 > [ 0.000000] CPU: ARMv7 Processor [411fc082] revision 2 (ARMv7), cr=10c53c7f > [ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing > instruction cache > [ 0.000000] Machine: OMAP3 Beagle Board > [ 0.000000] bootconsole [earlycon0] enabled > [ 0.000000] Memory policy: ECC disabled, Data cache writeback > [ 0.000000] OMAP3430/3530 ES2.1 (l2cache iva sgx neon isp ) > ... > [ 0.350830] OMAP3 Beagle Rev: Ax/Bx > [ 0.365203] omap_device: omap_uart.0: new worst case activate > latency 0: 30517 > [ 0.365570] omap_device: omap_uart.0: new worst case deactivate > latency 0: 30517 > [ 0.385253] Found NAND on CS0 > [ 0.388427] Registering NAND on CS0 > [ 0.393585] Unable to get DVI reset GPIO > [ 0.398284] hw-breakpoint: debug architecture 0x4 unsupported. > [ 0.425659] OMAP DMA hardware revision 4.0 > [ 0.509674] bio: create slab <bio-0> at 0 > [ 0.526092] SCSI subsystem initialized > [ 0.531158] omap_device: omap2_mcspi.1: new worst case activate > latency 0: 30517 > [ 0.541351] omap_device: omap2_mcspi.1: new worst case deactivate > latency 0: 30517 > [ 0.557586] usbcore: registered new interface driver usbfs > [ 0.564971] usbcore: registered new interface driver hub > [ 0.572082] usbcore: registered new device driver usb > [ 0.579925] omap_device: omap_i2c.1: new worst case activate latency 0: 30517 > [ 0.587768] omap_i2c omap_i2c.1: bus 1 rev1.3.12 at 2600 kHz > > AFAICT the main difference in the wiring is that the PMIC CLKREQ is > not connected to the OMAP and is tied to VIO_1V8. > > Any thought on how to support the T2 scripts on Beagle? I have not tested this script on Beagle board. This script actually expects the clk_req to go low during off_mode. So you can try removing the P3 from resource configuration struct for VDD1/VDD2 & check the voltage rails during OFF. Regards, Lesly A M -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html