firefly-linux-kernel-4.4.55.git
12 years agork30 phone loquat: fix compile error in board
hhb [Thu, 3 May 2012 03:26:52 +0000 (11:26 +0800)]
rk30 phone loquat: fix compile error in board

12 years agoRevert "rk30 phone loquat: fix compile error in board"
hhb [Thu, 3 May 2012 03:22:14 +0000 (11:22 +0800)]
Revert "rk30 phone loquat: fix compile error in board"

This reverts commit d6f59ae05edbbc79983c6f2724df1447f00ea1bf.

12 years agork30 phone loquat: fix compile error in board
hhb [Thu, 3 May 2012 03:13:35 +0000 (11:13 +0800)]
rk30 phone loquat: fix compile error in board

12 years ago add a condition before rank_to_row15_en,because LPDDR2 used rank1, to resolve LPDDR...
hecanyang [Thu, 3 May 2012 03:35:26 +0000 (11:35 +0800)]
  add a condition before rank_to_row15_en,because LPDDR2 used rank1, to resolve LPDDR2 power-up failed

12 years agork30 phone: add camera config
hhb [Thu, 3 May 2012 03:01:04 +0000 (11:01 +0800)]
rk30 phone: add camera config

12 years agork30 phone loquat: clear camera defconfig
hhb [Thu, 3 May 2012 02:55:51 +0000 (10:55 +0800)]
rk30 phone loquat: clear camera defconfig

12 years agork30 phone loquat: add lcd, touch screen, camera configuration in board
hhb [Thu, 3 May 2012 02:33:56 +0000 (10:33 +0800)]
rk30 phone loquat: add lcd, touch screen, camera configuration in board

12 years ago add lcd_hj050na_06a lcd driver
hhb [Thu, 3 May 2012 02:20:51 +0000 (10:20 +0800)]
add lcd_hj050na_06a lcd driver

12 years ago add synaptics_i2c_rmi4 touch screen driver
hhb [Thu, 3 May 2012 02:18:04 +0000 (10:18 +0800)]
add synaptics_i2c_rmi4 touch screen driver

12 years agoadd reset_pin in struct rk29lcd_info
hhb [Thu, 3 May 2012 02:16:01 +0000 (10:16 +0800)]
add reset_pin in struct rk29lcd_info

12 years agork30 hdmi:
Zheng Yang [Wed, 2 May 2012 12:11:46 +0000 (20:11 +0800)]
rk30 hdmi:
1. Add sysfs interface to scale hdmi output picture size.
2. When hdmi was removed, disable the source lcdc.

12 years agork30 phone: add TI aic3262 codec driver
宋秀杰 [Wed, 2 May 2012 10:21:14 +0000 (18:21 +0800)]
rk30 phone: add TI aic3262 codec driver

12 years agork30 loquat phone: add sc8803
蓝斌元 [Wed, 2 May 2012 09:52:39 +0000 (17:52 +0800)]
rk30 loquat phone: add sc8803

12 years agork30:gyroscope request irq later
lw@rock-chips.com [Wed, 2 May 2012 09:42:42 +0000 (17:42 +0800)]
rk30:gyroscope request irq later

12 years agodisable the lcdc which HDMI is used when the HDMI unplug
yxj [Wed, 2 May 2012 09:27:11 +0000 (17:27 +0800)]
disable the lcdc which HDMI is used when the HDMI unplug

12 years agork30:phone:add pmu tps80032
张晴 [Wed, 2 May 2012 08:39:17 +0000 (16:39 +0800)]
rk30:phone:add pmu tps80032

12 years agork30fb :add function rk_fb_disp_scale
yxj [Wed, 2 May 2012 07:04:56 +0000 (15:04 +0800)]
rk30fb :add function rk_fb_disp_scale

12 years agork30 hdmi: support switch class to detect hotplug status.
Zheng Yang [Wed, 2 May 2012 03:49:51 +0000 (11:49 +0800)]
rk30 hdmi: support switch class to detect hotplug status.

12 years agork30: dvfs determine whether the regulator correct before operating regulator
chenxing [Wed, 2 May 2012 02:51:48 +0000 (10:51 +0800)]
rk30: dvfs determine whether the regulator correct before operating regulator

12 years agodel warning info
zsq [Wed, 2 May 2012 02:58:06 +0000 (10:58 +0800)]
del warning info

