firefly-linux-kernel-4.4.55.git
12 years agork30 fb: add IOCTL and sys interface for overlay control
yxj [Wed, 25 Apr 2012 06:15:19 +0000 (14:15 +0800)]
rk30 fb: add IOCTL and sys interface for overlay control

12 years agork30: hdmi: can not switch hdmi mode in user space, fix it.
Zheng Yang [Wed, 25 Apr 2012 03:48:07 +0000 (11:48 +0800)]
rk30: hdmi: can not switch hdmi mode in user space, fix it.

12 years agork29 fix hdmi compile
yzq [Wed, 25 Apr 2012 03:35:17 +0000 (11:35 +0800)]
rk29 fix hdmi compile

12 years agodetect usb id
yangkai [Wed, 25 Apr 2012 03:49:56 +0000 (11:49 +0800)]
detect usb id

12 years agork30_phone:set ddr frequency to 300M
lw [Wed, 25 Apr 2012 03:06:53 +0000 (11:06 +0800)]
rk30_phone:set ddr frequency to 300M

12 years agork30_phone:add suspend and resume for discrete regulator
lw@rock-chips.com [Wed, 25 Apr 2012 02:40:31 +0000 (10:40 +0800)]
rk30_phone:add suspend and resume for discrete regulator

12 years agofix mtp disconnect
yangkai [Wed, 25 Apr 2012 02:54:30 +0000 (10:54 +0800)]
fix mtp disconnect

12 years agommc: fix the bug of spin_lock in sdmmc-driver.
xbw [Tue, 24 Apr 2012 16:49:47 +0000 (00:49 +0800)]
mmc: fix the bug of spin_lock in sdmmc-driver.

12 years agork30: clock: support ddr driver freq change
黄涛 [Tue, 24 Apr 2012 12:06:22 +0000 (20:06 +0800)]
rk30: clock: support ddr driver freq change

12 years ago 1,add ddr_change_freq function, and support menuconfig to change DDR frequce
hecanyang [Tue, 24 Apr 2012 11:19:48 +0000 (19:19 +0800)]
  1,add ddr_change_freq function, and support menuconfig to change DDR frequce
  2,DDR3 ODT use 120ohm, to save power
  3,decrease auto power-down idle cnt to 0x40, to save power
  4,resolve ddr_suspend and ddr_resume problem
  5,enable ddr_testmode in pm.c

12 years agochange rfkill's name by wifi/bt chip
CMY [Tue, 24 Apr 2012 10:34:16 +0000 (18:34 +0800)]
change rfkill's name by wifi/bt chip

12 years agork30 fb; add spinlock for lcdc register config,cancel the delay before and after...
yxj [Tue, 24 Apr 2012 09:15:06 +0000 (17:15 +0800)]
rk30 fb; add spinlock for lcdc register config,cancel the delay before and after register copy in rk30_lcdc_resume

one time only one process allowed to access the register,
when the lcdc aclk and hclk were disabled,access to lcdc
register were not allowed

12 years agork30: sdk: defconfig: ddr freq 400MHz
黄涛 [Tue, 24 Apr 2012 08:38:23 +0000 (16:38 +0800)]
rk30: sdk: defconfig: ddr freq 400MHz

12 years agocamera: fix work queue havn't been finished after close device, version update to...
ddl [Tue, 24 Apr 2012 08:25:20 +0000 (16:25 +0800)]
camera: fix work queue havn't been finished after close device, version update to v0.x.c

12 years agocamera: ov2659 add some delay after init or capture, init array and svga array add...
ddl [Tue, 24 Apr 2012 07:40:22 +0000 (15:40 +0800)]
camera: ov2659 add some delay after init or capture, init array and svga array add some change

12 years agork30 fb: fix crash when only used lcdc1 for hdmi
yxj [Tue, 24 Apr 2012 03:03:30 +0000 (11:03 +0800)]
rk30 fb: fix crash when only used lcdc1 for hdmi

fix a bug in rk_fb_register,when found no
screen on lcdc device,do not register it
and do not increase the num->lcdc

