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
1、remove the autocs keyword.
2、use cfg-val instead of timer-us in rk1808.dtsi
3、remove bus-soc node in px30.dtsi
Signed-off-by: Tony Xie <tony.xie@rock-chips.com>
Change-Id: I0f4563476ad7e08ba8dd9d02097eb4448d024ecd
VOP wrongly treated MCU cmd as normal rgb data and pass it
to dither module when output mode is rgb565/rgb666, then
the cmd output from vop io is changed.
Here we convert the MCU cmd data from rgb565/rgb666 to rgb88,
so that we can get the original cmd data after dither module.
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: I7919dfb9d4f6279b82636d68cd7b211047bf1b46
VOP MCU interface can't work right when dither enabled.
(1) the MCU cmd will be treated as rgb data then changed by
dither algorithm
(2) the dither algorithm works wrong in mcu mode
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: I401907e306928d590fddef9099f4a96dbfc7e0f2