firefly-linux-kernel-4.4.55.git
11 years agork: add common efuse support
黄涛 [Mon, 6 May 2013 04:07:22 +0000 (12:07 +0800)]
rk: add common efuse support

11 years agoRK3188:ddr_get_dpll_status only use for RK3188
cym [Mon, 6 May 2013 03:26:24 +0000 (11:26 +0800)]
RK3188:ddr_get_dpll_status only use for RK3188

11 years agofix wake up interrupt error/flag error
zsq [Mon, 6 May 2013 00:18:58 +0000 (08:18 +0800)]
fix wake up interrupt error/flag error

11 years agork3188: DDR clock add gpll instead dpll support
cym [Sat, 4 May 2013 09:24:30 +0000 (17:24 +0800)]
rk3188: DDR clock add gpll instead dpll support

11 years agosensor:improve kxtik driver compatibility
luowei [Sat, 4 May 2013 09:24:02 +0000 (17:24 +0800)]
sensor:improve kxtik driver compatibility

11 years agoadd rtl8189es wifi support.
gwl [Sat, 4 May 2013 09:16:21 +0000 (17:16 +0800)]
add rtl8189es wifi support.

11 years agork3188: add gpll instead cpll/dpll support
chenxing [Sat, 4 May 2013 09:08:05 +0000 (17:08 +0800)]
rk3188: add gpll instead cpll/dpll support

11 years agork: dvfs fix round bug
chenxing [Sat, 4 May 2013 09:07:05 +0000 (17:07 +0800)]
rk: dvfs fix round bug

11 years agork3188: add efuse memory map support
chenxing [Sat, 4 May 2013 08:51:19 +0000 (16:51 +0800)]
rk3188: add efuse memory map support

11 years agoadd rda587x device register
wdc [Sat, 4 May 2013 03:50:50 +0000 (11:50 +0800)]
add rda587x device register

11 years ago760: remove rfkill-rf config
wdc [Sat, 4 May 2013 03:46:48 +0000 (11:46 +0800)]
760: remove rfkill-rf config

11 years agorda5876 bt: update driver for android4.2
wdc [Sat, 4 May 2013 02:12:08 +0000 (10:12 +0800)]
rda5876 bt: update driver for android4.2

11 years agovpu_service: fix huawei debug signal error
chm [Sat, 4 May 2013 01:55:01 +0000 (09:55 +0800)]
vpu_service: fix huawei debug signal error

11 years agofix set register error
陈金泉 [Fri, 3 May 2013 08:46:37 +0000 (16:46 +0800)]
fix set register error

11 years agork3188: rk3188m_tb support
kfx [Fri, 3 May 2013 02:17:25 +0000 (10:17 +0800)]
rk3188: rk3188m_tb support

11 years agomfd:rk616:core:power ctrl after mclk in
yxj [Thu, 2 May 2013 03:43:41 +0000 (11:43 +0800)]
mfd:rk616:core:power ctrl after mclk in

11 years agork616:add lvds suspend support
yxj [Thu, 2 May 2013 03:33:05 +0000 (11:33 +0800)]
rk616:add lvds suspend support

11 years agork30:modify i2c_sram for debug
张晴 [Thu, 2 May 2013 08:30:48 +0000 (16:30 +0800)]
rk30:modify i2c_sram for debug

11 years agoricoh619:modify charge limit current
张晴 [Thu, 2 May 2013 07:52:58 +0000 (15:52 +0800)]
ricoh619:modify charge limit current

11 years agomfd:rk616 hdmi:fix hdmi err when resume supplement
yzq [Thu, 2 May 2013 07:10:17 +0000 (15:10 +0800)]
mfd:rk616 hdmi:fix hdmi err when resume supplement

11 years agomfd:rk616 hdmi:fix hdmi err when resume
yzq [Thu, 2 May 2013 06:31:42 +0000 (14:31 +0800)]
mfd:rk616 hdmi:fix hdmi err when resume

