Commit Graph

1283111 Commits

Author SHA1 Message Date
Zorro Liu
9ec25ca2c9 drm/rockchip: ebc_dev: release version v7.03
improve fast repair

Change-Id: Id5d187d34956e2f87ebe02cec286a1458712bc0b
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
2024-12-25 17:10:50 +08:00
吴良清
d1dc9cce3f Revert "media: rockchip: isp: add sensor exposure for isp30 and ..."
Revert submission 238558

Reverted changes: /q/submissionid:238558

Change-Id: I9860b459fe3c880cd3aba670744d6eee48f33290
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2024-12-18 17:35:50 +08:00
吴良清
e53f0216c6 Revert "media: rockchip: isp: support frame information attach t..."
Revert submission 238558

Reverted changes: /q/submissionid:238558

Change-Id: I0c6c4a7f1615f1f924455a6aaeb47287cdff3668
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2024-12-18 17:35:21 +08:00
吴良清
9c4f55f64c Revert "media: rockchip: isp: version v2.9.0"
This reverts commit 9c39c74a7a.

Change-Id: I561274be124276e39d82991cfc2b02edb0a19598
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2024-12-18 17:33:54 +08:00
吴良清
92344c5a57 Revert "media: rockchip: isp: fix isp30 stream buf size if enable attach information"
This reverts commit ad942c1534.

Change-Id: Iff81f36c6e9ad918c41a82b3c5dbd25740a7b43a
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2024-12-18 17:33:21 +08:00
Tao Huang
99f898d702 Merge commit '1a44a281070ee659e17cf1e9707a7b91b35f73d1'
Merge made by the 'ours' strategy.

* commit '1a44a281070ee659e17cf1e9707a7b91b35f73d1':
  dma-buf: system_heap: add support system-uncached type
  dma-buf: add support begin_cpu_access_partial and end_cpu_access_partial
  dma-buf: dma-heap: add find/alloc function

Change-Id: Ie5794970b0ff036cd594626e83723dfde8c04ff6
2024-12-17 19:31:16 +08:00
Tao Huang
0b55f6934d Merge commit '5dea796a40a80b599331539e912ffc5fc444bdc1'
* commit '5dea796a40a80b599331539e912ffc5fc444bdc1':
  iio: imu: inv_icm42670: use 16bit temp
  iio: imu: inv_icm42670: support pass-through mode
  video: rockchip: vehicle: add tp2855 support
  media: i2c: tp2855: update driver to V0.01.01
  ARM: rockchip: Select ARM_ERRATA_814220
  drm/rockchip: drv: delete unused NV20 and NV30 define
  media: rockchip: vicap fixes error of wake up with yuv422 input

Change-Id: I7a78f2a7d071c5a00ea69136a093715e3fa35507
2024-12-17 19:29:38 +08:00
Simon Xue
1a44a28107 dma-buf: system_heap: add support system-uncached type
Change-Id: Ie9f81536ef710b244e79c8d32abd71c2601df4c5
Signed-off-by: Simon Xue <xxm@rock-chips.com>
2024-12-17 15:01:28 +08:00
Simon Xue
43fb28d9a8 dma-buf: add support begin_cpu_access_partial and end_cpu_access_partial
Change-Id: If1a3ccd3d2dcd3fdb5fe223af474df0ca96632e0
Signed-off-by: Simon Xue <xxm@rock-chips.com>
2024-12-17 14:57:02 +08:00
Simon Xue
a2ded8cab4 dma-buf: dma-heap: add find/alloc function
add dma_heap_find/dma_heap_buffer_alloc
for kernel-space user

1. struct dma_heap *heap = dma_heap_find("system");
2. struct dma_buf *dmabuf = dma_heap_buffer_alloc(heap, ....);
3. dma_buf_attach/dma_buf_map_attachment
4. dma_buf_unmap_attachment/dma_buf_detach
5. dma_buf_put

