firefly-linux-kernel-4.4.55.git
12 years agork30:add ion support
kfx [Mon, 12 Mar 2012 10:48:03 +0000 (18:48 +0800)]
rk30:add ion support

12 years agork30:add adc(saradc) support
kfx [Mon, 12 Mar 2012 10:19:25 +0000 (18:19 +0800)]
rk30:add adc(saradc) support

12 years agocamera rk30:commit v0.2.6,support two cif controls.
root [Mon, 12 Mar 2012 09:11:20 +0000 (17:11 +0800)]
camera rk30:commit v0.2.6,support two cif controls.

12 years agoadd L2 cache controller driver
hxy [Sat, 10 Mar 2012 07:55:32 +0000 (15:55 +0800)]
add L2 cache controller driver

12 years agork30: smp: fix boot_secondary with l2 cache
黄涛 [Fri, 9 Mar 2012 12:37:05 +0000 (20:37 +0800)]
rk30: smp: fix boot_secondary with l2 cache

12 years agork30: sdk: defconfig: fpga use uart1 as debug uart
黄涛 [Fri, 9 Mar 2012 12:32:39 +0000 (20:32 +0800)]
rk30: sdk: defconfig: fpga use uart1 as debug uart

12 years agork30: add debug uart port configuration
黄涛 [Fri, 9 Mar 2012 12:31:37 +0000 (20:31 +0800)]
rk30: add debug uart port configuration

12 years agoRevert "camera driver v0.2.1 for RK30"
黄涛 [Fri, 9 Mar 2012 12:06:01 +0000 (20:06 +0800)]
Revert "camera driver v0.2.1 for RK30"

This reverts commit 64df168943b21c448c1333954b23a8e80646f009.

12 years agocamera driver v0.2.1 for RK30
root [Fri, 9 Mar 2012 09:45:12 +0000 (17:45 +0800)]
camera driver v0.2.1 for RK30

12 years agork30:add irda code support for sdk
lw [Wed, 7 Mar 2012 09:08:38 +0000 (17:08 +0800)]
rk30:add irda code support for sdk

12 years agork30:add leds support for sdk
lw [Wed, 7 Mar 2012 07:36:45 +0000 (15:36 +0800)]
rk30:add leds support for sdk

12 years agork30:modify backlight enable pin according to sdk
lw [Wed, 7 Mar 2012 07:18:58 +0000 (15:18 +0800)]
rk30:modify backlight enable pin according to sdk

12 years agork30:add motor driver support
lw [Wed, 7 Mar 2012 06:51:12 +0000 (14:51 +0800)]
rk30:add motor driver support

12 years agork30:modify goodix touch screen initialize
lw [Wed, 7 Mar 2012 06:26:39 +0000 (14:26 +0800)]
rk30:modify goodix touch screen initialize

12 years agork30:add id table for cm3217
lw [Wed, 7 Mar 2012 06:23:45 +0000 (14:23 +0800)]
rk30:add id table for cm3217

12 years agork30:add light sensor cm3217 support
lw [Tue, 6 Mar 2012 10:09:00 +0000 (18:09 +0800)]
rk30:add light sensor cm3217 support

12 years agork30 fb:add comment to some key variable
yxj [Tue, 6 Mar 2012 07:19:56 +0000 (15:19 +0800)]
rk30 fb:add comment to some key variable

12 years agork30 fb: add yuv support for win1
yxj [Mon, 5 Mar 2012 10:18:59 +0000 (18:18 +0800)]
rk30 fb: add yuv support for win1

12 years agork30: cpu hotplug: better cpu die
黄涛 [Tue, 6 Mar 2012 06:19:27 +0000 (14:19 +0800)]
rk30: cpu hotplug: better cpu die

12 years agork30:modify goodix touchscreen irq operation
lw [Tue, 6 Mar 2012 03:59:21 +0000 (11:59 +0800)]
rk30:modify goodix touchscreen irq operation

12 years agomove some struct definition to plat
lw [Tue, 6 Mar 2012 03:20:06 +0000 (11:20 +0800)]
move some struct definition to plat

12 years agork30:add goodix touch screen support
lw [Tue, 6 Mar 2012 03:16:10 +0000 (11:16 +0800)]
rk30:add goodix touch screen support

12 years agork30: add basic support for smp
黄涛 [Mon, 5 Mar 2012 11:02:06 +0000 (19:02 +0800)]
rk30: add basic support for smp