12 years agork30: cpufreq: increase freq slow when cpu freq is high
黄涛 [Wed, 2 May 2012 02:46:52 +0000 (10:46 +0800)]
rk30: cpufreq: increase freq slow when cpu freq is high

12 years agork30: dynamic init memory size
黄涛 [Wed, 2 May 2012 02:35:39 +0000 (10:35 +0800)]
rk30: dynamic init memory size

12 years agork30: pm: call local_flush_tlb_all on suspend instead of flush_tlb_all
黄涛 [Wed, 2 May 2012 02:16:43 +0000 (10:16 +0800)]
rk30: pm: call local_flush_tlb_all on suspend instead of flush_tlb_all

Now only one cpu running.

12 years agork30 fb:add sys interface to change fps
yxj [Mon, 30 Apr 2012 08:44:48 +0000 (16:44 +0800)]
rk30 fb:add sys interface to change fps

the path is  sys/class/graphics/fbx/fps`

12 years ago DDR3 ODT reduce from 120ohm to 60ohm
hecanyang [Sat, 28 Apr 2012 07:18:14 +0000 (15:18 +0800)]
  DDR3 ODT reduce from 120ohm to 60ohm

12 years agork30fb:lcd_null.c use head file rk_screen.h replace screen.h
yxj [Fri, 27 Apr 2012 09:26:09 +0000 (17:26 +0800)]
rk30fb:lcd_null.c use head file rk_screen.h replace screen.h

when screen is null,do not register it

12 years agork30_phone:add board-rk30-phone-loquat support
lw@rock-chips.com [Fri, 27 Apr 2012 07:45:17 +0000 (15:45 +0800)]
rk30_phone:add board-rk30-phone-loquat support

12 years agoi2s/pcm : add i2s dma bufferdone callback debug source
邱建斌 [Fri, 27 Apr 2012 07:07:26 +0000 (15:07 +0800)]
i2s/pcm : add i2s dma bufferdone callback debug source

12 years agork30: clock: add smp_wmb after set loops_per_jiffy, calc lpj before irq disable
黄涛 [Fri, 27 Apr 2012 05:24:30 +0000 (13:24 +0800)]
rk30: clock: add smp_wmb after set loops_per_jiffy, calc lpj before irq disable

12 years agork30: clock: fix calculation of loops_per_jiffy
黄涛 [Fri, 27 Apr 2012 03:46:05 +0000 (11:46 +0800)]
rk30: clock: fix calculation of loops_per_jiffy

this bug will disable irq 2ms when arm freq change

12 years agork30:async init touch screen
lw@rock-chips.com [Fri, 27 Apr 2012 02:50:13 +0000 (10:50 +0800)]
rk30:async init touch screen

12 years agork30:sdk:pmu enter sleep when pmu_sleep is high,sys_pwr:short on key to boot
张晴 [Fri, 27 Apr 2012 02:33:53 +0000 (10:33 +0800)]
rk30:sdk:pmu enter sleep when pmu_sleep is high,sys_pwr:short on key to boot

12 years agork30:add data filter for gyroscope
lw [Fri, 27 Apr 2012 02:04:19 +0000 (10:04 +0800)]
rk30:add data filter for gyroscope

12 years agork30: smp: call fiq_glue_resume on platform_secondary_init
黄涛 [Thu, 26 Apr 2012 09:51:41 +0000 (17:51 +0800)]
rk30: smp: call fiq_glue_resume on platform_secondary_init

12 years agospeed up video proc when phys to phys
zsq [Thu, 26 Apr 2012 08:56:49 +0000 (16:56 +0800)]
speed up video proc when phys to phys

12 years agoion: use list_for_each_entry_safe in ion_vma_close
黄涛 [Thu, 26 Apr 2012 08:55:13 +0000 (16:55 +0800)]
ion: use list_for_each_entry_safe in ion_vma_close

12 years agovpu_service: fix race bug in irq and release
陈恒明 [Thu, 26 Apr 2012 08:30:24 +0000 (16:30 +0800)]
vpu_service: fix race bug in irq and release

12 years agoadd some lock when rga is open & irq funtion
zsq [Thu, 26 Apr 2012 08:09:56 +0000 (16:09 +0800)]
add some lock when rga is open & irq funtion

12 years ago add ddr_get_cap API function
hecanyang [Thu, 26 Apr 2012 08:19:56 +0000 (16:19 +0800)]
  add ddr_get_cap API function

12 years agort5631 : disable rt5631 ALC function
邱建斌 [Thu, 26 Apr 2012 07:39:07 +0000 (15:39 +0800)]
rt5631 : disable rt5631 ALC function

12 years agoenable bt(bcm4330 chip) wakeup host and save power functions
CMY [Thu, 26 Apr 2012 02:40:21 +0000 (10:40 +0800)]
enable bt(bcm4330 chip) wakeup host and save power functions

12 years agork30:sdk: delete useless code
chenxing [Wed, 25 Apr 2012 14:13:54 +0000 (22:13 +0800)]
rk30:sdk: delete useless code

12 years agork30:sdk: fix dvfs bug: when cpu frequency table all freqs smaller than default freq...
chenxing [Wed, 25 Apr 2012 14:10:20 +0000 (22:10 +0800)]
rk30:sdk: fix dvfs bug: when cpu frequency table all freqs smaller than default freq, clk dvfs do not open

12 years agork30 fb: delete __ATTR_NULL
yxj [Wed, 25 Apr 2012 12:01:19 +0000 (20:01 +0800)]
rk30 fb: delete __ATTR_NULL

12 years agork30 fb: fix waring initialization from incompatible pointer type in board_rk30_sdk.c
yxj [Wed, 25 Apr 2012 11:55:42 +0000 (19:55 +0800)]
rk30 fb: fix waring initialization from incompatible pointer type in board_rk30_sdk.c

add __ATTR_NULL as the end  of array rkfb_attrs

12 years agork30:hdmi: export function hdmi_init_lcdc to initial lcdc parameter.
Zheng Yang [Wed, 25 Apr 2012 11:29:14 +0000 (19:29 +0800)]
rk30:hdmi: export function hdmi_init_lcdc to initial lcdc parameter.

12 years agork30 hdmi:
Zheng Yang [Wed, 25 Apr 2012 10:20:43 +0000 (18:20 +0800)]
rk30 hdmi:
1. When hdmi was disabled in early_suspend, sometimes it will be enabld agian by user control.
   So the hdmi irq will be enabled twice in early_resume, this action will caurse kernel crash.
   To fix this bug, we need to distinguish suspend mode and user control mode, and add mutex to
   protect enable/disable hdmi irq.
2. Use spin_lock_irqsave/spin_unlock_irqrestore replace spin_lock/spin_unlock.

12 years agovpu_service: fix race condition in vpu_service_open
³ÂºãÃ÷ [Wed, 25 Apr 2012 08:37:44 +0000 (08:37 +0000)]
vpu_service: fix race condition in vpu_service_open

12 years agork30:sdk: move analysis to dvfs.c, set low voltage more higher to fit some sdks
chenxing [Wed, 25 Apr 2012 08:40:17 +0000 (16:40 +0800)]
rk30:sdk: move analysis to dvfs.c, set low voltage more higher to fit some sdks

12 years agork30:sdk: add arm logic table analysis function in dvfs.c
chenxing [Wed, 25 Apr 2012 08:38:48 +0000 (16:38 +0800)]
rk30:sdk: add arm logic table analysis function in dvfs.c

12 years agork610 codec: close debug
邱建斌 [Wed, 25 Apr 2012 07:31:57 +0000 (15:31 +0800)]
rk610 codec: close debug

12 years agork610 codec: add function codec_set_spk for hdmi, add some Machine resume cannot...
邱建斌 [Wed, 25 Apr 2012 07:29:11 +0000 (15:29 +0800)]
rk610 codec: add function codec_set_spk for hdmi, add some Machine resume cannot work test inter face

12 years agork30:sdk: add arm and logic dvfs table in board-rk30-sdk.c
chenxing [Wed, 25 Apr 2012 07:17:27 +0000 (15:17 +0800)]
rk30:sdk: add arm and logic dvfs table in board-rk30-sdk.c

12 years agork30:sdk: add logic dynamic voltage scale
chenxing [Wed, 25 Apr 2012 07:17:08 +0000 (15:17 +0800)]
rk30:sdk: add logic dynamic voltage scale

12 years agork30 fb:modify rk_fb_check_var
yxj [Wed, 25 Apr 2012 07:15:05 +0000 (15:15 +0800)]
rk30 fb:modify rk_fb_check_var

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