Change-Id: I6d3e347698785c2b751bcef980607ed308270c76
Signed-off-by: Simon Xue <xxm@rock-chips.com>
2024-12-17 14:40:44 +08:00
LiuDiMing Lin
5dea796a40 iio: imu: inv_icm42670: use 16bit temp
Change-Id: I5d1e2d1e422902f34da0b8ffd2c4824a6632dd07
Signed-off-by: LiuDiMing Lin <fenrir.lin@rock-chips.com>
2024-12-17 10:56:12 +08:00
LiuDiMing Lin
780c320c07 iio: imu: inv_icm42670: support pass-through mode
Change-Id: I63a394cf03c5b6cd09308e05e0996d1bf1f885f5
Signed-off-by: LiuDiMing Lin <fenrir.lin@rock-chips.com>
2024-12-17 10:56:11 +08:00
Jianwei Fan
e433f21b41 video: rockchip: vehicle: add tp2855 support
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
Change-Id: Ifbf14fc988bae6b595b01ca91cd0ac022a46a33f
2024-12-17 10:53:12 +08:00
Jianwei Fan
362a5d012e media: i2c: tp2855: update driver to V0.01.01
1.fix 1080P/720P config
2.add supplies support
3.adapt to vehicle driver

Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
Change-Id: I03a29e6dcc86c4e6ff0b0f391345e41447bca3a9
2024-12-17 09:43:54 +08:00
Tao Huang
8097eedd29 ARM: rockchip: Select ARM_ERRATA_814220
This ERRATA affected the Cortex-A7 and present in r0p2, r0p3, r0p4, r0p5.

Make sure that ARM errata 814220 is selected by
RK3036/RK3126/RK3128/RK3228/RK3229/RV1103B/RV1106B/
RV1103/RV1106/RV1107/RV1108/RV1109/RV1126/RK3506.

Change-Id: I98685e57abcecc668e43197344f57973f1eeebaf
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2024-12-17 09:32:18 +08:00
Sandy Huang
2d1becab94 drm/rockchip: drv: delete unused NV20 and NV30 define
NV20 and NV30 is supported by DRM core, so it's unused now.

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I87083c3aa232e416334bb83c2d965c860ddd0a9b
2024-12-17 09:30:43 +08:00
Zefa Chen
5eac3c250d media: rockchip: vicap fixes error of wake up with yuv422 input
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Id50155d8edd8bde9e0a1e91dbf065e8859eb207a
2024-12-17 09:28:51 +08:00
Tao Huang
64f0047f60 Merge commit '31f3e5a5bbdf40aa985c016dbccfc7aa16b3d99f'
* commit '31f3e5a5bbdf40aa985c016dbccfc7aa16b3d99f':
  media: rockchip: isp: fix mipi drop when isp capture after vpss start
  media: rockchip: isp: fix isp30 stream buf size if enable attach information

Change-Id: Id3b7a0a9893994516ca0639c8069ed228ce86af3
2024-12-16 19:29:04 +08:00
Mingwei Yan
31f3e5a5bb media: rockchip: isp: fix mipi drop when isp capture after vpss start
if isp state  already START add scale auto update at frame end

Signed-off-by: Mingwei Yan <mingwei.yan@rock-chips.com>
Change-Id: I84d63afb87100072a16d69951e635e78c87f9b2c
2024-12-16 19:11:21 +08:00
Cai YiWei
ad942c1534 media: rockchip: isp: fix isp30 stream buf size if enable attach information
Change-Id: I3a061a418cbd87f4bd0dbea6be8ee22ad1429e8a
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2024-12-16 09:49:39 +08:00
Tao Huang
1ffa5bc702 Merge commit '0e6f34b90b7dee1271c4264b32668dbf7c198624'
* commit '0e6f34b90b7dee1271c4264b32668dbf7c198624':
  video: rockchip: mpp_osal: add api mpp_device_add_driver() for rockit
  ASoC: rockchip: multicodecs: remove unused cables
  ASoC: rockchip: multicodecs: checking hp status when resume from sleep
  dt-bindings: suspend: rk3576: add RKPM_SLP_ARCH_TIMER_RESET macro
  dt-bindings: suspend: rk3588: add RKPM_SLP_ARCH_TIMER_RESET macro
  dt-bindings: suspend: rk3588: add sleep-pin related macros
  mmc: cqhci: add emmc hardware reset after cqe recovery
  arm64: dts: rockchip: rk3576: remove freq table for ufs
  scsi: ufs: rockchip: disabled devfreq for rk3576
  scsi: ufs: rockchip: fix dme-reset failed issue
  video: rockchip: rga3: fix bi-linear scaled down causing timeout
  video: rockchip: rga3: fix intr exception that causes driver timeout
  iio: imu: inv_icm42670: add core of new inv_icm42670 driver
  drm/rockchip: vop2: fix XRGB format alpha overlay error
  nvmem: rockchip-otp: reduce otp size to remove non-ecc area for rk3506

