firefly-linux-kernel-4.4.55.git
11 years agoRevert "rk3188 plus: add delay line support"
黄涛 [Tue, 7 May 2013 06:14:34 +0000 (14:14 +0800)]
Revert "rk3188 plus: add delay line support"

This reverts commit 24903a6bd082bea5d7fb9ce030c72d5feff23a1b.

11 years agork spdif: support
yzq [Tue, 7 May 2013 03:42:27 +0000 (11:42 +0800)]
rk spdif: support

11 years agocpll\DPLL is not power dn,if rk_pll_flag!=0
xxx [Tue, 7 May 2013 03:09:49 +0000 (11:09 +0800)]
cpll\DPLL is not power dn,if rk_pll_flag!=0

11 years agork3188 plus: add delay line support
chenxing [Tue, 7 May 2013 02:02:28 +0000 (10:02 +0800)]
rk3188 plus: add delay line support

11 years agork3188 plus:add DDR support for rk3188 plus
cym [Tue, 7 May 2013 01:42:31 +0000 (09:42 +0800)]
rk3188 plus:add DDR support for rk3188 plus

11 years agoRevert "rk3188: spdif support"
yzq [Mon, 6 May 2013 13:05:03 +0000 (21:05 +0800)]
Revert "rk3188: spdif support"

This reverts commit 20b654aab5ddc3650aa3bb7d8f5359c43df8567d.

11 years agork3188: redefine the interface of getting pll flag
chenxing [Mon, 6 May 2013 13:00:17 +0000 (21:00 +0800)]
rk3188: redefine the interface of getting pll flag

11 years agork3188 plus: fix PLUS_PLL_NF_MSK error
chenxing [Mon, 6 May 2013 10:05:03 +0000 (18:05 +0800)]
rk3188 plus: fix PLUS_PLL_NF_MSK error

11 years agoedit div_clk_for_pll_int
xxx [Mon, 6 May 2013 09:45:58 +0000 (17:45 +0800)]
edit div_clk_for_pll_int

11 years agochange for route HPOUT playback
陈金泉 [Mon, 6 May 2013 09:06:56 +0000 (17:06 +0800)]
change for route HPOUT playback

11 years agork3188 plus: fix PLUS_PLL_NR calc error
chenxing [Mon, 6 May 2013 08:11:00 +0000 (16:11 +0800)]
rk3188 plus: fix PLUS_PLL_NR calc error

11 years agork30+: fixed i2c_sram bug: (~(con & type)) --> (!(con &type))
kfx [Mon, 6 May 2013 08:06:17 +0000 (16:06 +0800)]
rk30+: fixed i2c_sram bug: (~(con & type)) --> (!(con &type))

11 years agomfd:rk616 hdmi:fix irq respond err
yzq [Mon, 6 May 2013 06:22:00 +0000 (14:22 +0800)]
mfd:rk616 hdmi:fix irq respond err

11 years agork3168: cpufreq: check temperature every 1s when in performance mode
黄涛 [Mon, 6 May 2013 06:55:12 +0000 (14:55 +0800)]
rk3168: cpufreq: check temperature every 1s when in performance mode

11 years agork: efuse: efuse_readregs return the number of bytes read when success
黄涛 [Mon, 6 May 2013 05:07:23 +0000 (13:07 +0800)]
rk: efuse: efuse_readregs return the number of bytes read when success

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

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

11 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

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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.

11 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

11 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

11 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

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

11 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");

11 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

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

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

11 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

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

11 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

11 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

11 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

11 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.

11 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

11 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

11 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

11 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

11 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

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

11 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

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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.

11 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

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

11 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

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

11 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

11 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'

11 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'

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

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

11 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

11 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