firefly-linux-kernel-4.4.55.git
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

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

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

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

11 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

11 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

11 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

11 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

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

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

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

11 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

11 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

11 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

11 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

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

11 years agomodify rfkill cts iomux define
hwg [Wed, 17 Apr 2013 15:10:25 +0000 (23:10 +0800)]
modify rfkill cts iomux define

11 years agoNL80211_TESTMODE depends on CFG80211 && (MT5931 || MT5931_MT6622)
hwg [Wed, 17 Apr 2013 12:02:30 +0000 (20:02 +0800)]
NL80211_TESTMODE depends on CFG80211 && (MT5931 || MT5931_MT6622)

11 years agoMTD:MTD MERGE READ AND WRITE FOR ONE REQ. ZYF
Zhaoyifeng [Wed, 17 Apr 2013 07:59:10 +0000 (15:59 +0800)]
MTD:MTD MERGE READ AND WRITE FOR ONE REQ.   ZYF

11 years agork3168: dvfs-rk3066b.c set some variables to static
chenxing [Wed, 17 Apr 2013 06:15:15 +0000 (14:15 +0800)]
rk3168: dvfs-rk3066b.c set some variables to static

11 years agork3168: update dvfs table to set gpu voltage all 1.2V
chenxing [Wed, 17 Apr 2013 06:08:47 +0000 (14:08 +0800)]
rk3168: update dvfs table to set gpu voltage all 1.2V

11 years agork3168: dvfs with uoc optimization
chenxing [Wed, 17 Apr 2013 04:07:08 +0000 (12:07 +0800)]
rk3168: dvfs with uoc optimization

11 years agofix sysc wait queue error
zsq [Tue, 16 Apr 2013 09:45:12 +0000 (17:45 +0800)]
fix sysc wait queue error

11 years agork_serial:1.fix bug dma buffer free error
hhb [Tue, 16 Apr 2013 09:10:09 +0000 (17:10 +0800)]
rk_serial:1.fix bug dma buffer free error

11 years agort5640 && rt5642 : support audio codec rt5642 rt5640
邱建斌 [Tue, 16 Apr 2013 03:22:14 +0000 (11:22 +0800)]
rt5640 && rt5642 : support audio codec rt5642 rt5640

11 years agocamera(generic_sensor v0.1.1): add sensor_focus_af_const_pause_usr_cb
ddl [Mon, 15 Apr 2013 09:27:18 +0000 (17:27 +0800)]
camera(generic_sensor v0.1.1): add sensor_focus_af_const_pause_usr_cb

11 years agocamera: update board-rk30-ds975.c for new_camera struct
ddl [Mon, 15 Apr 2013 07:26:28 +0000 (15:26 +0800)]
camera: update board-rk30-ds975.c for new_camera struct

11 years agocamera: invalidate ov2659 register in rk3168 board
ddl [Fri, 12 Apr 2013 03:24:06 +0000 (11:24 +0800)]
camera: invalidate ov2659 register in rk3168 board

11 years agocamera: modify camera sensor device register method for each board file
ddl [Fri, 12 Apr 2013 01:55:02 +0000 (09:55 +0800)]
camera: modify camera sensor device register method for each board file

11 years agocamera: add notice message when sensor driver is new,but sensor device registered...
ddl [Thu, 11 Apr 2013 09:56:12 +0000 (17:56 +0800)]
camera: add notice message when sensor driver is new,but sensor device registered in board file by old

11 years agodvfs add disable clk interfacet
xxx [Thu, 11 Apr 2013 07:16:00 +0000 (15:16 +0800)]
dvfs add disable clk interfacet

11 years agoadd new_camera struct in each board file
ddl [Wed, 10 Apr 2013 09:59:37 +0000 (17:59 +0800)]
add new_camera struct in each board file

11 years agork2928 lcdc:fix bug in win1_set_par
yxj [Wed, 10 Apr 2013 08:31:05 +0000 (16:31 +0800)]
rk2928 lcdc:fix bug in win1_set_par

11 years agoedp anx:create debug node under dir debug/edp/
yxj [Wed, 10 Apr 2013 06:11:04 +0000 (14:11 +0800)]
edp anx:create debug node under dir debug/edp/

11 years agomfd:rk616:create debug node rk616-reg under dir debugfs/rk616/
yxj [Wed, 10 Apr 2013 06:01:53 +0000 (14:01 +0800)]
mfd:rk616:create debug node rk616-reg under dir debugfs/rk616/

11 years agocamera(v0.4.1): cif:v0.4.1 generic_sensor:v0.1.0 rk_camera:v0.1.0
ddl [Wed, 10 Apr 2013 08:26:51 +0000 (16:26 +0800)]
camera(v0.4.1): cif:v0.4.1 generic_sensor:v0.1.0 rk_camera:v0.1.0

