firefly-linux-kernel-4.4.55.git
12 years agoconfig rk3066b usb
yangkai [Sat, 1 Sep 2012 08:57:45 +0000 (16:57 +0800)]
config rk3066b usb

12 years agoMerge branch 'develop-3.0' of ssh://10.10.10.29/rk/kernel into develop-3.0
yangkai [Sat, 1 Sep 2012 06:52:05 +0000 (14:52 +0800)]
Merge branch 'develop-3.0' of ssh://10.10.10.29/rk/kernel into develop-3.0

12 years agork31 lcdc: set dbg_thresd 2
黄涛 [Sat, 1 Sep 2012 06:41:48 +0000 (14:41 +0800)]
rk31 lcdc: set dbg_thresd 2

12 years agork3066b:update vibrator io
hxy [Sat, 1 Sep 2012 03:14:08 +0000 (11:14 +0800)]
rk3066b:update vibrator io

12 years agork3066b: update tp io
hxy [Fri, 31 Aug 2012 13:47:45 +0000 (21:47 +0800)]
rk3066b: update tp io

12 years agodma pl330: modify dma test
hhb [Fri, 31 Aug 2012 13:21:54 +0000 (21:21 +0800)]
dma pl330: modify dma test

12 years agork3066b:update blacklight io
hxy [Fri, 31 Aug 2012 12:35:55 +0000 (20:35 +0800)]
rk3066b:update blacklight io

12 years agork3066b:change pll defult voltage of 0.9v
张晴 [Fri, 31 Aug 2012 12:48:11 +0000 (20:48 +0800)]
rk3066b:change pll defult voltage of 0.9v

12 years agork3066b: disable ddr_init
黄涛 [Fri, 31 Aug 2012 12:41:10 +0000 (20:41 +0800)]
rk3066b: disable ddr_init

12 years agork3066b: clk_cpu set parent has some problem, do not use it
chenxing [Fri, 31 Aug 2012 12:24:38 +0000 (20:24 +0800)]
rk3066b: clk_cpu set parent has some problem, do not use it

12 years agork3066b sdk:modify lcd screen io control
yxj [Fri, 31 Aug 2012 12:12:06 +0000 (20:12 +0800)]
rk3066b sdk:modify lcd screen io control

12 years agork3066b: update iomux
hxy [Fri, 31 Aug 2012 12:06:35 +0000 (20:06 +0800)]
rk3066b: update iomux

12 years agork3066b: init debug uart
黄涛 [Fri, 31 Aug 2012 11:30:32 +0000 (19:30 +0800)]
rk3066b: init debug uart

12 years agoi2c transfer: udelay(instead of wait_event_timeout) if system is in atomic state
kfx [Fri, 31 Aug 2012 02:45:32 +0000 (10:45 +0800)]
i2c transfer: udelay(instead of wait_event_timeout) if system is in atomic state

12 years agork3066b: Fvco > 1.1G update 816M config
chenxing [Thu, 30 Aug 2012 07:49:16 +0000 (15:49 +0800)]
rk3066b: Fvco > 1.1G update 816M config

12 years agork30: pm: fix for rk3066b
黄涛 [Thu, 30 Aug 2012 07:38:33 +0000 (15:38 +0800)]
rk30: pm: fix for rk3066b

12 years agork3066b: add CPU_CLK_DIV
chenxing [Thu, 30 Aug 2012 06:56:42 +0000 (14:56 +0800)]
rk3066b: add CPU_CLK_DIV

12 years agork3066b fb: do not reserve unused fb memory
yxj [Thu, 30 Aug 2012 03:14:32 +0000 (11:14 +0800)]
rk3066b fb: do not reserve unused fb memory

12 years agork3066b lcdc: adjust fb lcdc backlight driver load and remove order as rk30 rk2928
yxj [Thu, 30 Aug 2012 03:12:30 +0000 (11:12 +0800)]
rk3066b lcdc: adjust fb lcdc backlight driver load and remove order as rk30 rk2928

