Age | Commit message (Collapse) | Author |
|
This patch masks the Secure interrupt at wakeupgen level. This interrupt
is controlled only from secure SW and non-secure SW should be immune to it.
Additinaly the L3 error interupts are masked since they are gating the
lowpower states. This hack will be removed once the L3 error-handling
is in place
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
|
|
This patch fixes two issues.
1. Barriers in the cpudile path
2. Restoration of CPUx state, to avoid accidental transitions
of CPUx power domain to low power states while executing
WFI outside the idle thread. Secure software and hotplog
path are examples of this problems
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
|
|
This patch fixes the lopw power powerdomain, clockdomain counters
One can mount the debug fs and check the low-power state
e.g
$cat /proc/sys/debug/pm_debug/count | grep mpu
$mpu_pwrdm (ON),OFF:87186,RET:2605909,INA:0,ON:2693096,RET-LOGIC-OFF:2605909
Additionaly MPU OFF is programmed to OFF instead of RET in suspend
path
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
|
|
Fix this build error with CONFIG_OMAP2_DSS_HDMI disabled:
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
|
|
various includes were left from the original based of the 4430sdp.
remove these for cleaner board file.
Signed-off-by: David Anders <x0132446@ti.com>
|
|
clean up various coding format issues
Signed-off-by: David Anders <x0132446@ti.com>
|
|
At Pandaboard we have 2 status leds, so adding them with similar usage as
we have for Beagleboard (heartbeat and mmc0).
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
|
|
Add support to determine which GPIO to use for HUB_NRESET based on
the board revision of the PandaBoard.
Signed-off-by: David Anders <x0132446@ti.com>
|
|
Add initial support for determining the board revision of the
PandaBoard and reports the version on boot. This will assist in
determining which board is being used when providing techincal
support. The board revision will also be used to determine which
GPIO and other configuration changes are needed between different
hardware revisions of the PandaBoard.
Signed-off-by: David Anders <x0132446@ti.com>
|
|
(renamed from:
RFC: don't handle DISCONNECT if we've already got a CONNECT)
Change the irq status to be a bitmask, so multiple irq's can be
handled at one time in work-queue function. This avoids handling
a disconnect if a connect already comes by the time the work
queue function runs.
Also, avoid powering off PHY/PLL to avoid getting inconsistant
connect/disconnect interrupts and inconsistant HPD status.
Signed-off-by: Rob Clark <rob@ti.com>
|
|
This reverts commit 560118846ca54b81e6498433e6d4398f628866d2.
Signed-off-by: Sebastien Jan <s-jan@ti.com>
|
|
Signed-off-by: Mythri P K <mythripk@ti.com>
checkpatch fixes
Signed-off-by: Sebastien Jan <s-jan@ti.com>
|
|
Disable auto gating for PER M3 divider
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
|
|
This patch reverts back Russell King's patch to do the userspace
buffer cache flush. This allows unconditional cache operations and this
patch is considered as a hack patch until the new API is alinged with MM
team
Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
|
|
Exclude Tiler buffers from getting added to runtime mapped information
since they are already pre-mapped in TLB.
By including them in runtime leads to MMU fault during the process
shutdown.
Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
|
|
Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
|
|
disabled.
CC arch/arm/mach-omap2/board-4430sdp.o
arch/arm/mach-omap2/board-4430sdp.c:459: warning: 'sdp4430_hdmi_device' defined but not used
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Cc: Mythri P K <mythripk@ti.com>
|
|
CC arch/arm/mach-omap2/board-4430sdp.o
arch/arm/mach-omap2/board-4430sdp.c:506: warning: 'sdp4430_picoDLP_device' defined but not used
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
CC: Mythri P K <mythripk@ti.com>
CC: David Anders <x0132446@ti.com>
|
|
Kernel crashes at board init time with TIWLAN_SDIO activated.
This is caused by a wrong memory access.
Signed-off-by: Sebastien Jan <s-jan@ti.com>
|
|
A new random value for the canary is stored in the task struct whenever
a new task is forked. This is meant to allow for different canary values
per task. On ARM, GCC expects the canary value to be found in a global
variable called __stack_chk_guard. So this variable has to be updated
with the value stored in the task struct whenever a task switch occurs.
Because the variable GCC expects is global, this cannot work on SMP
unfortunately. So, on SMP, the same initial canary value is kept
throughout, making this feature a bit less effective although it is still
useful.
One way to overcome this GCC limitation would be to locate the
__stack_chk_guard variable into a memory page of its own for each CPU,
and then use TLB locking to have each CPU see its own page at the same
virtual address for each of them.
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
(cherry picked from commit df0698be14c6683606d5df2d83e3ae40f85ed0d9
bryan.wu@canonical.com: modified the code to make it apply to ti-omap4)
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
|
|
Updates to add panda features support:
- Deactivate power management
- enable EHCI USB stack
- enable smsc95xx driver
- enable IKCONFIG
- increase default VRAM size to 16M
Signed-off-by: Sebastien Jan <s-jan@ti.com>
|
|
Fixes a detection loop with some displays supporting multiple
interfaces (ie hdmi, dvi, vga).
Note that this patch is temporary. It can be reverted when a smart
solution will be available as a replacement.
Signed-off-by: David Anders <x0132446@ti.com>
Signed-off-by: Sebastien Jan <s-jan@ti.com>
|
|
A callback can be registered by the dssdev client in order to be
notified of resolution changes, for example an external monitor
that is hot-plugged.
Multiple clients can now register for notification from one
dssdev, and the notification mechanism can be extended in the
future to add other events.
Note that this patch supersedes the "OMAP4:DSS: add callback to notify
client of resolution change" patch.
Signed-off-by: Rob Clark <rob@ti.com>
|
|
Note: that this removes the textual parsed output of EDID for
custom_edid_timing, but this code was fundamentally broken (you cannot
use printk() for output when reading a sysfs file).
Signed-off-by: Rob Clark <rob@ti.com>
|
|
The omap4 ASoC devices were removed are result of merge
conflicts
Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
Signed-off-by: Sebastien Jan <s-jan@ti.com>
|
|
Following fixes are handled by this patch.
- Unmapping of buffers
- Pages were allocated on 1K boundary instead of 4K
- Use VM_IO to detect IO buffers (eg: Tiler)
- Page_cache_release calls were missing for unmapping part.
- find_containing_mapping function is extended to check based on
da address as well. This is needed during unmap part
- Cleanup of unused header files in iodmm.c
- Cleanup of unused case to clear PTE entries. PTE entries would get
cleaned during device release
- Added function headers with description
- Uncommented omap_delete_vmm_pool code.
This patch still has a hack code to handle Tiler buffer. Tiler buffer
should be handle dby VM_IO itself and doesn't need to depend on flags.
Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
|
|
The flush_iotlb_page is not loading the cam register before flushing
the cam entry. This causes wrong entry to be flushed out from the TLB, and
if the entry happens to be a locked TLB entry it would lead to MMU faults.
The fix is to load the cam register with the address to be flushed before
flushing the TLB entry.
Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
|
|
times.
Added defines to avoid compliation error.
Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com>
Signed-off-by: Sebastien Jan <s-jan@ti.com>
|
|
Aligning the content of devices.c file under:
arch/arm/mach-omap2/devices.c
This patch ensures that all changes from display-next branch
are included into integration branch.
Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
Signed-off-by: Sebastien Jan <s-jan@ti.com>
|
|
This patch registers the SysLink driver-set as a platform device.
During the registration process a uevent will be fired, allowing
udev to pick it up and load the necessary loadable modules.
Signed-off-by: Lee Jones <lee.jones@canonical.com>
Acked-by: Nicolas Dechesne <n-dechesne@ti.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
|
|
Enabled the support to map the buffer that is passed through
mmap.
Also comment out the vmm delete pool function as this is broken.
Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
|
|
This patch adds spinlock protection to event list accesses in order
to avoid list corruption.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
|
|
The checks enforces that only root gets to perform start and stop ioctls.
This is not desirable for now.
Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com>
|
|
This fixes the following:
1. pgd and pte entries weren't getting flushed out leading to MMU faults.
2. Cache invalidate was setting wrong size parameter to
memory_regain_ownership leading cache invalidate function to fail.
Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
|
|
Fix this build error when CONFIG_OMAP2_DSS is not defined
LD .tmp_vmlinux1
arch/arm/mach-omap2/built-in.o: In function `omap_4430sdp_init':
/home/userdata/a0393673/integ/kernel-omap4/arch/arm/mach-omap2/board-4430sdp.c:1129: undefined reference to `omap_display_init'
make: *** [.tmp_vmlinux1] Error 1
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Cc: Mayuresh Janorkar <mayur@ti.com>
|
|
AUD_PAR_BUSCLK was being rewritten after the correct configuration
had been set. This was causing sync_lost errors in hdmi.
Signed-off-by: Jorge Eduardo Candelaria <jorge.candelaria@ti.com>
|
|
Enabling CONFIG_MMC_UNSAFE_RESUME.
Signed-off-by: Kishore Kadiyala <kishore.kadiyala@ti.com>
|
|
Add support for use of DEBUG_LL for use with PandaBoard.
Signed-off-by: David Anders <x0132446@ti.com>
|
|
Add support for HDMI to the PandaBoard machine file.
Signed-off-by: David Anders <x0132446@ti.com>
|
|
Remove BQI battery support which is not used on the PandaBoard.
Signed-off-by: David Anders <x0132446@ti.com>
|
|
Fix compile issue when HDMI is not enabled for PandaBoard.
Signed-off-by: David Anders <x0132446@ti.com>
|
|
use platform device instead of omap device for iovmm.
Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
|
|
Inside arch/arm/mach-omap2/board-omap4panda.c
there was an undefined &panda_dss which has to be removed
to avoid compilation issue.
For reference:
static struct omap_dss_device *panda_dss_devices[] = {
&panda_hdmi_device,
};
static struct omap_dss_board_info panda_dss_data = {
.num_devices = ARRAY_SIZE(panda_dss_devices),
.devices = panda_dss_devices,
.default_device = &panda_hdmi_device,
};
static struct platform_device *panda_devices[] __initdata = {
&wl127x_device
};
Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
Signed-off-by: Sebastien Jan <s-jan@ti.com>
|
|
This patch fix the following override:
override: reassigning to symbol VIDEO_DEV
override: reassigning to symbol VIDEO_V4L2_COMMON
override: reassigning to symbol VIDEO_ALLOW_V4L1
override: reassigning to symbol VIDEO_V4L1_COMPAT
override: reassigning to symbol VIDEO_MEDIA
override: reassigning to symbol MEDIA_TUNER
override: reassigning to symbol VIDEO_CAPTURE_DRIVERS
override: reassigning to symbol VIDEO_HELPER_CHIPS_AUTO
override: reassigning to symbol VIDEO_IR_I2C
override: reassigning to symbol RADIO_ADAPTERS
Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
Signed-off-by: Sebastien Jan <s-jan@ti.com>
|
|
This patch would add necessary options in OMAP4 defconfig to enable V4L2 by default
Signed-off-by: Mayuresh Janorkar <mayur@ti.com>
Signed-off-by: Sebastien Jan <s-jan@ti.com>
|
|
This patch would make use of HWMOD functions for registration of
DSS inside of the PandaBoard machine file.
Signed-off-by: David Anders <x0132446@ti.com>
Signed-off-by: Sebastien Jan <s-jan@ti.com>
|
|
Enables Bluetooth, shared transport drivers(ST,BT,FM),
user space firmware download support, V4L2 modules,
uinput support in omap_4430sdp_defconfig file.
Signed-off-by: Raja-Mani <x0102026@ti.com>
Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
Signed-off-by: Sebastien Jan <s-jan@ti.com>
|
|
This patch fixes the compilation warnings in
the voltage driver.
Signed-off-by: Thara Gopinath <thara@ti.com>
|
|
For OMAP4 ES2.0, CTS is calculated using following formula:
CTS = pixel_clock * deep_color_factor
The CTS mode should be set to software in order to use calculated
CTS value and Audio Input Data Rate Adjustment should be set to 0.
Change-Id: Ib0d852f96c36f0f4df874e28cdd1d32624e4642a
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: Jorge Eduardo Candelaria <jorge.candelaria@ti.com>
|
|
This adds ASoC config options to the SDP4430 defconfig
FIXME: need to add options to our SDP4430 ASoC Kconfig since defconfigs
are minimal/deprecated now.
Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Jorge Eduardo Candelaria <jorge.candelaria@ti.com>
Signed-off-by: Sebastien Jan <s-jan@ti.com>
|