Fix build error for !CEC_CORE:
drivers/media/i2c/rk628/rk628_hdmirx.c:1235:17: error: implicit declaration of function 'cec_transmit_attempt_done' [-Werror=implicit-function-declaration]
drivers/media/i2c/rk628/rk628_hdmirx.c:1239:17: error: implicit declaration of function 'cec_received_msg' [-Werror=implicit-function-declaration]
drivers/media/i2c/rk628/rk628_hdmirx.c:1252:9: error: implicit declaration of function 'cec_queue_pin_hpd_event' [-Werror=implicit-function-declaration]
drivers/media/i2c/rk628/rk628_hdmirx.c:1284:21: error: implicit declaration of function 'cec_allocate_adapter'; did you mean 'cec_delete_adapter'? [-Werror=implicit-function-declaration]
drivers/media/i2c/rk628/rk628_hdmirx.c:1284:19: error: assignment to 'struct cec_adapter *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ib395ed380926d93121ba233b1ce5ce273024de36
drivers/spi/spi-rockchip-flexbus-spi.c:367:12: error: 'rk_flexbus_spi_resume' defined but not used [-Werror=unused-function]
Change-Id: I1a8cf00bc51260501847f9797001bf4e10243240
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
drivers/input/touchscreen/parade/pt_core.c:10591:28: error: 'pt_core_rt_suspend' undeclared here (not in a function)
drivers/input/touchscreen/parade/pt_core.c:10591:48: error: 'pt_core_rt_resume' undeclared here (not in a function)
drivers/input/touchscreen/parade/pt_core.c:17046:28: error: 'pt_core_ebc_resume' undeclared (first use in this function)
drivers/input/touchscreen/parade/pt_core.c:17047:29: error: 'pt_core_ebc_suspend' undeclared (first use in this function); did you mean 'pt_early_suspend'?
Change-Id: Id9594b26941f80d16d13195cf0d8c0e9d5187f9b
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
drivers/input/touchscreen/focaltech_touch_ft5726/focaltech_core.c:2096:12: error: 'fts_core_pm_resume' defined but not used [-Werror=unused-function]
drivers/input/touchscreen/focaltech_touch_ft5726/focaltech_core.c:2081:12: error: 'fts_core_pm_suspend' defined but not used [-Werror=unused-function]
Change-Id: Iad119c9a603205e7fd393e28a5c4aff512f57603
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
drivers/input/touchscreen/cyttsp5/cyttsp5_core.c:6212:28: error: 'cyttsp5_core_late_resume' undeclared (first use in this function); did you mean 'cyttsp5_core_rt_resume'?
drivers/input/touchscreen/cyttsp5/cyttsp5_core.c:6213:29: error: 'cyttsp5_core_early_suspend' undeclared (first use in this function); did you mean 'cyttsp5_core_rt_suspend'?
Change-Id: I820b2bd29f8e3db7c7e8b4af81943b5a6d879a47
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
drivers/gpu/drm/rockchip/dw-dp.c:5980:12: error: 'dw_dp_resume' defined but not used [-Werror=unused-function]
drivers/gpu/drm/rockchip/dw-dp.c:5970:12: error: 'dw_dp_suspend' defined but not used [-Werror=unused-function]
drivers/gpu/drm/rockchip/dw-dp.c:5959:12: error: 'dw_dp_resume_noirq' defined but not used [-Werror=unused-function]
drivers/gpu/drm/rockchip/dw-dp.c:5948:12: error: 'dw_dp_suspend_noirq' defined but not used [-Werror=unused-function]
Change-Id: Id49b85c3aaee3da324753b089f5c9617cc581113
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c:4592:12: error: 'dw_hdmi_rockchip_resume' defined but not used [-Werror=unused-function]
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c:4574:12: error: 'dw_hdmi_rockchip_suspend' defined but not used [-Werror=unused-function]
Change-Id: I664da3e2e0df5991aa7f8ffe20487a04dded9e82
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
drivers/mmc/host/sdhci-of-dwcmshc.c:1115:28: error: 'dwcmshc_runtime_suspend' undeclared here (not in a function); did you mean 'pm_runtime_suspend'?
drivers/mmc/host/sdhci-of-dwcmshc.c:1115:53: error: 'dwcmshc_runtime_resume' undeclared here (not in a function); did you mean 'pm_runtime_resume'?
Change-Id: Icb0b18860e3c0bda2a22645cf98bf4bfbbade426
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
drivers/power/supply/rk817_battery.c:630:13: error: 'rk817_bat_resume_work' used but never defined [-Werror]
drivers/power/supply/rk817_battery.c:3090:17: error: 'rk817_get_rtc_sec' defined but not used [-Werror=unused-function]
Change-Id: Ief6fdc006d8489e6452de762c1f8be989ecd45d1
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Fixes the following warning when !SUSPEND:
drivers/soc/rockchip/rockchip_pm_config.c:258:34: error: use of undeclared identifier 'mem_sleep_current'
drivers/soc/rockchip/rockchip_pm_config.c:551:34: error: use of undeclared identifier 'mem_sleep_current'
Change-Id: I9c6c215094444937d58fc877d8841669b54ee63d
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
RK3588/RK3576 support max ffe level up to 3, but some TVS
such as samsung Q700T only support level 0. The max ffe
level is optional according to the hdmi specification.
Therefore, the default max ffe level is set to 0 and can
be configured via dts.
Change-Id: I94d56559c2fe38f8dade63c24c7bcdd13a9aefc9
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
To eliminate the following err log when running test_offscreen_glmark2.sh on the 3588 Linux device:
[ 157.846768] mali fb000000.gpu: Invalid activity state transition. (prev_act = 1, cur_act = 1)
This change originally comes from ARM's suggested modifications_from_SP_241012.
Change-Id: I5f70d9deaca76cd14dda073160f2836c6dc83c47
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
Base on rk3506_defconfig, the rk3502-robot.config difference are
- remove display/ethernet
- add media/v4l2 subsystem and gc2145 sensor
- enable zram swap
- remove no-in-use configs to shrink Image size, about 4.4MB
The other rk3502 boards can use rk3506_defconfig and it's fragments.
Change-Id: I3517aec9c5c4f5368724e648615a5553cc7ac19b
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
motorcomm 8011AN PHY is not capable of automatically detecting
the VDDIO voltage; therefore, it necessitates initialization
configurations that correspond to actual VDDIO voltage levels.
vddio property designates the PHY's IO voltage.
If the vddio property is not specified in the DTS,
the default 3V3 IO hardware initialization settings will be applied.
Signed-off-by: Xu Xuehui <xxh@rock-chips.com>
Change-Id: Iea056f30d8ad47e5970101b4543cfda6f5c843a9
If dma_object is not used, NULL pointer dereference was found.
Fixes: 52729bfaff ("PCI: rockchip: dw: Move dma_obj initialization into rk_pcie_init_dma_trx()")
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I5fe8ec539af1188b5da806026f164a493a577c46
The original configuration will lead to some screen display screen offset,
adjust the dclk delay again to make the compatibility higher
Type: Fix
Redmine ID: N/A
Associated modifications: N/A
Test: N/A
Signed-off-by: Zhibin Huang <zhibin.huang@rock-chips.com>
Change-Id: I732556b429b49418123fd889b67e26885e9b25f8
It is needed to enable rb swap to support MEDIA_BUS_FMT_BGR888_1X24,
because the default 24bpp rgb output is MEDIA_BUS_FMT_RGB888_1X24.
Change-Id: Ifb55f0e97f3a914b9f66b6de49e85697fdc7aeae
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
According to rk3506 SI report, dclk of bt1120/bt656/rgb need to
be inverted by default, in order to ensure that the data is sampled
along the rising edge.
Change-Id: I734f146b5cb33ac6f7f069509a8bb16adefe12d4
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
When enable dci, dci output color format is yuv full
range. So plane csc input is full range.
If hdr is enable plane overlay is rgb so post-csc
input is full range.
Change-Id: I7f98f48ff1ce129aecefb03c587d629b4aca1a0d
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
* commit '3175f92f5eb589ac8e928dd137ce2944f336ce3a':
arm64: dts: rockchip: rk3588-vehicle-evb-v23: Modify the vehicle-dummy to fit the new hardware.
video: rockchip: mpp: fix enc crash when reset
arm64: dts: rockchip: rk3576-vehicle-evb: close usb auto suspend
arm64: dts: rockchip: add rockchip,s2r-perst-inactive-ms for rk3576-ebook
Change-Id: Ida8d271441f032a6e0b12d473a2d637a210b8d56
In the case of devices like Wi-Fi keep on during the sleep, need to
speed up the PCIe wake-up speed when exiting the lite mode sleep avoid
input event drop.
Signed-off-by: Weixin Zhou <zwx@rock-chips.com>
Change-Id: I91fc2f9cc79bef0f9ee28b9ed929bfbc19e8a5fd
1.controller aasert
2.phy initial
3.controller deassert for fully release
4.wait for phy lock
Change-Id: Id7d760825936ecf1c721aa18735e49f644150341
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>