12 years agork30 hdmi:
Zheng Yang [Mon, 23 Apr 2012 13:57:16 +0000 (21:57 +0800)]
rk30 hdmi:
1. fix sometimes hdmi crash when system wakeup from sleep;
2. fix sometimes hotplug interrupt was disabled when disable EDID interrupt.

12 years agork30 fb: do not disable fb when the syscall close of fb was called
yxj [Mon, 23 Apr 2012 13:27:01 +0000 (21:27 +0800)]
rk30 fb: do not disable fb when the syscall close of fb was called

12 years agork30 fb: fix crash when reboot or power off the system
yxj [Mon, 23 Apr 2012 13:13:24 +0000 (21:13 +0800)]
rk30 fb: fix crash when reboot or power off the system

12 years agork30:hdmi: fix hdmi crash when enable DEBUG_LOCKDEP.
Zheng Yang [Mon, 23 Apr 2012 12:29:16 +0000 (20:29 +0800)]
rk30:hdmi: fix hdmi crash when enable DEBUG_LOCKDEP.

12 years agofix tower defence rga softreset bug
zsq [Mon, 23 Apr 2012 12:13:12 +0000 (12:13 +0000)]
fix tower defence rga softreset bug

12 years agork30fb: move set_lcd_info to board
yxj [Mon, 23 Apr 2012 11:14:21 +0000 (19:14 +0800)]
rk30fb: move set_lcd_info to board

add rk_disp_info in struct rk29fb_info  to distinguish
primary display device and extend display device

12 years agomtp: modify receive_file_work return error problem, when force disconnect usb
hwg [Mon, 23 Apr 2012 07:41:51 +0000 (15:41 +0800)]
mtp: modify receive_file_work return error problem, when force disconnect usb

12 years agork30: fix lock bug in function dvfs_get_freq_volt_table
chenxing [Mon, 23 Apr 2012 05:10:39 +0000 (13:10 +0800)]
rk30: fix lock bug in function dvfs_get_freq_volt_table

12 years agoadc: atomic allocate memory in spin_lock_irqsave
kfx [Mon, 23 Apr 2012 04:51:24 +0000 (12:51 +0800)]
adc: atomic allocate memory in spin_lock_irqsave

12 years agocamera rk30 : flush workqueue when releas buffer , version update to v0.x.9
root [Mon, 23 Apr 2012 04:26:47 +0000 (12:26 +0800)]
camera rk30 : flush workqueue when releas buffer , version update to v0.x.9

12 years agork30 lcdc: disable WIN0 RGB RB SWAP
yxj [Sat, 21 Apr 2012 07:49:47 +0000 (15:49 +0800)]
rk30 lcdc: disable WIN0 RGB RB SWAP

12 years agork30:hdmi: when hdmi_set_info input vic is zero, use defalut hdmi mode timing.
Zheng Yang [Mon, 23 Apr 2012 03:30:02 +0000 (11:30 +0800)]
rk30:hdmi: when hdmi_set_info input vic is zero, use defalut hdmi mode timing.

12 years agocamera: ov2640 in xi ke pu project
ddl [Mon, 23 Apr 2012 02:40:56 +0000 (10:40 +0800)]
camera: ov2640 in xi ke pu project

12 years agork30: i2c: Adjust the print information in the order
kfx [Mon, 23 Apr 2012 01:43:45 +0000 (09:43 +0800)]
rk30: i2c: Adjust the print information in the order

12 years agork30:hdmi: fix a audio channel configuration error.
zhengyang [Sat, 21 Apr 2012 11:44:03 +0000 (19:44 +0800)]
rk30:hdmi: fix a audio channel configuration error.

12 years agork30:sdk: change dvfs table for power save
chenxing [Sat, 21 Apr 2012 09:37:00 +0000 (17:37 +0800)]
rk30:sdk: change dvfs table for power save

12 years agork30: add logic voltage scale
chenxing [Sat, 21 Apr 2012 09:36:05 +0000 (17:36 +0800)]
rk30: add logic voltage scale

12 years agork30: change gpll_clks frequency division, to achieve higher accuracy
chenxing [Sat, 21 Apr 2012 08:33:40 +0000 (16:33 +0800)]
rk30: change gpll_clks frequency division, to achieve higher accuracy

