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

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