黄涛 [Mon, 19 Mar 2012 02:07:30 +0000 (10:07 +0800)]
adc: fix kbuild warning
drivers/adc/plat/Kconfig:10:warning: defaults for choice values not supported
黄涛 [Mon, 19 Mar 2012 02:04:04 +0000 (10:04 +0800)]
rk30: devices.c reformatted with Lindent
黄涛 [Fri, 16 Mar 2012 09:55:39 +0000 (17:55 +0800)]
rk30: sdk: reformatted with Lindent
root [Thu, 15 Mar 2012 10:10:23 +0000 (18:10 +0800)]
camera rk30:two cif controls use different ipp mem size.
yxj [Sat, 10 Mar 2012 07:49:28 +0000 (15:49 +0800)]
rk30 fb: use same macro as android to indicate data format
yxj [Wed, 7 Mar 2012 08:00:07 +0000 (16:00 +0800)]
rk30 fb: add interface in ioctl to get sreen resolution
黄涛 [Thu, 15 Mar 2012 08:14:46 +0000 (16:14 +0800)]
rk30: fix fiq support when smp
黄涛 [Thu, 15 Mar 2012 08:08:26 +0000 (16:08 +0800)]
rk: fiq_debugger: support cpu switch when fiq is used
黄涛 [Thu, 15 Mar 2012 08:02:21 +0000 (16:02 +0800)]
rk30: fiq debuger: rk_serial_debug_init use uart virtual address directly, do not double map registers
zhaoyifeng [Wed, 14 Mar 2012 09:06:47 +0000 (17:06 +0800)]
rk nand base compatible with RK29 and RK30.
xbw [Wed, 14 Mar 2012 02:49:22 +0000 (10:49 +0800)]
add the sdmmc module configure
xbw [Wed, 14 Mar 2012 02:34:57 +0000 (10:34 +0800)]
to distribute the code about SDMMC module again, continue with the previous commit
ae2f1851ee9c68f043c249bcadabaaa8af4a8553
lw [Wed, 14 Mar 2012 02:34:56 +0000 (10:34 +0800)]
rk30:add lcd_b101ew05 driver support from rk29
lw [Wed, 14 Mar 2012 02:30:05 +0000 (10:30 +0800)]
rk30:update goodix driver from rk29
root [Wed, 14 Mar 2012 02:12:00 +0000 (10:12 +0800)]
camera rk30 :fix compile erro when CONFIG_VIDEO_RK29 is not set
root [Tue, 13 Mar 2012 09:36:16 +0000 (17:36 +0800)]
camera rk30: modify board configs about camera,use ion for default.
黄涛 [Tue, 13 Mar 2012 08:24:27 +0000 (16:24 +0800)]
rk30: sdk add wm8326 support
xbw [Tue, 13 Mar 2012 03:40:16 +0000 (11:40 +0800)]
add the SDMMC driver into RK30-SDK
xbw [Tue, 13 Mar 2012 03:39:01 +0000 (11:39 +0800)]
modify the error iomux
黄涛 [Mon, 12 Mar 2012 11:16:47 +0000 (19:16 +0800)]
rk30: add cpuidle support
kfx [Mon, 12 Mar 2012 10:48:03 +0000 (18:48 +0800)]
rk30:add ion support
kfx [Mon, 12 Mar 2012 10:19:25 +0000 (18:19 +0800)]
rk30:add adc(saradc) support
root [Mon, 12 Mar 2012 09:11:20 +0000 (17:11 +0800)]
camera rk30:commit v0.2.6,support two cif controls.
hxy [Sat, 10 Mar 2012 07:55:32 +0000 (15:55 +0800)]
add L2 cache controller driver
黄涛 [Fri, 9 Mar 2012 12:37:05 +0000 (20:37 +0800)]
rk30: smp: fix boot_secondary with l2 cache
黄涛 [Fri, 9 Mar 2012 12:32:39 +0000 (20:32 +0800)]
rk30: sdk: defconfig: fpga use uart1 as debug uart
黄涛 [Fri, 9 Mar 2012 12:31:37 +0000 (20:31 +0800)]
rk30: add debug uart port configuration
黄涛 [Fri, 9 Mar 2012 12:06:01 +0000 (20:06 +0800)]
Revert "camera driver v0.2.1 for RK30"
This reverts commit
64df168943b21c448c1333954b23a8e80646f009.
root [Fri, 9 Mar 2012 09:45:12 +0000 (17:45 +0800)]
camera driver v0.2.1 for RK30
lw [Wed, 7 Mar 2012 09:08:38 +0000 (17:08 +0800)]
rk30:add irda code support for sdk
lw [Wed, 7 Mar 2012 07:36:45 +0000 (15:36 +0800)]
rk30:add leds support for sdk
lw [Wed, 7 Mar 2012 07:18:58 +0000 (15:18 +0800)]
rk30:modify backlight enable pin according to sdk
lw [Wed, 7 Mar 2012 06:51:12 +0000 (14:51 +0800)]
rk30:add motor driver support
lw [Wed, 7 Mar 2012 06:26:39 +0000 (14:26 +0800)]
rk30:modify goodix touch screen initialize
lw [Wed, 7 Mar 2012 06:23:45 +0000 (14:23 +0800)]
rk30:add id table for cm3217
lw [Tue, 6 Mar 2012 10:09:00 +0000 (18:09 +0800)]
rk30:add light sensor cm3217 support
yxj [Tue, 6 Mar 2012 07:19:56 +0000 (15:19 +0800)]
rk30 fb:add comment to some key variable
yxj [Mon, 5 Mar 2012 10:18:59 +0000 (18:18 +0800)]
rk30 fb: add yuv support for win1
黄涛 [Tue, 6 Mar 2012 06:19:27 +0000 (14:19 +0800)]
rk30: cpu hotplug: better cpu die
lw [Tue, 6 Mar 2012 03:59:21 +0000 (11:59 +0800)]
rk30:modify goodix touchscreen irq operation
lw [Tue, 6 Mar 2012 03:20:06 +0000 (11:20 +0800)]
move some struct definition to plat
lw [Tue, 6 Mar 2012 03:16:10 +0000 (11:16 +0800)]
rk30:add goodix touch screen support
黄涛 [Mon, 5 Mar 2012 11:02:06 +0000 (19:02 +0800)]
rk30: add basic support for smp
yxj [Mon, 5 Mar 2012 09:58:52 +0000 (17:58 +0800)]
rk30 fb:add yuv support
黄涛 [Fri, 2 Mar 2012 09:34:00 +0000 (17:34 +0800)]
rk30: sdk: update defconfig support FIQ debugger, PM etc
黄涛 [Fri, 2 Mar 2012 08:00:07 +0000 (16:00 +0800)]
rk30: add basic pm support
黄涛 [Fri, 2 Mar 2012 07:56:47 +0000 (15:56 +0800)]
rk: add common memtester support
黄涛 [Fri, 2 Mar 2012 07:53:03 +0000 (15:53 +0800)]
rk: move sram_* functions from pm.c to sram.c
黄涛 [Fri, 2 Mar 2012 07:43:07 +0000 (15:43 +0800)]
rk30: fix for gpio6 support
yxj [Fri, 2 Mar 2012 02:56:37 +0000 (10:56 +0800)]
rk30 lcdc: add open and release interface
fix a wrong register configratoin
zsq [Thu, 1 Mar 2012 07:52:41 +0000 (23:52 -0800)]
some file lost for rga modify
zsq [Thu, 1 Mar 2012 07:41:18 +0000 (23:41 -0800)]
Merge branch 'develop-3.0-rk30' of ssh://10.10.10.29/rk/kernel into develop-3.0-rk30
zsq [Thu, 1 Mar 2012 07:40:35 +0000 (23:40 -0800)]
modify for rga.h independ
lw [Thu, 1 Mar 2012 06:49:35 +0000 (14:49 +0800)]
rk30:add akm8975 support
zsq [Thu, 1 Mar 2012 03:32:53 +0000 (19:32 -0800)]
modify RGA driver some case is valid
lw [Wed, 29 Feb 2012 09:36:39 +0000 (17:36 +0800)]
rk30:modify dma_free_coherent operation for spim
lw [Wed, 29 Feb 2012 09:22:57 +0000 (17:22 +0800)]
rk30:modify dma_alloc_coherent operation for spim
lw [Wed, 29 Feb 2012 08:14:50 +0000 (16:14 +0800)]
rk30:add gyroscope l3d4200d support
黄涛 [Tue, 28 Feb 2012 11:55:29 +0000 (19:55 +0800)]
rk: i2s: fix compile error
黄涛 [Tue, 28 Feb 2012 11:47:54 +0000 (19:47 +0800)]
rk30: fb: fix compile error
黄涛 [Tue, 28 Feb 2012 11:19:37 +0000 (19:19 +0800)]
rk: move early_printk.c from mach-rk29 to plat-rk and add RK_EARLY_PRINTK config
yxj [Tue, 28 Feb 2012 10:23:28 +0000 (18:23 +0800)]
rk30 fb: add interface to show image directly in kernel
add ARGB888 support,enable RB swap
黄涛 [Tue, 28 Feb 2012 09:10:11 +0000 (17:10 +0800)]
rk30: refactor i2s init code
邱建斌 [Tue, 28 Feb 2012 07:57:15 +0000 (15:57 +0800)]
update i2s codec
hhb [Tue, 28 Feb 2012 06:29:31 +0000 (14:29 +0800)]
rk30: debug: add FIQ mode serial debugger
yxj [Mon, 27 Feb 2012 09:54:07 +0000 (17:54 +0800)]
rk30 lcdc:完善rk_fb.c中的相关接口
yxj [Fri, 24 Feb 2012 01:45:58 +0000 (09:45 +0800)]
rk30 fb: 完善 rk_fb_register 框架
黄涛 [Mon, 27 Feb 2012 06:34:30 +0000 (14:34 +0800)]
rk30: clock: add clk_set_rate
黄涛 [Mon, 27 Feb 2012 06:31:27 +0000 (14:31 +0800)]
rk30: add basic support for sdmmc
lw [Sat, 25 Feb 2012 08:19:49 +0000 (16:19 +0800)]
rk30:add tsadc support
kfx [Fri, 24 Feb 2012 09:20:13 +0000 (17:20 +0800)]
update i2c driver: for compile error
黄涛 [Thu, 23 Feb 2012 08:58:16 +0000 (16:58 +0800)]
rk29: fix vivante Kconfig, only for rk29
黄涛 [Thu, 23 Feb 2012 08:57:25 +0000 (16:57 +0800)]
rk30: port ipp
黄涛 [Thu, 23 Feb 2012 08:22:42 +0000 (16:22 +0800)]
rk: move rk29-ipp.h from mach-rk29 to plat-rk
黄涛 [Thu, 23 Feb 2012 08:04:40 +0000 (16:04 +0800)]
rk30: add RGA driver
黄涛 [Wed, 22 Feb 2012 11:11:54 +0000 (19:11 +0800)]
rk: board.h: revert rk29fb_info name changed by yxj
黄涛 [Wed, 22 Feb 2012 08:06:07 +0000 (16:06 +0800)]
rk30: refactor code
黄涛 [Wed, 22 Feb 2012 06:54:22 +0000 (14:54 +0800)]
cpufreq: introduce hotplug governor
黄涛 [Wed, 22 Feb 2012 06:49:20 +0000 (14:49 +0800)]
cpufreq: introduce hotplug governor
port from ti.
yxj [Wed, 22 Feb 2012 06:39:17 +0000 (14:39 +0800)]
Merge branch 'develop-3.0-rk30' of ssh://10.10.10.29/rk/kernel into develop-3.0-rk30
yxj [Wed, 22 Feb 2012 06:37:53 +0000 (14:37 +0800)]
rk30 fb:base version ,can show linux boot logo
Marc Zyngier [Fri, 20 Jan 2012 11:24:47 +0000 (12:24 +0100)]
ARM: 7297/1: smp_twd: make sure timer is stopped before registering it
On secondary CPUs, the Timer Control Register is not reset
to a sane value before the timer is registered, and the TRM
doesn't seem to indicate any reset value either. In some cases,
the kernel will take an interrupt too early, depending on what
junk was present in the registers at reset time.
The fix is to set the Timer Control Register to 0 before
registering the clock_event_device and enabling the interrupt.
Problem seen on VE (Cortex A5) and Tegra.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Will Deacon [Wed, 20 Jul 2011 13:18:46 +0000 (14:18 +0100)]
ARM: twd: register clockevents device before enabling PPI
The smp_twd clockevents driver currently enables the local timer PPI
before the clockevents device is registered. This can lead to a kernel
panic if a spurious timer interrupt is generated before registration
has completed since the kernel will treat it as an IPI timer.
This patch moves the clockevents device registration before the IRQ
unmasking so that we can always handle timer interrupts once they can
occur.
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Colin Cross [Sat, 29 Oct 2011 21:06:07 +0000 (14:06 -0700)]
ARM: smp_twd: use clockevents_update_freq to update frequency
clockevents_reconfigure was an older api that doesn't handle
updating the max time between ticks when the frequency changes.
Under some conditions, the boot value of max_delta_ns scaled
by the mult/shift values for the current frequency can result
in a value of 0x200000004 selected as the number of cycles to
program for a long tick, which gets wrapped to 0x4.
Also switch to the matching clockevents_config_and_register
function to register the clockevent, which handles converting
the min/max ticks to ns during init.
Change-Id: I6ca659c309e7bb031cdb1954767b5aa7a022ff44
Signed-off-by: Colin Cross <ccross@android.com>
Colin Cross [Mon, 16 May 2011 23:21:54 +0000 (16:21 -0700)]
ARM: smp_twd: Reconfigure clockevents after cpufreq change
The localtimer's clock changes with the cpu clock. After a
cpufreq transition, update the clockevent's frequency and
reprogram the next clock event.
Adds a clock called "smp_twd" that is used to determine the
twd frequency, which can also be used at init time to
avoid calibrating the twd frequency.
Signed-off-by: Colin Cross <ccross@android.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Rob Herring <robherring2@gmail.com>
Will Deacon [Fri, 20 May 2011 11:19:58 +0000 (12:19 +0100)]
ARM: mm: fix racy ASID rollover broadcast on SMP platforms
If ASID rollover is detected on a CPU in an SMP system, a synchronous
IPI call is made to force the secondaries to reallocate their current
ASIDs.
There is a problem where a CPU may be interrupted in the cpu_switch_mm
code with the context ID held in r1. After servicing the IPI, the
context ID register will be updated with an ASID from the previous
generation, polluting the TLB for when that ASID becomes valid in the
new generation.
This patch disables interrupts during cpu_switch_mm for SMP systems,
preventing incoming rollover broadcasts from being serviced while the
register state is inconsistent. Additionally, the context resetting code
is modified to call cpu_switch_mm, rather than setting the context ID
register directly, so that the TTBR always agrees with the ASID.
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Colin Cross [Thu, 10 Feb 2011 10:08:32 +0000 (02:08 -0800)]
ARM: vfp: Use cpu pm notifiers to save vfp state
When the cpu is powered down in a low power mode, the vfp
registers may be reset.
This patch uses CPU_PM_ENTER and CPU_PM_EXIT notifiers to save
and restore the cpu's vfp registers.
Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Tested-and-Acked-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Vishwanath BS <vishwanath.bs@ti.com>
Santosh Shilimkar [Sat, 10 Sep 2011 06:00:28 +0000 (11:30 +0530)]
ARM: Enable CPU_PM notifiers on ARM machines.
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-and-Acked-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Vishwanath BS <vishwanath.bs@ti.com>
Colin Cross [Fri, 22 Jul 2011 21:57:09 +0000 (14:57 -0700)]
cpu_pm: call notifiers during suspend
Implements syscore_ops in cpu_pm to call the cpu and
cpu cluster notifiers during suspend and resume,
allowing drivers receiving the notifications to
avoid implementing syscore_ops.
Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Tested-and-Acked-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Vishwanath BS <vishwanath.bs@ti.com>
Colin Cross [Thu, 10 Feb 2011 10:04:45 +0000 (02:04 -0800)]
cpu_pm: Add cpu power management notifiers
During some CPU power modes entered during idle, hotplug and
suspend, peripherals located in the CPU power domain, such as
the GIC, localtimers, and VFP, may be powered down. Add a
notifier chain that allows drivers for those peripherals to
be notified before and after they may be reset.
Notified drivers can include VFP co-processor, interrupt controller
and it's PM extensions, local CPU timers context save/restore which
shouldn't be interrupted. Hence CPU PM event APIs must be called
with interrupts disabled.
Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Tested-and-Acked-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Kevin Hilman <khilman@ti.com>
Tested-by: Vishwanath BS <vishwanath.bs@ti.com>
Conflicts:
kernel/power/Kconfig
lw [Tue, 21 Feb 2012 07:57:06 +0000 (15:57 +0800)]
add gsensor mma8452 code support for board-rk30-sdk
黄涛 [Mon, 20 Feb 2012 09:46:43 +0000 (17:46 +0800)]
mfd: wm831x: add WM8326 support again
黄涛 [Mon, 20 Feb 2012 08:17:16 +0000 (16:17 +0800)]
rk: update board.h
move rk30_i2c_platform_data from plat to rk30
move boot mode, usb detect etc API from rk29 to plat
move spi_cs_gpio, rk29xx_spi_platform_data, rk29_bl_info from rk29/rk30 to plat
黄涛 [Mon, 20 Feb 2012 07:43:16 +0000 (15:43 +0800)]
rk30: timer: modernize clock event and clock source registration
黄涛 [Mon, 20 Feb 2012 07:17:28 +0000 (15:17 +0800)]
arm: head.S: port to rk platform
黄涛 [Mon, 20 Feb 2012 06:30:18 +0000 (14:30 +0800)]
rk: disable print_modules
黄涛 [Mon, 20 Feb 2012 06:28:26 +0000 (14:28 +0800)]
arm: pl330: revert REVISION change
黄涛 [Mon, 20 Feb 2012 06:24:32 +0000 (14:24 +0800)]
arm: gic: port to rk platform
lw [Mon, 20 Feb 2012 07:31:01 +0000 (15:31 +0800)]
rk30:add backlight config
lw [Mon, 20 Feb 2012 07:02:52 +0000 (15:02 +0800)]
rk30:add rk30 backlight support