12 years agork30 hdmi: export function hdmi_set_info().
Zheng Yang [Sat, 21 Apr 2012 08:08:11 +0000 (16:08 +0800)]
rk30 hdmi: export function hdmi_set_info().

12 years agork30: i2c: update i2c drivers and add slave detect interface
kfx [Sat, 21 Apr 2012 06:00:09 +0000 (14:00 +0800)]
rk30: i2c: update i2c drivers and add slave detect interface

12 years agork30: fix dvfs set voltage down error, reload voltage for voltage domain after set...
chenxing [Sat, 21 Apr 2012 02:45:51 +0000 (10:45 +0800)]
rk30: fix dvfs set voltage down error, reload voltage for voltage domain after set voltage error

12 years agork30fb: add MACRO CONFIG_DUAL_DISP_IN_KERNEL to enable/disable implement of dual...
yxj [Fri, 20 Apr 2012 13:07:19 +0000 (21:07 +0800)]
rk30fb: add MACRO CONFIG_DUAL_DISP_IN_KERNEL to enable/disable implement of dual screen display in kernel

in dual screen display mode ,hdmi and lcd screen use their own frame buffer
the display data of hdmi are copy from lcd screen frame buffer

12 years agork30: setup lcdc1 qos
黄涛 [Fri, 20 Apr 2012 11:52:20 +0000 (19:52 +0800)]
rk30: setup lcdc1 qos

12 years agoRevert "rk30: fiq serial debugger: add command io Raw memory i/o utility"
黄涛 [Fri, 20 Apr 2012 11:49:04 +0000 (19:49 +0800)]
Revert "rk30: fiq serial debugger: add command io Raw memory i/o utility"

This reverts commit 3d0ee0c47571029d5dcdaaf72d375518a1fefa2f.

12 years agoARM: 7359/2: smp_twd: Only wait for reprogramming on active cpus
Linus Walleij [Tue, 10 Apr 2012 11:37:42 +0000 (12:37 +0100)]
ARM: 7359/2: smp_twd: Only wait for reprogramming on active cpus

During booting of cpu1, there is a short window where cpu1
is online, but not active where cpu1 is occupied by waiting
to become active. If cpu0 then decides to schedule something
on cpu1 and wait for it to complete, before cpu0 has set
cpu1 active, we have a deadlock.

Typically it's this CPU frequency transition that happens at
this time, so let's just not wait for it to happen, it will
happen whenever the CPU eventually comes online instead.

Cc: Peter Zijlstra <peterz@infradead.org>
Cc: stable@kernel.org
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-by: Rickard Andersson <rickard.andersson@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
12 years agorknand: clk nandc never change when cpu freq change
黄涛 [Fri, 20 Apr 2012 11:22:22 +0000 (19:22 +0800)]
rknand: clk nandc never change when cpu freq change

12 years agork30: cpufreq: cpufreq_scale_rate_for_dvfs no change freqs.old
黄涛 [Fri, 20 Apr 2012 11:13:02 +0000 (19:13 +0800)]
rk30: cpufreq: cpufreq_scale_rate_for_dvfs no change freqs.old

12 years agoRevert "rk30: cpufreq: notify frequency change once"
黄涛 [Fri, 20 Apr 2012 11:08:40 +0000 (19:08 +0800)]
Revert "rk30: cpufreq: notify frequency change once"

This reverts commit 0f37d777390d60ca6d0bf63d36d7f2cb7678e02a.

12 years agork30_phone:modify discrete dcdc parameter according to hardware
lw@rock-chips.com [Fri, 20 Apr 2012 10:14:50 +0000 (18:14 +0800)]
rk30_phone:modify discrete dcdc parameter according to hardware

12 years agoadd some param check condition
zsq [Fri, 20 Apr 2012 09:50:43 +0000 (09:50 +0000)]
add some param check condition

12 years agotry to fix ebook crash bug
zsq [Fri, 20 Apr 2012 08:02:38 +0000 (08:02 +0000)]
try to fix ebook crash bug

12 years agork30: tsadc: add mutex to protect rk30_tsadc_get
黄涛 [Fri, 20 Apr 2012 06:58:07 +0000 (14:58 +0800)]
rk30: tsadc: add mutex to protect rk30_tsadc_get