11 years agoi2s : fix restart i2s dma cannot read/write data.
邱建斌 [Thu, 2 May 2013 03:19:56 +0000 (11:19 +0800)]
i2s : fix restart i2s dma cannot read/write data.

11 years agork3188 plus: add clock support
chenxing [Thu, 2 May 2013 01:16:54 +0000 (09:16 +0800)]
rk3188 plus: add clock support

12 years agoadd controls for codec
陈金泉 [Sun, 28 Apr 2013 10:11:32 +0000 (18:11 +0800)]
add controls for codec

12 years agomfd:rk616 hdmi: add spdif source select
yzq [Sun, 28 Apr 2013 10:05:05 +0000 (18:05 +0800)]
mfd:rk616 hdmi: add spdif source select

12 years agork3188: spdif support
yzq [Sun, 28 Apr 2013 09:47:53 +0000 (17:47 +0800)]
rk3188: spdif support

12 years agoRK3188:ddr_freq_mode add DDR_FREQ_DUALVIEW for HDMI
cym [Sun, 28 Apr 2013 08:39:26 +0000 (16:39 +0800)]
RK3188:ddr_freq_mode add DDR_FREQ_DUALVIEW for HDMI

12 years agomfd:rk616:vif:support lcd0-->scaler-->lvds lcd0-->vif-->hdmi-->scaler-->lvds
yxj [Sun, 28 Apr 2013 08:40:07 +0000 (16:40 +0800)]
mfd:rk616:vif:support lcd0-->scaler-->lvds lcd0-->vif-->hdmi-->scaler-->lvds

12 years agoboard jettaplus:modify rk616 power on timing
yxj [Sun, 28 Apr 2013 04:20:18 +0000 (12:20 +0800)]
board jettaplus:modify rk616 power on timing

12 years agolcdc:rename CONFIG_RK616_LVDS to CONFIG_RK616_VIF
yxj [Sun, 28 Apr 2013 04:18:56 +0000 (12:18 +0800)]
lcdc:rename CONFIG_RK616_LVDS to CONFIG_RK616_VIF

12 years agomfd:rk616:vif:support dual display and scaler
yxj [Sun, 28 Apr 2013 03:26:11 +0000 (11:26 +0800)]
mfd:rk616:vif:support dual display and scaler

12 years agomfd:rk616:hdmi:rename debug node as hdmi
yxj [Sun, 28 Apr 2013 03:25:14 +0000 (11:25 +0800)]
mfd:rk616:hdmi:rename debug node as hdmi

12 years agotop board jettaB defconfig:set dual lcdc dual display
yxj [Sun, 28 Apr 2013 03:21:34 +0000 (11:21 +0800)]
top board jettaB defconfig:set dual lcdc dual display

12 years agoscreen :lcdb101ew05:support scaler on rk616
yxj [Sun, 28 Apr 2013 03:20:10 +0000 (11:20 +0800)]
screen :lcdb101ew05:support scaler on rk616

12 years agork fb:support one lcdc dual dispaly on rk616
yxj [Sun, 28 Apr 2013 03:17:36 +0000 (11:17 +0800)]
rk fb:support one lcdc dual dispaly on rk616

12 years agoRevert "rk: Kconfig add SOC_RK3188M and MACH_RK3188M_TB support"
黄涛 [Sun, 28 Apr 2013 03:41:28 +0000 (11:41 +0800)]
Revert "rk: Kconfig add SOC_RK3188M and MACH_RK3188M_TB support"

This reverts commit 236f35c0891c7fbc16571f948d59d1db7766a88d.

12 years agomt6622: adjust uart0 clock for swflow
hwg [Sat, 27 Apr 2013 14:09:28 +0000 (22:09 +0800)]
mt6622: adjust uart0 clock for swflow

12 years agork: Kconfig add SOC_RK3188M and MACH_RK3188M_TB support
黄涛 [Sat, 27 Apr 2013 10:51:35 +0000 (18:51 +0800)]
rk: Kconfig add SOC_RK3188M and MACH_RK3188M_TB support