12 years agork30 fb:add yuv support
yxj [Mon, 5 Mar 2012 09:58:52 +0000 (17:58 +0800)]
rk30 fb:add yuv support

12 years agork30: sdk: update defconfig support FIQ debugger, PM etc
黄涛 [Fri, 2 Mar 2012 09:34:00 +0000 (17:34 +0800)]
rk30: sdk: update defconfig support FIQ debugger, PM etc

12 years agork30: add basic pm support
黄涛 [Fri, 2 Mar 2012 08:00:07 +0000 (16:00 +0800)]
rk30: add basic pm support

12 years agork: add common memtester support
黄涛 [Fri, 2 Mar 2012 07:56:47 +0000 (15:56 +0800)]
rk: add common memtester support

12 years agork: move sram_* functions from pm.c to sram.c
黄涛 [Fri, 2 Mar 2012 07:53:03 +0000 (15:53 +0800)]
rk: move sram_* functions from pm.c to sram.c

12 years agork30: fix for gpio6 support
黄涛 [Fri, 2 Mar 2012 07:43:07 +0000 (15:43 +0800)]
rk30: fix for gpio6 support

12 years agork30 lcdc: add open and release interface
yxj [Fri, 2 Mar 2012 02:56:37 +0000 (10:56 +0800)]
rk30 lcdc: add open and release interface
   fix a wrong register configratoin

12 years agosome file lost for rga modify
zsq [Thu, 1 Mar 2012 07:52:41 +0000 (23:52 -0800)]
some file lost for rga modify

12 years agoMerge branch 'develop-3.0-rk30' of ssh://10.10.10.29/rk/kernel into develop-3.0-rk30
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

12 years agomodify for rga.h independ
zsq [Thu, 1 Mar 2012 07:40:35 +0000 (23:40 -0800)]
modify for rga.h independ

12 years agork30:add akm8975 support
lw [Thu, 1 Mar 2012 06:49:35 +0000 (14:49 +0800)]
rk30:add akm8975 support

12 years agomodify RGA driver some case is valid
zsq [Thu, 1 Mar 2012 03:32:53 +0000 (19:32 -0800)]
modify RGA driver some case is valid

12 years agork30:modify dma_free_coherent operation for spim
lw [Wed, 29 Feb 2012 09:36:39 +0000 (17:36 +0800)]
rk30:modify dma_free_coherent operation for spim

12 years agork30:modify dma_alloc_coherent operation for spim
lw [Wed, 29 Feb 2012 09:22:57 +0000 (17:22 +0800)]
rk30:modify dma_alloc_coherent operation for spim

12 years agork30:add gyroscope l3d4200d support
lw [Wed, 29 Feb 2012 08:14:50 +0000 (16:14 +0800)]
rk30:add gyroscope l3d4200d support

12 years agork: i2s: fix compile error
黄涛 [Tue, 28 Feb 2012 11:55:29 +0000 (19:55 +0800)]
rk: i2s: fix compile error

12 years agork30: fb: fix compile error
黄涛 [Tue, 28 Feb 2012 11:47:54 +0000 (19:47 +0800)]
rk30: fb: fix compile error