12 years agork30: defconfig: disable slub debug
黄涛 [Fri, 20 Apr 2012 06:31:28 +0000 (14:31 +0800)]
rk30: defconfig: disable slub debug

12 years agork30: cpufreq: flags add CPUFREQ_CONST_LOOPS for non-SMP systems
黄涛 [Fri, 20 Apr 2012 04:37:53 +0000 (12:37 +0800)]
rk30: cpufreq: flags add CPUFREQ_CONST_LOOPS for non-SMP systems

12 years agork30: cpufreq: notify frequency change once
黄涛 [Fri, 20 Apr 2012 04:15:10 +0000 (12:15 +0800)]
rk30: cpufreq: notify frequency change once

12 years agork30:sdk:set vcc18_cif is disabled and vcc_io is 2.8v in sleep mode , set ldo10 is...
张晴 [Fri, 20 Apr 2012 02:02:55 +0000 (10:02 +0800)]
rk30:sdk:set vcc18_cif is disabled and vcc_io is 2.8v in sleep mode , set ldo10 is 1.8v for flash io

12 years agoion: Fix race condition with import and map_addr_list
kfx [Thu, 19 Apr 2012 12:07:17 +0000 (20:07 +0800)]
ion: Fix race condition with import and map_addr_list

12 years agork30_phone:add cpu_dvfs_table control,need modify hardware
lw@rock-chips.com [Thu, 19 Apr 2012 11:46:15 +0000 (19:46 +0800)]
rk30_phone:add cpu_dvfs_table control,need modify hardware

12 years agork30: cpufreq: code cleanup
黄涛 [Thu, 19 Apr 2012 11:40:10 +0000 (19:40 +0800)]
rk30: cpufreq: code cleanup

12 years agork30: cpufreq: fix rk30_cpu_exit for cpu 1
黄涛 [Thu, 19 Apr 2012 11:37:16 +0000 (19:37 +0800)]
rk30: cpufreq: fix rk30_cpu_exit for cpu 1

12 years agork30:sdk:close wm8326 i2c shutdown
张晴 [Thu, 19 Apr 2012 11:07:20 +0000 (19:07 +0800)]
rk30:sdk:close wm8326 i2c shutdown

12 years agork30_phone:set VDD_ARM and VDD_LOG of discrete dcdc
lw@rock-chips.com [Thu, 19 Apr 2012 10:05:18 +0000 (18:05 +0800)]
rk30_phone:set VDD_ARM and VDD_LOG of discrete dcdc

12 years agotd8801: update ov5640_for_td8801.c driver from ov5640.c
hhb [Thu, 19 Apr 2012 09:20:50 +0000 (17:20 +0800)]
td8801: update ov5640_for_td8801.c driver from ov5640.c

12 years agotd8801: update gc0309_for_td8801.c driver from gc0309.c
hhb [Thu, 19 Apr 2012 09:20:17 +0000 (17:20 +0800)]
td8801: update gc0309_for_td8801.c driver from gc0309.c

12 years agotd8801: update camera framerate config
hhb [Thu, 19 Apr 2012 09:19:07 +0000 (17:19 +0800)]
td8801: update camera framerate config

12 years agork: defconfig: update gsensor config
黄涛 [Thu, 19 Apr 2012 08:33:04 +0000 (16:33 +0800)]
rk: defconfig: update gsensor config

12 years agogsensor: Kconfig: all driver default should be n
黄涛 [Thu, 19 Apr 2012 04:01:37 +0000 (12:01 +0800)]
gsensor: Kconfig: all driver default should be n

12 years agoadd rk30 adc battery checker
许盛飞 [Thu, 19 Apr 2012 08:03:03 +0000 (16:03 +0800)]
add rk30 adc battery checker

12 years agork30: fix boot mode setup
黄涛 [Thu, 19 Apr 2012 07:26:30 +0000 (15:26 +0800)]
rk30: fix boot mode setup

12 years agork30 fb: do not lock for screen init
yxj [Thu, 19 Apr 2012 06:32:50 +0000 (14:32 +0800)]
rk30 fb: do not lock for screen init

12 years agork30_phone:delete mpu3050 config and modify sensors orientation
lw [Thu, 19 Apr 2012 06:14:09 +0000 (14:14 +0800)]
rk30_phone:delete mpu3050 config and modify sensors orientation

