enable monitor:
add rockchip,restart-monitor-en to rkisp node on dts or
echo Y > /sys/module/video_rkisp/parameters/monitor
NOTE: shouldn't enable this when porting camera!!!
Change-Id: I35fa45488136e2e0ec16c4e6179a39f34cf5ebc9
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
if 3dlut enable and 3DLUT_UPDATE = 1,
will start read lut at following case:
1. isp force update
2. frame end
2->1 shouldn't for 3dlut.
Change-Id: I82d03836035bc06e25839fe4d90dba7cd36c2e1a
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
When enable display on loader, init gpio would change
gpio status, that would make screen flash.
Change-Id: I4b69a8d3d83c5bef09014c2134abaee6522a7046
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
This adds USBDP combo PHY related nodes for RK3588S SoCs.
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Change-Id: I838233adebc584a60f36cad76c01a9d1a075e8f3
This patch move device nodes which belong to rk3588 into
rk3588.dtsi.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Ie02c44bf955496b6c73a9ecdf9290c97e61cbcd4
The rk3588s supports multiple USB controllers:
1.2 x USB2.0 HOST (EHCI&OHCI)
2.1 x USB3.0 OTG (DWC3)
3.1 x USB3.0 HOST (xHCI)
This patch adds nodes for these USB controllers.
Note that the phys properties of USB controlles are not
added yet, and they will be added later.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: Id16319990fc570ab2f71673463ffd70d5df3bfb8
Some linux app may be set zpos without any check.
For example mpv: change the zpos of overlay
plane from default value 2 to 1, but the primary
plane zpos is also 1.
Change-Id: I6015c171c6512dc7f10bed7c56933941c9d64a2e
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
This is special feature at rk356x, the cluster layer only can support
afbc format and can't support linear format;
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Ic8efc26c07a088c246969622fcf2973b00abd9c2
We need two vsync cycle when move a window from
on vp to another: the port_mux take effect in
first vsync, than enable the window at second
vsync.
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: I87c1ac0803081ecb201d9218d40fdea89424fbd8
A registered vp(crtc) need a primary plane, some
linux style display software(X11/weston) want more
overlay plane, so we don't register unused vp to
save some plane for overlay.
Change-Id: I66846af7364d1a20f38f35d65ed3fe34b7f280ab
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
This adds the necessary data for handling pvtm on the RK3588 SoCs.
Change-Id: I3a6b4699a5b36fa318dd8e10843fa47079eb5c6c
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Add a new compatible for thermal founding on RK3588 SoC.
Change-Id: I95d1d03b74adfcf18884ca2ec797053a9a686d95
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
ISP has following steps for exception handling:
pm_runtime_get_sync
|
|
iommu_detach_device
|
|
ISP CRU RESET
|
|
iommu_attach_device
The final purpose is to re-enable iommu by calling iommu_attach_device.
However, .detach_dev does not called by iommu_detach_device due to iommu
framework logic, which lead to .attach_dev called by iommu_attach_device
can not completely finished as iommu->domain did not changed by
.detach_dev. The iommu finally is in reset state due to ISP CRU RESET.
So, we remove checking iommu->domain here to let things going.
Another thing, if master attach it's own domain, to keep iommu_node
balance, .detach_dev must also remove checking iommu->domain.
Change-Id: Iedcafbb6d2d8ee0b927c952dde24c1689ff6b65b
Signed-off-by: Simon Xue <xxm@rock-chips.com>
Add a new compatible for thermal founding on RK3588 SoC.
Change-Id: Icb1a915f0dcb4cbc32bc6cb5e3d54b86f9397985
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>