12 years agork3168: 86v: add avs print support
chenxing [Sat, 27 Apr 2013 10:08:42 +0000 (18:08 +0800)]
rk3168: 86v: add avs print support

12 years agork3168: add avs print support
chenxing [Sat, 27 Apr 2013 10:07:01 +0000 (18:07 +0800)]
rk3168: add avs print support

12 years agoadd rk3188 avs print support
chenxing [Sat, 27 Apr 2013 09:18:27 +0000 (17:18 +0800)]
add rk3188 avs print support

You need to add operation in your vdd_core init as follows:
// set vdd_log = 1.1V;
avs_init_val_get(1, 1100000, "PMIC init");

12 years agoadd shutdown for codec power down pop noise
陈金泉 [Sat, 27 Apr 2013 08:39:59 +0000 (16:39 +0800)]
add shutdown for codec power down pop noise

12 years agoricoh619:support pmic ricoh619
张晴 [Sat, 27 Apr 2013 07:45:44 +0000 (15:45 +0800)]
ricoh619:support pmic ricoh619

12 years agork30 lcdc:init screen0
yxj [Sat, 27 Apr 2013 03:41:54 +0000 (11:41 +0800)]
rk30 lcdc:init screen0

12 years agork fb:reset fb parameters in fb close
yxj [Sat, 27 Apr 2013 03:39:38 +0000 (11:39 +0800)]
rk fb:reset fb parameters in fb close

12 years agork hdmi:add fps
yxj [Fri, 26 Apr 2013 09:23:01 +0000 (17:23 +0800)]
rk hdmi:add fps

12 years agork3188 lcdc:make sure turn off dither for 24bit display device
yxj [Fri, 26 Apr 2013 03:58:36 +0000 (11:58 +0800)]
rk3188 lcdc:make sure turn off dither for 24bit display device

12 years agoRK3188:ENABLE_DDR_CLCOK_GPLL_PATH,curtail idle_port and
cym [Sat, 27 Apr 2013 01:30:57 +0000 (09:30 +0800)]
RK3188:ENABLE_DDR_CLCOK_GPLL_PATH,curtail idle_port and
    disable fiq/irq time when change_ddr_freq

12 years agousb: fix bug: no response to zero length out control request
lyz [Wed, 24 Apr 2013 09:56:24 +0000 (17:56 +0800)]
usb: fix bug: no response to zero length out control request

12 years agoadd new function of automatic identifi USB Wifi Type.
gwl [Fri, 26 Apr 2013 03:55:41 +0000 (11:55 +0800)]
add new function of automatic identifi USB Wifi Type.

12 years agoedp anx6345:delay 5ms between DVDD33 and DVDD18 power on
yxj [Thu, 25 Apr 2013 13:01:27 +0000 (21:01 +0800)]
edp anx6345:delay 5ms between DVDD33 and DVDD18 power on

12 years agomfd:rk616:lvds:fix LVDS_CON0 config bug
yxj [Wed, 24 Apr 2013 08:25:31 +0000 (16:25 +0800)]
mfd:rk616:lvds:fix LVDS_CON0 config bug

12 years agolcd b101ew05:fix bug when use rk616 as lvds
yxj [Wed, 24 Apr 2013 08:15:32 +0000 (16:15 +0800)]
lcd b101ew05:fix bug when use rk616 as lvds

12 years agomfd:rk616:lvds:fix scaler config bug
yxj [Tue, 23 Apr 2013 02:25:57 +0000 (10:25 +0800)]
mfd:rk616:lvds:fix scaler config bug

12 years agork30,rk3066b,rk3188 lcdc:support rk616 for one lcdc dual output interface
yxj [Mon, 22 Apr 2013 06:43:20 +0000 (14:43 +0800)]
rk30,rk3066b,rk3188 lcdc:support rk616 for one lcdc dual output interface