Change-Id: I806dbac1edb0c70840748e53fc1adf99ccc6e82e
2024-12-13 19:50:26 +08:00
ChuanHu Sun
0e6f34b90b video: rockchip: mpp_osal: add api mpp_device_add_driver() for rockit
Signed-off-by: ChuanHu Sun <aaron.sun@rock-chips.com>
Change-Id: I2f945004f199b61935a4a1f5a49cf2d1c1ec093b
2024-12-13 19:50:04 +08:00
Shunhua Lan
e1ecb83818 ASoC: rockchip: multicodecs: remove unused cables
Signed-off-by: Shunhua Lan <lsh@rock-chips.com>
Change-Id: I66e1316e6c07fd13ce127c63d2f626803a96c6d1
2024-12-13 19:49:16 +08:00
Shunhua Lan
5823f0f49c ASoC: rockchip: multicodecs: checking hp status when resume from sleep
Signed-off-by: Shunhua Lan <lsh@rock-chips.com>
Change-Id: Ia5def71bba47be20f61fff3f03de42d627aa411a
2024-12-13 19:49:16 +08:00
XiaoDong Huang
446d978b3e dt-bindings: suspend: rk3576: add RKPM_SLP_ARCH_TIMER_RESET macro
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
Change-Id: Ic1c1e1e5a062e0c681b2633c37a204da3fe24142
2024-12-13 18:02:11 +08:00
XiaoDong Huang
0b991abdb4 dt-bindings: suspend: rk3588: add RKPM_SLP_ARCH_TIMER_RESET macro
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
Change-Id: Ibc34b83dcb436223deca7049f9659a6c4c0b2107
2024-12-13 18:02:11 +08:00
XiaoDong Huang
049257ee66 dt-bindings: suspend: rk3588: add sleep-pin related macros
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
Change-Id: Ib2dfcf71646d363cc2d4aa0adb9a9e1f339a53a1
2024-12-13 18:02:11 +08:00
Yifeng Zhao
4d97053164 mmc: cqhci: add emmc hardware reset after cqe recovery
When an eMMC error occurs due to changes in hardware conditions
(such as temperature, voltage, etc.), it may not return to normal
without reinitializing the eMMC. In this case, adding hardware
reset and reinitialization can solve the problem.

Change-Id: Ie2164175c59402d06fcb0d774aaba6d712f947d9
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
2024-12-13 17:32:23 +08:00
Yifeng Zhao
d84e5b6f72 arm64: dts: rockchip: rk3576: remove freq table for ufs
Design frequency is 166MHz, overclocking may cause stability issues.

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: Ia0b4bf630c1033badc6ca23bd5b0af9b2c9b2eb7
2024-12-13 17:29:30 +08:00
Yifeng Zhao
b769d72b95 scsi: ufs: rockchip: disabled devfreq for rk3576
log:
ufshcd-rockchip 2a2d0000.ufs: ufshcd_wait_for_doorbell_clr:
timedout waiting for doorbell to clear (tm=0x0, tr=0x2)
devfreq 2a2d0000.ufs: dvfs failed with (-16) error

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: Ibc4b07b8ccefcc64220aa108caf51d938b7377dc
2024-12-13 17:28:06 +08:00
Yifeng Zhao
70e0b8e214 scsi: ufs: rockchip: fix dme-reset failed issue
Resetting the device without resetting the controller during
exception handling will result in a dme command error.

