aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-05-09ARM: dts: Add GPIO entry for UART in exynos5250Michael O'Reilly
Signed-off-by: Michael O'Reilly <m@dgmo.org> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
2013-05-09serial: Samsung: Configure GPIOsMichael O'Reilly
Signed-off-by: Michael O'Reilly <m@dgmo.org> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
2013-05-09serial: Samsung: Release interrupts on shutdownMichael O'Reilly
The serial driver never releases the interrupt on shutdown, but it does repeatedly acquire it on startup. $ cat /proc/interrupts 85: 69 0 GIC exynos4210-uart.2, exynos4210-uart.2, exynos4210-uart.2 Signed-off-by: Michael O'Reilly <m@dgmo.org> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
2013-05-09ARM: arch_timer: Silence debug preempt warningsStephen Boyd
Hot-plugging with CONFIG_DEBUG_PREEMPT=y on a device with arm architected timers causes a slew of "using smp_processor_id() in preemptible" warnings: BUG: using smp_processor_id() in preemptible [00000000] code: sh/111 caller is arch_timer_cpu_notify+0x14/0xc8 This happens because sometimes the cpu notifier, arch_timer_cpu_notify(), is called in preemptible context and other times in non-preemptible context but we use this_cpu_ptr() to retrieve the clockevent in all cases. We're only going to actually use the pointer in non-preemptible context though, so push the this_cpu_ptr() access down into the cases to force the checks to occur only in non-preemptible contexts. Cc: Mark Rutland <mark.rutland@arm.com> Cc: Marc Zyngier <Marc.Zyngier@arm.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2013-05-09ARM: EXYNOS: Set arch_sys_counter as default clocksourceTushar Behera
The Exynos 5250 includes an architected timer which is on core and very cheap to read. Enabling the architected timer can lead to a significant performance improvement for timer sensitive workloads such as TCP/IP. It turns out that both arch_sys_counter and mct-frc have a rating of 400. On bootup, arch_sys_counter is initialized first then the clocksource changes to mct-frc when that initialises later on. If the rating of mct-frc is reduced below 400, then arch_sys_counter becomes the default. Suggested-by: Steve Capper <steve.capper@linaro.org> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
2013-05-09ARM: Set FORCE_MAX_ZONEORDER to 14 for Arndale boardTushar Behera
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
2013-05-09ARM: SoC: Add virtual GIC interface DT bindings to exynos5250Christoffer Dall
The exynoes5250 chips have a fully Cortex-A15 compatible GIC v2.0 with virtualization support embedded in them. Let KVM use these features. Signed-off-by: Christoffer Dall <c.dall@virtualopensystems.com> Signed-off-by: Riku Voipio <riku.voipio@linaro.org> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
2013-05-09ARM: SoC: Add arch timer to exynos5250Christoffer Dall
Add the arch timer node in the DT and initialize and register the arch timers in the main exynos timer code. Signed-off-by: Christoffer Dall <c.dall@virtualopensystems.com> Signed-off-by: Riku Voipio <riku.voipio@linaro.org> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
2013-05-09ARM: OF: update coherent_dma_maskSubash Patel
This patch is tested in ARM:exynos5250 with LPAE enabled. The coherent_dma_mask needs to be defined to DMA_BIT_MASK(64) as dma-mapping API's check it against 64-bit mask. Signed-off-by: Subash Patel <subash.rp@samsung.com>
2013-05-09drm/exynos: Update dma_bit_mask to 64-bitsSumit Semwal
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
2013-05-09ARM: EXYNOS: Update dma_bit_mask to 64-bits for dwc3Subash Patel
This patch adds the coherent_dma_mask to usb/dwc3 node. This is needed as check is performed before allocating any coherent buffer in the dma-mapping framework. Signed-off-by: Subash Patel <subash.rp@samsung.com>
2013-05-09ARM: EXYNOS: Update dma_bit_mask to 64-bits for dw_mmcSubash Patel
This patch adds the coherent_dma_mask for the dw_mmc device. This is needed as check is now done in dma-mapping framework before allocating the buffers. Signed-off-by: Subash Patel <subash.rp@samsung.com>
2013-05-09ARM: EXYNOS: Use wfi macro in platform_do_lowpowerTushar Behera
As per commit b3377d186572 ("ARM: 7064/1: vexpress: Use wfi macro in platform_do_lowpower."), wfi macro should be used instead of the hardcoded WFI instruction. This fixes following oops with a kernel compiled in Thumb-2 mode. $ reboot reboot Disabling non-boot CPUs ... IRQ153 no longer affine to CPU1 CPU1: shutdown Internal error: Oops - undefined instruction: 0 [#1] PREEMPT SMP THUMB2 Modules linked in: CPU: 1 Not tainted (3.9.0-rc1-00015-gce76372 #1) PC is at 0xc065858e LR is at exynos_cpu_die+0x53/0xc0 Tested on EXYNOS5250 based Arndale board. Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
2013-05-09asix: Add support to read MAC address from cmdlineTushar Behera
Inherited from arch/mips/rb532/devices.c Example: bootargs="mac=00:40:5c:26:0a:5b" Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
2013-05-09ARM: EXYNOS4: Add support for rtc wakeupInderpal Singh
Set the gic arch extension callback to support rtc wakeup. Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
2013-05-09ARM: EXYNOS: Fix for suspend/resume hangInderpal Singh
While resuming from suspend, the system hangs due to some spurious uart interrupts. This patch temporarily masks uart interrupts during reset_port to solve this problem. Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
2013-05-09backlight: Add shutdown hook in pwm_blInderpal Singh
Add shutdown hook so that LCD backlight can be turned off during system halt. Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
2013-05-09[CPUFREQ] EXYNOS: Add reboot notifier in cpufreq driverInderpal Singh
Because of the mismatch between frequencies set by u-boot and the kernel, the soft reboot used to hang. With reboot notifier, before rebooting, this patch switches to same frequency set by the uboot at boot time. Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
2013-05-09[CPUFREQ] EXYNOS: Show list of available frequenciesInderpal Singh
This patch enables 'scaling_available_frequencies' attribute showing list of available frequencies. Signed-off-by: Donggeun Kim <dg77.kim@samsung.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: KyungMin Park <kyungmin.park@samsung.com> Signed-off-by: Dave Jones <davej@redhat.com> [inderpal.singh@linaro.org: Updated as per common cpufreq driver] Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
2013-05-09kbuild: Add support to extract information about current git commit HEADTushar Behera
Many cases it is difficult to get to the exact commit at which the current kernel is compiled. Adding an additional print statement to explicitly tell the current HEAD. Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
2013-05-09ARM: dts: Add disable-wp for card slot on exynos5250-arndaleSachin Kamat
This is required to keep the existing functionality of having no write protect pin on Arndale board. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
2013-05-09linaro/configs: arndale: Set CONFIG_PREEMPT_NONETushar Behera
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
2013-05-09linaro/configs: arndale: Remove default/unnecessary optionsTushar Behera
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
2013-05-09linaro/configs: arndale: Use 2G/2G memory splitTushar Behera
Arndale has 2GB of RAM. Using 1G/3G memory split, half of the board's RAM ends up being "highmem", severely impacting system performance. It also means that kernel code must explicitly manage mapping in/out of any code/data resident above physical address 0x80000000. Using 2G/2G memory split is the optimum configuration. Suggested-by: Leif Lindholm <leif.lindholm@linaro.org> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
2013-05-09CONFIG: ARNDALE: ANDROID: Initial config fileFahad Kunnathadi
Added initial config file for Android build. Signed-off-by: Fahad Kunnathadi <fahad.k@linaro.org> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
2013-05-09linaro/configs: arndale: Enable runtime PM supportTushar Behera
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
2013-05-09ARM: dts: exynos5250-arndale: Add MFC codec supportSachin Kamat
Added MFC codec node to Arndale DT file. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
2013-05-09ARM: dts: exynos5250-arndale: Add vmmc regulator supportSachin Kamat
Added vmmc regulator node to Arndale DT file. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
2013-05-09ARM: dts: exynos5250-arndale: Add PMIC node entryAmit Daniel Kachhap
Added S5M8767 PMIC DT nodes for Arndale board. Only the used LDO's/BUCK are defined here. Also the nodes describe the default/reset state LDO's and no power mangement tuning is implemented. The usage desription can be found in s5m8767 device tree binding documentation. Cc: Tushar Behera <tushar.behera@linaro.org> Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
2013-05-09ARM: dts: exynos5250-arndale: Add node entry for gpio-buttonsTushar Behera
Added GPIO buttons DT node to Arndale board file. Signed-off-by: Tushar Behera <tushar.behera@linaro.org> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
2013-05-09ARM: DTS: exynos5250-arndale: Add initial board support fileGirish K S
Arndale is a low cost board based on the Samsung Exynos5250 SoC. This patch adds initial device tree support for this board. Signed-off-by: Girish K S <ks.giri@samsung.com> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
2013-05-08Merge branch 'tracking-linux-3.9.y' into merge-linux-linaro-core-trackingAndrey Konovalov
2013-05-08Merge branch 'tracking-linaro-android-3.9-experimental-fixes' into ↵Andrey Konovalov
merge-linux-linaro-core-tracking
2013-05-08Merge branch 'tracking-llct-v3.9-misc-fixes' into ↵Andrey Konovalov
merge-linux-linaro-core-tracking
2013-05-08Merge branch 'tracking-linaro-builddeb-tweaks' into ↵Andrey Konovalov
merge-linux-linaro-core-tracking
2013-05-08Automatically merging tracking-ste-tb-ethernet into ↵Andrey Konovalov
merge-linux-linaro-core-tracking Conflicting files:
2013-05-08Merge branch 'tracking-armdroid-binder' into merge-linux-linaro-core-trackingAndrey Konovalov
2013-05-08Merge branch 'tracking-armdroid-ashmem' into merge-linux-linaro-core-trackingAndrey Konovalov
2013-05-08Automatically merging tracking-irqchip-reorg into ↵Andrey Konovalov
merge-linux-linaro-core-tracking Conflicting files:
2013-05-08Merge branch 'tracking-numa' into merge-linux-linaro-core-trackingAndrey Konovalov
2013-05-08Merge branch 'tracking-hugetlb' into merge-linux-linaro-core-trackingAndrey Konovalov
2013-05-08Merge branch 'tracking-kvm-arm-configs' into merge-linux-linaro-core-trackingAndrey Konovalov
2013-05-08Merge branch 'tracking-big-LITTLE-MP-master-v16' into ↵Andrey Konovalov
merge-linux-linaro-core-tracking
2013-05-08Merge branch 'tracking-gator' into merge-linux-linaro-core-trackingAndrey Konovalov
2013-05-08Merge branch 'tracking-linaro-android-3.9' into merge-linux-linaro-core-trackingAndrey Konovalov
2013-05-08Merge branch 'tracking-basic-board-configs' into ↵Andrey Konovalov
merge-linux-linaro-core-tracking
2013-05-08Merge branch 'tracking-core-configs' into merge-linux-linaro-core-trackingAndrey Konovalov
2013-05-08Revert "ARM: convert build of appended dtb zImage to list of dtbs"Andrey Konovalov
This reverts commit 5e9468632ea81e7d17fc9bd4457acbaffda7b370. Jon Medhurst (Tixy) wrote: > I ended up reverting "ARM: convert build of appended dtb zImage to list > of dtbs" as that breaks building of device-trees, or at least changes > the method in a way I couldn't be bothered to investigate. (Neither > "make dtbs" or "make my-boards.dtb" work with that patch.) Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
2013-05-07Linux 3.9.1Greg Kroah-Hartman
2013-05-07mfd: adp5520: Restore mode bits on resumeLars-Peter Clausen
commit c6cc25fda58da8685ecef3f179adc7b99c8253b2 upstream. The adp5520 unfortunately also clears the BL_EN bit when the nSTNDBY bit is cleared. So we need to make sure to restore it during resume if it was set before suspend. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>