It only helps debug in the Bringup.
This reverts commit d4d3e9ea07.
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I7b643e7c955343c2c72fa0b2f6f9db2f93fd1d5c
In addition, add log to check the result of enabling
TPI mode and initializing sii902x.
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: Id09c7e40d7706bd3cfcbb34b775ad5450d703fec
In order to avoid the invalid settings of display mode,
assign crtc atomic API mode_valid as vop_crtc_mode_valid.
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I9abc1e93308d18bde55027163b4c01f32a8429a4
This adds typec orientation switch to support the TCPM framework
for Type-C feature.
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Change-Id: I14aa2bc6a4a377733bd5bfd1e2ff77820dbc2758
The RV1106 EVB2 USB pwren gpio is shared with EMMC, and
it should be first used for EMMC. So set usb to device
only mode.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I93515735360ff3e8966d1628978498f59f812f58
VP share same vop aclk, so only when have one active vp we can adjust aclk
rate in psr mode.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I6c3ea84f5ab8a33d7c48e3c49c4426344e644a8a
Also support fit boot.img is symlink.
Change-Id: I1d2ebea389d0d8a2cbf19dee56832dd087c2c858
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
RVE/RGA use this feature.
Changes to vmlinux size:
Before:
text data bss dec hex filename
2547114 1011100 83856 3642070 3792d6 vmlinux
After:
text data bss dec hex filename
2549039 1011548 83856 3644443 379c1b vmlinux
delta: 2373 (dec)
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ic4bbb0c5769bba6968b449b545e4b0e970abae69
Bind interrupts and delayed works to big cpu, and limit the
minimum frequency of the cpu to 1.2G when hdmi is inserted.
Signed-off-by: Dingxian Wen <shawn.wen@rock-chips.com>
Change-Id: I66204c27d550f76224f1dc7087977a59257abdb8
If the color is YUV format, when resume or change resolution or plugin,
the first few frames of DMA is zero, Cause green screen display.
Signed-off-by: Chen Shunqing <csq@rock-chips.com>
Change-Id: I8084e1c0b3c9b0e763fa8aae24994da6875b2f32
When HDMI0/1 are bound to the same VP, vop will only set one dclk rate,
The frequency of another dclk will not be changed. But HDMI driver will
set phy output frequency, The dclk core->rate does not correspond to the
actual phy output frequency. So dclk core->rate need to be updated when
enable dclk.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I497bf9a01b8210c17b1c720839fc8f5d15dd0baf
We try to avoid to create and look up parent domain hierarchy, which is
a normal way we need because it's indeed is a hierarchy. Instead we set
affinity via parent irq by using irq_set_affinity API.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I04252b956b7c29fb5c156f1c8ff59adf82d5c638
Fix the videobuf2-rdma-sg to videobuf2-cma-sg, and move it into
videobuf2 directory.
The videobuf2-cma-sg almost keep same as videobuf2-rdma-sg, both of them
are referenced from videobuf2-dma-sg. But the videobuf2-cma-sg also
support the videobuf2-dma-sg if the device's attr without force
contiguous attr.
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: I397fd5cbcd54a0575a34ecbc853dda9e53629892
Signed-off-by: Cai YiWei <cyw@rock-chips.com>