12 years ago rk30 fb: adjust fb lcdc backlight driver load and remove order
yxj [Thu, 30 Aug 2012 02:49:48 +0000 (10:49 +0800)]
 rk30 fb: adjust fb lcdc backlight driver load and remove order

        load: fb-->lcdc-->backlight
        remove backlight-->lcdc-->fb
attention: product specific board should modifed according
to board-rk30-sdk.c or board-rk30-ds1001b.c

12 years agork2928 fb: adjust fb lcdc backlight driver load and remove order
yxj [Thu, 30 Aug 2012 02:11:47 +0000 (10:11 +0800)]
rk2928 fb: adjust fb lcdc backlight driver load and remove order

load: fb-->lcdc-->backlight
remove backlight-->lcdc-->fb

12 years agousb driver restructure
yangkai [Thu, 30 Aug 2012 03:45:58 +0000 (11:45 +0800)]
usb driver restructure

12 years agork3066b: register arm-pmu device
黄涛 [Thu, 30 Aug 2012 03:19:56 +0000 (11:19 +0800)]
rk3066b: register arm-pmu device

12 years agork3066b: fix pm compile error
黄涛 [Wed, 29 Aug 2012 13:28:32 +0000 (21:28 +0800)]
rk3066b: fix pm compile error

12 years agork3066b: rename vepu/vdpu, ddr src gate add CLK_GATE_ACLK_CIF1 point to CLK_GATE_ACLK...
chenxing [Wed, 29 Aug 2012 12:54:15 +0000 (20:54 +0800)]
rk3066b: rename vepu/vdpu, ddr src gate add CLK_GATE_ACLK_CIF1 point to CLK_GATE_ACLK_CIF0

12 years agork3066b: fix hsiphy array lenth
chenxing [Wed, 29 Aug 2012 12:42:56 +0000 (20:42 +0800)]
rk3066b: fix hsiphy array lenth

12 years agork30-pwm-regulator: revert a14e8087e917c724a660be325baf53c284a2b6b2 wrong commit
黄涛 [Wed, 29 Aug 2012 12:38:29 +0000 (20:38 +0800)]
rk30-pwm-regulator: revert a14e8087e917c724a660be325baf53c284a2b6b2 wrong commit

12 years agork30: add ARCH_RK30XX config
黄涛 [Wed, 29 Aug 2012 12:30:50 +0000 (20:30 +0800)]
rk30: add ARCH_RK30XX config

12 years agork3066b: add clock support
chenxing [Wed, 29 Aug 2012 12:22:37 +0000 (20:22 +0800)]
rk3066b: add clock support

12 years agork30: mach-rk30/plat-rk build with Os, sram file build use Thumb instruction set
黄涛 [Wed, 29 Aug 2012 11:53:09 +0000 (19:53 +0800)]
rk30: mach-rk30/plat-rk build with Os, sram file build use Thumb instruction set

12 years agork30: sram: fix loop use Thumb instruction set
黄涛 [Wed, 29 Aug 2012 11:51:33 +0000 (19:51 +0800)]
rk30: sram: fix loop use Thumb instruction set

12 years agork30: smp: shrink rk30_sram_secondary_startup size to 16 bytes
黄涛 [Wed, 29 Aug 2012 11:49:58 +0000 (19:49 +0800)]
rk30: smp: shrink rk30_sram_secondary_startup size to 16 bytes

12 years agork30: pm: ddr_testmode on ddr
黄涛 [Wed, 29 Aug 2012 11:47:25 +0000 (19:47 +0800)]
rk30: pm: ddr_testmode on ddr

12 years agork3066b: disable support sound DMA buffer in internal SRAM
黄涛 [Wed, 29 Aug 2012 11:44:43 +0000 (19:44 +0800)]
rk3066b: disable support sound DMA buffer in internal SRAM

12 years agork30: boot mode: set recovery mode do not use command line
黄涛 [Wed, 29 Aug 2012 10:16:04 +0000 (18:16 +0800)]
rk30: boot mode: set recovery mode do not use command line

12 years agork30: l2: never set way size and associativity
黄涛 [Wed, 29 Aug 2012 10:12:15 +0000 (18:12 +0800)]
rk30: l2: never set way size and associativity