12 years agork: move early_printk.c from mach-rk29 to plat-rk and add RK_EARLY_PRINTK config
黄涛 [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

12 years agork30 fb: add interface to show image directly in kernel
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

12 years agork30: refactor i2s init code
黄涛 [Tue, 28 Feb 2012 09:10:11 +0000 (17:10 +0800)]
rk30: refactor i2s init code

12 years agoupdate i2s codec
邱建斌 [Tue, 28 Feb 2012 07:57:15 +0000 (15:57 +0800)]
update i2s codec

12 years ago rk30: debug: add FIQ mode serial debugger
hhb [Tue, 28 Feb 2012 06:29:31 +0000 (14:29 +0800)]
rk30: debug: add FIQ mode serial debugger

12 years agork30 lcdc:完善rk_fb.c中的相关接口
yxj [Mon, 27 Feb 2012 09:54:07 +0000 (17:54 +0800)]
rk30 lcdc:完善rk_fb.c中的相关接口

12 years agork30 fb: 完善 rk_fb_register 框架
yxj [Fri, 24 Feb 2012 01:45:58 +0000 (09:45 +0800)]
rk30 fb: 完善 rk_fb_register 框架

12 years agork30: clock: add clk_set_rate
黄涛 [Mon, 27 Feb 2012 06:34:30 +0000 (14:34 +0800)]
rk30: clock: add clk_set_rate

12 years agork30: add basic support for sdmmc
黄涛 [Mon, 27 Feb 2012 06:31:27 +0000 (14:31 +0800)]
rk30: add basic support for sdmmc

12 years agork30:add tsadc support
lw [Sat, 25 Feb 2012 08:19:49 +0000 (16:19 +0800)]
rk30:add tsadc support

12 years agoupdate i2c driver: for compile error
kfx [Fri, 24 Feb 2012 09:20:13 +0000 (17:20 +0800)]
update i2c driver: for compile error

12 years agork29: fix vivante Kconfig, only for rk29
黄涛 [Thu, 23 Feb 2012 08:58:16 +0000 (16:58 +0800)]
rk29: fix vivante Kconfig, only for rk29

12 years agork30: port ipp
黄涛 [Thu, 23 Feb 2012 08:57:25 +0000 (16:57 +0800)]
rk30: port ipp

12 years agork: move rk29-ipp.h from mach-rk29 to plat-rk
黄涛 [Thu, 23 Feb 2012 08:22:42 +0000 (16:22 +0800)]
rk: move rk29-ipp.h from mach-rk29 to plat-rk

12 years agork30: add RGA driver
黄涛 [Thu, 23 Feb 2012 08:04:40 +0000 (16:04 +0800)]
rk30: add RGA driver

12 years agork: board.h: revert rk29fb_info name changed by yxj
黄涛 [Wed, 22 Feb 2012 11:11:54 +0000 (19:11 +0800)]
rk: board.h: revert rk29fb_info name changed by yxj

12 years agork30: refactor code
黄涛 [Wed, 22 Feb 2012 08:06:07 +0000 (16:06 +0800)]
rk30: refactor code

12 years agocpufreq: introduce hotplug governor
黄涛 [Wed, 22 Feb 2012 06:54:22 +0000 (14:54 +0800)]
cpufreq: introduce hotplug governor

12 years agocpufreq: introduce hotplug governor
黄涛 [Wed, 22 Feb 2012 06:49:20 +0000 (14:49 +0800)]
cpufreq: introduce hotplug governor

port from ti.

12 years agoMerge branch 'develop-3.0-rk30' of ssh://10.10.10.29/rk/kernel into develop-3.0-rk30
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

12 years agork30 fb:base version ,can show linux boot logo
yxj [Wed, 22 Feb 2012 06:37:53 +0000 (14:37 +0800)]
rk30 fb:base version ,can show linux boot logo

12 years agoARM: 7297/1: smp_twd: make sure timer is stopped before registering it
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>
12 years agoARM: twd: register clockevents device before enabling PPI
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>
12 years agoARM: smp_twd: use clockevents_update_freq to update frequency
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>
12 years agoARM: smp_twd: Reconfigure clockevents after cpufreq change
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>
12 years agoARM: mm: fix racy ASID rollover broadcast on SMP platforms
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>
12 years agoARM: vfp: Use cpu pm notifiers to save vfp state
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>
12 years agoARM: Enable CPU_PM notifiers on ARM machines.
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>
12 years agocpu_pm: call notifiers during suspend
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>
12 years agocpu_pm: Add cpu power management notifiers
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

12 years agoadd gsensor mma8452 code support for board-rk30-sdk
lw [Tue, 21 Feb 2012 07:57:06 +0000 (15:57 +0800)]
add gsensor mma8452 code support for board-rk30-sdk

12 years agomfd: wm831x: add WM8326 support again
黄涛 [Mon, 20 Feb 2012 09:46:43 +0000 (17:46 +0800)]
mfd: wm831x: add WM8326 support again

12 years agork: update board.h
黄涛 [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

12 years agork30: timer: modernize clock event and clock source registration
黄涛 [Mon, 20 Feb 2012 07:43:16 +0000 (15:43 +0800)]
rk30: timer: modernize clock event and clock source registration

12 years agoarm: head.S: port to rk platform
黄涛 [Mon, 20 Feb 2012 07:17:28 +0000 (15:17 +0800)]
arm: head.S: port to rk platform

12 years agork: disable print_modules
黄涛 [Mon, 20 Feb 2012 06:30:18 +0000 (14:30 +0800)]
rk: disable print_modules

12 years agoarm: pl330: revert REVISION change
黄涛 [Mon, 20 Feb 2012 06:28:26 +0000 (14:28 +0800)]
arm: pl330: revert REVISION change

12 years agoarm: gic: port to rk platform
黄涛 [Mon, 20 Feb 2012 06:24:32 +0000 (14:24 +0800)]
arm: gic: port to rk platform

12 years agork30:add backlight config
lw [Mon, 20 Feb 2012 07:31:01 +0000 (15:31 +0800)]
rk30:add backlight config

12 years agork30:add rk30 backlight support
lw [Mon, 20 Feb 2012 07:02:52 +0000 (15:02 +0800)]
rk30:add rk30 backlight support

12 years agork30: io: add pwm register mapping
黄涛 [Mon, 20 Feb 2012 03:56:46 +0000 (11:56 +0800)]
rk30: io: add pwm register mapping

12 years agork30:add spim driver config
lw [Fri, 17 Feb 2012 07:33:37 +0000 (15:33 +0800)]
rk30:add spim driver config

12 years agoadd dma support for spim driver
lw [Fri, 17 Feb 2012 07:26:18 +0000 (15:26 +0800)]
add dma support for spim driver

12 years agoupdate i2c driver for 'no ack'
kfx [Thu, 16 Feb 2012 04:49:04 +0000 (12:49 +0800)]
update i2c driver for 'no ack'

12 years agoRK30 I2C drivers: new adapter(rk30) support
kfx [Wed, 15 Feb 2012 12:17:42 +0000 (20:17 +0800)]
RK30 I2C drivers: new adapter(rk30) support

12 years agork30: timer: set clockevent irq, fix for smp
黄涛 [Tue, 14 Feb 2012 10:35:39 +0000 (18:35 +0800)]
rk30: timer: set clockevent irq, fix for smp

12 years agork30: add pmu.h
黄涛 [Fri, 10 Feb 2012 08:46:09 +0000 (16:46 +0800)]
rk30: add pmu.h

12 years agork30: add sram support
黄涛 [Fri, 10 Feb 2012 08:30:54 +0000 (16:30 +0800)]
rk30: add sram support

12 years agork: move sram.c from mach-rk29 to plat-rk
黄涛 [Fri, 10 Feb 2012 08:27:40 +0000 (16:27 +0800)]
rk: move sram.c from mach-rk29 to plat-rk

12 years agork30: clock: add spi clock for fpga
黄涛 [Fri, 10 Feb 2012 08:10:05 +0000 (16:10 +0800)]
rk30: clock: add spi clock for fpga

12 years agork30: indent devices.c
黄涛 [Fri, 10 Feb 2012 07:48:17 +0000 (15:48 +0800)]
rk30: indent devices.c

12 years agork29: io.h include rk29_iomap.h
黄涛 [Fri, 10 Feb 2012 07:47:23 +0000 (15:47 +0800)]
rk29: io.h include rk29_iomap.h

12 years agork30:add spi support
lw [Fri, 10 Feb 2012 08:12:10 +0000 (16:12 +0800)]
rk30:add spi support

12 years agork30: DMA: modify 'include <mach/dma-pl330.h>' to '#include <plat/dma-pl330.h>'...
hhb [Fri, 10 Feb 2012 07:39:45 +0000 (15:39 +0800)]
rk30: DMA: modify 'include <mach/dma-pl330.h>' to  '#include <plat/dma-pl330.h>' in devices.c and rk_serial.c

12 years agork30: DMA: update pl330 driver
hhb [Fri, 10 Feb 2012 07:15:31 +0000 (15:15 +0800)]
rk30: DMA: update pl330 driver

12 years agork30:DMA:add driver for dma pl330
hhb [Fri, 10 Feb 2012 07:09:52 +0000 (15:09 +0800)]
rk30:DMA:add driver for dma pl330

12 years agoupdate i2c drivers
kfx [Thu, 9 Feb 2012 02:43:35 +0000 (10:43 +0800)]
update i2c drivers

12 years agork30: update board.h
黄涛 [Thu, 9 Feb 2012 02:31:47 +0000 (10:31 +0800)]
rk30: update board.h

12 years agork30: clock: add i2c clock for fpga
黄涛 [Thu, 9 Feb 2012 02:15:42 +0000 (10:15 +0800)]
rk30: clock: add i2c clock for fpga

12 years agork30:modify gpio pull up or down operation
lw [Wed, 8 Feb 2012 06:22:13 +0000 (14:22 +0800)]
rk30:modify gpio pull up or down operation