Do DR_SWAP (UFP/Sink swap to DFP/Sink) when received VDM DiscIdentity
NAK or terminated in VDM DiscModes to fix altmode negotiation failure.
This can fix a few odd DP monitor (DFP/Source) can not start DR_SWAP
to UFP/Source role at DP altmode negotiation stage.
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: Ieae9489c068064a20e04151f322ac82a71a72aa4
Support two AVM cameras powered by max96712 and max96722.
Support i2s1 works with ADSP-21562 in tdm8 format, and i2s3 to bluetooth.
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Signed-off-by: Luo Wei <lw@rock-chips.com>
Change-Id: Ic766cc17298ef2a03cc362a62e780e24f2ca1060
SMIC TudorAG and previous versions:
During playback, a POP sound occurs when the recording is opened.
This patch is intended to fix this issue.
Change-Id: I86f79cd531738113092723e1ef198b093ae472b9
Signed-off-by: Binyuan Lan <lby@rock-chips.com>
Some SDIO devices need stable clock provided even after finishing
data transfer.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I5f048e15b3cafb2d24b93dbd41892f2fb77f8df8
Power save optimization may cause rkvdec timeout when decoding some HEVC
bitstream.
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
Change-Id: I60c9e578e53a37dbe610b03912fc0007a782f960
rk_flinger_first_done & vehicle_flinger_reverse_open may run
at the same time, cause buffer rotate-mirror value changed;
so fix it.
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: Ie278d89d53386a91700961137f2a60a6a442c0e9
when vehicle in open state, set android ready will close/open stream;
cause preview stuck a moment, so fix it.
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: I1734edb8de1f52434fa8e6a3a890453fbd51945e
Original vop show required 64 pixel aligned for width,
but now all resolution are scale to 1920x1080 or
1088x1920 for 90/270 degree rotation is 64 aligned;
so rga blit is no needed to do 64 aligned limit, fix it.
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: I42433009182d1f29372a0ebe4f7482f9b82a64f6
if too many mipi err print in irq, it cause system stuck,
so use workqueue to print mipi err to fix it.
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: I8bf29f3dc17c1e1b722fad6b2b3841db71e17dca
The rtc alarm status must be cleared after alarm 1s or after the alarm
is disabled.
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I0874a24d1a3c0e7fd5e8462871d508392f7853cc
When UVC gadget as bulk mode connect to Linux (tested on Ubuntu 18.04),
it may occur twice set_alt for streaming interface, and the UVC state
is moved to "UVC_STATE_STREAMING" before process stream on event, so
amend to check the uvc state value to fix stream on error return.
Fixes: d471d7168a ("usb: gadget: uvc: fix NULL pointer dereference when usb hotplug")
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Change-Id: Ib0d65c161d8680186ae26b2c8a0f6116b599c158
According to the SI report, set default drive strength
as below:
clk level_4
den level_3
hsync level_3
data0-23 level_3
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: Ie14bb84e485c87a6f153bf0b23e13adeb21dadca
At interlace mode, the adjusted_mode->crtc_vdisplay will be div2 from vdisplay,
but the userspace is still set as adjusted_mode->vdisplay.
Fixes: bfc49df515 ("drm/rockchip: vop3: plane display size check use crtc_* parameter is more correct")
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I6765e5486dc4d15b0b34b75370280d48500ef4da
1.Double OIP=0 after page 13H
2.The nand flash does not support 84H and 34H command
Change-Id: Ie805f42a36e1a864115988087bdc43592cc94ded
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
Fix 2 issue:
1.The array_index_nospec will clamp the index within the range of
[0, size).If no core is idle, it still return core_id = 0 that will
cause core 0 dispatch to work.
2.Disable a core dose not take effect.
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I939b0eee16fcec495b8cfe87aff3cb3e59044e5e
The FBS feature may not be re-enabled if an error occurred
during soft reset. If the host supports FBS, this patch will
re-enable FBS at the end of soft reset.
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I821bf5362c6be8ddf142823ad6b6268c797bcded
1/ disable CONFIG_DM_VERITY
On Linux OS, it is not necessary to enable CONFIG_DM_VERITY by default,
only required if secureboot or security related functions are enabled.
2/ adjusting the config order
make ARCH=arm menuconfig, then make ARCH=arm savedefconfig
to check.
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: If0c11c32bf3ea42a36fa7fa12fbd9cc4a464e200