12 years agoRK30Phone: patch for RK30phone-bcm4329
wdc [Thu, 19 Apr 2012 02:20:28 +0000 (10:20 +0800)]
RK30Phone: patch for RK30phone-bcm4329

12 years agork610 update hdmi lcd lvds
yzq [Thu, 19 Apr 2012 02:00:01 +0000 (19:00 -0700)]
rk610 update hdmi lcd lvds

12 years agork30fb: add debug level control
yxj [Wed, 18 Apr 2012 12:54:47 +0000 (20:54 +0800)]
rk30fb: add debug level control

12 years agork30:sdk:mask interrupt of the wm8326 which is not used
张晴 [Wed, 18 Apr 2012 09:41:24 +0000 (17:41 +0800)]
rk30:sdk:mask interrupt of the wm8326 which is not used

12 years agork30 fb: add default screen config for hdmi
yxj [Wed, 18 Apr 2012 07:54:19 +0000 (15:54 +0800)]
rk30 fb: add default screen config for hdmi

 before register_framebuffer,we must init fb_var_screeninfo

12 years agork30:sdk:Reduce the delay of the 8326 reset,modify the wakeup order of wm8326 i2c
张晴 [Wed, 18 Apr 2012 07:51:15 +0000 (15:51 +0800)]
rk30:sdk:Reduce the delay of the 8326 reset,modify the wakeup order of wm8326 i2c

12 years agofix sensor autofocus thread may in running when reinit sensor, version update to...
ddl [Wed, 18 Apr 2012 06:40:13 +0000 (14:40 +0800)]
fix sensor autofocus thread may in running when reinit sensor, version update to v0.x.b

12 years agocamera: fix af thread also receive cmd if af isn't ready,fix 5640 720p array and...
ddl [Wed, 18 Apr 2012 06:38:31 +0000 (14:38 +0800)]
camera: fix af thread also receive cmd if af isn't ready,fix 5640 720p array and many regs isn't adapt to CTS

12 years agocamera rk30 : YUV_INPUT_ORDER_UYVY(ori) defined erro , fix it.
root [Wed, 18 Apr 2012 07:10:41 +0000 (15:10 +0800)]
camera rk30 : YUV_INPUT_ORDER_UYVY(ori) defined erro , fix it.

12 years agork30fb: fix screen reinit and restandby issue
yxj [Wed, 18 Apr 2012 03:24:40 +0000 (11:24 +0800)]
rk30fb: fix screen reinit and restandby issue

12 years agocamera rk30 : supplement fo this commit 'fix bug of erro format register setted.'
root [Tue, 17 Apr 2012 11:24:38 +0000 (19:24 +0800)]
camera rk30 : supplement fo this commit 'fix bug of erro format register setted.'

12 years agork30 hdmi:
Zheng Yang [Tue, 17 Apr 2012 10:13:18 +0000 (18:13 +0800)]
rk30 hdmi:
1. modified according to fb commit 237ef417c9ff2fe9e22d4c442494db791fe2c3d7.
2. rk30_sdk_defconfig support hdmi.

12 years agork30fb: support dual display in kernel
yxj [Tue, 17 Apr 2012 09:46:25 +0000 (17:46 +0800)]
rk30fb: support dual display in kernel

12 years agork30 fb: add spinlock for register config
yxj [Tue, 17 Apr 2012 03:42:46 +0000 (11:42 +0800)]
rk30 fb: add spinlock for register config

12 years agork30: pmu: export pmu_set_power_domain and pmu_set_idle_request symbol
黄涛 [Tue, 17 Apr 2012 09:16:25 +0000 (17:16 +0800)]
rk30: pmu: export pmu_set_power_domain and pmu_set_idle_request symbol

12 years agohdmi:anx7150:when resolution not support by EDID, use other supported resolution
yzq [Tue, 17 Apr 2012 08:35:41 +0000 (16:35 +0800)]
hdmi:anx7150:when resolution not support by EDID, use other supported resolution

12 years agopack-kernel: support vpu driver compile as module
黄涛 [Tue, 17 Apr 2012 08:35:37 +0000 (16:35 +0800)]
pack-kernel: support vpu driver compile as module

