Commit Graph

402140 Commits

Author SHA1 Message Date
许盛飞
cd75fbf901 RK3126B: RK3126B delete the EBC
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
2014-12-05 19:05:59 +08:00
li bing
039bc0006d wifi->esp8089: add wifi mac address user-defined function. 2014-12-05 17:41:29 +08:00
sugar
942d98b30d rk3126/rk3126b: i2s: use i2s_2ch. 2014-12-05 14:36:00 +08:00
blb
190da48d20 rk3128 & rk3036 : change the led color when power up and down
Signed-off-by:blb <blb@rockchips.com>
2014-12-05 14:27:30 +08:00
li bing
e1985ec3e3 wifi->esp8089:
ESP8089 driver update to V1.9 (11272014).
     Update the V2.3 esp_prealloc program.

     This update is mainly as follows:
        1.To increase the new MAC address and MAC address customized version of the support;
        2.Enhance the robustness of the code;
        3.The increase of pure drive consistency under Linux and android;
        4.Enhance compatibility of non-standard AP;
        5.Improve the stability of the P2P mode.
2014-12-05 10:44:14 +08:00
hjc
2afa1f900e rk fb: mid not support uboot display hdmi, so wo identify box and mid at switch screen 2014-12-05 08:46:11 +08:00
cl
f0c78e5826 rockchip: avoid change ddr freq before lcd driver is inited
Signed-off-by: cl <cl@rock-chips.com>
2014-12-04 10:12:52 +08:00
cl
968c0c2c56 rk3288: arm pvtm add RK3288_PROCESS_V2
Signed-off-by: cl <cl@rock-chips.com>
2014-12-03 19:54:35 +08:00
Mark Yao
b8cffb14fc rk_fb: sysfs: make use vmap/vunmap in pairs.
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2014-12-03 15:10:19 +08:00
Mark Yao
2855e146a1 rk_fb: sysfs: add dump_buffer func to fb sysfs
Due to some time we want to know which buffer vop scaning, use "io"
cammand to dump buffer is too complex, so we add a sys node to help
buffer dump.

how to use it:
- echo bin > /sys/class/graphics/fb0/disp_info
  it will create bin file at /data/xxx.bin
- or echo bmp > /sys/class/graphics/fb0/disp_info
  it will create bmp file at /data/xxx.bmp,
  this file is normal bmp file.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2014-12-03 11:40:55 +08:00
Mark Yao
dec12c59c7 ion: export ion handle get/put
use ion handle get/put, we can easyly protect the buffer when we
use it.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2014-12-03 11:40:54 +08:00
Mark Yao
52e5c707fc rk_fb: use front_regs instead of some global variable
front_regs means this config is scaning on the vop devices

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2014-12-03 11:40:54 +08:00
lyz
aa443016ed usb: dwc_otg: fix incorrect bit operation 2014-12-02 18:55:37 +08:00
typ
b5010bc267 RK3126B DDR:add supporting DDR change freq 2014-12-02 10:25:05 +08:00
ljf
9a0ca83d88 hevc, add scaling list table patch in kernel, fix bug in scaling list enable hevc video playback 2014-12-01 11:35:08 +08:00
Mark Yao
6ba051470a rk_fb: fix iommu problem when hdmi plug or unplug.
There are two thread will update the win config,
one is update_regs handler, another is hdmi hotplug
thread, win config maybe modify by another thread
unexpectly, then vop scan umap address, cause iommu
crash, so we need use a mutex to protect win config.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2014-12-01 09:02:56 +08:00
dalon.zhang
8a297b0552 camera : cif : v0.1.a Support rk3288 cif driver 2014-11-29 19:38:54 +08:00
ljf
b72ef799e9 vcodec iommu, fix some vp8 source decode cause
iommu pagefault. omit some iommu table creation.