12 years agork3066b:modify the defultpmu output voltage
zq [Wed, 29 Aug 2012 10:33:12 +0000 (18:33 +0800)]
rk3066b:modify the defultpmu output voltage

12 years agoA720 board:disable backlight in backlight io deinit
yxj [Wed, 29 Aug 2012 09:07:34 +0000 (17:07 +0800)]
A720 board:disable backlight in backlight io deinit

12 years agork2928:fix panic in early_suspend
yxj [Wed, 29 Aug 2012 09:06:01 +0000 (17:06 +0800)]
rk2928:fix panic in early_suspend

12 years agoRK3066B: add SGX540 device
chenli [Wed, 29 Aug 2012 08:47:37 +0000 (16:47 +0800)]
RK3066B: add SGX540 device

12 years agork31 lcdc: fix compile err
yxj [Wed, 29 Aug 2012 08:40:29 +0000 (16:40 +0800)]
rk31 lcdc: fix compile err

12 years agork2928 lcdc: do not set sclk temporarily
yxj [Wed, 29 Aug 2012 07:49:49 +0000 (15:49 +0800)]
rk2928 lcdc: do not set sclk temporarily

12 years agorkfb: stanby the screen ,then power off
yxj [Wed, 29 Aug 2012 06:39:53 +0000 (14:39 +0800)]
rkfb: stanby the screen ,then power off

12 years agork31 lcdc:implement layer remap interface
yxj [Wed, 29 Aug 2012 06:35:05 +0000 (14:35 +0800)]
rk31 lcdc:implement layer remap interface

12 years agorkfb:set fix.line_lenght in rk_fb_register
yxj [Wed, 29 Aug 2012 06:29:21 +0000 (14:29 +0800)]
rkfb:set fix.line_lenght in rk_fb_register

12 years agork2928 lcdc: scale interface support
yxj [Wed, 29 Aug 2012 05:07:22 +0000 (13:07 +0800)]
rk2928 lcdc: scale interface support

12 years agorkfb:modify to implement dual display on rk2928
yxj [Wed, 29 Aug 2012 05:06:18 +0000 (13:06 +0800)]
rkfb:modify to implement dual display on rk2928

12 years agork2928 lvds:select lcdc interface according to lcdc_id in screen
yxj [Wed, 29 Aug 2012 05:04:13 +0000 (13:04 +0800)]
rk2928 lvds:select lcdc interface according to lcdc_id in screen

12 years agork30 lcdc:modify debug level
yxj [Tue, 28 Aug 2012 06:37:36 +0000 (14:37 +0800)]
rk30 lcdc:modify debug level

12 years agorkhdmi:modify to compatible for platform which have only one lcdc but need to impleme...
yxj [Tue, 28 Aug 2012 06:35:39 +0000 (14:35 +0800)]
rkhdmi:modify to compatible for platform which have only one lcdc but need to implement dual display like rk2928

12 years agork30 lcdc: fix compile err
yxj [Tue, 28 Aug 2012 06:14:19 +0000 (14:14 +0800)]
rk30 lcdc: fix compile err

12 years agorkfb: select current screen in lcdc driver
yxj [Tue, 28 Aug 2012 06:13:12 +0000 (14:13 +0800)]
rkfb: select current screen in lcdc driver

12 years agork2928:add scaler register config
yxj [Thu, 9 Aug 2012 10:38:21 +0000 (18:38 +0800)]
rk2928:add scaler register config

12 years agork30 lcdc:modify to compatible for platform which have only one lcdc but need to...
yxj [Fri, 10 Aug 2012 08:26:32 +0000 (16:26 +0800)]
rk30 lcdc:modify to compatible for platform which have only one lcdc but need to implement dual display like rk2928

12 years agorkfb: modify to compatible for platform which have only one lcdc but need to implemen...
yxj [Fri, 10 Aug 2012 08:25:20 +0000 (16:25 +0800)]
rkfb: modify to compatible for platform which have only one lcdc but need to implement dual display like rk2928

12 years agorkfb:defaut use fb0
yxj [Fri, 24 Aug 2012 06:23:24 +0000 (14:23 +0800)]
rkfb:defaut use fb0

