Commit Graph

1255557 Commits

Author SHA1 Message Date
Tao Huang
cb05cc470c Merge commit '1ccd57c4b028ff3fdf84a9a50d0394bc9dffcd74'
* commit '1ccd57c4b028ff3fdf84a9a50d0394bc9dffcd74':
  arm64: dts: rockchip: rk3588-vehicle-s66-v10 support wifi/bt
  arm64: dts: rockchip: rk3588-vehicle-adsp-audio-s66 fix i2s-tdm
  media: rockchip: isp: fix 3dlut for multi sensor
  arm64: dts: rockchip: rk3528: Add trim configure for tsadc
  thermal: rockchip: Add trim temperature for rk3528
  video: rockchip: rga3: avoid premature wake_up causing request to be freed
  phy: rockchip: usbdp: amend to improve USB compatibility
  mtd: spi-nor: xmc: Support XM25QH256C
  arm64: dts: rockchip: rk3588-vehicle-display-v20: not assign clock for vop
  media: i2c: add os02k10 driver
  ARM: dts: rockchip: rv1106-evb: add mcu display v20 board
  arm64: dts: rockchip: add rk3528 demo6 dts
  video: rockchip: rga3: fix memory mapping will be skipped when handle is 0
  arm64: dts: rockchip: rk3568: Add opps for rk3568j/m

Conflicts:
	arch/arm64/boot/dts/rockchip/rk3568.dtsi
	drivers/media/i2c/Kconfig
	drivers/media/i2c/Makefile
	drivers/mtd/spi-nor/xmc.c

Ignore:
commit 0c5cc59876 ("arm64: dts: rockchip: rk3568: Add opps for rk3568j/m")
commit 724009a9d7 ("mtd: spi-nor: xmc: Support XM25QH256C")

Change-Id: I07a4b82a2dfae98c894cc28af98a4e2eeb1b8006
2023-08-22 20:13:40 +08:00
Jon Lin
8e9b7888a9 mtd: spi-nor: xmc: Support XM25QH256C
Change-Id: I0d1ee1b1615f9d29b472ef5bc8e2ed9aabd86602
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2023-08-22 20:05:01 +08:00
Liang Chen
b394f92e26 arm64: dts: rockchip: rk3568: Add opps for rk3568j/m
Change-Id: I2e394d1de0dc8d856177a7083b56dc3ac81c5816
Signed-off-by: Liang Chen <cl@rock-chips.com>
2023-08-22 15:27:18 +08:00
Tao Huang
247067d5e2 Merge commit 'fbd35aede4e2c60a1557bd824a4a194893d93695'
* commit 'fbd35aede4e2c60a1557bd824a4a194893d93695':
  cpufreq: rockchip: set supported hw version for opp
  driver: rknpu: Update rknpu driver, version: 0.9.1
  media: i2c: sc301iot: pm runtime put device until stream off for thunderboot
  drm/rockchip: dw-dp: support hdcp key without aes encrypt
  video: rockchip: mpp: fix session cleanup issue
  media: i2c: sc3338 support normal boot
  arm64: dts: rockchip: rk3588-vehicle-evb-v21: change pcie wifi power control
  arm64: dts: rockchip: rk3308bs-evb-mipi-display-v11: reduce drive strength of lcdc d18~23 from 6ma to 2ma
  ARM: dts: rockchip: rv1106g-evb2-v10: correct sc3338 gpio
  phy: rockchip-typec: use phy interface replace global functions
  drm/rockchip: cdn-dp: use phy interface replace global functions
  phy: rockchip-typec: Fix DP lane config

Conflicts:
	drivers/cpufreq/rockchip-cpufreq.c

Ignore:
commit fbd35aede4 ("cpufreq: rockchip: set supported hw version for opp")

Change-Id: Ib0a67c2e034e9863bd8a02a4ee032c3c10971078
2023-08-22 15:03:24 +08:00
Tao Huang
54406c0eb1 Merge commit '6397c9ae572a61003dde39d2563c487bf12a0dc9'
* commit '6397c9ae572a61003dde39d2563c487bf12a0dc9':
  drm/rockchip: cdn-dp: support dp training outside dp firmware
  drm/rockchip: cdn-dp: Avoid drm_dp_link helpers in dp training
  FROMLIST: drm/rockchip: add transfer function for cdn-dp