Signed-off-by: ljf <ljf@rock-chips.com>
2014-11-28 15:13:46 +08:00
CMY
81931b033e rk: ion: change ion's debug node for other r/w 2014-11-28 15:07:49 +08:00
Mark Yao
cd1e68d59e rk_fb: rk3128: fix crash when boot when with hdmi plug
enable iommu when first ion buffer take effect.
2014-11-28 14:40:01 +08:00
Zheng Yang
f23cbf56e9 rk3036/rk3128 hdmi:
According to HDMI CTS 7-19, GCP SB1~SB6 value must be zero
	if color mode is 24bit. So we enable reg04 bit4 which will
	set CD[0:3] of SB1 to zero.
2014-11-28 14:13:16 +08:00
许盛飞
ccc87547dd rk312xdts: reconfiguration the rk3126-sdk.dts
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
2014-11-28 09:51:09 +08:00
smj
c31fb693ea rk3036:SDK enable sdmmc
rk88 disable pwm_regulator

Signed-off-by: smj <smj@rock-chips.com>
2014-11-28 09:17:52 +08:00
许盛飞
6f2cf955a2 rk312x-sleep: arm-off and ddr_selfrefres by soft controled
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
2014-11-28 09:11:21 +08:00
blb
b5b11e0960 rk3128 & rk3036: add the power led support of box-rk88
Signed-off-by: Bai Longbiao <blb@rock-chips.com>
2014-11-27 20:46:18 +08:00
lintao
3aa5e0ae7a Revert "mmc: add rto for infinit sending timeout loop"
This reverts commit 426495888a.
2014-11-27 20:04:34 +08:00
Mark Yao
492bb08384 kernel logo: default disable CONFIG_LOGO
because most projects use uboot logo display at kenel, so default
disable kernel logo.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2014-11-27 16:36:54 +08:00
lintao
4ac86774c9 mmc: auto-pin when pm call for udbg
If mux data lines with uart, drivers auto work around
pcl setting for CARD_PRESENT state

Signed-off-by: lintao <lintao@rock-chips.com>
2014-11-27 15:32:13 +08:00
lintao
426495888a mmc: add rto for infinit sending timeout loop
dw_mci write cmd index to CMD register to trigger sending cmd by BIU.
However, if device fall into panic holding cmd/data line to low level cause BIU
cannnot send out cmd forever. So no cmd_done_int will come. AND, cmd response timeout
only valid after cmd been sent. Nothing to break this loop, we need a s/w recovery from
STATE_SENDING_CMD to STATE_IDLE, and the pending one reported as -ETIMEOUT, let caller
decide howto again.

Reported-by: roger.hu <hwg@rock-chips.com>
Signed-off-by: lintao <lintao@rock-chips.com>
Reviewed-and-tested-by: roger.hu <hwg@rock-chips.com>
2014-11-27 15:25:47 +08:00
Simon Xue
630463c333 rockchip: iommu: update iommu driver
1.Audi vpu_combo contain hevc and vpu,it need to switch
  when hevc on or vpu on,but there was a issue could cause
  hevc or vpu failed,so current vpu driver disable/enable
  iommu each frame to avoid failed,for these,a lot of log
  produced,so change dev_info to dev_dbg when iommu attach/deattach

2.AudiB has fixed the vop read problem,we use soc_is_rk3126 or
  soc_is_rk3128 instead of cpu_is_rk312x to identify Audi
2014-11-27 09:47:39 +08:00
Jaegeuk Kim
090748a40e f2fs: support xattr security labels
This patch adds the support of security labels for f2fs, which will be used
by Linus Security Models (LSMs).

Quote from http://en.wikipedia.org/wiki/Linux_Security_Modules:
"Linux Security Modules (LSM) is a framework that allows the Linux kernel to
support a variety of computer security models while avoiding favoritism toward
any single security implementation. The framework is licensed under the terms of
the GNU General Public License and is standard part of the Linux kernel since
Linux 2.6. AppArmor, SELinux, Smack and TOMOYO Linux are the currently accepted
modules in the official kernel.".

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
(cherry picked from commit 8ae8f1627f)
2014-11-26 18:42:33 +08:00
Jaegeuk Kim
48ec812dcc f2fs: update inode page after creation
I found a bug when testing power-off-recovery as follows.