12 years agoadd rtl8723a usb wifi support
gwl [Thu, 25 Apr 2013 02:21:51 +0000 (10:21 +0800)]
add rtl8723a usb wifi support

12 years agomt6622 bluetooth: support wake up host
hwg [Thu, 25 Apr 2013 01:12:38 +0000 (09:12 +0800)]
mt6622 bluetooth: support wake up host

12 years agosupport rtl88723as
Cody Xie [Wed, 24 Apr 2013 11:43:58 +0000 (19:43 +0800)]
support rtl88723as

12 years agork: pm_tests: rm auto_wakeup
xxx [Wed, 24 Apr 2013 10:42:49 +0000 (18:42 +0800)]
rk: pm_tests: rm auto_wakeup

12 years agork30: pm: fix usb uart bupass support
xxx [Wed, 24 Apr 2013 10:42:00 +0000 (18:42 +0800)]
rk30: pm: fix usb uart bupass support

12 years agocamera(rk_cam_sensor:v0.1.3): add support flash control
ddl [Wed, 24 Apr 2013 08:18:04 +0000 (16:18 +0800)]
camera(rk_cam_sensor:v0.1.3): add support flash control

12 years agocamera(ov2659:v0.1.3): fix preview setting change frame rate
ddl [Wed, 24 Apr 2013 08:14:10 +0000 (16:14 +0800)]
camera(ov2659:v0.1.3): fix preview setting change frame rate

12 years agoadd shutdown and startup for setting codec
陈金泉 [Wed, 24 Apr 2013 03:03:52 +0000 (11:03 +0800)]
add shutdown and startup for setting codec

12 years agocamera(rk_cam_io:v0.1.0): turn off rk_cam_io log switch
ddl [Wed, 24 Apr 2013 02:59:34 +0000 (10:59 +0800)]
camera(rk_cam_io:v0.1.0): turn off rk_cam_io log switch

12 years agofix AP6X VDDIO error, and error name of AP6493.
gwl [Wed, 24 Apr 2013 02:32:42 +0000 (10:32 +0800)]
fix AP6X VDDIO error, and error name of AP6493.

12 years agosensors:add kxtik-1013 driver support
luowei [Wed, 24 Apr 2013 02:16:08 +0000 (10:16 +0800)]
sensors:add kxtik-1013 driver support

12 years ago改善codec音质
陈金泉 [Wed, 24 Apr 2013 01:53:24 +0000 (09:53 +0800)]
改善codec音质

12 years agork: add show cpu and soc interface
黄涛 [Tue, 23 Apr 2013 10:58:24 +0000 (18:58 +0800)]
rk: add show cpu and soc interface

12 years agorda5876BT: fix commit error
wdc [Tue, 23 Apr 2013 10:49:29 +0000 (18:49 +0800)]
rda5876BT: fix commit error

12 years agorda5876BT: add tcc_bt_drv for android4.2
wdc [Tue, 23 Apr 2013 10:13:44 +0000 (18:13 +0800)]
rda5876BT: add tcc_bt_drv for android4.2

12 years agokeyboard: fixed bug 'report repeatedly wake-up event in suspend'
kfx [Tue, 23 Apr 2013 06:46:43 +0000 (14:46 +0800)]
keyboard: fixed bug 'report repeatedly wake-up event in suspend'

12 years agork30: i2c: support 'I2C_M_TEN flag'
kfx [Tue, 23 Apr 2013 06:33:09 +0000 (14:33 +0800)]
rk30: i2c: support 'I2C_M_TEN flag'

12 years agoadd debug function for rk suspend
xxx [Tue, 23 Apr 2013 03:12:13 +0000 (11:12 +0800)]
add debug function for rk suspend

12 years agono 100% when charge ok pin is no full state, and reset cw2015 when Over-discharge...
xuhuicong [Tue, 23 Apr 2013 02:12:38 +0000 (10:12 +0800)]
no 100% when charge ok pin is no full state, and reset cw2015 when Over-discharge, fix voltage read problam