12 years agoA720 screen:invert dclk
yxj [Fri, 24 Aug 2012 06:21:13 +0000 (14:21 +0800)]
A720 screen:invert dclk

12 years agolcd b101ew05: add default lut table
yxj [Thu, 23 Aug 2012 09:45:29 +0000 (17:45 +0800)]
lcd b101ew05: add default lut table

12 years agork30 lcdc:add lut default init 、suspend and resume
yxj [Thu, 23 Aug 2012 09:44:58 +0000 (17:44 +0800)]
rk30 lcdc:add lut default init 、suspend and resume

12 years agostruct rk_screen:add dsp_lut
yxj [Thu, 23 Aug 2012 09:43:41 +0000 (17:43 +0800)]
struct rk_screen:add dsp_lut

12 years agofix bug in set_dsp_lut,only 10 words can updated by user before this bug fixed
yxj [Thu, 16 Aug 2012 01:54:03 +0000 (09:54 +0800)]
fix bug in set_dsp_lut,only 10 words can updated by user before this bug fixed

12 years agork30 lcdc:delay before wirite lut data,the reg modify only update at the start of...
yxj [Tue, 14 Aug 2012 09:47:29 +0000 (17:47 +0800)]
rk30 lcdc:delay before wirite lut data,the reg modify  only update at the start of every frame after set cfg_done reg

12 years agorkfbsys:mask printk int set_dsp_lut
yxj [Tue, 14 Aug 2012 09:44:08 +0000 (17:44 +0800)]
rkfbsys:mask printk int  set_dsp_lut

12 years agorkfbsys:fix bug in set_dsp_lut
yxj [Tue, 14 Aug 2012 03:12:33 +0000 (11:12 +0800)]
rkfbsys:fix bug in set_dsp_lut

12 years agork30 lcdc: display lut support
yxj [Sat, 11 Aug 2012 02:43:54 +0000 (10:43 +0800)]
rk30 lcdc: display lut support

12 years agorkfb:add display lut set/read interface
yxj [Sat, 11 Aug 2012 02:42:50 +0000 (10:42 +0800)]
rkfb:add display lut set/read interface

12 years agork30 lcdc: add layer remap interface
yxj [Fri, 10 Aug 2012 02:14:46 +0000 (10:14 +0800)]
rk30 lcdc: add layer remap interface

12 years agorkfb:fix rk30lcdc win2 crash
yxj [Fri, 10 Aug 2012 02:12:36 +0000 (10:12 +0800)]
rkfb:fix rk30lcdc win2 crash

12 years agork30 lcdc: win2 support
yxj [Fri, 20 Jul 2012 06:13:27 +0000 (14:13 +0800)]
rk30 lcdc: win2 support

12 years agorkfb : layer and fb map soc independently ,add sys node for fb and layer remap
yxj [Wed, 8 Aug 2012 14:19:05 +0000 (22:19 +0800)]
rkfb : layer and fb map soc independently ,add sys node for fb and layer remap

12 years agoinput: sensor-dev: todos and fix build error without earlysuspend, fix gcc warning
黄涛 [Wed, 29 Aug 2012 04:22:59 +0000 (12:22 +0800)]
input: sensor-dev: todos and fix build error without earlysuspend, fix gcc warning

12 years agork30: io: add ROM map
黄涛 [Wed, 29 Aug 2012 03:04:43 +0000 (11:04 +0800)]
rk30: io: add ROM map

12 years agork2928: touchscreen: update driver only support fw version: 7 6 6 4
kfx [Wed, 29 Aug 2012 01:03:46 +0000 (09:03 +0800)]
rk2928: touchscreen: update driver only support fw version: 7 6 6 4

12 years agork_serial:serial rx use new dma interface rk29_dma_enqueue_ring
hhb [Tue, 28 Aug 2012 08:34:02 +0000 (16:34 +0800)]
rk_serial:serial rx use new dma interface  rk29_dma_enqueue_ring

