In addition, fix a bug of calling KBASE_KTRACE_ADD() too early.
Change-Id: I843f340526275b50ae7d1ec6a7a68963e081e219
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
On some Rockchip platforms (e.g RK3588 EVB2), the USB
interface is Type-A USB 3.0 with vbus always on. In
this case, the USB PHY may fail to send extcon notifier
to dwc3, and the desired_role_sw_mode is uninitialized.
So we need to initialize the desired_role_sw_mode which
depends on the id status during dwc3 probe.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I79074d11773486250cd9ab286eb450826649bfcb
Should use REG_19H instead of REG_DH.
Fixes: e6ae079436 ("phy: rockchip: naneng-combphy: Force detect Rx for RK356X and RK3588 SoCs")
Change-Id: Ifc9484e850955e6a36c30755a7ba1aee65070d0f
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
The interrupt status bit of the previous error data transmition will
affect the next operation and cause continuous SPI transmission failure.
Change-Id: Ib215d63d8572e3fc8d843652687e1ebfb7ff531e
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
We have the same LAYER_SEL&PORT_SEL register conflicts
issue as rk356x.
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: I68bf32499b04bba5b0089df2bb473673d9804b90
We notice there are many POST_BUF_EMPTY irq when user space
enable a video port but without any attached plane.
Setup dly in this situation can avoid the POST_BUF_EMPTY
irq storm.
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: I907eb1737ac134dda8b2d237584c9d2f2b917b5e
Since the ARGB format was added without processing the address offset
during rotation, the address offset of mmu was calculated incorrectly.
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I602ebd3bcc9c60fd90103ef50e29e6b9f2a11727
At present, the charger ic output otg current limit is 500mA, the
high-current usb device (for example, usb3.0 hard disk) cannot work
normally in Type-C0, such as disconnection and reconnection. According
to the requirements of the usb3.0 protocol, the minimum vbus current
limit is 900mA. We set the charger ic output otg current limit to 900mA,
and the video playback in the usb3.0 hard disk is still unstable.
The rk3588-evb Type-C vbus current limit is about 1.44v, the usb3.0 hard
disk can work stably, so the rk3588s tablet output otg current limit is
configured to 1.5A.
Change-Id: I47bbc6c8f06025504857067d42d780aa783007c6
Signed-off-by: Wang Jie <dave.wang@rock-chips.com>
Without dynamic adjustment, it is managed by secondary standby.
Change-Id: I425108495ffdc827231d77c79cebaeededeb9150
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This adds the necessary data for handling otp on the rk3588.
Change-Id: I55a162dfa5735139c2f1d74510b53496decacbb6
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
The original set the property error message:
[drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set
rockchip hdmi connector property
This patch will output the useful information as below:
[drm:dw_hdmi_rockchip_set_property] *ERROR* Unknown property
[PROP:198:hdmi_color_depth_capacity]
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: I43762d395ebed5e0fcaa96d1ebc6142a5fe1b068
1.The EVB signal test of this configuration is good.
2.This confitguration is compatible with 16MHz and 50MHz SI test case.
Change-Id: Ie259e2e8229d68013efa13278b0479c5dc73739c
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
Add support to get soc info and set voltage read margin.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I254a92ba124655e3efc4922a7425c1f13d384adf
Modify the device tree of different platforms,
enable jpege core, mmu and ccu.
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Change-Id: I741d27934e7ca65536b4eb032ebec083ea181462
Create a new folder under proc according to core_id
Change-Id: I3750a94246c1b0abbb2eec178a272602aecc8e0c
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Modify the label of the jpeg-encoded device node
Change-Id: If34ae2e13fd5813eea0e16f26ab0dff8d5e3b212
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>