12 years agovpu_service: change compile mode to module
陈恒明 [Tue, 17 Apr 2012 08:05:39 +0000 (08:05 +0000)]
vpu_service: change compile mode to module

12 years agotouchscreen: rk29_i2c_goodix: alloc info_buf before request_irq
黄涛 [Tue, 17 Apr 2012 07:21:17 +0000 (15:21 +0800)]
touchscreen: rk29_i2c_goodix: alloc info_buf before request_irq

12 years agork30 hdmi:
Zheng Yang [Tue, 17 Apr 2012 03:48:24 +0000 (11:48 +0800)]
rk30 hdmi:
1. add function hdmi_get_hotplug(void) to poll hdmi hotplug status for other modules.
2. add macro HDMI_AUTO_CONFIGURE in rk30_hdmi.h to enable/disable auto confiure output mode according EDID.

12 years agork30_phone:add discrete dcdc driver support
lw@rock-chips.com [Tue, 17 Apr 2012 03:08:26 +0000 (11:08 +0800)]
rk30_phone:add discrete dcdc driver support

12 years agork30phone: update codec add headset
邱建斌 [Mon, 16 Apr 2012 12:55:34 +0000 (20:55 +0800)]
rk30phone: update codec add headset

12 years agocamera rk30 : fix bug of erro format register setted.
root [Mon, 16 Apr 2012 10:25:56 +0000 (18:25 +0800)]
camera rk30 : fix bug of erro format register setted.

12 years agork30:sdk:add delay when wm8326 from sleep to wakeup
张晴 [Mon, 16 Apr 2012 10:02:23 +0000 (18:02 +0800)]
rk30:sdk:add delay when wm8326 from sleep to wakeup

12 years agodrivers/base/power/main.c: port rk29 change to plat rk
黄涛 [Mon, 16 Apr 2012 09:48:41 +0000 (17:48 +0800)]
drivers/base/power/main.c: port rk29 change to plat rk

12 years agocpufreq: interactive: rk: fix hispeed_freq setup when policy min freq too large
黄涛 [Mon, 16 Apr 2012 06:31:35 +0000 (14:31 +0800)]
cpufreq: interactive: rk: fix hispeed_freq setup when policy min freq too large

12 years agork30: pm: flush cache before DDR enter self refresh
黄涛 [Mon, 16 Apr 2012 05:32:43 +0000 (13:32 +0800)]
rk30: pm: flush cache before DDR enter self refresh

12 years agork30: cpufreq: suspend freq set to 816MHz
黄涛 [Mon, 16 Apr 2012 03:56:47 +0000 (11:56 +0800)]
rk30: cpufreq: suspend freq set to 816MHz

12 years ago1. change hdmi sysfs node permission to 0664;
Zheng Yang [Sat, 14 Apr 2012 06:30:09 +0000 (14:30 +0800)]
1. change hdmi sysfs node permission to 0664;
2. support enable/disable hdmi;
3. modify hdmi phy parameter.
4. modify lcdc1 control according to fb commit 03f1f5649c4ee9d01ba3d1414b48a84a967d3eca.

12 years agork30 phone:wm831x use gpio i2c and fix kernel death
lw [Fri, 13 Apr 2012 10:24:55 +0000 (18:24 +0800)]
rk30 phone:wm831x use gpio i2c and fix kernel death

12 years agork30fb: add interface to enable/disable fb
yxj [Fri, 13 Apr 2012 08:53:39 +0000 (16:53 +0800)]
rk30fb: add interface to enable/disable fb

the path is sys/class/graphics/fbx/xxx

12 years ago rk30fb :fix a bug in rk30_lcdc.c
yxj [Fri, 13 Apr 2012 06:49:38 +0000 (14:49 +0800)]
rk30fb :fix a bug in rk30_lcdc.c

lcdc0 and lcdc1 use separate rk_lcdc_device_driver instance
fix wrong define for rk30_lcdc_resume

12 years agork30: i2c: update i2c gpio driver
kfx [Fri, 13 Apr 2012 05:52:12 +0000 (13:52 +0800)]
rk30: i2c: update i2c gpio driver