CONFIG_ROCKCHIP_PERFORMANCE_LEVEL=0 for low performance, low power consumption
CONFIG_ROCKCHIP_PERFORMANCE_LEVEL=1 for normal performance
CONFIG_ROCKCHIP_PERFORMANCE_LEVEL=2 for high performance, high power consumption
Change-Id: I7a88f1a2e43513f647a860b427d8344e34165fa6
Signed-off-by: Liang Chen <cl@rock-chips.com>
Asynchronous mode is disabled when CONFIG_SYNC_FILE is disabled.
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I91da6cdb0221d6c99f61e41e34d0770f049d1d57
This reverts commit e5cb1f01cd.
This function is not stable.
u-boot should also revert this commit:
0b728e80d451 ("drm/rockchip: vop2: disabled aclk of video port when unused")
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: I8f3b1180c29a670433a12993f18b33716bef288f
Phy must be reset or GRF_HDPTX_STATUS will always show phy
is locked.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I9f1ade5ce6f744b1d9590f72b95bc18c58b6d12b
Make APIs and structure only visible in rk_heaps ranges
Change-Id: I396f6dc47210591647f52a2247abc969bb826245
Signed-off-by: Simon Xue <xxm@rock-chips.com>
LPM on the device appears to cause xHCI host controllers
to reset the usb device when run at USB 2.0 high speed,
then the device will enter suspend and unable to exit.
Change-Id: I185cfe2c01f6de20463b041bdf4dac54978f1ada
Signed-off-by: William Wu <william.wu@rock-chips.com>
List total buffer size on the last line
List each buffer size
Change-Id: I5ca932cf77d3fb041c90df38b1cd19f68665f3f3
Signed-off-by: Simon Xue <xxm@rock-chips.com>
This adds optional vbus control for et7303 Type-C controller.
Signed-off-by: Wang Jie <dave.wang@rock-chips.com>
Change-Id: I7cd324f994962f212ff01dbd2b6073753151bfa9
Wlan devices support for RK platform has changed as the function driver
would cut down the power before host driver take place. So L2 must fail
now. We don't need to waste time for waiting for L2 to happen.
Meanwhile, given that the L2 handshake is a MSG TLP level operation, we
don't need such a long time to wait for timeout, in case some buggy devices
wouldn't support it.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I6bd9e54a9ace46c0d44e9f2fcfb1b5ced43136ab
1.Hdmirx DMA caused NOC abnormal pending during hot-plug operation,
resulting in system crash.Detect signal change as soon as possible
and reset hdmirx controller in FIQ to avoid hdmirx DMA exception.
2.Add hdmirx DMA reset operation when HDMI is unplugged and hdmirx
DMA is off.
Signed-off-by: Dingxian Wen <shawn.wen@rock-chips.com>
Change-Id: I89dfda97cc0e4a9ac366a87b134762e400675530
HDMIRX_HDMI interrupt is handled in FIQ and triggered by software
interrupt 468 in HDMIRX driver.
Change-Id: I9f3abb373198bcb615e7290621d6baa96de21a7f
Signed-off-by: Dingxian Wen <shawn.wen@rock-chips.com>
According to the signal test results, it is recommended
to configure the value of TX DLL TAP as 0x9 for HS400.
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I4f999020a2d1c1d415894fb58b63b55f700a1531
Add new ioctl cmd RIOCCRYPT_RSA_CRYPT for rsa encrypt/decrypt.
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: If92e1a71b1ce4fcf6b414736cf6405a1d7b6334c
Support call same level initcall async in kthread.
Introduce kernel parameter "initcall_nr_threads" control how many threads.
initcall_nr_threads default is 0, which disable intcall async.
initcall_nr_threads=-1, auto selected the number of threads.
Save boot time about 29ms on rk3126-bnd-d708 board.
Change-Id: I04663d22500bc1d65ca5841fb08e4b57083d6b5e
Signed-off-by: Tao Huang <huangtao@rock-chips.com>