11 years agomfd:rk616:add clk common init,add debug interface
yxj [Wed, 10 Apr 2013 04:22:54 +0000 (12:22 +0800)]
mfd:rk616:add clk common init,add debug interface

11 years agoremove kxtf9 gsensor driver for GPL v3 licence
黄涛 [Wed, 10 Apr 2013 03:20:41 +0000 (11:20 +0800)]
remove kxtf9 gsensor driver for GPL v3 licence

11 years agosupport broadcom AP6x serials BT
CMY [Tue, 9 Apr 2013 10:51:47 +0000 (18:51 +0800)]
support broadcom AP6x serials BT

11 years agork3188: clock: print dpll/cpll con2 when boot
黄涛 [Tue, 9 Apr 2013 10:23:59 +0000 (18:23 +0800)]
rk3188: clock: print dpll/cpll con2 when boot

11 years agork616:add more control register defination
yxj [Mon, 8 Apr 2013 06:30:48 +0000 (14:30 +0800)]
rk616:add more control register defination

11 years agork3066: rename macro definition of RK3066
chenxing [Mon, 8 Apr 2013 03:00:31 +0000 (11:00 +0800)]
rk3066: rename macro definition of RK3066

11 years agork3028: add dvfs voltage difference table
chenxing [Mon, 8 Apr 2013 02:24:08 +0000 (10:24 +0800)]
rk3028: add dvfs voltage difference table

11 years agosupport rk616 hdmi
yzq [Sun, 7 Apr 2013 08:13:27 +0000 (16:13 +0800)]
support rk616 hdmi

11 years agork610 codec : modfiy rk610_codec_write_incall funtion
邱建斌 [Sun, 7 Apr 2013 09:26:13 +0000 (17:26 +0800)]
rk610 codec : modfiy rk610_codec_write_incall funtion

11 years agork610 codec : add modem sound control
邱建斌 [Sun, 7 Apr 2013 08:04:01 +0000 (16:04 +0800)]
rk610 codec : add modem sound control

11 years agork30 lcdc:set parameters for rk610 if needed
yxj [Sun, 7 Apr 2013 06:29:52 +0000 (14:29 +0800)]
rk30 lcdc:set parameters for rk610 if needed

11 years agork808:modify some warning
张晴 [Sun, 7 Apr 2013 03:54:55 +0000 (11:54 +0800)]
rk808:modify some warning

11 years agork808:modify rtc error and solve the leakage in sleep mode
张晴 [Sun, 7 Apr 2013 02:54:49 +0000 (10:54 +0800)]
rk808:modify rtc error and solve the leakage in sleep mode

11 years agork3188 tb board:add mfd rk616
yxj [Wed, 3 Apr 2013 10:10:42 +0000 (18:10 +0800)]
rk3188 tb board:add mfd rk616

11 years agoadd mfd rk616
yxj [Wed, 3 Apr 2013 10:08:40 +0000 (18:08 +0800)]
add mfd rk616

11 years agork3188 sdk: add ethernet
wuhao [Wed, 3 Apr 2013 04:52:58 +0000 (12:52 +0800)]
rk3188 sdk: add ethernet

11 years agork3188: gpu use switch pll to support 594M at gpll, change cpll to 798M
chenxing [Wed, 3 Apr 2013 02:17:35 +0000 (10:17 +0800)]
rk3188: gpu use switch pll to support 594M at gpll, change cpll to 798M

11 years agocamera: update mt9p111 and add hm5065
ddl [Tue, 2 Apr 2013 10:47:34 +0000 (18:47 +0800)]
camera: update mt9p111 and add hm5065

11 years agork808:support pmu rk808 vbat low detect
张晴 [Tue, 2 Apr 2013 09:22:51 +0000 (17:22 +0800)]
rk808:support pmu rk808 vbat low detect

11 years agork3168_86v: add support gsensor mxc6225
hjc [Tue, 2 Apr 2013 09:01:36 +0000 (17:01 +0800)]
rk3168_86v: add support gsensor mxc6225

11 years agosensors:add sensor debug support
luowei [Mon, 1 Apr 2013 08:15:12 +0000 (16:15 +0800)]
sensors:add sensor debug support

11 years agork292x: usb: totally reset inno usb phy
lyz [Mon, 1 Apr 2013 03:31:31 +0000 (11:31 +0800)]
rk292x: usb: totally reset inno usb phy

11 years agork3168_86v: fix lcd will show white flicker, when kernel booting
hjc [Sun, 31 Mar 2013 09:54:10 +0000 (17:54 +0800)]
rk3168_86v: fix lcd will show white flicker, when kernel booting

11 years ago 1.add mt6229 power on/off on settings for MID
xxh [Sat, 30 Mar 2013 07:39:47 +0000 (15:39 +0800)]
   1.add mt6229 power on/off on settings for MID
       2.change some method to static

