Add sysfs interface to control the low-pass filter bandwidth for both
accelerometer and gyroscope.
Change-Id: I7eb0617476b9aa984276ab5a98f50e32e17d4721
Signed-off-by: LiuDiMing Lin <fenrir.lin@rock-chips.com>
The drivers which use shared iommu, bitmask need xor BIT(DRIVER_TYPE), and DRIVER_TYPE
is defined in mpp_common.h. Such as, avsd、vdpu、iep add vdpp use share iommu, then
bitmask = BIT(DRIVER_VDPU1) | BIT(DRIVER_VDPU2) | BIT(DRIVER_IEP2) | BIT(DRIVER_VDPP).
Change-Id: Ifc8de7422eaa11ba33e9f5e93e4f4b094207a72e
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
drivers/video/rockchip/mpp/hack/mpp_rkvdec2_hack_rk3568.c:677:6: error: no previous prototype for function 'rkvdec2_3568_hack_data_setup' [-Werror,-Wmissing-prototypes]
drivers/video/rockchip/mpp/hack/mpp_rkvdec2_hack_rk3568.c:703:6: error: no previous prototype for function 'rkvdec2_3568_hack_fix' [-Werror,-Wmissing-prototypes]
drivers/video/rockchip/mpp/hack/mpp_rkvdec2_link_hack_rk3568.c:184:6: error: no previous prototype for function 'rkvdec2_3568_hack_fix_link' [-Werror,-Wmissing-prototypes]
drivers/video/rockchip/mpp/hack/mpp_rkvdec2_link_hack_rk3568.c:189:6: error: no previous prototype for function 'rkvdec2_link_hack_data_setup' [-Werror,-Wmissing-prototypes]
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Idf6d3b4602ba2c7f8313e6335908ce0870f7f89b
drivers/soc/rockchip/fiq_debugger/fiq_debugger_arm64.c:45:6: error: no previous prototype for function 'fiq_debugger_dump_regs_aarch32' [-Werror,-Wmissing-prototypes]
drivers/soc/rockchip/fiq_debugger/fiq_debugger_arm64.c:64:6: error: no previous prototype for function 'fiq_debugger_dump_regs_aarch64' [-Werror,-Wmissing-prototypes]
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ie44867116113a460c55e6884f51c3671854d7aa2
drivers/input/touchscreen/parade/pt_core.c:10623:5: error: no previous prototype for function '_pt_request_pip2_enter_bl' [-Werror,-Wmissing-prototypes]
drivers/input/touchscreen/parade/pt_core.c:10872:5: error: no previous prototype for function '_pt_pip2_file_open' [-Werror,-Wmissing-prototypes]
drivers/input/touchscreen/parade/pt_core.c:10920:5: error: no previous prototype for function '_pt_pip2_file_close' [-Werror,-Wmissing-prototypes]
drivers/input/touchscreen/parade/pt_core.c:10968:5: error: no previous prototype for function '_pt_pip2_file_erase' [-Werror,-Wmissing-prototypes]
drivers/input/touchscreen/parade/pt_core.c:11039:5: error: no previous prototype for function '_pt_pip2_file_read' [-Werror,-Wmissing-prototypes]
drivers/input/touchscreen/parade/pt_core.c:11081:5: error: no previous prototype for function '_pt_read_us_file' [-Werror,-Wmissing-prototypes]
drivers/input/touchscreen/parade/pt_core.c:11174:5: error: no previous prototype for function '_pt_request_pip2_bin_hdr' [-Werror,-Wmissing-prototypes]
drivers/input/touchscreen/parade/pt_core.c:11312:5: error: no previous prototype for function '_pt_pip2_file_get_stats' [-Werror,-Wmissing-prototypes]
drivers/input/touchscreen/parade/pt_core.c:11381:5: error: no previous prototype for function '_pt_pip2_file_seek_offset' [-Werror,-Wmissing-prototypes]
drivers/input/touchscreen/parade/pt_core.c:11436:5: error: no previous prototype for function '_pt_pip2_file_crc' [-Werror,-Wmissing-prototypes]
drivers/input/touchscreen/parade/pt_core.c:11484:5: error: no previous prototype for function 'pt_pip2_ping_test' [-Werror,-Wmissing-prototypes]
drivers/input/touchscreen/parade/pt_core.c:611:6: error: no previous prototype for function 'pt_toggle_err_gpio' [-Werror,-Wmissing-prototypes]
drivers/input/touchscreen/parade/pt_core.c:634:6: error: no previous prototype for function '_pt_request_toggle_err_gpio' [-Werror,-Wmissing-prototypes]
drivers/input/touchscreen/parade/pt_core.c:6667:5: error: no previous prototype for function '_pt_request_active_pip_protocol' [-Werror,-Wmissing-prototypes]
drivers/input/touchscreen/parade/pt_core.c:8465:13: error: no previous prototype for function 'pt_irq' [-Werror,-Wmissing-prototypes]
drivers/input/touchscreen/parade/pt_core.c:9064:5: error: no previous prototype for function 'pt_pip2_exit_bl_' [-Werror,-Wmissing-prototypes]
drivers/input/touchscreen/parade/pt_core.c:9201:5: error: no previous prototype for function 'pt_pip2_exit_bl' [-Werror,-Wmissing-prototypes]
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ic932fcb8acec2084d36812ac82d6a877ff5a7ca7
drivers/input/sensors/gyro/ewtsa.c:281:6: error: no previous prototype for function 'gyro_dev_reset' [-Werror,-Wmissing-prototypes]
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I95932a5cfbb38cd0f5019d965accfd3d07f79000
drivers/cpufreq/cpufreq_interactive.c:1372:5: error: no previous prototype for function 'cpufreq_interactive_init' [-Werror,-Wmissing-prototypes]
drivers/cpufreq/cpufreq_interactive.c:1463:6: error: no previous prototype for function 'cpufreq_interactive_exit' [-Werror,-Wmissing-prototypes]
drivers/cpufreq/cpufreq_interactive.c:1498:5: error: no previous prototype for function 'cpufreq_interactive_start' [-Werror,-Wmissing-prototypes]
drivers/cpufreq/cpufreq_interactive.c:1525:6: error: no previous prototype for function 'cpufreq_interactive_stop' [-Werror,-Wmissing-prototypes]
drivers/cpufreq/cpufreq_interactive.c:1543:6: error: no previous prototype for function 'cpufreq_interactive_limits' [-Werror,-Wmissing-prototypes]
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I83452d8e7acb41ff4a33a0f9c261208e72c8dad9
when DSI operates in auto calculation mode,it sends a dsc read
get_scanline request to the peripheral devices to automatically
calculate phy_max_rd_time_auto during the auto calculation training.
However,if the peripheral devices,such as a bridge chip or some panel,
lack the capability to respond to read-back requests,they cannot respond
to the DSI host’s BTA,leading to the signal control not being properly
returned to the DSI host,Therefore,the BTA function should be disabled
in such case.
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
Change-Id: Iddac487ade3de49e73594e92ad2f7b537ddf2335
Prevent panic caused by the completion not being initialized when the
interrupt is triggered.
Change-Id: I375d38505e1375983e74eadcf957b1d928bee355
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com>
Prevent panic caused by the completion not being initialized when the
interrupt is triggered.
Change-Id: I797b0ea28a1b04744b0a64d77c00bd5590987420
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com>
Fixes: a7620fa846 ("drm/rockchip: analogix_dp: add support for color format yuv444/yuv422")
Change-Id: I9f7f498f8c3cf6399142430a9ee984c0f110c2b8
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>