When do USB 3.0 Receiver Jitter Tolerance Test, it fails at
Sj Frequency 2.0/4.9/10.0 [MHz]. This patch adjusts the PLL
parameters for USB to pass the Receiver Jitter Tolerance Test,
and it's helpful to improve the USB 3.0 signal compatibility.
Change-Id: I58eb687a4677fe22cf5bc324578b033526310859
Signed-off-by: William Wu <william.wu@rock-chips.com>
1. rockchip,disable-auto-freq, means when get/set/reduce freq,
return directly.
2. set assigned-clock-rates at hardware running rates, then
it not need to adjust before running.
Change-Id: I0d7864112bb5ade99e29bcce9824f84e9a58735e
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
if property set, then it will skip get/set/reduce freq.
Change-Id: I56f641807327e9e63b8ebc0c91e79ffb19680b1c
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
1. Add to support Low Power Solution.
2. Fix that system can't suspend in Android.
3. Fix that the SSID list will be shown very slowly when disable/enable wifi in Android.
Signed-off-by: Alex Zhao <zzc@rock-chips.com>
Change-Id: Ib0f9387e670cb2cb4aca9e2279f76f24dec3aa99
This reverts commit 7b5da4c3b9.
After commit 7ca267faba ("gpio: Increase ARCH_NR_GPIOs to 512"),
default ARCH_NR_GPIOS=512.
Change-Id: I028967da6fe2279d62803fb35d9d8874af9dbd11
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Add a prefix for all clocks to avoid namespace conflicts,
and no functional changes.
Change-Id: I1cf1c868f84b9bee4ba033bdd80c4995876b43f1
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Add a prefix for all clocks to avoid namespace conflicts,
and no functional changes.
Change-Id: I6b586ce859ecf084fe6037c10c775d6bcc78baa1
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
drivers/video/rockchip/mpp/mpp_rkvdec2.c:1029:16: warning:
format '%llx' expects argument of type 'long long unsigned int',
but argument 3 has type 'resource_size_t {aka unsigned int}' [-Wformat=]
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I5bb3ac3a2d5d2d41c802e42ed6a26efb5219d0aa
reason: when kernel version later than mpp which user space, then
it will meet unknow cmd. however, it should not return error, and
let it continue instead.
Change-Id: I1209c27ef8de98f25b47700bc48dfcff305e0c0e
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
Do dma sync after sg table created during ion alloc.
Since dma sync api requires a device, this patch also create a platform
device for ion.
The sg_phys will be filled after buffer mapped, but someone may need to
do sync without map/unmap operation, this patch also fills the sg_phys
after the sg_table created.
Change-Id: I2110f7727dbee55f7498c8d3376efcb7cd869b3a
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This reverts commit 6a40ead69f.
The old patch only do sync for pages first allocated from system to page
pools which have memset operation.
In that case, the sg table hasn't been created, so the sg_phy should be
filled extra.
After this revert, a new patch will push to do sync after sg table
created, and use a common device from ion driver, which is required by
dma_sync api.
Change-Id: I9712136a532f64ff3224308f48d59efb87fd5be2
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Add DMA_BUF_IOCTL_SYNC_PARTIAL support for user to sync dma-buf with
offset and len.
Change-Id: I03d2d2e10e48d32aa83c31abade57e0931e1be49
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This reverts commit fc2f74ccdd.
Use sram can reduce the memory bandwidth usage.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I5fae577671a905348239d0a40299d69e4cd8e6bb
This patch selects the ION_CMA_HEAP, for userspace to allocate continuous
memory area from ion cma-heap allocator.
Change-Id: I501f097cf8005bc7ecad8a0a23706f11b1987d3e
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Enable the configs and had TEE information as below:
root@linaro-alip:~# dmesg |grep optee
[ 0.181303] TEE core: Alloc the misc device "opteearmtz00" (id=0)
[ 0.181507] TEE Core: Register the misc device "opteearmtz00" (id=0,minor=63)
[ 0.848626] optee: probing for conduit method from DT.
[ 0.848657] optee: revision 3.6 (c38b1925)
[ 0.849045] optee: initialized driver
root@linaro-alip:~# realpath /dev/tee*
/dev/tee0
/dev/teepriv0
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: I2e818978c2b3203d859e169f10b86bee1bdac125