12 years agodma pl330: add dma infiniteloop transfer
hhb [Tue, 28 Aug 2012 08:33:15 +0000 (16:33 +0800)]
dma pl330: add dma infiniteloop transfer

12 years agork3066B i2s: remove rk3066B i2s2
邱建斌 [Tue, 28 Aug 2012 07:17:48 +0000 (15:17 +0800)]
rk3066B i2s: remove rk3066B i2s2

12 years agork30 and rk2928:support set logic init voltage by pwm
zq [Tue, 28 Aug 2012 04:36:17 +0000 (21:36 -0700)]
rk30 and rk2928:support set logic init voltage by pwm

12 years agoavs malloc mem when avs cmd start
xxx [Tue, 28 Aug 2012 18:08:49 +0000 (11:08 -0700)]
avs malloc mem when avs cmd start

12 years agork3066b: fix gpio usage
黄涛 [Tue, 28 Aug 2012 02:54:45 +0000 (10:54 +0800)]
rk3066b: fix gpio usage

12 years agork2928: add RK2928_GPIO0_BASE RK2928_GPIO2_BASE preread
许盛飞 [Tue, 28 Aug 2012 02:47:14 +0000 (10:47 +0800)]
rk2928: add RK2928_GPIO0_BASE RK2928_GPIO2_BASE preread

12 years agork2928: the bug of suspen , RK2928_GPIO1_BASE preread
许盛飞 [Tue, 28 Aug 2012 02:41:56 +0000 (10:41 +0800)]
rk2928: the bug of suspen , RK2928_GPIO1_BASE preread

12 years agork2928: gsensor: fix orientation
kfx [Tue, 28 Aug 2012 01:54:31 +0000 (09:54 +0800)]
rk2928: gsensor: fix orientation

12 years agork3066b: fix gpio usage
黄涛 [Tue, 28 Aug 2012 01:35:26 +0000 (09:35 +0800)]
rk3066b: fix gpio usage

12 years agork3066b: disable tsadc device register
黄涛 [Mon, 27 Aug 2012 11:40:37 +0000 (19:40 +0800)]
rk3066b: disable tsadc device register

12 years agork30: refactor wdt init code
黄涛 [Mon, 27 Aug 2012 11:27:54 +0000 (19:27 +0800)]
rk30: refactor wdt init code

12 years agowatch dog timer: add wdt platform to rk30 device.c
hhb [Mon, 27 Aug 2012 09:54:52 +0000 (17:54 +0800)]
watch dog timer: add wdt platform to rk30 device.c

12 years ago ddr_suspend remove flush_tlb_all function
hcy [Mon, 27 Aug 2012 08:37:15 +0000 (16:37 +0800)]
  ddr_suspend remove flush_tlb_all function

12 years agophonepad: rt3261 add speaker depop code.
宋秀杰 [Mon, 27 Aug 2012 06:51:16 +0000 (14:51 +0800)]
phonepad: rt3261 add speaker depop code.

12 years agohost inno phy config
yangkai [Mon, 27 Aug 2012 06:31:37 +0000 (14:31 +0800)]
host inno phy config

12 years agork2928:sdk: fix pll_mode POWER ON/DN ERROR
chenxing [Mon, 27 Aug 2012 06:08:51 +0000 (14:08 +0800)]
rk2928:sdk: fix pll_mode POWER ON/DN ERROR

12 years agork2928: apll gpll cpll powerdown
许盛飞 [Mon, 27 Aug 2012 02:20:04 +0000 (10:20 +0800)]
rk2928: apll gpll cpll powerdown

12 years agocamera rk30 : disable CIF_DO_CROP, work something wrong with rk2928 now.
root [Sat, 25 Aug 2012 09:16:55 +0000 (17:16 +0800)]
camera rk30 : disable CIF_DO_CROP, work something wrong with rk2928 now.

12 years agork30:sdk: dvfs freq limit active right now
chenxing [Sat, 25 Aug 2012 07:49:17 +0000 (15:49 +0800)]
rk30:sdk: dvfs freq limit active right now

12 years agophonepad:add pre_div parameter for backlight
lw@rock-chips.com [Sat, 25 Aug 2012 07:01:33 +0000 (15:01 +0800)]
phonepad:add pre_div parameter for backlight

