Remove unneeded address/size cells properties and unit
addresses to fix DTC warnings on RK3576 boards like:
arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dtb:
Warning (unit_address_vs_reg): /i2c@2ac50000/husb311@4e/ports/port@0/endpoint@0: node has a unit name, but no reg or ranges property
Warning (graph_child_address): /usb@23000000/port: graph node has single child node 'endpoint@0', #address-cells/#size-cells are not necessary
Warning (graph_child_address): /i2c@2ac50000/husb311@4e/ports: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary
Change-Id: I5cc8e9f7da6816c9b70daf40bc6b036e24af9eff
Signed-off-by: William Wu <william.wu@rock-chips.com>
HDMI has compatibility problems when the HDMI PHY VDD is set to
the nominal 0.75V. On some televisions, signal may be no recognized
when switch resolution. After actual testing, raising voltage up
to 0.8375V can solve the compatibility problems such as no signal.
Change-Id: I633f0321e83ac2a6325e4ca1de60c4b22c9a9961
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Only some specific win support the color key feature. So for those win
that don't support it, don't expose the color key prop to the user.
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
Change-Id: I75f0ca8c40a3bfa8e45b8a06bdb9576643296386
The sii902x hardware initialization process is during
the probing, including gpio reset and some register
operations. Because of the above, display will be
affected during the switching between uboot logo and
kernel logo.
The modifications are as follows:
1.Add sii902x_is_enabled() to check whether hardware
initialization has been done in uboot.
2.Add loader_protect flag to make sure whether hardwave
initializaiont needs to be done, and the .mode_set()
will not be called if logo enabled, which may cause
display error.
3.Set gpiod_flags of enable/reset gpios to GPIOD_ASIS,
and replace gpiod_set_value() with gpiod_direction_output(),
in order to make gpios status unchanged from uboot
to kernel.
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I430402c2089602c9690fee03ff2ae9f9b2d3a419
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