12 years agork: only allow root access /proc/clocks and /sys/dvfs
黄涛 [Mon, 22 Apr 2013 09:46:56 +0000 (17:46 +0800)]
rk: only allow root access /proc/clocks and /sys/dvfs

12 years agork808:support dcdc1\2 raise voltage by step
张晴 [Mon, 22 Apr 2013 09:20:54 +0000 (17:20 +0800)]
rk808:support dcdc1\2 raise voltage by step

12 years agork3188: ARM errata: no direct eviction
黄涛 [Mon, 22 Apr 2013 07:42:08 +0000 (15:42 +0800)]
rk3188: ARM errata: no direct eviction

Porting from Samsung.

761320: Full cache line writes to the same memory region from at least two processors
        might deadlock the processor

Status
Affects: Product Cortex-A9 MPCore.
Fault Type: Programmer Category B (Rare)
Fault Status: Present in: All r0, r1, r2 and r3 revisions Fixed in r4p0

Description
Under very rare circumstances, full cache line writes from (at least) 2 processors on cache lines in hazard with
other requests may cause arbitration issues in the SCU, leading to processor deadlock.

Configurations affected
This erratum affects the configurations of the processor with three or more active coherent agents, which is
either:
- Two or more processors if the ACP is present
- Three or more processors

Conditions
To trigger the erratum, at least three agents need to be working in SMP mode, and accessing coherent memory
regions.
Two or more processors need to perform full cache line writes, to cache lines which are in hazard with other
access requests in the SCU. The hazard in the SCU happens when another processor, or the ACP, is
performing a read or a write of the same cache line.
The following example describes one scenario that might cause this deadlock:
- CPU0 performs a full cache line write to address A, then a full cache line write to address B
- CPU1 performs a full cache line write to address B, then a full cache line write to address A
- CPU2 performs read accesses to addresses A and B
Under certain rare timing circumstances, the requests might create a loop of dependencies, causing a
processor deadlock.

Implications
When the erratum happens, it leads to system deadlock.
It is important to note that any scenario leading to this deadlock situation is uncommon. It requires two
processors writing full cache lines to a coherent memory region, without taking any semaphore, with another
processor or the ACP accessing the same lines at the same time, meaning that these latter accesses are not
deterministic. This, combined with the extremely rare microarchitectural timing conditions under which the defect
can happen, explains why the erratum is not expected to cause any significant malfunction in real systems.

Workaround
This erratum can be worked round by setting bit[21] of the undocumented Diagnostic Control Register to 1. This
register is encoded as CP15 c15 0 c0 1.
The bit can be written in Secure state only, with the following Read/Modify/Write code sequence:
MRC p15,0,rt,c15,c0,1
ORR rt,rt,#0x200000
MCR p15,0,rt,c15,c0,1
When this bit is set, the “direct eviction” optimization in the Bus Interface Unit is disabled, which means this
erratum cannot occur.
Setting this bit might prevent the Cortex-A9 from utilizing the full bandwidth when performing intensive full cache
line writes, and therefore a slight performance drop might be visible.
In addition, this erratum cannot occur if at least one of the following bits in the Diagnostic Control Register is set
to 1:
- bit [23] – Disable Read-Allocate mode
- bit [22] – Disable Write Allocate Wait mode

12 years agomfd:rk616:core:modify pll config,make register dump more pretty
yxj [Mon, 22 Apr 2013 04:24:48 +0000 (12:24 +0800)]
mfd:rk616:core:modify pll config,make register dump more pretty

12 years agomfd:rk616:hdmi:make reg dump looks more pretty
yxj [Sun, 21 Apr 2013 12:46:18 +0000 (20:46 +0800)]
mfd:rk616:hdmi:make reg dump looks more pretty

12 years agomfd:rk616:support lcd1 as RGB output port
yxj [Sun, 21 Apr 2013 02:50:19 +0000 (10:50 +0800)]
mfd:rk616:support lcd1 as RGB output port

