* commit '46e88d6992bcc068485615445a8eed7263fde764': (23 commits)
drm/rockchip: dsi2: add crtc post enable and pre disable callback
drm/rockchip: vop2: set dsc config done in crtc post enable
input: sensors: avoid -Wempty-body warning
input: sensors: accel: dmard10: Make gsensor_reset() static
ASoC: rk312x: Fix missing prototypes
arm64: dts: rockchip: rk3518: Add rockchip,video-1080p-freq for cpu opp table
soc: rockchip: system_monitor: Add support to limit cpu max freq when play 1080p video
net: phy: Convert to use sysfs_emit_at() API
drm/rockchip: dw_hdmi: Explicitly include pinctrl/consumer.h for devm_pinctrl_get
net: rfkill: bt: Explicitly include pinctrl/consumer.h for pinctrl_select_state
ASoC: codecs: rk_dsm: Explicitly include pinctrl/consumer.h for devm_pinctrl_get
spi: rockchip-slave: Explicitly include pinctrl/consumer.h for pinctrl_pm_select_sleep_state
media: rockchip: isp: Explicitly include platform_device.h
regulator: rk801: Explicitly include platform_device.h
soc: rockchip: decompress: Explicitly include of_platform.h for of_platform_device_create
soc: rockchip: thunderboot_mmc: Explicitly include of_platform.h for of_platform_device_create
soc: rockchip: thunderboot_sfc: Explicitly include of_platform.h for of_platform_device_create
video: rockchip: dvbm: Explicitly include of.h for of_match_ptr
clk: rockchip: Explicitly include platform_device.h
ASoC: rockchip: multi-dais: Explicitly include of_platform.h for of_find_device_by_node
...
Change-Id: Ifd5855a70de9fa2e18e59bad53e8a40efecfec88
Add crtc post enable and pre disable callback. Setting dsc config
done in crtc post enable callback if dsc is enable.
Change-Id: I6eb5e3c14ba70c90d2f3337c22754a3a7a96ea81
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
DSC has strict constraint with timing output from VOP. If
vp reset dclk after DSC ready, something will be wrong with
DSC. To avoid this issue, it need set dsc config done after
dclk reset.
Fixes: fdcec7349c ("drm/rockchip: vop2: reset dclk after config stream output")
Change-Id: Ied1cddc381eacd86771ae52af82f31f887fdbf89
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
drivers/input/sensors/accel/bma2xx.c:2093:47: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body]
2093 | DBG("set bandwidth failed!\n");
| ^
Change the empty debug macros to no_printk(), which avoids the
warnings and adds useful format string checks.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I41d3b2eb23fef6f37a7680e869858be27ece3250
sound/soc/codecs/rk312x_codec.c:604:5: error: no previous prototype for rk312x_codec_mute_dac [-Werror=missing-prototypes]
sound/soc/codecs/rk312x_codec.c:2412:6: error: no previous prototype for rk312x_platform_shutdown [-Werror=missing-prototypes]
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I5faa117a8fb6a803bfeffc5c20473e362f4f7ed9
Follow the advice of the Documentation/filesystems/sysfs.rst and show()
should only use sysfs_emit() or sysfs_emit_at() when formatting the value
to be returned to user space.
Fixes: ea074eb627 ("net: phy: add sysfs node for reading PHY's registers")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I642da13c8e4b9351b13592a817c9bf9a9b5c34a7
Building with 'make W=1' shows a harmless -Wempty-body warning:
drivers/video/rockchip/iep/hw_iep_reg.c: In function 'iep_soft_rst':
drivers/video/rockchip/iep/hw_iep_reg.c:1313:49: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body]
1313 | IEP_DBG("soft reset timeout.\n");
| ^
Change the empty debug macros to no_printk(), which avoids the
warnings and adds useful format string checks.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ifff86aeab7cc988d5af694d8709fb4b9c634b044
Using the "start_decom" node requires complex preparation,
such as modifying UBOOT code, adding partitions, modifying
reserved memory. To quickly set up a testing environment,
we introduced the "dynamic_buf_decom" node which only requires
placing test files in the /data/data/ directory to begin
testing hardware decompression
The testing command similar to "start_decom"
echo mode > /sys/devices/platform/fea80000.decompress/dynamic_buf_decom
Change-Id: Ibfa1ec2a7c3e74b5c58392458827a9542c907e23
Signed-off-by: Simon Xue <xxm@rock-chips.com>
Use preferred device_get_match_data() instead of of_match_device() to
get the driver match data in a single step.
Change-Id: I713eea70b5fc6751a2b1f9cbd1334a5cd32d2611
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Use preferred device_get_match_data() instead of of_match_device() to
get the driver match data in a single step.
Change-Id: Ibfc529fcc4709f0ac684a6dd4f79196af4f161dd
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Use preferred device_get_match_data() instead of of_match_device() to
get the driver match data in a single step.
Change-Id: I1db708801f98f00e92f30b690ec0f222d14420d7
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Use preferred device_get_match_data() instead of of_match_device() to
get the driver match data in a single step.
Change-Id: I1ef68ac7b68ed86f06f4df13e57bb4d6092c49ff
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Use preferred device_get_match_data() instead of of_match_device() to
get the driver match data in a single step.
Change-Id: If1ce1ef3a34aa9acbc2438e89031f0b94f459257
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Use preferred device_get_match_data() instead of of_match_device() to
get the driver match data in a single step.
Change-Id: Ic61c69ed5028dc45e62b58cc3c4aa6368978d2e4
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Use preferred device_get_match_data() instead of of_match_device() to
get the driver match data in a single step.
Change-Id: I770517a2c472135c334719d677f474e345ede4aa
Signed-off-by: Tao Huang <huangtao@rock-chips.com>