Age | Commit message (Collapse) | Author |
|
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>
|
|
re-align panda board-file with latest kernel updates.
Signed-off-by: Sebastien Jan <s-jan@ti.com>
|
|
File-diff with kernel-omap4 L24.8 branch, and fix differences.
Signed-off-by: Sebastien Jan <s-jan@ti.com>
|
|
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>
|
|
Changes to notify for resource cleanup.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Signed-off-by: Ramesh Gupta G<grgupta@ti.com>
|
|
Changes to heapmemmp for resource cleanup.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
|
|
Changes to sysipc for resource cleanup.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
|
|
Changes to messageq for resource cleanup.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
|
|
Changes to listmp for resource cleanup.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
|
|
Changes to gatemp for resource cleanup.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
|
|
Changes to sharedregion for resource cleanup.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
|
|
Changes to heapbufmp for resource cleanup.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Patch to add suport to build hwspinlock modules
Signed-off-by: Simon Que <sque@ti.com>
|
|
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>
|
|
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>
|
|
uncomment the hwmod part for hwspinlock
Signed-off-by: Simon Que <sque@ti.com>
Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
|
|
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>
|
|
Provide a valid gpio to automatic power on the twl6040
Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
|
|
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>
|
|
This reverts commit 7a17a7b9545caa90db75c03098068506c48789db.
|
|
Aligning .config and defconfig files
Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
Signed-off-by: Sebastien Jan <s-jan@ti.com>
|
|
Use "keyboard_fck" to correctly enable keyboard functional clock
Signed-off-by: Abraham Arce <x0066660@ti.com>
|
|
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>
|
|
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>
|
|
Some TV's dont work when the AVI checksum value is not written but AVI infoframe is enabled , so writing the AVI checksum.
|
|
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Mythri P K <mythripk@ti.com>
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|