summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2010-07-21Dynamic support for ES1.0 and ES2.0Sebastien Jan
Uses run-time tests to activate or not the ES1.0 required ERRATA. Implementation volontarily duplicates critical code to optimize performances impact. This patch can be reverted when ES1.0 support is not required anymore. Signed-off-by: Sebastien Jan <s-jan@ti.com>
2010-07-21Panda board-file upgradesSebastien Jan
re-align panda board-file with latest kernel updates. Signed-off-by: Sebastien Jan <s-jan@ti.com>
2010-07-20Align with kernel-omap4 branchSebastien Jan
File-diff with kernel-omap4 L24.8 branch, and fix differences. Signed-off-by: Sebastien Jan <s-jan@ti.com>
2010-07-20SYSLINK:IPU-PM: change board-4430sdp for regulatorsMiguel Vadillo
Changes to include the cam2pwr as a consumer regulator supply. Signed-off-by: Miguel Vadillo <vadillo@ti.com> Signed-off-by: Juan Gutierrez <jgutierrez@ti.com> Signed-off-by: Paul Hunt <hunt@ti.com>
2010-07-20SYSLINK: ipc- resource cleanup notify changesAngela Stegmaier
Changes to notify for resource cleanup. Signed-off-by: Angela Stegmaier <angelabaker@ti.com> Signed-off-by: Ramesh Gupta G<grgupta@ti.com>
2010-07-20SYSLINK: ipc- resource cleanup heapmemmp changesAngela Stegmaier
Changes to heapmemmp for resource cleanup. Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
2010-07-20SYSLINK: ipc- resource cleanup sysipc changesAngela Stegmaier
Changes to sysipc for resource cleanup. Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
2010-07-20SYSLINK: ipc- resource cleanup messageq changesAngela Stegmaier
Changes to messageq for resource cleanup. Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
2010-07-20SYSLINK: ipc- resource cleanup listmp changesAngela Stegmaier
Changes to listmp for resource cleanup. Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
2010-07-20SYSLINK: ipc- resource cleanup gatemp changesAngela Stegmaier
Changes to gatemp for resource cleanup. Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
2010-07-20SYSLINK: ipc- resource cleanup sharedregion changesAngela Stegmaier
Changes to sharedregion for resource cleanup. Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
2010-07-20SYSLINK: ipc- resource cleanup heapbufmp changesAngela Stegmaier
Changes to heapbufmp for resource cleanup. Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
2010-07-20SYSLINK: ipc- resource cleanup nameserver changesAngela Stegmaier
Changes to the nameserver module to add the resources to the list to be cleaned up when the driver handle is released. Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
2010-07-20SYSLINK: ipc- resource cleanup multiproc changesAngela Stegmaier
Changes to the multiproc module to add setup calls to the list of resources to be cleaned when the driver handle is closed. Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
2010-07-20SYSLINK: ipc- resource cleanup ioctl changesAngela Stegmaier
Added the resource cleanup functionality to the ipc driver module and ioctl so that the ipc components can add to the list their resource which require cleaning. Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
2010-07-20SYSLINK: ipc - adapt gatehwspinlock module to use hwspinlock driverSuman Anna
The gatemp, gatehwspinlock & gatepeterson modules have been enhanced to support reserved resources for each gate_type. This change is done as part of the gatehwspinlock adaptation to the open-source hwspinlock driver code. gatemp module was managing all the spinlocks previously, and with this patch, gatemp module will only control and manage a contiguous block of spinlocks from 4 to 31. The h/w spinlocks 0 to 3 will be reserved for usage by I2C driver. All the spinlocks except the reserved spinlocks are acquired upfront in the gatehwspinlock_setup function, instead of requesting it during create time. This ensures the GateMP module has control over these so that BIOS-side functionality can remain the same as before. Signed-off-by: Suman Anna <s-anna@ti.com>
2010-07-20omap:hwspinlocks-ensure the order of registrationHari Kanigeri
Ensure that the hwspinlock driver is registered prior to I2C driver registration since I2C is dependent on hwspinlock. Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
2010-07-20omap:hwspinlock-add build supportSimon Que
Patch to add suport to build hwspinlock modules Signed-off-by: Simon Que <sque@ti.com>
2010-07-20omap:hwspinlock-added hwspinlock driverSimon Que
Created driver for OMAP hardware spinlock. This driver supports: - Reserved spinlocks for internal use - Dynamic allocation of unreserved locks - Lock, unlock, and trylock functions, with or without disabling irqs/preempt - Registered as a platform device driver The device initialization uses hwmod to configure the devices. One device will be created for each IP. It will pass spinlock register offset info to the driver. The device initialization file is: arch/arm/mach-omap2/hwspinlocks.c The driver takes in register offset info passed in device initialization. It uses hwmod to obtain the base address of the hardware spinlock module. Then it reads info from the registers. The function hwspinlock_probe() initializes the array of spinlock structures, each containing a spinlock register address calculated from the base address and lock offsets. The device driver file is: arch/arm/plat-omap/hwspinlock.c Here's an API summary: int hwspinlock_lock(struct hwspinlock *); Attempt to lock a hardware spinlock. If it is busy, the function will keep trying until it succeeds. This is a blocking function. int hwspinlock_trylock(struct hwspinlock *); Attempt to lock a hardware spinlock. If it is busy, the function will return BUSY. If it succeeds in locking, the function will return ACQUIRED. This is a non-blocking function. int hwspinlock_unlock(struct hwspinlock *); Unlock a hardware spinlock. struct hwspinlock *hwspinlock_request(void); Provides for "dynamic allocation" of a hardware spinlock. It returns the handle to the next available (unallocated) spinlock. If no more locks are available, it returns NULL. struct hwspinlock *hwspinlock_request_specific(unsigned int); Provides for "static allocation" of a specific hardware spinlock. This allows the system to use a specific spinlock, identified by an ID. If the ID is invalid or if the desired lock is already allocated, this will return NULL. Otherwise it returns a spinlock handle. int hwspinlock_free(struct hwspinlock *); Frees an allocated hardware spinlock (either reserved or unreserved). Signed-off-by: Simon Que <sque@ti.com> Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
2010-07-20omap:hwspinlock-define HWSPINLOCK base addressSimon Que
Add HWSPINLCOK base address information in omap44xx.h Signed-off-by: Simon Que <sque@ti.com> Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
2010-07-20omap:hwmod-hwspinlock-enableSimon Que
uncomment the hwmod part for hwspinlock Signed-off-by: Simon Que <sque@ti.com> Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
2010-07-20SYSLINK: iommu temp hack set twl to false by defaultHari Kanigeri
With migration to userspace iommu programming, the step to set twl to false was missing. If TWL is not set to false, the TLB miss interrupts wouldn't get generated. This is a temporary hack patch until the TWL is enabled. Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com> Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com>
2010-07-20ARM: OMAP4: Define a valid gpio for twl6040Margarita Olaya Cabrera
Provide a valid gpio to automatic power on the twl6040 Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
2010-07-20OMAP4: Clocks: Enable keyboard funtional clockAbraham Arce
Temporal fix to allow keyboard functional clock to be enabled by default Proper fix is let the keyboard driver enable clocks as required Signed-off-by: Abraham Arce <x0066660@ti.com>
2010-07-20Revert "OMAP4: HWMOD: Use proper keyboard clock name"Ricardo Perez Olivares
This reverts commit 7a17a7b9545caa90db75c03098068506c48789db.
2010-07-20OMAP4: omap_4430sdp_defconfig: Aligning defconfigRicardo Perez Olivares
Aligning .config and defconfig files Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com> Signed-off-by: Sebastien Jan <s-jan@ti.com>
2010-07-20OMAP4: HWMOD: Use proper keyboard clock nameAbraham Arce
Use "keyboard_fck" to correctly enable keyboard functional clock Signed-off-by: Abraham Arce <x0066660@ti.com>
2010-07-20ARM: flush_ptrace_access: invalidate all I-cachesWill Deacon
copy_to_user_page can be used by access_process_vm to write to an executable page of a process using a mapping acquired by kmap. For systems with I-cache aliasing, flushing the I-cache using the Kernel mapping may leave stale data in the I-cache if the user mapping is of a different colour. This patch replaces the coherent_kern_range call in flush_ptrace_access with a D-cache flush followed by a system-wide I-cache invalidation. This is required on all systems where the size of a way in the I-cache is larger than PAGE_SIZE. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
2010-07-20ARM: errata: TLBIASIDIS and TLBIMVAIS operations can broadcast a faulty ASIDWill Deacon
On versions of the Cortex-A9 prior to r2p0, performing TLB invalidations by ASID match can result in the incorrect ASID being broadcast to other CPUs. As a consequence of this, the targetted TLB entries are not invalidated across the system. This workaround changes the TLB flushing routines to invalidate entries regardless of the ASID. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
2010-07-20OMAP4:DSS Add checksum when writing AVI infoframe for HDMIMythri P K
Some TV's dont work when the AVI checksum value is not written but AVI infoframe is enabled , so writing the AVI checksum.
2010-07-20Update the keypad name as per the name in the hwmod databaseShubhrajyoti D
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
2010-07-20omap4: dmtimer: allow multiple clock sourceTarun Kanti DebBarma
This patch supports different clock sources for omap4 dmtimers. Specifically, dmtimers[5,6,7,8] have syc_clk_div_ck as parent clock, while dmtimers[1,2,3,4,9,10,11,12] have sys_clkin_ck as the parent clock. Tested on OMAp4430 SDP. Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@ti.com>
2010-07-20add timer32 driver interface for userspaceRob Clark
The 32ksync counter is useful to use for timestamping, and for other cases where an aligned timestamp across the various cores on OMAP is required. Signed-off-by: Rob Clark <rob@ti.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
2010-07-20arm: omap1/2/3/4: convert clocksource to a platform_driverFelipe Balbi
Convert the omap32k clocksource driver into a platform_driver and while at that, also remove the ifdeferry around the code. Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> Conflicts: arch/arm/mach-omap2/devices.c Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Sebastien Jan <s-jan@ti.com>
2010-07-20OMAP4: PM: Update PM defconfigRajendra Nayak
Syslink and remoteproc drivers need to be disabled for now, as they are not completely adapted to PM and hence cause issues. Signed-off-by: Rajendra Nayak <rnayak@ti.com>
2010-07-20ASoC: AESS: Move PM registration from codec driverJorge Eduardo Candelaria
PM registration should not be done inside the driver code. Move it to the corresponding file. Signed-off-by: Jorge Eduardo Candelaria <jorge.candelaria@ti.com>
2010-07-20omap4: clocks: Keep GPT clock enabled all the timeSantosh Shilimkar
Since the current clock framework code doesn't wait on idlest, the registers can gets accessed before the clock is being enabled and stable This leads to crashesh. One of the crash seen is with 1 GHz MPU speed Also reduce the boot noise by coverting WARN to printk Signed-off-by: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
2010-07-20OMAP4:defconfig:Enable uInput support for BT AVRCP.Raja-Mani
Bluetooth AVRCP feature requires uInput support to be enabled. So that, Bluetooth daemon can send AVRCP commands (Play,Pause,Next,etc) to music player app. Signed-off-by: Raja-Mani <x0102026@ti.com>
2010-07-20OMAP4:defconfig: Enable Bluetooth and dependent componentsRaja-Mani
Enables Bluetooth, shared transport drivers(ST,BT,FM), kernel space download firmware support, V4L2,ALSA modules in omap_4430sdp_defconfig file. Signed-off-by: Raja-Mani <x0102026@ti.com> Signed-off-by: Sebastien Jan <s-jan@ti.com>
2010-07-20Remove divider ratio setting in the HDMI_WP_VIDEO_SIZE registerMythri P K
Signed-off-by: Mythri P K <mythripk@ti.com>
2010-07-20OMAP4:DSS:HDMI:Board file change to correct setting for HDMIMythri P K
2010-07-20omap:iommu-update the device clock namesHari Kanigeri
The clock names for ducati and tesla changed to ipu and iva in clock44x_data.c. This patch updates the change in clock names in iommu module. Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
2010-07-20SYSLINK: IOMMU - Patch to disable CAP_SYS_ADMIN check for iommu driverSubramaniam C.A
This patch disables the check done in iommu for CAP_SYS_ADMIN privileges. Also fixed a checkpatch error. Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com>
2010-07-20omap: iommu- fix issues when building as modulesAngela Stegmaier
The function iommu_get_plat_data_size is used outside of the iommu and needs to be exported when building as modules. Also, the omap_iommu_class is created in the module init in iommu.c but isn't destroyed in the module exit which prevents the ability to repeatedly load and unload the module. These issues are fixed in this patch. Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
2010-07-20SYSLINK: ipc - Make syslink loadable modules for SysLink 2.0Angela Stegmaier
In order to make SysLink into loadable/unloadable modules, the notify, notify_ducatidriver, and syslink_ipc modules were combined into one module. This needed to be done because of the circular dependencies that exist between the three modules. Also, the platform_mem file had to be moved to its own module. There are corresponding user-space changes needed with this patch. Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
2010-07-20SYSLINK:IPU-PM: include the ipu_pm in the ipc processMiguel Vadillo
Change to call the attach/detach of the ipu_pm and also read the setup_ipu_pm flag. The setup_ipu_pm flag is added to decide wether to create ipu_pm handle or not based on the configuration passed by the slave processor. Signed-off-by: Miguel Vadillo <vadillo@ti.com> Signed-off-by: Juan Gutierrez <jgutierrez@ti.com> Signed-off-by: Paul Hunt <hunt@ti.com>
2010-07-20ARM:OMAP:remoteproc - Patch to disable CAP_SYS_ADMIN checkSubramaniam C.A
This patch disables the check done in remote proc for CAP_SYS_ADMIN privileges. With the check in place, user space components without root permissions cannot issue Proc_Start() and Proc_Stop() ioctl. Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com>
2010-07-20IOMMU remove clock functions from iommu moduleRamesh Gupta Guntha
This patch removes the clk_enable/disable functions for iommu functions, module auto idle should take care of this. Signed-off-by: Ramesh Gupta G<grgupta@ti.com>
2010-07-20SYSLINK:PROC-fix the assert sequence stepsHari Kanigeri
Assert the bits by doing a or operation with the control register. Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com> Signed-off-by: Ramesh Gupta <grgupta@ti.com>
2010-07-20omap:iommu-char driver interface for tlb entriesHari Kanigeri
This patch provides char driver interface to IOMMU to program tlb entries directly from user space. Todo: plug the reset mechanism as part of iommu_get function. Signed-off-by: Hari Kanigeri <h-kangieri2@ti.com>