In order to be compatible with deep color mode.
Signed-off-by: Dingxian Wen <shawn.wen@rock-chips.com>
Change-Id: I37ccb5d1130d3c30145e6c0a45632bda4542c2ac
Fixes: 2abd3af02c ("drm/bridge: analogix_dp: Use video format information from register")
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: Ia48058d9f4341adaa35fb4311911c557f0b162b8
Add the companion ohci controller for usb_host0_ehci
and usb_host1_ehci. Then we can use device_link to
enforce suspend/resume and shutdown ordering for them.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I8bc7c21b257beed40163178e4a1fced0763dddd9
Rockchip ehci controller has companion ohci controller,
and the ohci depends on the ehci, if the ehci controller
has been suspend or shutdown, it shouldn't access the ohci
controller, otherwise, the system may hang in ohci_readl
or ohci_writel on Rockchip platforms.
In order to enforce suspend/resume and shutdown ordering,
this commit creates link between the ehci and ohci. This
link avoids to suspend or shutdown ehci before its companion
ohci.
Corresponding, DL_FLAG_AUTOREMOVE_CONSUMER can't be added,
then device_link_removed should be added explicitly.
Meanwhile, the ehci must not be resumed after its companion
if the companion is the consumer device of ehci.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: If2935c651341917251c2178a6833357a73b71079
Default target_load is 80% and change it by the follow command:
echo 65 > /sys/devices/system/cpu/cpu0/cpufreq/schedutil/target_load
Change-Id: Icb02c36eab345a3f2e2d065fba76fdc015f47fa4
Signed-off-by: Liang Chen <cl@rock-chips.com>
The max width and height have been set as default value(16384x16384).
If HDMI sets it to a fixed value, it will cause no output in
Debian's CMD mode.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I2180109b285a9efd562864c6dd3c808b5667232e
isp20 mi config no save to cache and reg write to hw
Change-Id: I3cefcf26cbd7df7e63ca8fea903999d70ca34b78
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
CONFIG_BCMDHD_PCIE and CONFIG_BCMDHD_SDIO can only be selected
from two configurations, since that bcmdhd driver cannot be compatible
with it at present. SDIO interfaces are widely used by default, at least
on our EVB boards.
Tested on RK3399 EVB IND boards:
export CROSS_COMPILE=aarch64-linux-gnu-
make ARCH=arm64 rockchip_linux_defconfig rk3399_linux.config
make ARCH=arm64 rk3399-evb-ind-lpddr4-linux.img -j8
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: I7c1c416b58f618e1cee8f76608c24f750437bfa1
CONFIG_MALI_CSF_SUPPORT is not used on RK356X Socs, that will cause
the mali is abnormal with RK356x Socs.
CONFIG_BCMDHD_PCIE and CONFIG_BCMDHD_SDIO can only be selected
from two configurations, since that bcmdhd driver cannot be compatible
with it at present. SDIO interfaces are widely used by default, at least
on our EVB boards.
Tested on RK3568 EVB1 boards:
export CROSS_COMPILE=aarch64-linux-gnu-
make ARCH=arm64 rockchip_linux_defconfig rk3568_linux.config
make ARCH=arm64 rk3568-evb1-ddr4-v10-linux.img -j8
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: Iea3c3d70fabe9920b95d6b096028b4d73c5b39f1
It's allowed to run without firmware protected mode entry.
While the customer of RK3588 might be troubled by the log.
Change-Id: I9f1b7c795f2095f1851692c93a7f4598acf702fc
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
cat /proc/rkcrypto will show crypto debug info.
Change-Id: I1a295ccf5b8c71036892e866b46d5427d5e53e93
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
use rk_rng_readl as uniform interface for read registers.
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: If3f4225d10153d469bb56967aa5abcea8f23d572
Use CRYPTO_READ or PKA_READ as uniform interface for poll function.
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I47e9e1efd0b4c66efe59eac3253fdaf2723e5c45
Solve the problem that LRCK level amplitude is not enough
Signed-off-by: Binyuan Lan <lby@rock-chips.com>
Change-Id: Id79df3de70cd525e1d5425d4177d774a514c45da
DIGEN_CLKE can only be controlled when the amplifier is turned off
Signed-off-by: Binyuan Lan <lby@rock-chips.com>
Change-Id: I5758cab8f20bd2ede008d1ad138cdadcaa55e39d
This reverts commit 11a0bfb97cb9bf50d5afb8819381d6be8312bd00.
Signed-off-by: Jianlong Wang <jianlong.wang@rock-chips.com>
Change-Id: I953108f01466c5bd52ebc86046d07011dbabc857
RK3588 platform may miss line irq if the line state is not in
SE0(D+ low, D- low) before usb controller call phy init function
and enable line irq.
To resolve this, when usb controller call phy init function, we
can clear host_disconnect state if the line state is not in SE0
which means there is an usb device connected to the port.
Signed-off-by: Jianwei Zheng <jianwei.zheng@rock-chips.com>
Change-Id: Icb3f1abd790f16ddd66bbc098e0c06cc5d922d86
To support clang-14 otherwise too much warnings generated.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: If48817e358d076858a9808dfdc26e4b142858cc9
Not all fpga need PM, enable RGA_DISABLE_PM to disable PM when not needed.
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I9ebc20c1795eb30d60a1cb727a7a7b91b5b5728e
When RGA2_USE_MASTER_MODE is 1, master mode is used, when it is 0,
slave mode is used.
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I0b8356e02f58b5fadcec41dd310bd55192d2aa47