[Bug Scenario]
1. create a file
2. fsync the file
3. reboot w/o any sync
4. try to recover the file
 - found its fsync mark
 - found its dentry mark
   : try to recover its dentry
    - get its file name
    - get its parent inode number
     : here we got zero value

The reason why we get the wrong parent inode number is that we didn't
synchronize the inode page with its newly created inode information perfectly.

Especially, previous f2fs stores fi->i_pino and writes it to the cached
node page in a wrong order, which incurs the zero-valued i_pino during the
recovery.

So, this patch modifies the creation flow to fix the synchronization order of
inode page with its inode.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
(cherry picked from commit 44a83ff6a8)
2014-11-26 18:42:26 +08:00
Jaegeuk Kim
44cd996db3 f2fs: change get_new_data_page to pass a locked node page
This patch is for passing a locked node page to get_dnode_of_data.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
(cherry picked from commit 64aa7ed98d)
2014-11-26 18:42:03 +08:00
ljf
2f7cb42735 rk3036,rk312x. merge the hevc and vpu workqueue according to audi vpu_combo feature 2014-11-26 17:52:19 +08:00
dkl
8291ffea4b clk: rk3126b: add support and fix clk_pll_set_rate_3036_apll 2014-11-26 17:08:45 +08:00
Mark Yao
f98465a8da rk-fb: display kernel logo if define CONFIG_LOGO
if define CONFIG_LOGO macro, display kernel logo,
else display logo from uboot.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2014-11-25 14:27:43 +08:00
hjc
8fb2012aaa rk312x lcdc: fix fb_par->state error. 2014-11-25 11:44:25 +08:00
许盛飞
eb28b49bcc test-power: add testpower dts-config
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
2014-11-24 12:00:21 +08:00
lyz
2bb9a8534a usb: dwc_otg: fix problems of commit 058d627
1.
schedule_delayed_work(&pcd->check_id_work,msecs_to_jiffies(HZ))
should be schedule_delayed_work(&pcd->check_id_work,HZ)

2.fix coding-style to pass checkpatch.pl

3.set otg controler working on foece host/device mode to avoid
mode_missmatch_interrupts
2014-11-21 19:18:34 +08:00
zyk
e61707d66a rk3126 adc battery: change charge time 2014-11-21 14:56:45 +08:00
Huang, Tao
08b84034cc ARM: rockchip: rk3126b: add initial support 2014-11-21 14:01:21 +08:00
zyk
e5c10971fa rk312x adc battery: save capacity increment from uboot 2014-11-21 11:52:34 +08:00
zyk
1865ddaf3c rk3126-86v dts: add adc battery status for uboot 2014-11-21 11:45:34 +08:00
zyk
501c4c7d9a rk312x adc,author xhc:save old capacity on android 2014-11-21 09:38:47 +08:00
lyz
058d627c10 usb: dwc-otg: using delayed-work to detect id change event instead of id_change intrrupt 2014-11-20 20:23:56 +08:00
hhb
161b114d42 DMA pl330: pl330_get_desc try more to get desc 2014-11-19 15:26:15 +08:00
gwl
8ba4c03c54 Wifi: fix rtl usb wifi resume issue. 2014-11-19 10:57:19 +08:00
smj
3414c7adcd rk3128 : codec : fix the pop sound when codec power on at first 2014-11-18 19:46:06 +08:00
张晴
bc52f1110f rk3288:pmic:ricoh619:slove fuel gauge error when sleep wakeup for a long time 2014-11-18 16:10:52 +08:00
Zheng Yang
c4a062eff7 rk3036 lcdc:
If same layer is closed twice, atv_layer_cnt may be
        set to zero, so vop go to standy. Now win0、win1、hwc
        is mapped to atv_layer_cnt bit[0-2]. When open/close
        layer, set coresponding atv_layer_cnt bit to one/zero.
2014-11-18 11:07:02 +08:00