For RV1126 evb, total dma alloc is 1886 pages, about ~8MiB, so
reserved 8MiB for linux default cma pool.
Change-Id: I33c1d054c3862facb1eefc898aa79491864c4ae5
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Commit 428826f535 ("fdt: add support for rng-seed") moves of_fdt_crc32
from early_init_dt_verify() to early_init_dt_scan() since
early_init_dt_scan_chosen() may modify fdt to erase rng-seed.
However, arm and some other arch won't call early_init_dt_scan(), they
call early_init_dt_verify() then early_init_dt_scan_nodes().
Restore of_fdt_crc32 to early_init_dt_verify() then update it in
early_init_dt_scan_chosen() if fdt if updated.
Change-Id: Ided4eb708f82e6a7d30526fcd80a8a25d35632b1
Fixes: 428826f535 ("fdt: add support for rng-seed")
Reported-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
(cherry picked from commit dd753d961c)
if task entry into the state of isr or delay work, the other cannot
entry again.
Change-Id: I953798de4a57829c4734709f7167d6eab167482b
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
This patch adds a new uvc attribute "uvc_num_request" to
set the number of uvc requests. And the maximum limit is
set to UVC_MAX_NUM_REQUESTS (8), the default value of
uvc_num_request is set to UVC_NUM_REQUESTS (4).
Change-Id: I69d6a4d6547a81b67ce447f271c7a5103671767e
Signed-off-by: William Wu <william.wu@rock-chips.com>
If usb gadget isochronous run in a high load and high bus latency
system, it may fail to start a transfer for isochronous endpoint,
and retry 5 times is not enough. This patch increases the retry
times to 50.
Change-Id: Id95a2b4fb09c3103a1da456b6ccb54ed24d03197
Signed-off-by: William Wu <william.wu@rock-chips.com>
Isp transfer to ispp support quick or one frame mode
date support fbc or no fbc, set mode to node before
open ispp dev, default is one frame yuv422 fbc mode.
For the mode:
BIT(2): enable quick
BIT(1): enable yuv422
BIT(0): enable fbc
For example to quick yuv422 fbc mode:
echo 7 > /sys/module/video_rkispp/parameters/mode
Change-Id: I1c92a69c245cbdf85ff6bc9ab23c6e46c51311c0
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
Same as boot freq, prevent cpufreq drop to 816MHz which will make vdd_arm
drop to 0.725v.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I1c0c95b2ec293e41fdfb68474d62b7aca568fe96
Increase the cpu frequency to 816MHz when cpu resume.
Change-Id: I135d4330b81cd5c4168bda94af1a8e7af42296a7
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
This reverts commit 509d945c0ef72974cc18f0466cb4e6577a3c6c0e.
Use 79e05b456627("drm/rockchip: vop: Set mcu mode before setting output
mode and dither") as a better workaround.
Change-Id: I0e7fb791d9e14fb19e8f44c7d52eaf11d5d4401c
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
When drive vop into mcu mode with mcu_hold enabled,
the following setting of output mode and dither will
not take effect until mcu_hold released.
So we can send mcu cmd at the default output P888 mode,
this give us a changce to avoid the cmd data to be changed
by dither module.
Change-Id: I6b0a23d2cfdacd9b81d0956bea6cedd2dcdde4f6
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
We need to keep HPOUT_POP_SOUND enabled and powered VCM.
Reported-by: XiaoTan Luo <lxt@rock-chips.com>
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Change-Id: I9cd5151dfa6f791985cd381616674df0348e2fcb
Remove the incorrect POP SOUND steps during switch HPOUT
and LINEOUT.
Change-Id: Ibce70c1c779838fb46fbba2dde00c4eb7ab0d715
Reported-by: XiaoTan Luo <lxt@rock-chips.com>
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Add rk.root2nd to mount second rootfs.
For example:
rk.root2nd=/dev/mmcblk0p7 or rk.root2nd=/dev/mmcblk0p7.ext4
Signed-off-by: Weiwen Chen <cww@rock-chips.com>
Change-Id: I976700bc86e44fcef31ebbe8796e3d8968234024