Conflicts:
	drivers/gpu/drm/rockchip/cdn-dp-core.c
	drivers/gpu/drm/rockchip/cdn-dp-core.h

Ignore:
0aefe26fd9 ("FROMLIST: drm/rockchip: add transfer function for cdn-dp")
99b9c4c771 ("drm/rockchip: cdn-dp: Avoid drm_dp_link helpers in dp training")
6397c9ae57 ("drm/rockchip: cdn-dp: support dp training outside dp firmware")

Change-Id: I1c17714963639b3ea88418ddd8ad43e88327d0ec
2023-08-22 14:42:34 +08:00
Zhang Yubing
ce735d9a2c drm/rockchip: cdn-dp: support dp training outside dp firmware
DP firmware uses fixed phy config values to do training, but some
boards need to adjust these values to fit for their unique hardware
design. So get phy config values from dts and use software link training
instead of relying on firmware, if software training fail, keep firmware
training as a fallback if sw training fails.

Change-Id: I075bff6aa153a5e18b6a5ddec2645131f1411913
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Signed-off-by: Lin Huang <hl@rock-chips.com>
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2023-08-22 10:33:07 +08:00
Chris Zhong
aa310d2a5e FROMLIST: drm/rockchip: add transfer function for cdn-dp
We may support training outside firmware, so we need support
dpcd read/write to get the message or do some setting with
display.