12 years agomfd:rk616:core:set vif vst hst to 1
yxj [Sun, 21 Apr 2013 02:13:15 +0000 (10:13 +0800)]
mfd:rk616:core:set vif vst hst to 1

12 years agomfd:rk616:core:add pll config
yxj [Sun, 21 Apr 2013 02:12:27 +0000 (10:12 +0800)]
mfd:rk616:core:add pll config

12 years agofix codec pop noise
陈金泉 [Mon, 22 Apr 2013 04:12:13 +0000 (12:12 +0800)]
fix codec pop noise

12 years agoadd work and route for codec rk616
陈金泉 [Mon, 22 Apr 2013 03:35:47 +0000 (11:35 +0800)]
add work and route for codec rk616

12 years agork3188 LR097 : change size of memory reserved for mali ump
zyk [Mon, 22 Apr 2013 03:33:42 +0000 (11:33 +0800)]
rk3188 LR097 : change size of memory reserved for mali ump

12 years agochange for codec
陈金泉 [Sun, 21 Apr 2013 12:08:24 +0000 (20:08 +0800)]
change for codec

12 years agomfd:rk616: support irq mode
yzq [Sun, 21 Apr 2013 11:05:02 +0000 (19:05 +0800)]
mfd:rk616: support irq mode

12 years agomfd:rk616:hdmi: display ok
yzq [Sat, 20 Apr 2013 12:47:00 +0000 (20:47 +0800)]
mfd:rk616:hdmi: display ok

12 years agomfd:rk616:hdmi:use threaded irq,hot pulg ok
yxj [Sat, 20 Apr 2013 04:40:45 +0000 (12:40 +0800)]
mfd:rk616:hdmi:use threaded irq,hot pulg ok

12 years agoboard jettaB:add hdmi irq pin
yxj [Fri, 19 Apr 2013 14:16:15 +0000 (22:16 +0800)]
board jettaB:add hdmi irq pin

12 years agomfd:rk616:dhmi:fix register msk bug
yxj [Fri, 19 Apr 2013 13:50:22 +0000 (21:50 +0800)]
mfd:rk616:dhmi:fix register msk bug

12 years agomfd rk616 hdmi:fix register config bug
yxj [Fri, 19 Apr 2013 07:23:17 +0000 (15:23 +0800)]
mfd rk616 hdmi:fix register config bug

12 years agoadd board jettaB
yxj [Thu, 18 Apr 2013 14:35:50 +0000 (22:35 +0800)]
add board jettaB

12 years agoscreen b101ew05:support rk616 lvds
yxj [Thu, 18 Apr 2013 14:23:15 +0000 (22:23 +0800)]
screen b101ew05:support rk616 lvds

12 years agomfd:rk616:lvds function ok
yxj [Thu, 18 Apr 2013 14:22:22 +0000 (22:22 +0800)]
mfd:rk616:lvds function ok

12 years agomfd:rk616:hdmi:fix g_rk616_hdmi initial bug
yxj [Thu, 18 Apr 2013 14:11:22 +0000 (22:11 +0800)]
mfd:rk616:hdmi:fix g_rk616_hdmi initial bug

12 years agork: set CONSISTENT_DMA_SIZE to 8M
黄涛 [Thu, 18 Apr 2013 09:05:22 +0000 (17:05 +0800)]
rk: set CONSISTENT_DMA_SIZE to 8M

12 years agofix bug of rk_fb_set_par in hdmi mode
yxj [Thu, 18 Apr 2013 07:33:06 +0000 (15:33 +0800)]
fix bug of rk_fb_set_par in hdmi mode

12 years agork screen:add SCREEN_TYPE SCREEN_MIPI
yxj [Thu, 11 Apr 2013 01:38:56 +0000 (09:38 +0800)]
rk screen:add SCREEN_TYPE SCREEN_MIPI

12 years agoadd rk616 codec driver
陈金泉 [Thu, 18 Apr 2013 02:42:32 +0000 (10:42 +0800)]
add rk616 codec driver