log:
ufshcd-rockchip 2a2d0000.ufs: uic cmd 0x14 with arg3 0x0 completion timeout
ufshcd-rockchip 2a2d0000.ufs: dme-reset: error code -110
ufshcd-rockchip 2a2d0000.ufs: DME_RESET failed
ufshcd-rockchip 2a2d0000.ufs: ufshcd_host_reset_and_restore: Host init failed -110

Change-Id: Ia83e80aea0f6b916bf7131d0b2240023f32a1a21
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
2024-12-13 17:27:36 +08:00
Yu Qiaowei
971dce993d video: rockchip: rga3: fix bi-linear scaled down causing timeout
Adjust config based on RGA2 limit.

Update driver version to 1.3.7

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I2954dbb36a1698e34da14fff33fb9d97792478da
2024-12-13 16:39:04 +08:00
Yu Qiaowei
711f17c2fe video: rockchip: rga3: fix intr exception that causes driver timeout
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I1ca23d1ef4ffd88244224bc463afc7d5e192e292
2024-12-13 16:39:04 +08:00
HangYu Li
5d173bd028 iio: imu: inv_icm42670: add core of new inv_icm42670 driver
1. Core component of a new driver for InvenSense ICM-42670 devices.
It includes registers definition, main probe/setup, and device
utility functions.
2. Add SPI driver for InvenSense ICM-42670 devices.
3. Add I2C driver for InvenSense ICM-42670 devices.

The ICM-42670-P is a high performance 6-axis MEMS MotionTracking
device that combines a 3-axis gyroscope and a 3-axis accelerometer.
It has a configurable host interface that supports I3CSM, I2C, and
SPI serial communication, features up to 2.25 Kbytes FIFO
and 2 programmable interrupts with ultra-lowpower wake-on-motion
support to minimize system power consumption

Change-Id: Ic308640f989ba6391eacca36f898dfc964054056
Signed-off-by: HangYu Li <hangyu.li@rock-chips.com>
2024-12-13 16:39:03 +08:00
Sandy Huang
e8a650f813 drm/rockchip: vop2: fix XRGB format alpha overlay error
Some application draw XRGB format the X value may be not 0xff,
If transfer this value to next level mix will appear overlay error.

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I16d0e848325acefc4c0ab950d7bddaec82231cc1
2024-12-13 16:39:03 +08:00
Liang Chen
79e741c9ec nvmem: rockchip-otp: reduce otp size to remove non-ecc area for rk3506
OTP[120]-OTP[127] is used with no ecc, so when read nvmem, it will
cause the following error:

rk3506-buildroot:/sys/bus/nvmem/devices/rockchip-otp0# busybox hexdump nvmem
[   38.601435] rockchip-otp ff4f0000.otp: ecc check error during read setup
hexdump: nvmem: Input/output error

Change-Id: Ia2d0aa892c75aa09fd3d4b1d65576f5313a765c4
Signed-off-by: Liang Chen <cl@rock-chips.com>
2024-12-13 09:46:57 +08:00
Tao Huang
d5a67c0586 Merge commit 'fee4ca6e241ff385d08e33ce43f3625c89227ee7'
* commit 'fee4ca6e241ff385d08e33ce43f3625c89227ee7': (54 commits)
  drm/bridge: rk630-tve: Fix typo in Rockchip copyright notice
  drm/bridge: rk1000: Fix typo in Rockchip copyright notice
  drm/bridge: Fix typos in Rockchip copyright notices
  drm/bridge: synopsys: dw-hdmi-qp: Fix typos in Rockchip copyright notices
  drm/panel: Fix typos in Rockchip copyright notices
  dt-bindings: display: drm_mipi_dsi: Fix typo in Rockchip copyright notice
  drm/rockchip: Fix typo in Rockchip copyright notice
  video: rockchip: rga2: improve the resolution limitation of VSP
  drm: rockchip: Fix typos in Rockchip copyright notices
  misc: Fix typos in Rockchip copyright notices
  mfd: Fix typos in Rockchip copyright notices
  mfd: rk1000: Fix typo in Rockchip copyright notice
  mfd: rk618: Fix typo in Rockchip copyright notice
  mfd: rk630: Fix typos in Rockchip copyright notices
  media: rockchip: vpss: Fix typos in Rockchip copyright notices
  media: rockchip: tsp: Fix typos in Rockchip copyright notices
  media: rockchip: rga: Fix typos in Rockchip copyright notices
  media: rockchip: ispp: Fix typos in Rockchip copyright notices
  media: rockchip: isp: Fix typos in Rockchip copyright notices
  media: rockchip: hdmirx: Fix typos in Rockchip copyright notices
  ...