Change-Id: If89911e6205546df1a5ae8997ea214d5d2a60af6
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Signed-off-by: Lin Huang <hl@rock-chips.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Enric Balletbo <enric.balletbo@collabora.com>
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(am from https://patchwork.kernel.org/patch/10420461/)
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2023-08-22 10:21:54 +08:00
Tao Huang
a9a553deaa Merge commit 'f3eda81058155e669b44cde653b431fb65da1c8a'
* commit 'f3eda81058155e669b44cde653b431fb65da1c8a':
  phy/rockchip: inno-dsidphy: remove duplicate code from inno_dsidphy_mipi_mode_enable()
  media: rockchip: isp: fix drc and hdrmge err for multi sensor
  video: rockchip: mpp: disable usr poll timeout
  media: rockchip: isp: version to v2.2.2
  arm64: dts: rockchip: rk3562: Optimize clk jitter for DAIs
  ASoC: rockchip: sai: Handle clk enable in prepare stage
  ASoC: rockchip: sai: Use generic pm_runtime_force_* for system PM
  drm/rockchip: vop2: add more plane check
  media: i2c: gc1084: add frame synchronization support
  phy: rockchip: csi2-dphy: fixes fwnode parse error of cphy

Conflicts:
	drivers/gpu/drm/rockchip/rockchip_drm_vop2.c
	drivers/phy/rockchip/phy-rockchip-csi2-dphy.c

Ignore:
commit 74bb5a299c ("phy: rockchip: csi2-dphy: fixes fwnode parse error of cphy")
commit 06906b5a73 ("drm/rockchip: vop2: add more plane check")

Change-Id: I211567c8c1eff42ede255e7efd5b3883bc3e668b
2023-08-22 09:40:28 +08:00
Tao Huang
14d459382d drm/panel: maxim-max96772: Fix compilation errors on kernel 6.1
drivers/gpu/drm/panel/panel-maxim-max96772.c:22:10: fatal error: drm/drm_dp_helper.h: No such file or directory
drivers/gpu/drm/panel/panel-maxim-max96772.c:536:19: error: initialization of 'void (*)(struct i2c_client *)' from incompatible pointer type 'int (*)(struct i2c_client *)'

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I53cd11e89b92a96e5724db344c86709c2ca414ff
2023-08-21 20:11:23 +08:00
Tao Huang
0fa451f5bc Merge commit '955d8bfa4bbfbaf1f770c9cd86eaf828f82fb470'
* commit '955d8bfa4bbfbaf1f770c9cd86eaf828f82fb470':
  arm64: rockchip_defconfig: Enable CONFIG_DRM_PANEL_MAXIM_MAX96772
  net: wireless: rockchip_wlan: porting infineon driver.
  input: sensor: accel/gyro sensor: support iam20680.
  arm64: dts: rockchip: vehicle-s66: support iam20680.
  media: rockchip: isp: fix repeated reporting statistics if stats video on/off
  mfd: max96755f: lock status and link reg need access directly.
  drm/bridge: maxim-max96755: support dual link mode.
  drm/panel: Add panel driver for Maxim MAX96772 based LCDs
  media: i2c: it6616: modify set ctrl when video stable
  media: i2c: lt6911uxe: modify rk3588_dcphy params

Conflicts:
	drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/Makefile
	drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/dhd_custom_msm.c
	drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/dhd_linux.h
	drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/dhd_linux_platdev.c
	drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/dhd_pcie_linux.c
	drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/wl_cfgvendor.c

Ignore:
commit a748a1bd1c ("net: wireless: rockchip_wlan: porting infineon driver.")

Change-Id: Id9ebcbe2e66b64ed3f64f59bcfed5be42860bc6e
2023-08-21 19:42:41 +08:00
Tao Huang
f08f382946 Merge commit 'a9ed7b93e657b49420dc7c02c3ce9ce810e9b7d3'
* commit 'a9ed7b93e657b49420dc7c02c3ce9ce810e9b7d3':
  media: rockchip: vicap compatible with rk3588s2
  media: rockchip: vicap support combine two mipi to one dev
  phy: rockchip: csi2-dphy: logic node of mipi phy can control all hw of mipi phy

Conflicts:
	drivers/phy/rockchip/phy-rockchip-csi2-dphy.c

Ignore:
commit 08330d500d ("phy: rockchip: csi2-dphy: logic node of mipi phy can control all hw of mipi phy")

Change-Id: Ief48fe16863dc477a183289f9a4c49881d2d2942
2023-08-21 19:31:15 +08:00
Zefa Chen
8642adb339 phy: rockchip: csi2-dphy: logic node of mipi phy can control all hw of mipi phy
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I30cc62cc1d28c4219e9e5c5ccd77fa9f589e63af
2023-08-21 19:27:14 +08:00
Tao Huang
ef9c699e6b Merge commit 'c929ccacbb38fb047ca64ffee41ca4ab43f324eb'
* commit 'c929ccacbb38fb047ca64ffee41ca4ab43f324eb':
  include: rk-camera-module: support get/set capture info
  include: rkcif-config: support set multi csi info
  ARM: dts: rockchip: rv1106 separate the node of csi2 and hw
  ARM: dts: rockchip: rv1126 separate the node of csi2 and hw
  arm64: dts: rockchip: rk1808 separate the node of csi2 and hw
  arm64: dts: rockchip: rk3562 separate hw node of mipi csi2 and mipi dphy
  arm64: dts: rockchip: rk3568 separate the node of csi2 and hw
  arm64: dts: rockchip: rk3588 separate the node of csi2 logic and hw
  arm64: dts: rockchip: rk3588 mipi dphy config modify

Conflicts:
	arch/arm64/boot/dts/rockchip/rk3568.dtsi

Ignore:
commit 841fa2175d ("arm64: dts: rockchip: rk3568 separate the node of csi2 and hw")

Change-Id: If60dc34bbe2d753ff36a3325cb5a648b1f80169d
2023-08-21 19:21:29 +08:00
Zefa Chen
464312fc6c arm64: dts: rockchip: rk3568 separate the node of csi2 and hw
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ia3694d29ee53a1ccd46e2e375eed94ce45dcf1fc
2023-08-21 19:14:15 +08:00
Tao Huang
7884ac62b0 Merge commit '9adfbb364a4b3148fcda177fcb780d7a393bfcc5'
* commit '9adfbb364a4b3148fcda177fcb780d7a393bfcc5': (37 commits)
  arm64: dts: rockchip: rk3588s: Add nvmem-cells for rkcif
  arm64: dts: rockchip: rk3588s: Add package serial number for otp
  mms: rk_sdmmc_ops: support resume and suspend
  mms: rk_sdmmc_ops: disabled command queue while execute
  soc: rockchip: sdmmc_vendor_storage: Using multiple blocks of read/write data
  mms: rk_sdmmc_ops: support multi-blocks ops
  phy: rockchip: mipi-dcphy: fix HSTX_CLK_SEL config
  video: rockchip: vehicle: support config rotate & mirror simultaneously
  phy: rockchip: inno-usb2: enable bvalid detect irq upon resume
  arm64: dts: rockchip: rk3588-vehicle: fix lt7911 compatible name error
  drm/rockchip: vop2: only legacy gamma set need extra config done
  drm/rockchip: vop2: update pre_dither_down config
  media: rockchip: vicap support tool video capture raw with rdbk by isp
  usb: typec: tcpm: fix dp altmode negotiation failure
  arm64: dts: rockchip: fix frame rate of mcu panel to 60Hz for rk3308/rk3562 evb
  ARM: dts: rockchip: fix frame rate of mcu panel to 60Hz for rv1103/rv1106 evb
  PCIe: dw: rockchip: Setting rk_pcie_hot_rst_wq before interrupt unmask
  arm64: dts: rockchip: rk3588-vehicle: init s66 project dts files
  ASoC: rockchip: rk817-codec: Solve pop problems cause by re-configure APLL
  media: i2c: optimize gc2053 sync issue
  ...

Conflicts:
	drivers/gpu/drm/rockchip/rockchip_drm_vop2.c
	drivers/media/i2c/Kconfig

Ignore:
commit e2852b6423 ("drm/rockchip: vop2: Fix plane parameter check error at interlace mode")
commit 16b27eed7c ("drm/rockchip: vop2: recover win state when exit psr")
commit 903953ddeb ("drm/rockchip: vop2: update pre_dither_down config")
commit 4056d4ef2c ("drm/rockchip: vop2: only legacy gamma set need extra config done")

Change-Id: Ibc71f27f3e08d5ed047a2643911ba1b021528cfb
2023-08-21 17:16:40 +08:00
Tao Huang
91b91613dc Merge commit '328145662f6d6154fbf4329a0d53f9c152673648'
* commit '328145662f6d6154fbf4329a0d53f9c152673648':
  mtd: spinand: skyhigh: The vendor requires the devices to be patched
  mtd: spinand: foresee: Support new device F35UQA001G-WWT
  mtd: spinand: foresee: Support new device F35UQA002G-WWT
  mtd: spinand: fmsh: Support new device FM25S01BI3
  mtd: spinand: fmsh: Modify incorrect information despite not used
  drm/bridge: analogix_dp: add support split area prop
  drm/rockchip: dsi2: add support split area prop
  drm/rockchip: analogix_dp: support split mode with other display interface
  drm/bridge: analogix_dp: support dual connector with other display interface
  drm/rockchip: dsi2: support split mode with other display interface
  drm/rockchip: drv: Add crtc_clock convert in drm_mode_convert_to_{split,origin}_mode()
  drm/bridge: analogix_dp: mv mode_set to bridge .atomic_pre_enable
  drm/rockchip: dsi2: mv mode set to encoder .atomic_enable

Change-Id: Ie34682a12a9877c582fc95803edcf527ccdae98e

Conflicts:
	drivers/mtd/nand/spi/core.c

Ignore:
commit 328145662f ("mtd: spinand: skyhigh: The vendor requires the devices to be patched")

Change-Id: I5baf8f1296e43b3491994529cb8b4ac1f08b3cf4
2023-08-21 16:47:24 +08:00
Jon Lin
b1fecc211e mtd: spinand: skyhigh: The vendor requires the devices to be patched
1.Double OIP=0 after page 13H
2.The nand flash does not support 84H and 34H command

Change-Id: Ie805f42a36e1a864115988087bdc43592cc94ded
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2023-08-21 16:42:03 +08:00
Bin Yang
6c909bfa2f usb: gadget: uvc: fix uvc buffer not getting Scatter-Gather descriptor
Commit 000cbb7d4b ("UPSTREAM: usb: gadget: uvc: add scatter gather
support") use scatter gather transfers for uvc isoc. However, the patch
conflicts with rockchip's zero-copy code.

Fixes: 5452a06eed ("usb: gadget: uvc: support zero copy with rockchip encoder")
Signed-off-by: Bin Yang <yangbin@rock-chips.com>
Change-Id: I515d79610a9bba74bbf28b0be974b5081a4b3c76
2023-08-09 16:23:47 +08:00
Tao Huang
761bb33401 net: wireless: rockchip_wlan: bcmdhd: Fix out-of-srctree build
../drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/aiutils.c:25:10: fatal error: 'typedefs.h' file not found

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I425cb52776bb1b3294b8ef67c951b04afe2288a9
2023-08-02 18:21:02 +08:00
Bin Yang
504d18fc1c usb: gadget: uvc: fix list not initialized in framebased format
A panic occur if make framebased format.

[    8.272086][  T204] list_add corruption. prev is NULL.
[    8.272104][  T204] ------------[ cut here ]------------
[    8.272106][  T204] kernel BUG at lib/list_debug.c:24!
[    8.285172][  T204] Call trace:
[    8.285454][  T204]  __list_add_valid+0x78/0xb8
[    8.285858][  T204]  uvcg_frame_make+0x100/0x1a8
[    8.286262][  T204]  configfs_mkdir+0x208/0x428
[    8.286664][  T204]  vfs_mkdir+0xe8/0x170
[    8.287023][  T204]  do_mkdirat+0x98/0x1a4
[    8.287381][  T204]  __arm64_sys_mkdirat+0x20/0x2c
[    8.287806][  T204]  el0_svc_common+0xac/0x1ac
[    8.288197][  T204]  do_el0_svc+0x1c/0x28
[    8.288546][  T204]  el0_svc+0x10/0x1c
[    8.288873][  T204]  el0_sync_handler+0x68/0xac
[    8.289274][  T204]  el0_sync+0x160/0x180

Fixes: 02bfaf0477 ("FROMLIST: usb: gadget: uvc: configfs: add framebased format support")
Signed-off-by: Bin Yang <yangbin@rock-chips.com>
Change-Id: Ibbba0ac5035945398fd866a6028c4b4cce4b79f7
2023-08-01 10:06:35 +08:00
Zhen Chen
cf18504ebe MALI: bifrost: Resolve a runtime WARNING when CONFIG_FORTIFY_SOURCE is enabled
The original WARNING:
memcpy: detected field-spanning write (size 8) of single field "&trace_buffer->name" at drivers/gpu/arm/bifrost/csf/mali_kbase_csf_trace_buffer.c:267 (size 1)
WARNING: CPU: 4 PID: 341 at drivers/gpu/arm/bifrost/csf/mali_kbase_csf_trace_buffer.c:267 kbase_csf_firmware_parse_trace_buffer_entry+0x1b8/0x1c0
...

Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
Change-Id: I27da582ae033b4a89a4a5c7c3e98e636e3336df8
2023-08-01 08:54:13 +08:00
Xu Xuehui
1ccd57c4b0 arm64: dts: rockchip: rk3588-vehicle-s66-v10 support wifi/bt
Change-Id: I40ee7f85aebc7400e745cda9c7f20b14aded9d09
Signed-off-by: Xu Xuehui <xxh@rock-chips.com>
2023-07-28 14:57:53 +08:00
Jianqun Xu
d5a0a47461 arm64: dts: rockchip: rk3588-vehicle-adsp-audio-s66 fix i2s-tdm
Fix 'rockchip,tx-lanes' to 'rockchip,tdm-tx-lanes'
and fix 'rockchip,rx-lanes' to 'rockchip,tdm-rx-lanes'

Fixes: aa029efb52 ("arm64: dts: rockchip: rk3588-vehicle: init s66 project dts files")

Change-Id: I2d3d0650b87aef0207fe15d81821de005b74aac1
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2023-07-28 14:30:22 +08:00
Cai YiWei
f4a17bf817 media: rockchip: isp: fix 3dlut for multi sensor
Change-Id: Ib1384ea357a4ccd64174247bb394046a82765d82
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2023-07-28 14:29:39 +08:00
Finley Xiao
81a1028bb7 arm64: dts: rockchip: rk3528: Add trim configure for tsadc
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I9f3c5a3be522228e1cbc3c7c9075561ea4bc9bfc
2023-07-27 16:12:57 +08:00
Finley Xiao
4aa87e5793 thermal: rockchip: Add trim temperature for rk3528
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I2e8bbcf1afb932a630dfbc04047a2b43dd2ef820
2023-07-27 16:12:57 +08:00
Yu Qiaowei
3667f95c21 video: rockchip: rga3: avoid premature wake_up causing request to be freed
After other threads will trigger the wakeup, there may be a case where
the request is exited abnormally, so it is necessary to wake_up again
when the function exits.

Change-Id: Ia3e754cf3d4f9064ddc07a590f73f2f75c92d2c3
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
2023-07-26 18:39:59 +08:00
Frank Wang
1761a77fd1 phy: rockchip: usbdp: amend to improve USB compatibility
Amends ln0/ln2 RX DFE to improve the compatibility of USB3 link training.

Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Change-Id: I568f9260bcfbb4625139222f06b68765f187dd04
2023-07-26 18:39:06 +08:00
HongLin Lan
724009a9d7 mtd: spi-nor: xmc: Support XM25QH256C
Change-Id: I0d1ee1b1615f9d29b472ef5bc8e2ed9aabd86602
Signed-off-by: HongLin Lan <helin.lan@rock-chips.com>
2023-07-26 10:26:16 +08:00
Luo Wei
84f68a63ed arm64: dts: rockchip: rk3588-vehicle-display-v20: not assign clock for vop
Signed-off-by: Luo Wei <lw@rock-chips.com>
Change-Id: I8de3a01a57025592af38d62b3c25c77ba295b914
2023-07-25 17:58:49 +08:00
HongLin Lan
daa92b106c media: i2c: add os02k10 driver
Change-Id: Ia55f5650eb5898092a9933e942bc8b93d0774415
Signed-off-by: HongLin Lan <helin.lan@rock-chips.com>
2023-07-25 17:58:10 +08:00
Tao Huang
7d5e496b58 video: rockchip: rga3: Import namespace DMA_BUF
ERROR: modpost: module rga3 uses symbol dma_buf_vmap from namespace DMA_BUF, but does not import it.
ERROR: modpost: module rga3 uses symbol dma_buf_vunmap from namespace DMA_BUF, but does not import it.
ERROR: modpost: module rga3 uses symbol dma_buf_attach from namespace DMA_BUF, but does not import it.
ERROR: modpost: module rga3 uses symbol dma_buf_map_attachment from namespace DMA_BUF, but does not import it.
ERROR: modpost: module rga3 uses symbol dma_buf_detach from namespace DMA_BUF, but does not import it.
ERROR: modpost: module rga3 uses symbol dma_buf_put from namespace DMA_BUF, but does not import it.
ERROR: modpost: module rga3 uses symbol dma_buf_get from namespace DMA_BUF, but does not import it.
ERROR: modpost: module rga3 uses symbol dma_buf_unmap_attachment from namespace DMA_BUF, but does not import it.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I3fbad697bb9419f91f82d1aa5af087132c07cca7
2023-07-25 12:12:45 +08:00
Tao Huang
f951d0d766 video: rockchip: iep: Import namespace DMA_BUF
ERROR: modpost: module iep uses symbol dma_buf_put from namespace DMA_BUF, but does not import it.
ERROR: modpost: module iep uses symbol dma_buf_attach from namespace DMA_BUF, but does not import it.
ERROR: modpost: module iep uses symbol dma_buf_map_attachment from namespace DMA_BUF, but does not import it.
ERROR: modpost: module iep uses symbol dma_buf_detach from namespace DMA_BUF, but does not import it.
ERROR: modpost: module iep uses symbol dma_buf_unmap_attachment from namespace DMA_BUF, but does not import it.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I2726f9a0d2bc960c4e986aa759a7f7c0d083628d
2023-07-25 12:12:06 +08:00
Tao Huang
5fa40cb305 rknpu: Import namespace DMA_BUF
ERROR: modpost: module rknpu uses symbol dma_buf_mmap from namespace DMA_BUF, but does not import it.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I956ab29689da5e1089c12757a5ea73ede7c1208e
2023-07-25 12:11:12 +08:00
Tao Huang
feca3f90fb media: rockchip: ispp: Import namespace DMA_BUF
ERROR: modpost: module video_rkispp uses symbol dma_buf_fd from namespace DMA_BUF, but does not import it.
ERROR: modpost: module video_rkispp uses symbol dma_buf_put from namespace DMA_BUF, but does not import it.
ERROR: modpost: module video_rkispp uses symbol dma_buf_attach from namespace DMA_BUF, but does not import it.
ERROR: modpost: module video_rkispp uses symbol dma_buf_map_attachment from namespace DMA_BUF, but does not import it.
ERROR: modpost: module video_rkispp uses symbol dma_buf_vmap from namespace DMA_BUF, but does not import it.
ERROR: modpost: module video_rkispp uses symbol dma_buf_detach from namespace DMA_BUF, but does not import it.
ERROR: modpost: module video_rkispp uses symbol dma_buf_vunmap from namespace DMA_BUF, but does not import it.
ERROR: modpost: module video_rkispp uses symbol dma_buf_unmap_attachment from namespace DMA_BUF, but does not import it.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: If364340011efaa4e92c9d99a50bb27da24072db5
2023-07-25 12:09:46 +08:00
Tao Huang
fdfd0f1539 media: rockchip: isp: Import namespace DMA_BUF
ERROR: modpost: module video_rkisp uses symbol dma_buf_detach from namespace DMA_BUF, but does not import it.
ERROR: modpost: module video_rkisp uses symbol dma_buf_put from namespace DMA_BUF, but does not import it.
ERROR: modpost: module video_rkisp uses symbol dma_buf_unmap_attachment from namespace DMA_BUF, but does not import it.
ERROR: modpost: module video_rkisp uses symbol dma_buf_attach from namespace DMA_BUF, but does not import it.
ERROR: modpost: module video_rkisp uses symbol dma_buf_map_attachment from namespace DMA_BUF, but does not import it.
ERROR: modpost: module video_rkisp uses symbol dma_buf_fd from namespace DMA_BUF, but does not import it.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ib2615d64e349ddfcf9f2ffb0bccfa7055c0ae49c
2023-07-25 12:09:00 +08:00
Tao Huang
bf1e0ab824 media: rockchip: vicap: Import namespace DMA_BUF
ERROR: modpost: module video_rkcif uses symbol dma_buf_put from namespace DMA_BUF, but does not import it.
ERROR: modpost: module video_rkcif uses symbol dma_buf_fd from namespace DMA_BUF, but does not import it.
ERROR: modpost: module video_rkcif uses symbol dma_buf_export from namespace DMA_BUF, but does not import it.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I1c8940e20546f965edf7438095b20a8365854b09
2023-07-25 11:46:31 +08:00
Tao Huang
b2c21c9410 crypto: rockchip: cryptodev_linux: Import namespace DMA_BUF
ERROR: modpost: module cryptodev uses symbol dma_buf_unmap_attachment from namespace DMA_BUF, but does not import it.
ERROR: modpost: module cryptodev uses symbol dma_buf_detach from namespace DMA_BUF, but does not import it.
ERROR: modpost: module cryptodev uses symbol dma_buf_put from namespace DMA_BUF, but does not import it.
ERROR: modpost: module cryptodev uses symbol dma_buf_get from namespace DMA_BUF, but does not import it.
ERROR: modpost: module cryptodev uses symbol dma_buf_attach from namespace DMA_BUF, but does not import it.
ERROR: modpost: module cryptodev uses symbol dma_buf_map_attachment from namespace DMA_BUF, but does not import it.
ERROR: modpost: module cryptodev uses symbol dma_buf_begin_cpu_access from namespace DMA_BUF, but does not import it.
ERROR: modpost: module cryptodev uses symbol dma_buf_end_cpu_access from namespace DMA_BUF, but does not import it.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I4b456188306f1b69ca0572191a8bb1ff51221732
2023-07-25 11:41:40 +08:00
Damon Ding
7c9675f035 ARM: dts: rockchip: rv1106-evb: add mcu display v20 board
Rockchip RV1106G EVB1 V11 Board + RK EVB MCU 8BIT Display V20 Ext Board

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I77db1d6274435f82afe0f790a9a942e901c3fbe3
2023-07-25 10:43:47 +08:00
Qiqi Zhang
15cefa1208 arm64: dts: rockchip: add rk3528 demo6 dts
Change-Id: If52cf05e33f2faa3483c5c88c311f8c8a1745e0f
Signed-off-by: Qiqi Zhang <eddy.zhang@rock-chips.com>
2023-07-25 10:40:17 +08:00
Yu Qiaowei
0f8b67c07c video: rockchip: rga3: fix memory mapping will be skipped when handle is 0
Change-Id: I6d77cc200d692e07037dc613f94870fa0489e997
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
2023-07-25 09:59:31 +08:00
Liang Chen
fbd35aede4 cpufreq: rockchip: set supported hw version for opp
Change-Id: I0fcd74b14cfeee03ce5ba022f256087f843aaab9
Signed-off-by: Liang Chen <cl@rock-chips.com>
2023-07-25 09:57:16 +08:00
Liang Chen
0c5cc59876 arm64: dts: rockchip: rk3568: Add opps for rk3568j/m
Change-Id: I2e394d1de0dc8d856177a7083b56dc3ac81c5816
Signed-off-by: Liang Chen <cl@rock-chips.com>
2023-07-25 09:57:16 +08:00
Shuangjie Lin
1a2943000d driver: rknpu: Update rknpu driver, version: 0.9.1
* Fix rknpu job use after free

Signed-off-by: Shuangjie Lin <shuangjie.lin@rock-chips.com>
Change-Id: I916ad6c53438dfb951b6555c7c580d8abdd57c75
2023-07-25 09:39:07 +08:00
yuefu.su
09edc318b9 media: i2c: sc301iot: pm runtime put device until stream off for thunderboot
The camera device should keep *power on* until stream off, that make
sure the mclk is enable.

Signed-off-by: yuefu.su <yuefu.su@rock-chips.com>
Change-Id: I877d73cfa64e484e7c93e7b761d31ff23e353960
2023-07-24 15:44:18 +08:00
Chen Shunqing
ab1b8c1425 drm/rockchip: dw-dp: support hdcp key without aes encrypt
Change-Id: Ifc6ea0398914855e7c1d90ebf95b0766d70004d4
Signed-off-by: Chen Shunqing <csq@rock-chips.com>
2023-07-24 11:59:45 +08:00
Yandong Lin
99697177f4 video: rockchip: mpp: fix session cleanup issue
The session can only be released after all tasks are released.

Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I9a4e7940323be72cb0982338777af813888f957f
2023-07-24 11:57:54 +08:00
Fenrir Lin
c8ab145b3d media: i2c: sc3338 support normal boot
Change-Id: I06468abc80bfa501d7ad251606700fae586bae52
Signed-off-by: Fenrir Lin <fenrir.lin@rock-chips.com>
2023-07-21 20:19:54 +08:00
Xu Xuehui
9f9d39a908 arm64: dts: rockchip: rk3588-vehicle-evb-v21: change pcie wifi power control
regulator should always on when system suspend, avoid wifi crash.

Change-Id: If78702e56b68f653b2d50a06d7fd31bc4ced2943
Signed-off-by: Xu Xuehui <xxh@rock-chips.com>
2023-07-21 18:46:41 +08:00
Lin Jianhua
249466a6bd arm64: dts: rockchip: rk3308bs-evb-mipi-display-v11: reduce drive strength of lcdc d18~23 from 6ma to 2ma
The touchscreen i2c is abnormal due to current crosstalk of lcdc
d18~23,so reduced drive strength reduces crosstalk

Change-Id: Iaa7f6fc3854ecf2ab5e96d96c44464044a23b128
Signed-off-by: Lin Jianhua <linjh@rock-chips.com>
2023-07-21 18:44:58 +08:00