11 years agoremove mu509 uart gpio request
xxh [Fri, 29 Mar 2013 10:47:18 +0000 (18:47 +0800)]
remove mu509 uart gpio request

11 years ago3G modem driver for 4.2.2
xxh [Fri, 29 Mar 2013 10:26:44 +0000 (18:26 +0800)]
3G modem driver for 4.2.2
       1.the driver is copy form 4.1
       2.mu509,mt6229,mw100,sew868
       3.other modem use rk29_modem_config

11 years agofix bug Hier 3G dongle:
xxh [Fri, 29 Mar 2013 02:58:56 +0000 (10:58 +0800)]
fix bug Hier 3G dongle:

       the bug is:when disable dataconnection,the data port can not use anymore

11 years agofix bug: sram_gpio_init return -EINVAL if gpio is RK30_GPIO6_PXy
kfx [Fri, 29 Mar 2013 04:23:53 +0000 (12:23 +0800)]
fix bug: sram_gpio_init return -EINVAL if gpio is RK30_GPIO6_PXy

11 years agoi2c: msleep->mdelay if in atomic
kfx [Mon, 25 Feb 2013 06:52:51 +0000 (14:52 +0800)]
i2c: msleep->mdelay if in atomic

11 years agots: rk29_i2c_goodix: unregister early suspend when probe failed
黄涛 [Fri, 29 Mar 2013 02:53:37 +0000 (10:53 +0800)]
ts: rk29_i2c_goodix: unregister early suspend when probe failed

11 years agork2928 : fix gsensor orientation
xkd [Thu, 28 Mar 2013 12:29:21 +0000 (20:29 +0800)]
rk2928 : fix gsensor orientation

caused by commit 3aae7adc

11 years agork3188 sdk: config 3G modem
wuhao [Thu, 28 Mar 2013 11:33:53 +0000 (19:33 +0800)]
rk3188 sdk: config 3G modem

11 years agosync : rk2928 add phonepad support
xkd [Thu, 28 Mar 2013 11:28:44 +0000 (19:28 +0800)]
sync : rk2928 add phonepad support

commit:72d981d8fde265a5b3768be98f4ee1ed1778b19d

11 years agork3188 sdk: config cw2015
wuhao [Thu, 28 Mar 2013 08:40:11 +0000 (16:40 +0800)]
rk3188 sdk: config cw2015

11 years agork3188 sdk: config cat66121
wuhao [Thu, 28 Mar 2013 08:38:49 +0000 (16:38 +0800)]
rk3188 sdk: config cat66121

11 years agochange Airis 3G dongle data port to ttyUSB3
xxh [Thu, 28 Mar 2013 08:26:11 +0000 (16:26 +0800)]
change Airis 3G dongle data port to ttyUSB3

11 years agork3188 sdk: config rk903
wuhao [Thu, 28 Mar 2013 08:15:32 +0000 (16:15 +0800)]
rk3188 sdk: config rk903

11 years agork3188 sdk: config rt5616
wuhao [Thu, 28 Mar 2013 07:57:33 +0000 (15:57 +0800)]
rk3188 sdk: config rt5616

11 years agork3188 sdk:config adc keys
wuhao [Thu, 28 Mar 2013 07:46:40 +0000 (15:46 +0800)]
rk3188 sdk:config adc keys

11 years agoadd some vid pid for Foreign 3G dongle
xxh [Thu, 28 Mar 2013 07:42:20 +0000 (15:42 +0800)]
add some vid pid for Foreign 3G dongle

11 years agork3188 sdk: init
wuhao [Thu, 28 Mar 2013 07:36:44 +0000 (15:36 +0800)]
rk3188 sdk: init

11 years ago760:add GC2035 support
赵子初 [Thu, 28 Mar 2013 06:47:41 +0000 (14:47 +0800)]
760:add GC2035 support

11 years agork3168_86v: gsensor operation
hjc [Thu, 28 Mar 2013 06:35:49 +0000 (14:35 +0800)]
rk3168_86v: gsensor operation

11 years agork31xx:set tps65910 dc1 and dc2 in pwm mode
张晴 [Thu, 28 Mar 2013 06:22:15 +0000 (14:22 +0800)]
rk31xx:set tps65910 dc1 and dc2 in pwm mode

11 years agofix bug: headphone detection
赵子初 [Thu, 28 Mar 2013 03:03:49 +0000 (11:03 +0800)]
fix bug: headphone detection

11 years agork3028: close debug switch
hjc [Thu, 28 Mar 2013 02:50:04 +0000 (10:50 +0800)]
rk3028: close debug switch

11 years agoRK3168:restore clk_cpu:aclk_cpu to default value for RK3168 reboot
cym [Thu, 28 Mar 2013 02:18:20 +0000 (10:18 +0800)]
RK3168:restore clk_cpu:aclk_cpu to default value for RK3168 reboot