Change-Id: Iaee8299340cce4f0e5b6287cf52a32b4aabafa64
2024-12-12 20:02:18 +08:00
Tao Huang
fee4ca6e24 drm/bridge: rk630-tve: Fix typo in Rockchip copyright notice
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ibdc18e650e5d7ff080ec10b2877b6678e83e1401
2024-12-12 20:01:55 +08:00
Tao Huang
7fc9021be1 drm/bridge: rk1000: Fix typo in Rockchip copyright notice
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Id95271a8e007a0b6a118663771a5824cdf6ca359
2024-12-12 20:01:55 +08:00
Tao Huang
03dd23c344 drm/bridge: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I411ebaa06789a720f1f2512d6c8ba4481ea9ee8f
2024-12-12 20:01:55 +08:00
Tao Huang
eaa014f654 drm/bridge: synopsys: dw-hdmi-qp: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I9a8b715d75470afc3cd87d99e311d4c081360687
2024-12-12 20:01:55 +08:00
Tao Huang
88d1b91a6e drm/panel: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I57159fb70fa8341458c0538bafe686dbfd5531e9
2024-12-12 20:01:55 +08:00
Tao Huang
00a9103f18 dt-bindings: display: drm_mipi_dsi: Fix typo in Rockchip copyright notice
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I9a203c6f579c2db189db3155d3a61ee69b605e90
2024-12-12 20:01:55 +08:00
Tao Huang
25cd763b78 drm/rockchip: Fix typo in Rockchip copyright notice
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ibd49d1f839e8cec57fe095851975e6a575774a78
2024-12-12 20:01:55 +08:00
Yu Qiaowei
d733559b4c video: rockchip: rga2: improve the resolution limitation of VSP
When the horizontal input exceeds 2k (here refers to 1996), need to switch
from BI-cubic to BI-linear. When there is an HSD(horizontal scale down),
need to check the horizontal input after the HSD.

pick from 2c2f6687dc9a("video: rockchip: rga3: improve the resolution limitation of VSP")

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I9a3fe9db7b2eabfe503237e3b6af27d45751c50b
2024-12-12 19:52:51 +08:00
Tao Huang
e9bcc2101f drm: rockchip: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I7c545e35a768794a5abce89be2b85a2bda026100
2024-12-12 19:46:48 +08:00
Tao Huang
848591210a misc: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ia4af2be9bb33d7ac6705cbf646fb28436e0a5e24
2024-12-12 19:40:47 +08:00
Tao Huang
d3225174f2 mfd: Fix typos in Rockchip copyright notices
There are many cases in which the company name is misspelled.
The patch fixes these typos.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ieb7a1fdae1ab586a3a167f7444e37995f525428c
2024-12-12 19:33:42 +08:00
Tao Huang
3dd8d1b69a mfd: rk1000: Fix typo in Rockchip copyright notice
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I3e7b727db184d98952f5f171341fcc230f1b0cae
2024-12-12 19:33:14 +08:00
Tao Huang
a5be89d981 mfd: rk618: Fix typo in Rockchip copyright notice
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I938a843c8724ca2e5b0a88e6df3f2530210eee40
2024-12-12 19:32:38 +08:00