Zefa Chen
ad93efc38d
media: rockchip: vicap fixes error of one_frame_mode to multi_frame_mode in online
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: Ic11607496063702ef0edf84b923454d4a615db47
2024-12-27 09:59:52 +00:00
Zefa Chen
743867868c
media: rockchip: vicap used CONFIG_CPU_XXXX to reduce code size
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: Id0768fe2c7ce3ee5157cc6505eabe1e41e38d789
2024-12-27 09:59:52 +00:00
Zefa Chen
834a1beaf3
media: rockchip: vicap fixes error of sof when work on dual online mode
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: Ie22c1a8cf88c473843144911d50382b9df0efaee
2024-12-27 09:59:52 +00:00
Zefa Chen
9f3e502ead
media: rockchip: vicap fixes error of group sync state to isp
...
error state may lead to reduce fps with offline camera when used dual camera
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: Ie45039ac7ff7ab65d02acde7aad0b6789f793738
2024-12-27 09:59:52 +00:00
Zefa Chen
53626f9b25
media: rockchip: vicap support to streaming sensor together when dev resume and sensor work in group mode
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: I3f194f96e2a527e58e46ea026a81ca05d98231d1
2024-12-27 09:59:52 +00:00
Zefa Chen
0c17ee906f
media: rockchip: vicap stop detect group sync state when app to stop stream
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: I1daf8c055a87aeb11df24eb7a177a98f0dd3c990
2024-12-27 09:59:52 +00:00
Zefa Chen
bdc34a65c0
media: rockchip: vicap fixes error process of online_one_frame mode
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: Ib98ee16e0a0fce2ae71450a701b53be1f0138c60
2024-12-27 09:59:52 +00:00
Zefa Chen
d3de0c6b1e
media: rockchip: vicap clean toisp buf struct after free buf
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: I75a9b88a92e4e13fc8282f8b8d1950ed13729a5b
2024-12-27 09:59:52 +00:00
Zefa Chen
694e7d4a4a
media: rockchip: vicap fixes error of sof
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: I53a3be954195fa96da584e4915f98db12fb419c5
2024-12-27 09:59:52 +00:00
Zefa Chen
c22475b0ab
media: rockchip: vicap fixes error cnt of lack_buf_cnt in rkcif_assign_new_buffer_init
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: I002ccf0b2483e6ccc38221437b0d65ef7136de16
2024-12-27 09:59:52 +00:00
Zefa Chen
5e780d00fa
media: rockchip: vicap fixes group sync logic with half_online mode
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: Ic0567b12bb922749d0107b81d80bec0f14fd8c57
2024-12-27 09:59:52 +00:00
Zefa Chen
6f772e5bec
media: rockchip: vicap skip wait for stop, when work in online mode and toisp is off
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: I30e822b6aea7d455765ae798f86322d4ee395d92
2024-12-27 09:59:52 +00:00
Zheng zhiqi
1a1ba04866
arm64: dts: rockchip: rk3576-vehicle-evb-v20.dts: modified spidev buffer max limit
...
bootargs += "spidev.bufsiz=131072"
modified spidev buffer max limit
Change-Id: I159fe56da65b8bcbb2ae88d485c6485937667985
Signed-off-by: Zheng zhiqi <looper.zheng@rock-chips.com >
2024-12-27 07:58:45 +00:00
Zheng zhiqi
9866c4b539
arm64: dts: rockchip: rk3588-vehicle-evb-v23.dts: modified spidev buffer max limit
...
bootargs += "spidev.bufsiz=131072"
modified spidev buffer max limit
Change-Id: I7391198a7c92630ac5f0febfac17aa55d6eab739
Signed-off-by: Zheng zhiqi <looper.zheng@rock-chips.com >
2024-12-27 11:45:01 +08:00
Ye Zhang
2fb24cd7a7
gpio: rockchip: Support multiple interrupts for a single GPIO
...
Signed-off-by: Ye Zhang <ye.zhang@rock-chips.com >
Change-Id: I1c0add3698b0443938833d33b85ea87de3ad21f2
2024-12-26 19:23:15 +08:00
Ye Zhang
8d1876afd2
ARM: dts: rockchip: rk3502: update interrupts for GPIO
...
Signed-off-by: Ye Zhang <ye.zhang@rock-chips.com >
Change-Id: I3984166caadad5724eab9580af417f41af3c2ed0
2024-12-26 19:23:15 +08:00
Ye Zhang
29c2fd4508
include: dt-bindings: Add RK_PIN_TO_BIT def for Rockchip pinctrl
...
Signed-off-by: Ye Zhang <ye.zhang@rock-chips.com >
Change-Id: I1ecfecba09a3f5f096b972364929fc607a107c43
2024-12-26 19:23:15 +08:00
Sandy Huang
c20c144648
drm/rockchip: vop2: fix rk3576 esmart lb mode define error
...
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
Change-Id: I96aeb0b5a3a3b200a1cc7053c17106ce97cd9e43
2024-12-26 19:04:07 +08:00
Jianlong Wang
918f498b85
arm64: dts: rockchip: rk3328: update usbbrd3 core node
...
[ 3.899868] rockchip-inno-dwc3 usbdrd: failed to find dwc3 core node
Fixes: 655d0987f9 ("arm64: dts: rockchip: rk3328: update to kernel6.1")
Change-Id: I1866a9bd897b3da93afb3b5f8e2279992555353d
Signed-off-by: Jianlong Wang <jianlong.wang@rock-chips.com >
2024-12-26 18:56:00 +08:00
Zhang Yubing
eb2aff477d
drm/rockchip: vop2: initialize the convert_mode and csc_coef before use
...
If the value of covert_mode and csc_coef not initialize, the
compile will assign a default value which may be different by
different compiles. It should initialize their default value
explicitly before use.
Fixes: c08d820f80 ("drm/rockchip: vop2: Support post csc color range convert")
Change-Id: I39be672d6f8fda8fdf8298eafe140f449da32e46
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com >
2024-12-26 18:48:50 +08:00
Lin Jinhan
3b667c194b
crypto: rockchip: cryptodev: add ec verify support
...
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com >
Change-Id: If5372d28643b16c16c86448292887a011c3d9900
2024-12-26 18:48:33 +08:00
Lin Jinhan
9f93757dac
crypto: rockchip: optimize the compatibility of ECC/PKA
...
1. Ensure that the PKA and ECC modules can be switched over.
2. Improve the security of verify to prevent all zeros from
being treated as the correct result in some exceptions.
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com >
Change-Id: If7cdc418cb3285fa7fb905381bfea51587750ee5
2024-12-26 18:48:33 +08:00
Damon Ding
4c2e0b8915
drm/rockchip: vop: remove unsuppoted regs for rv1106
...
The regs overlay_mode/dclk_ddr/rgb_dclk_pol are unsupported, so
it is better to remove them.
Change-Id: I2f48b15c0bfc58eca6e21b7ec1a64724ecc0e359
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
2024-12-26 15:13:59 +08:00
Damon Ding
cf832aa1bf
drm/rockchip: vop: remove unsupported reg overlay_mode for rk3506
...
Change-Id: I7e670ee324e262d936b0565fec642439e8cbbc65
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
2024-12-26 15:13:54 +08:00
Xu Xuehui
f8da7b4d7c
arm64: dts: rockchip: rk3588-vehicle-evb-v23: fix bt gpio config error
...
Signed-off-by: Xu Xuehui <xxh@rock-chips.com >
Change-Id: Iaa44be32248c0bcac0d04971b5c5c3c9cfdec32e
2024-12-25 19:15:11 +08:00
Yu Qiaowei
3fd340d988
video: rockchip: rga3: avoid multiple drop 'current->mm'
...
Change-Id: I57fbb8800bf3af320a931b54b85a8a53094e6194
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com >
2024-12-24 16:52:20 +08:00
Sugar Zhang
6c5d0a72ce
ASoC: rockchip: i2s-tdm: Use SNDRV_PCM_RATE_CONTINUOUS
...
Use SNDRV_PCM_RATE_CONTINUOUS to support continuous range
sample rate, which can support any rate in range.
e.g.
48048, 31000, 768000
SNDRV_PCM_RATE_CONTINUOUS
means the hardware supports all rates in a specific interval.
Sample rates are only restricted by the capabilities of the
clock driver, so use SNDRV_PCM_RATE_CONTINUOUS instead of
SNDRV_PCM_RATE_8000_384000.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
Change-Id: I4811ca8ea63ed72da8cd06e9e8bbd5f450683165
2024-12-24 16:26:28 +08:00
Sugar Zhang
8ecc26a8a9
ASoC: rockchip: i2s: Use SNDRV_PCM_RATE_CONTINUOUS
...
Use SNDRV_PCM_RATE_CONTINUOUS to support continuous range
sample rate, which can support any rate in range.
e.g.
48048, 31000, 768000
SNDRV_PCM_RATE_CONTINUOUS
means the hardware supports all rates in a specific interval.
Sample rates are only restricted by the capabilities of the
clock driver, so use SNDRV_PCM_RATE_CONTINUOUS instead of
SNDRV_PCM_RATE_8000_384000.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
Change-Id: Ieeea4f9ae414f2fa6475fa5f6559162e15c688c9
2024-12-24 16:26:28 +08:00
Sugar Zhang
f136098337
ASoC: dummy-codec: Use SNDRV_PCM_RATE_CONTINUOUS
...
Use SNDRV_PCM_RATE_CONTINUOUS to support continuous range
sample rate, which can support any rate in range.
e.g.
48048, 31000, 768000
SNDRV_PCM_RATE_CONTINUOUS
means the hardware supports all rates in a specific interval.
Sample rates are only restricted by the capabilities of the
clock driver, so use SNDRV_PCM_RATE_CONTINUOUS instead of
SNDRV_PCM_RATE_8000_384000.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
Change-Id: Iac49752b7919bc74ddcc89b53d34a6a5a96ea134
2024-12-24 16:26:28 +08:00
Sugar Zhang
1b3b835a3d
ASoC: rockchip: sai: Use SNDRV_PCM_RATE_CONTINUOUS
...
Use SNDRV_PCM_RATE_CONTINUOUS to support continuous range
sample rate, which can support any rate in range.
e.g.
48048, 31000, 768000
SNDRV_PCM_RATE_CONTINUOUS
means the hardware supports all rates in a specific interval.
Sample rates are only restricted by the capabilities of the
clock driver, so use SNDRV_PCM_RATE_CONTINUOUS instead of
SNDRV_PCM_RATE_8000_384000.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
Change-Id: Ibff0ad918599a18ef29782ff379095996627d7be
2024-12-24 16:26:28 +08:00
Jianlong Wang
fee15752e3
arm64: dts: rockchip: rk3328-evb: enable analog_sound and hdmi_sound
...
Change-Id: I3e844247e03767e55a7ff82608eafb75158c3d81
Signed-off-by: Jianlong Wang <jianlong.wang@rock-chips.com >
2024-12-24 15:24:25 +08:00
Zhibin Huang
e1137ecfee
misc: rk628: dsi: add horizontal colorbar and BER pattern
...
Type: Function
Redmine ID: #N/A
Associated modifications: N/A
Test: N/A
Signed-off-by: Zhibin Huang <zhibin.huang@rock-chips.com >
Change-Id: I79c7571100e2d547548e243e455b17e7609590fc
2024-12-24 14:12:54 +08:00
Cody Xie
ea444b6c97
mfd: display-serdes: Fix out-of-bounds access issue
...
Checked with kasan, the buggy stacktrace:
BUG: KASAN: global-out-of-bounds in serdes_bridge_probe+0x2bc/0x568
Read of size 20 at addr ffffffc009a87240 by task swapper/0/1
CPU: 3 PID: 1 Comm: swapper/0 Tainted: G B 6.1.84 #7
Hardware name: Rockchip RK3576 VEHICLE EVB V20 MOS LINUX Board (DT)
Call trace:
dump_backtrace+0x11c/0x128
show_stack+0x1c/0x28
dump_stack_lvl+0x64/0x7c
print_report+0x150/0x498
kasan_report+0x80/0xf0
kasan_check_range+0xe8/0x198
__asan_loadN+0x20/0x28
serdes_bridge_probe+0x2bc/0x568
platform_probe+0x90/0x108
really_probe+0x118/0x548
__driver_probe_device+0xc0/0x1f0
driver_probe_device+0x60/0x168
Fixes: 563845b474 ("mfd: display-serdes: add serdes display driver support base on mfd arch")
Change-Id: Ib0f6a674d75e0f9861163b0803f327963c3a85e5
Signed-off-by: Cody Xie <cody.xie@rock-chips.com >
2024-12-24 14:07:06 +08:00
Jon Lin
f5031143d9
mtd: spi-nor: boya: Support BY25Q64ESSIG
...
Change-Id: Ia670d98504a9bb1a2a9be5481b2186ecdabe1cce
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2024-12-23 18:31:04 +08:00
Jon Lin
999ff49607
mtd: spi-nor: puya: Support PY25Q256LC
...
Change-Id: I99a39fc0cf86477aa97e4eb555856d8f6a0e9e77
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2024-12-23 18:30:49 +08:00
Jon Lin
9764ff4348
mtd: spi-nor: esmt: Support en25qx64a
...
Change-Id: Ic52e1748c80aed6feea17aa5dbeab262c7b55f0a
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2024-12-23 18:30:41 +08:00
Jake Wu
e31fbef6dd
arm64: dts: rockchip: px30-evb-ddr3-v10: fix sw1/2 for rk809
...
Type: Fix
Redmine ID: #525434
Associated modifications: N/A
Test: self-test
Signed-off-by: Jake Wu <jake.wu@rock-chips.com >
Change-Id: I4271ad161c1a80250629ad133704bfe837cf0150
2024-12-23 15:07:29 +08:00
Tao Huang
3c6462106f
mmc: rk_sdmmc: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: Icd7563b320deba47960ce571e8780c17a323e5b8
2024-12-20 18:36:04 +08:00
Tao Huang
7876043db4
media: videobuf2-cma-sg: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I492d3d9503e2de8cc0f9b23a388d94ecd135cbbe
2024-12-20 18:34:47 +08:00
Tao Huang
ee9bc19eb8
mailbox: rockchip-mbox-demo: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: Ie778a88d9246e7d81a830ec2a55cd13de7e490e3
2024-12-20 18:34:47 +08:00
Tao Huang
14359418a4
mailbox: rockchip: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I1850434be596a5f78ff01f985d5677ee606f8882
2024-12-20 18:34:47 +08:00
Tao Huang
050d99f695
input: touchscreen: Fix typos in Rockchip copyright notices
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: Ief54e322b8cd2f428810de46a3bda31588f23520
2024-12-20 18:34:47 +08:00
Tao Huang
ceaf6706f0
iio: light: ucs12cm0: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I795db4c3bceea87036f0ca7ac8185d301e65dd73
2024-12-20 18:34:47 +08:00
Tao Huang
d02681b53a
iio: adc: rockchip_saradc: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I21009e40bbd55b24ad0960098eb3d147f6b40c74
2024-12-20 18:34:47 +08:00
Tao Huang
f81381b769
Revert "SDMMC: Complete submission SDMMC driver in kernel-3.10.Currently,Only the sdcard can be used."
...
This reverts commit 3afdc6aaef .
This driver is unused since linux 4.4, drop it.
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I2f2260816aaf3637713b811c292673158ab4a981
2024-12-20 18:13:23 +08:00
Tao Huang
791a51855b
Mali: utgard: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I789d8239c08ef8b2086477b40164a2007470a1fb
2024-12-20 17:40:06 +08:00
Tao Huang
7f19b48064
MALI: bifrost: Fix typos in Rockchip copyright notices
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I33e9cc6a988e96bd37a446bd02c2657688ede13f
2024-12-20 17:38:37 +08:00
Tao Huang
7c14384384
gpio: rockchip: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: Iab2fb03e9db190a8456d0bca5df0b1653c56fcf0
2024-12-20 17:37:26 +08:00
Tao Huang
f2dff6de3e
gpio: aw9110: Fix typo in Rockchip copyright notice
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: Ifda4695da966586a409ac4069aa232df43863551
2024-12-20 17:36:45 +08:00
Tao Huang
2c9cb1d943
PM / devfreq: rockchip_dmc: Fix typos in Rockchip copyright notices
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I9140e17cf732b9c0d95509a661592fad2810b362
2024-12-20 17:35:32 +08:00