- Jun 20, 2011
-
-
Kevin Hilman authored
Remove the OMAP-specific PM debug 'sleep_while_idle' feature which is currently available as an OMAP-specific debugfs entry. This duplicates existing ARM-generic functionality available as a boot-time option using the boot cmdline option 'hohlt'. If runtime configuration of this is needed, then adding a debugfs entry for the ARM-generic hlt/nohlt interface should be added. Tested-by:
Santosh Shilimkar <santosh.shilimkar@ti.com> Acked-by:
Santosh Shilimkar <santosh.shilimkar@ti.com> Acked-by:
Jean Pihet <j-pihet@ti.com> Signed-off-by:
Kevin Hilman <khilman@ti.com>
-
Nishanth Menon authored
Error label case seems to have a 2 tab indentation when just 1 is necessary. Signed-off-by:
Nishanth Menon <nm@ti.com> Signed-off-by:
Kevin Hilman <khilman@ti.com>
-
Nishanth Menon authored
Since we already know the state of the autocomp enablement, we can see if the requested state is different from the current state and enable/disable SR only on the need basis. Signed-off-by:
Nishanth Menon <nm@ti.com> Signed-off-by:
Kevin Hilman <khilman@ti.com>
-
Nishanth Menon authored
We will enable and disable interrupt on a need basis in the class driver. We need to keep the IRQ disabled by default else the forceupdate or vcbypass events could trigger events that we don't need/expect to handle. This is a preparation for SmartReflex AVS class drivers such as class 2 and class 1.5 which would need to use interrupts. Existing SmartReflex AVS class 3 driver does not require to use interrupts and is not impacted by this change. Signed-off-by:
Nishanth Menon <nm@ti.com> Signed-off-by:
Kevin Hilman <khilman@ti.com>
-
Nishanth Menon authored
Interrupt notification mechanism of SmartReflex can be used by the choice of implementation of the class driver. For example, Class 2 and Class 1.5 of SmartReflex can both use the interrupt notification to identify the transition of voltage or other events. Hence, the actual class does not matter for notifier. Let the class driver's handling decide how it should be used. SmartReflex driver should provide just the primitives. Signed-off-by:
Nishanth Menon <nm@ti.com> Signed-off-by:
Kevin Hilman <khilman@ti.com>
-
- Jun 13, 2011
-
-
Grazvydas Ignotas authored
Commit d5ce2b65 "omap3630: nand: fix device size to work in polled mode" changed values for .devsize in nand platform data, now we have to pass NAND_BUSWIDTH_16 instead of '1' to select 16bit NAND. Update pandora's platform data accordingly, also specify appropriate transfer type. Signed-off-by:
Grazvydas Ignotas <notasas@gmail.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- Jun 06, 2011
-
-
Russell King authored
WARNING: arch/arm/mach-omap2/built-in.o(.text+0x423c): Section mismatch in reference from the function pm_dbg_regset_init() to the function .init.text:pm_dbg_init() The function pm_dbg_regset_init() references the function __init pm_dbg_init(). This is often because pm_dbg_regset_init lacks a __init annotation or the annotation of pm_dbg_init is wrong. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by:
Kevin Hilman <khilman@ti.com>
-
- Jun 01, 2011
-
-
Balaji T K authored
4 micro seconds is not enough for PBIAS if MMC regulator is enabled from MMC regulator OFF. Increase the delay for PBIAS to stabilize. Wait for PBIAS and timeout if not. Resolves MMC/SD failure on OMAP4 "Pbias Voltage is not same as LDO" Signed-off-by:
Balaji T K <balajitk@ti.com> Acked-by:
Kishore Kadiyala <kishore.kadiyala@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Igor Grinberg authored
Several boards defining mtd partitions also defined NAND_BLOCK_SIZE as SZ_128K. Move the define to common-board-devices.h This removes multiple defines of NAND_BLOCK_SIZE. Signed-off-by:
Igor Grinberg <grinberg@compulab.co.il> [tony@atomide.com: updated comments] Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Shubhrajyoti D authored
Commit 407a6888 (OMAP4: hwmod data: Add AESS, McPDM, bandgap, counter_32k, MMC, KBD, ISS & IPU) added the entry for keypad, but did not enable it. Enable the keypad in the hwmod database so it works. Signed-off-by:
Shubhrajyoti <D<shubhrajyoti@ti.com> Acked-by:
Benoit <Cousson<b-cousson@ti.com> [tony@atomide.com: updated comments] Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Tasslehoff Kjappfot authored
Free Beagle rev gpios when they are read, so others can read them later Signed-off-by:
Tasslehoff Kjappfot <tasskjapp@gmail.com> [tony@atomide.com: updated comments] Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Alexander Holler authored
Without msecure beeing high it isn't possible to set (or start) the RTC. Tested with a BeagleBoard C4. Signed-off-by:
Alexander Holler <holler@ahsoftware.de> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Jarkko Nikula authored
Speaker amplifier is accidentally powered up in early TWL gpio setup. This causes a few mA of needless battery current consumption. Without this patch the amplifier can be shutdown only by having one active audio playback and shutdown cycle to speaker output. Thanks to Kalle Jokiniemi <kalle.jokiniemi@nokia.com> for noticing the issue. Signed-off-by:
Jarkko Nikula <jhnikula@gmail.com> Cc: Kalle Jokiniemi <kalle.jokiniemi@nokia.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Jarkko Nikula authored
The V28_A domain in Nokia N900 that supplies VDD voltages to TLV320AIC34 and TPA6130A2 should not be shutdown. This is because otherwise there will be leak from VIO to VDD in TLV320AIC34 and this leak consumes more battery current that is saved from keeping V28_A off. With this patch the battery current consumption is approximately 1.5 mA lower. Thanks to Kalle Jokiniemi <kalle.jokiniemi@nokia.com> for noticing the issue. Signed-off-by:
Jarkko Nikula <jhnikula@gmail.com> Cc: Kalle Jokiniemi <kalle.jokiniemi@nokia.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Balaji T K authored
eMMC does not handle power off when not in sleep state, Skip regulator disable during probe when eMMC is not in known state - state left by bootloader. Resolves eMMC failure on OMAP4 mmc0: error -110 whilst initialising MMC card Signed-off-by:
Balaji T K <balajitk@ti.com> Tested-by:
Kishore Kadiyala <kishore.kadiyala@ti.com> Acked-by:
Kishore Kadiyala <kishore.kadiyala@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Igor Grinberg authored
introduced by: 96974a24 (omap: consolidate touch screen initialization among different boards) ads7846 driver can use either gpio_pendown or get_pendown_state() callback. In case of gpio_pendown, it requests the provided gpio_pendown thus resulting in double requesting that gpio: ads7846 spi1.0: failed to request pendown GPIO57 ads7846: probe of spi1.0 failed with error -16 Fix this by restricting the gpio request to the case of get_pendown_state() callback is used. Signed-off-by:
Igor Grinberg <grinberg@compulab.co.il> Tested-by:
Thomas Weber <weber@corscience.de> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Todd Poynor authored
!dev case needs iounmap before return. Signed-off-by:
Todd Poynor <toddpoynor@google.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Colin Cross authored
OMAP4 contains two separate instances of the padconf registers, one in the core system config and one in the wakeup system config. Pass in two tables to apply the correct values to each instance. Signed-off-by:
Colin Cross <ccross@android.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Colin Cross authored
OMAP4 has two mux instances, and the board may not have settings for one of them. Allow the board file to pass NULL for an instance's mux settings, which will initialize the mux instance but skip writing board settings. Signed-off-by:
Colin Cross <ccross@android.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Rabin Vincent authored
Don't PTR_ERR() a non-error pointer: initcall omap4_l3_init+0x0/0xdc returned -544980480 after 0 usecs initcall omap4_l3_init+0x0/0xdc returned with error code -544980480 Signed-off-by:
Rabin Vincent <rabin@rab.in> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Govindraj.R authored
Fix below compilation warnings. arch/arm/mach-omap2/omap_hwmod.c: In function 'omap_hwmod_for_each': arch/arm/mach-omap2/omap_hwmod.c:1631: warning: 'ret' may be used uninitialized in this function arch/arm/mach-omap2/mux.c: In function 'omap_mux_get_gpio': arch/arm/mach-omap2/mux.c:917: warning: 'm' may be used uninitialized in this function Signed-off-by:
Govindraj.R <govindraj.raja@ti.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- May 31, 2011
-
-
Igor Grinberg authored
WARNING: arch/arm/mach-omap2/built-in.o(.text+0x11014): Section mismatch in reference from the function cm_t3517_init_usbh() to the (unknown reference) .init.data:(unknown) The function cm_t3517_init_usbh() references the (unknown reference) __initdata (unknown). This is often because cm_t3517_init_usbh lacks a __initdata annotation or the annotation of (unknown) is wrong. Signed-off-by:
Igor Grinberg <grinberg@compulab.co.il> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Santosh Shilimkar authored
The serial*_data should have been marked as __initdata as per it's usage in the board files. Fix the same to remove the section mismatch warnings caused by it. Signed-off-by:
Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by:
Silesh C V <silesh@ti.com> [tony@atomide.com: updated with additional fixes from Silesh] Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Axel Lin authored
I got some build error like below while executing "make omap2plus_defconfig". CC arch/arm/mach-omap2/board-2430sdp.o arch/arm/mach-omap2/board-2430sdp.c: In function 'omap_2430sdp_init': arch/arm/mach-omap2/board-2430sdp.c:247: error: 'GPIOF_OUT_INIT_LOW' undeclared (first use in this function) arch/arm/mach-omap2/board-2430sdp.c:247: error: (Each undeclared identifier is reported only once arch/arm/mach-omap2/board-2430sdp.c:247: error: for each function it appears in.) This patch fixes the build error by include linux/gpio.h instead of mach/gpio.h. Signed-off-by:
Axel Lin <axel.lin@gmail.com> Cc: Syed Mohammed Khasim <x0khasim@ti.com> Cc: Grazvydas Ignotas <notasas@gmail.com> Cc: Steve Sakoman <steve@sakoman.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
- May 26, 2011
-
-
Lesly A M authored
Modifying the macro name Main_Ref to all caps(MAIN_REF). Suggested by Nishanth Menon <nm@ti.com> Signed-off-by:
Lesly A M <leslyam@ti.com> Cc: Nishanth Menon <nm@ti.com> Cc: David Derrick <dderrick@ti.com> Signed-off-by:
Samuel Ortiz <sameo@linux.intel.com>
-
- May 23, 2011
-
-
Russell King authored
Rather than having each platform class provide a mach/smp.h header for smp_cross_call(), arrange for them to register the function with the core ARM SMP code instead. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- May 20, 2011
-
-
Sanjeev Premi authored
It shows up on the console despite using "silent" in the bootargs, and it's really just noise in the boot log since PM init is always called. Signed-off-by:
Sanjeev Premi <premi@ti.com> Cc: jhnikula@gmail.com [khilman@ti.com: minor changelog edits] Signed-off-by:
Kevin Hilman <khilman@ti.com>
-
Jean Pihet authored
The achievable power modes of the power domains in cpuidle depends on the system wide 'enable_off_mode' knob in debugfs. Upon changing enable_off_mode, do not change the C-states 'valid' field but instead dynamically restrict the power modes when entering idle. The C-states 'valid' field is just used to enable/disable some C-states at init and shall not be changed later on. Signed-off-by:
Jean Pihet <j-pihet@ti.com> Signed-off-by:
Kevin Hilman <khilman@ti.com>
-
Jean Pihet authored
- fix single and multi-lines comments format - removed the omap3_idle_bm_check function and replaced the test in omap3_enter_idle_bm by the equivalent code - re-organize omap3_enter_idle_bm code path, assign local variables only when needed - reword some comments Signed-off-by:
Jean Pihet <j-pihet@ti.com> Signed-off-by:
Kevin Hilman <khilman@ti.com>
-
Jean Pihet authored
The current implementation defines an internal structure and a C-states array. Using those structures is redundant to the structs used by the cpuidle framework. This patch provides a clean-up of the internal struct, removes the internal C-states array, stores the data using the existing cpuidle per C-state struct and registers the mach specific data to cpuidle C-state driver_data (accessed using cpuidle_[gs]et_statedata). Also removes unused macros, fields and code and compacts the repeating code using an inline helper function. The result is more compact and more readable code as well as reduced data RAM usage. Also retain C1 as the only always valid C-state and system safe state. Signed-off-by:
Jean Pihet <j-pihet@ti.com> Signed-off-by:
Kevin Hilman <khilman@ti.com>
-
Jean Pihet authored
- sleep_latency and wake_latency are not used, replace them by exit_latency which is used by cpuidle. exit_latency simply is the sum of sleep_latency and wake_latency, - replace threshold by target_residency, - changed the OMAP3 specific cpuidle code accordingly, - changed the OMAP3 board code accordingly. Signed-off-by:
Jean Pihet <j-pihet@ti.com> Signed-off-by:
Kevin Hilman <khilman@ti.com>
-
Jean Pihet authored
The cpuidle states settings can be overriden by some board- specific settings, by calling omap3_pm_init_cpuidle. Remove the 3430SDP specific states settings registration since the figures are identical to the default ones (in cpuidle34xx.c). Signed-off-by:
Jean Pihet <j-pihet@ti.com> Signed-off-by:
Kevin Hilman <khilman@ti.com>
-
- May 18, 2011
-
-
Hema HK authored
Powerdown the internal UTMI PHY when USB is not enabled. This will allow the OMAP core domain to transition to retention and offmode. Signed-off-by:
Hema HK <hemahk@ti.com> Cc: Felipe Balbi <balbi@ti.com> Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Hema HK authored
omap4430_phy_init() function can be called with no device pointer, to powerdown the PHY during board init when USB is disabled. Fix the function accordingly. Signed-off-by:
Hema HK <hemahk@ti.com> Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
am35x_musb_set_mode() was redefined. Fix it. Reported-by:
Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Hema HK authored
Powerdown the internal PHY during board init for OMAP44xx. So that when musb is disabled core transition to retention/off is not blocked. Signed-off-by:
Hema HK <hemahk@ti.com> Cc: Tony Lindgren <tony@atomide.com> Cc: Paul Walmsley <paul@pwsan.com> Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
- May 17, 2011
-
-
Mike Rapoport authored
since it is merged into board-igep0020.c Signed-off-by:
Mike Rapoport <mike@compulab.co.il> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Mike Rapoport authored
Add IGEP3 machine support to board-igep0020 Signed-off-by:
Mike Rapoport <mike@compulab.co.il> Acked-by:
Enric Balletbo i Serra <eballetbo@iseebcn.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Mike Rapoport authored
to allow easy addition of IGEP3 Signed-off-by:
Mike Rapoport <mike@compulab.co.il> Acked-by:
Enric Balletbo i Serra <eballetbo@iseebcn.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-
Mike Rapoport authored
IGEP2 and IGEP3 boards are very similar and can be merged into one file. Start refactoring with changing igep2 to igep where applicable. Signed-off-by:
Mike Rapoport <mike@compulab.co.il> Acked-by:
Enric Balletbo i Serra <eballetbo@iseebcn.com> Signed-off-by:
Tony Lindgren <tony@atomide.com>
-