summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2010-09-07omap4: pm: Mask Secure interrupt which gate lowpower statesSantosh Shilimkar
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>
2010-09-07omap4: pm: Fix the cpuidle barriers and restore CPUx stateSantosh Shilimkar
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>
2010-09-07omap4: pm-debug: Fix the pwrdomain clockdomain countersSantosh Shilimkar
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>
2010-09-01omap: panda: fix build break with DSS/HDMI disabledDavid Anders
Fix this build error with CONFIG_OMAP2_DSS_HDMI disabled: Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
2010-09-01omap4: pandaboard: remove unused includesDavid Anders
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>
2010-09-01omap4: pandaboard: code cleanupDavid Anders
clean up various coding format issues Signed-off-by: David Anders <x0132446@ti.com>
2010-09-01OMAP4: board-omap4panda.c: adding leds status1 and status2Ricardo Salveti de Araujo
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>
2010-09-01OMAP4: PandaBoard: EHCI nreset based on board revisionDavid Anders
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>
2010-09-01OMAP4: PandaBoard: add board revision reportingDavid Anders
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>
2010-09-01OMAP4:DSS:HDMI: don't handle DISCONNECT if we've already got a CONNECTRob Clark
(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>
2010-09-01Revert "Fix detection loop issue on some monitors"Sebastien Jan
This reverts commit 560118846ca54b81e6498433e6d4398f628866d2. Signed-off-by: Sebastien Jan <s-jan@ti.com>
2010-09-01OMAP:DSS:HDMI:Patch to dump HDMI registersMythri P K
Signed-off-by: Mythri P K <mythripk@ti.com> checkpatch fixes Signed-off-by: Sebastien Jan <s-jan@ti.com>
2010-09-01omap4: Disable auto gating for PER M3 dividerRajendra Nayak
Disable auto gating for PER M3 divider Signed-off-by: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
2010-09-01omap:iodmm-allow unconditional cache flushHari Kanigeri
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>
2010-09-01omap:iodmm-exclude Tiler buffers from mapped informationHari Kanigeri
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>
2010-09-01Kernel changes for hwmod and omap_device initialization for GPU.Hemant Hariyani
Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
2010-09-01Fix this compile warning when building with CONFIG_OMAP2_DSS_HDMIAnand Gadiyar
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>
2010-09-01Fix this build warning when CONFIG_PANEL_PICO_DLP is disabled:Anand Gadiyar
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>
2010-08-31SDP4430: fix wlan board configSebastien Jan
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>
2010-08-27ARM: stack protector: change the canary value per taskBryan Wu
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>
2010-08-26Update defconfig for panda supportSebastien Jan
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>
2010-08-26Fix detection loop issue on some monitorsDavid Anders
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>
2010-08-26OMAP4:DSS: add generic notifier mechanismRob Clark
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>
2010-08-26OMAP4:DSS:HDMI: cleanup hdmi specific sysfs filesRob Clark
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>
2010-08-26OMAP4: Add back OMAP4 ASoC component devicesMargarita Olaya Cabrera
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>
2010-08-26omap:iodmm-fixes to unmap and general cleanupHari Kanigeri
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>
2010-08-26omap:iommu-load cam register before flushing the entryHari Kanigeri
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>
2010-08-26omap: i2c: Avoid compilation error in case the header is included multiple ↵Subramaniam C.A
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>
2010-08-26OMAP4: devices.c: Aligning display-next vs intgration branchRicardo Perez Olivares
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>
2010-08-26UBUNTU: SAUCE: Load SysLink modules on start-up on OMAP4 devicesLee Jones
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>
2010-08-26omap:iommu-enable user to va supportHari Kanigeri
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>
2010-08-26omap:iommu-add spinlock protection to event list accessAngela Stegmaier
This patch adds spinlock protection to event list accesses in order to avoid list corruption. Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
2010-08-26ARM : OMAP : remoteproc - Removed capability check for start and stop callsSubramaniam C.A
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>
2010-08-26omap:iommu-dmm fixesHari Kanigeri
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>
2010-08-26omap4: fix build without CONFIG_OMAP2_DSSAnand Gadiyar
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>
2010-08-26ARM: HDMI lib: Clean up audio partJorge Eduardo Candelaria
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>
2010-08-26OMAP4: Update defconfig with UNSAFE RESUMEKishore Kadiyala
Enabling CONFIG_MMC_UNSAFE_RESUME. Signed-off-by: Kishore Kadiyala <kishore.kadiyala@ti.com>
2010-08-26Add DEBUG_LL support for PandaDavid Anders
Add support for use of DEBUG_LL for use with PandaBoard. Signed-off-by: David Anders <x0132446@ti.com>
2010-08-26Add HDMI audio for PandaBoardDavid Anders
Add support for HDMI to the PandaBoard machine file. Signed-off-by: David Anders <x0132446@ti.com>
2010-08-26Remove unused BQI configurationDavid Anders
Remove BQI battery support which is not used on the PandaBoard. Signed-off-by: David Anders <x0132446@ti.com>
2010-08-26HDMI not enabled compile fixDavid Anders
Fix compile issue when HDMI is not enabled for PandaBoard. Signed-off-by: David Anders <x0132446@ti.com>
2010-08-26omap:iommu-use platform device for iovmmHari Kanigeri
use platform device instead of omap device for iovmm. Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
2010-08-26OMAP4: board-omap4panda.c: Fix for compilation issueRicardo Perez Olivares
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>
2010-08-26OMAP4: omap_4430sdp_defconfig: Fix to avoid override macrosRicardo Perez Olivares
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>
2010-08-26Enabling VIDEO in OMAP4 defconfigMayuresh Janorkar
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>
2010-08-26Introducing HWMOD in DSS for PandaBoardDavid Anders
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>
2010-08-26omap4: defconfig: enable BT and its dependent componentsRaja-Mani
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>
2010-08-26OMAP4: Fix compilation warnings.Thara Gopinath
This patch fixes the compilation warnings in the voltage driver. Signed-off-by: Thara Gopinath <thara@ti.com>
2010-08-26OMAP: HDMI: Fix audio settings for OMAP4 ES2.0Misael Lopez Cruz
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>
2010-08-26SDP4430: ASoC - Add ASoC audio config support for SDP4430Liam Girdwood
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>