Set RK_TAP_VALUE_SEL flag to disabled dll auto update feature.
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: Id28b1800b8a4728c9919a75669b3f7e35ead18fd
The urgency signal can improve the performance of VOP accessing DDR, since VP0
support 4K120hz output, it usually needs high performance and bandwidth, so it's
enabled at RK3576 VP0.
RK3576 VP0 has 8 lines post linebuffer, when full post line buffer is less 4,
the urgency signal will be set to 1, when full post line buffer is over 6, the
urgency signal will be set to 0.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: If96a3bda6728b1faa36d03f0ae6f71b6a60558a3
We can get the vp max dclk rate from vop reg data, so the function
rockchip_drm_get_dclk_by_width() is unused now.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I88ccb372cdd75db008bcf5ec7913924d046240b8
get vp max dclk rate from vop reg data is more correct, so we use it to
verify vp performance and report to userspace.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I1e590322829e551814ba84bf22d60a4e82b407d1
The vopl is in RK3576_PD_VPU, but the 1to4 module is in
RK3576_PD_VO0.
Change-Id: Ided487b8a53f405a0172800fc1d3e1b4ab0283d6
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
For rk3576 vopl, the vopl is in RK3576_PD_VPU, but the
1to4 module, which helps to support eDP/HDMI/MIPI, is
in RK3576_PD_VO0.
Change-Id: I56e5f640c5fe94e6aa7cc4c7fb79df27e1410a00
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Delete the code that forcibly modifies the PWRCTRL2 and PWRCTRL3 function.
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: I25426e2a0d1794e1d52d87e8e157983b4e4b1021
Resolve system error caused by the set voltage not being an integer
multiple of the uV_step.
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: Icdae0985e0173289c66c1d6cc182da92508acd4c
/reserved-memory/drm-logo@00000000 refers to a node in the device tree.
The part after the @ symbol is the unit address, which should match the
physical or logical address of the device or memory region being
described.
The warning indicates that the unit name (in this case, 00000000) should
not have leading zeros. This is more about adhering to conventions and
ensuring compatibility and readability than about functional
correctness.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I5052698913a2ff8202dbc0f8c2144acd48cb4ac5
/reserved-memory/drm-logo@00000000 refers to a node in the device tree.
The part after the @ symbol is the unit address, which should match the
physical or logical address of the device or memory region being
described.
The warning indicates that the unit name (in this case, 00000000) should
not have leading zeros. This is more about adhering to conventions and
ensuring compatibility and readability than about functional
correctness.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I852aeecd22f5485790548a749f49bce4d1aa5ed9
/reserved-memory/drm-logo@00000000 refers to a node in the device tree.
The part after the @ symbol is the unit address, which should match the
physical or logical address of the device or memory region being
described.
The warning indicates that the unit name (in this case, 00000000) should
not have leading zeros. This is more about adhering to conventions and
ensuring compatibility and readability than about functional
correctness.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I1dcb3212dcab9c7fb45caab428d5e25dd4860a45
/reserved-memory/drm-logo@00000000 refers to a node in the device tree.
The part after the @ symbol is the unit address, which should match the
physical or logical address of the device or memory region being
described.
The warning indicates that the unit name (in this case, 00000000) should
not have leading zeros. This is more about adhering to conventions and
ensuring compatibility and readability than about functional
correctness.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Ied5062144df7936cdd0a7476a62ccb03bfdcca0d
/reserved-memory/drm-logo@00000000 refers to a node in the device tree.
The part after the @ symbol is the unit address, which should match the
physical or logical address of the device or memory region being
described.
The warning indicates that the unit name (in this case, 00000000) should
not have leading zeros. This is more about adhering to conventions and
ensuring compatibility and readability than about functional
correctness.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I947dc5b7e94bf1e1ba231eb6d6d6ef22390c5f62
/reserved-memory/drm-logo@00000000 refers to a node in the device tree.
The part after the @ symbol is the unit address, which should match the
physical or logical address of the device or memory region being
described.
The warning indicates that the unit name (in this case, 00000000) should
not have leading zeros. This is more about adhering to conventions and
ensuring compatibility and readability than about functional
correctness.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I0e3971d091e7935eab34db03ab55bbcf6dad1fb7
litcore and bigcore use pvtpll, lpll and bpll if not used allow disabled.
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I1a625ccd2d9f299400ccaa518bb0496fdbf07f11
/reserved-memory/drm-logo@00000000 refers to a node in the device tree.
The part after the @ symbol is the unit address, which should match the
physical or logical address of the device or memory region being described.
The warning indicates that the unit name (in this case, 00000000) should
not have leading zeros. This is more about adhering to conventions and
ensuring compatibility and readability than about functional correctness.
Change-Id: Ifc2a7931c6a1dc43a390721a24250e9a80747cb4
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
/reserved-memory/drm-logo@00000000 refers to a node in the device tree.
The part after the @ symbol is the unit address, which should match the
physical or logical address of the device or memory region being described.
The warning indicates that the unit name (in this case, 00000000) should
not have leading zeros. This is more about adhering to conventions and
ensuring compatibility and readability than about functional correctness.
Change-Id: I85adad8caac6e2bfef0703640fecb6ff2c20b4f8
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
drivers/net/can/rockchip/rockchip_canfd:24:24: fatal error:
linux/can/led.h: No such file or directory
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I275af809bc9287ba2b5855164166aebcb348e259
clk_extref_timeout_xxx is noc timeout function,
For debug the bus blocked, so use default status.
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I01a79f5fe834141cc066934e628f4375505fc707
There is no PWM function in DSM. Rename it as DSM.
Change-Id: I8d37a3b559c017d2f6dd6bdae9e70a77f0ea8038
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
aclk_rkvdec_root_bak only used by av1 decoder, while other formats
use aclk_rkvdec_root.
Change-Id: I106b61ff6125ea220231ea264cee43201afbbeaf
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
aclk_rkvdec_root and aclk_rkvdec_root_bak are automatically switched by
hardware to achieve high-performance.
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I49e20b86f93331b7c45054d0b42a71b897d391c4
In addition, fix the version check process to switch
for efficiency and readability.
Change-Id: I372e528f61403a72ea574de5aae28174ef3f95fa
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
pld_ptr_range need config fb size to prevent afbc payload out of range
access.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I93392b065fd13bb3cd7e98c924317019b35a79ea
aclk_ufs_sys shows a significant IO improve by dd testing, nearly 10%, if
we improve it to 250MHz when scaling up in devfreq. And scaling it down to
50MHz when there is no transaction.
Change-Id: I02a07d6c429737fc6bdaf18572eee1b3095d4945
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Different platform register bit offset is different, so use VOP_MODULE_GET() to
get the wb_en and wb_wb_vp_id is more reasonable.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Ief2a9b93736589f41e5eb43c686114f4b13ace4a
This is a workaround for RK3528/RK3562/RK3576:
The aclk pre auto gating function may disable the aclk
in some unexpected cases, which detected by hardware
automatically.
For example, if the above function is enabled, the post
scale function will be affected, resulting in abnormal
display.
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: Ia646c77e8010d81d5da390264e61b50ae4898464
For some PHYs, it is necessary to reset the PHY after waking up from
sleep to ensure that it works properly.
Change-Id: I629c12096060c8b5ac1a33dfd5a90a85adddec44
Signed-off-by: David Wu <david.wu@rock-chips.com>