Huang, Tao [Fri, 26 Dec 2014 05:56:29 +0000 (13:56 +0800)]
arm/configs: add CONFIG_SECCOMP to rockchip_defconfig
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
CMY [Fri, 28 Nov 2014 06:49:59 +0000 (14:49 +0800)]
rk: ion: fix dts parse failure on arm64
CMY [Fri, 24 Oct 2014 06:12:22 +0000 (14:12 +0800)]
rk: ion: fix compilation error on arm64
Conflicts:
drivers/staging/android/ion/rockchip/rockchip_ion.c
include/linux/rockchip_ion.h
dkl [Wed, 17 Dec 2014 08:36:17 +0000 (16:36 +0800)]
clk: rockchip: set aclk_core_div to 4 for all rates in rk3036_apll_table
Set aclk_core_div to 4 for all rates, which makes rk3126\rk3128\rk3126b apll
frequency change stably.
Signed-off-by: dkl <dkl@rock-chips.com>
Wu Liang feng [Thu, 25 Dec 2014 06:52:22 +0000 (14:52 +0800)]
USB: DWC_OTG: Support otg suspend and resume pm
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
Mark Yao [Thu, 25 Dec 2014 02:06:38 +0000 (10:06 +0800)]
rk312x: lcdc: fix shutdown power and clock deinit
immediately power down lcdc and clock, maybe
regs_update_handler still work, some status would
became wrong.
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
CMY [Tue, 23 Dec 2014 09:51:27 +0000 (17:51 +0800)]
rk: ion: ion's heap id order by heap type
need update android, including:
hardware/rk29/libgralloc_ump/
hardware/rk29/camera/
external/rk-pcba-test/
lyz [Mon, 22 Dec 2014 07:48:08 +0000 (15:48 +0800)]
usb: rk312x: rk3126/3128 usb phy tuning set OTG port disconnect
trigger point to 600mv, default is 650mv
chenzhen [Wed, 17 Dec 2014 06:13:01 +0000 (14:13 +0800)]
mali_760_driver, rk_ext :
Add log of ver_info and built_time of mali_ko.
chenzhen [Mon, 15 Dec 2014 06:43:41 +0000 (14:43 +0800)]
mali_760_driver : rk_ext on arm_release_ver, from r5p0-02dev0.
chenzhen [Mon, 15 Dec 2014 06:20:31 +0000 (14:20 +0800)]
mali_760_driver : arm_release_ver r5p0-02dev0.
li bing [Wed, 17 Dec 2014 05:58:18 +0000 (13:58 +0800)]
rk312x: close the bluetooth in the file rk3128-box-rk88.dts.
Huang, Tao [Wed, 17 Dec 2014 05:41:37 +0000 (13:41 +0800)]
ARM: rk: kernel.img depends on logo_kernel.bmp
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
ljf [Tue, 16 Dec 2014 11:56:18 +0000 (19:56 +0800)]
iep driver:
get rid of kfree buffer which allocated using devm_kzalloc.
Signed-off-by: ljf <ljf@rock-chips.com>
zsq [Mon, 15 Dec 2014 09:24:31 +0000 (17:24 +0800)]
remove rga driver mmu buf malloc to prevent crash
dalon.zhang [Mon, 15 Dec 2014 08:25:18 +0000 (16:25 +0800)]
camera: UVC: fix UVC interrupt and other issues
cl [Mon, 15 Dec 2014 01:09:09 +0000 (09:09 +0800)]
rk312x: miss the new file rk3126.dtsi&&3128.dtsi for the commit
c59e8d086aaf89d0f48351ff7287708b57e5aba1(rk312x: adjust dts relation)
Signed-off-by: cl <cl@rock-chips.com>
chenzhen [Thu, 11 Dec 2014 07:11:57 +0000 (15:11 +0800)]
rk, gpu :
source code for device/rockchip/common/gpu/libMali-T760/mali_kbase.ko,
in branch rk/rk32/mid/5.0/develop,
commit
1b187041f11b7ca1d6c1490b934f09648f334a19.
cl [Fri, 12 Dec 2014 09:59:56 +0000 (17:59 +0800)]
rk312x: adjust dts relation
Signed-off-by: cl <cl@rock-chips.com>
Huang, Tao [Fri, 12 Dec 2014 04:14:01 +0000 (12:14 +0800)]
ARM: rk: build resource.img with logo_kernel.bmp
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
hjc [Fri, 12 Dec 2014 02:41:03 +0000 (10:41 +0800)]
rk fb: delete unused message
Signed-off-by: hjc <hjc@rock-chips.com>
zyc [Fri, 12 Dec 2014 03:40:23 +0000 (11:40 +0800)]
cif: set CONFIG_RK30_CAMERA_ONEFRAME default as yes in rockchip_defconfig
dkl [Fri, 12 Dec 2014 02:38:00 +0000 (10:38 +0800)]
clk: rockchip: fix some code style problems in clk-pll.c
Signed-off-by: dkl <dkl@rock-chips.com>
dkl [Fri, 12 Dec 2014 02:25:26 +0000 (10:25 +0800)]
clk: rockchip: fix pll_clk_get_best_set() for rk3188plus type pll
When selecting a best setting for rk3188plus type pll, consider a
larger NO first(means larger VCO freq), and a smaller NR later.
Signed-off-by: dkl <dkl@rock-chips.com>
lyz [Wed, 10 Dec 2014 14:24:38 +0000 (22:24 +0800)]
rk32: disabled ohci in dt
lyz [Wed, 10 Dec 2014 14:23:46 +0000 (22:23 +0800)]
ARM: rockchip: rockchip_defconfig add USB_OHCI_HCD
lyz [Wed, 10 Dec 2014 14:18:58 +0000 (22:18 +0800)]
rk312x: add support for ehci to all rk312x series
lyz [Wed, 10 Dec 2014 07:57:17 +0000 (15:57 +0800)]
rk32: ehci: work-around for abnormal ohci
lyz [Wed, 10 Dec 2014 07:40:21 +0000 (15:40 +0800)]
Revert "USB: Fix EHCI bug if connect with FS or LS device."
This reverts commit
f65cb6fc5a364f0efba4fc9f0039c4ddb34ef4dd.
hjc [Thu, 11 Dec 2014 04:40:01 +0000 (12:40 +0800)]
rk fb: box is use NO_DUAL mode,so fb have to disable dsp_black
Signed-off-by: hjc <hjc@rock-chips.com>
Mark Yao [Thu, 11 Dec 2014 05:49:03 +0000 (13:49 +0800)]
rk_fb: logo: get kernel logo addr from protect memory region
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
CMY [Thu, 11 Dec 2014 04:58:09 +0000 (12:58 +0800)]
rk: mem: protect memory region that specified by uboot on kernel booting
CMY [Thu, 11 Dec 2014 04:53:29 +0000 (12:53 +0800)]
rk: ion: cma reserve 640MB at anywhere by default on rk32xx
lintao [Wed, 10 Dec 2014 09:16:14 +0000 (17:16 +0800)]
Revert "mmc: auto-pin when pm call for udbg"
This reverts commit
4ac86774c95b8f8cd8d80605fc332010cc02714e.
hjc [Wed, 10 Dec 2014 09:16:07 +0000 (17:16 +0800)]
rk3288 hdmi: add config for hdmi
Signed-off-by: hjc <hjc@rock-chips.com>
hjc [Wed, 10 Dec 2014 08:44:05 +0000 (16:44 +0800)]
rk312x lcdc: fix no used function call.
Signed-off-by: hjc <hjc@rock-chips.com>
Luowei [Wed, 10 Dec 2014 06:19:53 +0000 (14:19 +0800)]
rk3128-box:update dts according to pm.c
Mark Yao [Wed, 10 Dec 2014 01:42:31 +0000 (09:42 +0800)]
rk_fb: rk312x: direct power on lcdc when do fb_unblank
when do fb blank, we diretcly off the lcdc, so I think
we should power on lcdc in pairs.
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Luowei [Wed, 10 Dec 2014 00:20:38 +0000 (08:20 +0800)]
rk3288:umask dma support for spi
lyz [Tue, 9 Dec 2014 14:25:41 +0000 (22:25 +0800)]
rk312x: usb: cleanup ohci-rockchip.c and make it support rk312x
lyz [Tue, 9 Dec 2014 14:23:05 +0000 (22:23 +0800)]
rk312x: usb: Skip DWC HOST for rk3126/3128 and usb phy tuning
1.Use EHCI/OHCI for all rk312x series
2.Set Host disconnect trigger point to 600mv, default is 650mv
lyz [Tue, 9 Dec 2014 12:31:32 +0000 (20:31 +0800)]
phy: backport generic phy framework from kernel-3.18
Luowei [Tue, 9 Dec 2014 10:00:49 +0000 (18:00 +0800)]
rk3036:add CONFIG_SWITCH again
sugar [Tue, 9 Dec 2014 08:29:02 +0000 (16:29 +0800)]
i2s: compatible with rk3126/rk3126b/rk3128.
because i2s controller is different between rk3126 and rk3126b,
but require the same dtb, so add runtime compatible.
hjc [Mon, 8 Dec 2014 10:24:22 +0000 (18:24 +0800)]
rk312x lcdc: fix vop csc config error
Mark Yao [Mon, 8 Dec 2014 08:55:21 +0000 (16:55 +0800)]
rk_fb: logo: support display bmp logo from uboot
get bmp file data from bootargs "kernel_logo=xxxxxx", decoder bmp
file to framebuffer.
now support rle 8bit bmp files and 24bit bmp files.
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
hjc [Mon, 8 Dec 2014 03:53:47 +0000 (11:53 +0800)]
rk fb: update fb config done info.
this commit depend on hwc update,
including the following directory:
hardware/rk29/hwcomposer_rga/
hardware/rk29/libgralloc_ump/
hardware/libhardware/
typ [Mon, 8 Dec 2014 02:50:18 +0000 (10:50 +0800)]
RK3126/3126B DDR:fix ddr DQS1 drv set err
sugar [Mon, 8 Dec 2014 01:44:14 +0000 (09:44 +0800)]
Merge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into rk30/box/4.4_r1/develop
sugar [Mon, 8 Dec 2014 01:40:26 +0000 (09:40 +0800)]
i2s: compatable with rk3126/rk3126b/rk3128.
sugar [Mon, 8 Dec 2014 01:11:51 +0000 (09:11 +0800)]
Revert "rk3126/rk3126b: i2s: use i2s_2ch."
This reverts commit
942d98b30dd2c9907b4f53c160a16ee4216745a0.
lyz [Tue, 25 Nov 2014 11:33:13 +0000 (19:33 +0800)]
usb: cleanup useless struct usb20otg_pdata_id
许盛飞 [Fri, 5 Dec 2014 11:05:59 +0000 (19:05 +0800)]
RK3126B: RK3126B delete the EBC
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
li bing [Fri, 5 Dec 2014 09:20:51 +0000 (17:20 +0800)]
wifi->esp8089: add wifi mac address user-defined function.
sugar [Fri, 5 Dec 2014 06:36:00 +0000 (14:36 +0800)]
rk3126/rk3126b: i2s: use i2s_2ch.
blb [Fri, 5 Dec 2014 05:59:29 +0000 (13:59 +0800)]
rk3128 & rk3036 : change the led color when power up and down
Signed-off-by:blb <blb@rockchips.com>
li bing [Fri, 5 Dec 2014 02:41:35 +0000 (10:41 +0800)]
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.
hjc [Fri, 5 Dec 2014 00:46:11 +0000 (08:46 +0800)]
rk fb: mid not support uboot display hdmi, so wo identify box and mid at switch screen
cl [Thu, 4 Dec 2014 02:12:52 +0000 (10:12 +0800)]
rockchip: avoid change ddr freq before lcd driver is inited
Signed-off-by: cl <cl@rock-chips.com>
cl [Wed, 3 Dec 2014 11:54:35 +0000 (19:54 +0800)]
rk3288: arm pvtm add RK3288_PROCESS_V2
Signed-off-by: cl <cl@rock-chips.com>
Mark Yao [Wed, 3 Dec 2014 07:05:15 +0000 (15:05 +0800)]
rk_fb: sysfs: make use vmap/vunmap in pairs.
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Mark Yao [Wed, 3 Dec 2014 02:05:26 +0000 (10:05 +0800)]
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>
Mark Yao [Wed, 3 Dec 2014 01:48:50 +0000 (09:48 +0800)]
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>
Mark Yao [Mon, 1 Dec 2014 09:21:25 +0000 (17:21 +0800)]
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>
lyz [Tue, 2 Dec 2014 10:55:37 +0000 (18:55 +0800)]
usb: dwc_otg: fix incorrect bit operation
typ [Tue, 2 Dec 2014 02:25:05 +0000 (10:25 +0800)]
RK3126B DDR:add supporting DDR change freq
ljf [Mon, 1 Dec 2014 03:35:08 +0000 (11:35 +0800)]
hevc, add scaling list table patch in kernel, fix bug in scaling list enable hevc video playback
Mark Yao [Mon, 1 Dec 2014 00:47:24 +0000 (08:47 +0800)]
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>
dalon.zhang [Sat, 29 Nov 2014 11:38:54 +0000 (19:38 +0800)]
camera : cif : v0.1.a Support rk3288 cif driver
ljf [Fri, 28 Nov 2014 07:10:59 +0000 (15:10 +0800)]
vcodec iommu, fix some vp8 source decode cause
iommu pagefault. omit some iommu table creation.
Signed-off-by: ljf <ljf@rock-chips.com>
CMY [Fri, 28 Nov 2014 07:07:49 +0000 (15:07 +0800)]
rk: ion: change ion's debug node for other r/w
Mark Yao [Fri, 28 Nov 2014 06:32:01 +0000 (14:32 +0800)]
rk_fb: rk3128: fix crash when boot when with hdmi plug
enable iommu when first ion buffer take effect.
Zheng Yang [Fri, 28 Nov 2014 06:13:16 +0000 (14:13 +0800)]
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.
许盛飞 [Fri, 28 Nov 2014 01:51:09 +0000 (09:51 +0800)]
rk312xdts: reconfiguration the rk3126-sdk.dts
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
smj [Fri, 28 Nov 2014 01:09:27 +0000 (09:09 +0800)]
rk3036:SDK enable sdmmc
rk88 disable pwm_regulator
Signed-off-by: smj <smj@rock-chips.com>
许盛飞 [Fri, 28 Nov 2014 01:11:21 +0000 (09:11 +0800)]
rk312x-sleep: arm-off and ddr_selfrefres by soft controled
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
blb [Thu, 27 Nov 2014 12:40:42 +0000 (20:40 +0800)]
rk3128 & rk3036: add the power led support of box-rk88
Signed-off-by: Bai Longbiao <blb@rock-chips.com>
lintao [Thu, 27 Nov 2014 12:04:24 +0000 (20:04 +0800)]
Revert "mmc: add rto for infinit sending timeout loop"
This reverts commit
426495888a245034d2b60e8c032ed5bd725a44ac.
Mark Yao [Thu, 27 Nov 2014 08:33:18 +0000 (16:33 +0800)]
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>
lintao [Fri, 21 Nov 2014 00:32:23 +0000 (08:32 +0800)]
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>
lintao [Thu, 20 Nov 2014 01:47:32 +0000 (09:47 +0800)]
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>
Simon Xue [Thu, 27 Nov 2014 01:27:39 +0000 (09:27 +0800)]
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
Jaegeuk Kim [Mon, 3 Jun 2013 10:46:19 +0000 (19:46 +0900)]
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
8ae8f1627f39bae505b90cade50cd8a911b8bda6)
Jaegeuk Kim [Mon, 20 May 2013 01:10:29 +0000 (10:10 +0900)]
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
44a83ff6a81d84ab83bcb43a49ff1ba6c7e17cd1)
Jaegeuk Kim [Mon, 20 May 2013 00:55:50 +0000 (09:55 +0900)]
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
64aa7ed98db489d1c41ef140876ada38498678ab)
ljf [Wed, 26 Nov 2014 09:52:19 +0000 (17:52 +0800)]
rk3036,rk312x. merge the hevc and vpu workqueue according to audi vpu_combo feature
dkl [Tue, 25 Nov 2014 08:53:24 +0000 (16:53 +0800)]
clk: rk3126b: add support and fix clk_pll_set_rate_3036_apll
Mark Yao [Tue, 25 Nov 2014 06:16:01 +0000 (14:16 +0800)]
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>
hjc [Tue, 25 Nov 2014 03:44:25 +0000 (11:44 +0800)]
rk312x lcdc: fix fb_par->state error.
许盛飞 [Mon, 24 Nov 2014 04:00:21 +0000 (12:00 +0800)]
test-power: add testpower dts-config
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
lyz [Fri, 21 Nov 2014 08:18:49 +0000 (16:18 +0800)]
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
zyk [Fri, 21 Nov 2014 06:56:45 +0000 (14:56 +0800)]
rk3126 adc battery: change charge time
Huang, Tao [Fri, 21 Nov 2014 06:00:14 +0000 (14:00 +0800)]
ARM: rockchip: rk3126b: add initial support
zyk [Fri, 21 Nov 2014 03:52:34 +0000 (11:52 +0800)]
rk312x adc battery: save capacity increment from uboot
zyk [Fri, 21 Nov 2014 03:45:34 +0000 (11:45 +0800)]
rk3126-86v dts: add adc battery status for uboot
zyk [Fri, 21 Nov 2014 01:38:47 +0000 (09:38 +0800)]
rk312x adc,author xhc:save old capacity on android
lyz [Thu, 20 Nov 2014 11:09:04 +0000 (19:09 +0800)]
usb: dwc-otg: using delayed-work to detect id change event instead of id_change intrrupt
hhb [Wed, 19 Nov 2014 07:26:15 +0000 (15:26 +0800)]
DMA pl330: pl330_get_desc try more to get desc
gwl [Wed, 19 Nov 2014 02:57:10 +0000 (10:57 +0800)]
Wifi: fix rtl usb wifi resume issue.
smj [Tue, 18 Nov 2014 11:46:06 +0000 (19:46 +0800)]
rk3128 : codec : fix the pop sound when codec power on at first