12 years agork2928: a720: set min_brightness 80
kfx [Sat, 25 Aug 2012 03:59:53 +0000 (11:59 +0800)]
rk2928: a720: set min_brightness 80

12 years agobacklight:add pre_div parameter
lw@rock-chips.com [Fri, 24 Aug 2012 09:57:55 +0000 (17:57 +0800)]
backlight:add pre_div parameter

12 years agorga: fix deadlock issue between rga_power_on and rga_power_off_work
黄涛 [Fri, 24 Aug 2012 09:19:18 +0000 (17:19 +0800)]
rga: fix deadlock issue between rga_power_on and rga_power_off_work

Fix this deadlock by call mutex_trylock on rga_power_off_work:

SurfaceFlinger  D c086ec20     0   247      1 0x00000001
[<c086ec20>] (__schedule+0x6d0/0x79c) from [<c086f110>] (schedule_timeout+0x1c/0x208)
[<c086f110>] (schedule_timeout+0x1c/0x208) from [<c086e36c>] (wait_for_common+0xdc/0x178)
[<c086e36c>] (wait_for_common+0xdc/0x178) from [<c04773b8>] (wait_on_work+0xf0/0x158)
[<c04773b8>] (wait_on_work+0xf0/0x158) from [<c0477d30>] (__cancel_work_timer+0xb8/0x104)
[<c0477d30>] (__cancel_work_timer+0xb8/0x104) from [<c05ca548>] (rga_try_set_reg+0x38/0x270)
[<c05ca548>] (rga_try_set_reg+0x38/0x270) from [<c05cafc4>] (rga_blit+0x3b4/0x3fc)
[<c05cafc4>] (rga_blit+0x3b4/0x3fc) from [<c05cb29c>] (rga_ioctl+0x154/0x374)
[<c05cb29c>] (rga_ioctl+0x154/0x374) from [<c04e3480>] (do_vfs_ioctl+0x500/0x57c)
[<c04e3480>] (do_vfs_ioctl+0x500/0x57c) from [<c04e3530>] (sys_ioctl+0x34/0x54)
[<c04e3530>] (sys_ioctl+0x34/0x54) from [<c0435c80>] (ret_fast_syscall+0x0/0x30)
kworker/1:1     D c086ec20     0  7718      2 0x00000000
[<c086ec20>] (__schedule+0x6d0/0x79c) from [<c086f784>] (__mutex_lock_slowpath+0x158/0x1d8)
[<c086f784>] (__mutex_lock_slowpath+0x158/0x1d8) from [<c086f824>] (mutex_lock+0x20/0x38)
[<c086f824>] (mutex_lock+0x20/0x38) from [<c05ca920>] (rga_power_off_work+0x10/0x24)
[<c05ca920>] (rga_power_off_work+0x10/0x24) from [<c0475d74>] (process_one_work+0x250/0x3ac)
[<c0475d74>] (process_one_work+0x250/0x3ac) from [<c04762b4>] (worker_thread+0x228/0x3e8)
[<c04762b4>] (worker_thread+0x228/0x3e8) from [<c047bc18>] (kthread+0x80/0x88)
[<c047bc18>] (kthread+0x80/0x88) from [<c0436678>] (kernel_thread_exit+0x0/0x8)

Also do not call cancel_delayed_work_sync every time.

12 years agophonepad:fix white lcd problem while awake
lw@rock-chips.com [Fri, 24 Aug 2012 09:26:16 +0000 (17:26 +0800)]
phonepad:fix white lcd problem while awake

12 years agoRK3066B:update board iomux config and add two pmu (wm8326 & tps65910) support
hxy [Fri, 24 Aug 2012 08:31:59 +0000 (16:31 +0800)]
RK3066B:update board iomux config and add two pmu (wm8326 & tps65910) support

12 years agork2928:acodec: add pclk_acodec control.
Zheng Yang [Fri, 24 Aug 2012 07:13:25 +0000 (15:13 +0800)]
rk2928:acodec: add pclk_acodec control.