Commit Graph

1276983 Commits

Author SHA1 Message Date
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
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
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
Tao Huang
1b78deeca2 mfd: rk630: 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: I833c56d1f8db0472e72c992ea19f7b8b6ffaf3b8
2024-12-12 19:31:48 +08:00
Tao Huang
9d1447fa92 media: rockchip: vpss: 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: Ib0a01104792c01b60e4ddd0076072f25dc76064f
2024-12-12 19:26:14 +08:00
Tao Huang
728333ed0f media: rockchip: tsp: 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: Ibffad5dc5ea46f3ae338b10189293e071c5d12a8
2024-12-12 19:25:06 +08:00
Tao Huang
e03cb29df5 media: rockchip: rga: 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: I35110931e60d49c0d79c5337913773a3ef8877be
2024-12-12 19:24:11 +08:00
Tao Huang
752885a400 media: rockchip: ispp: 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: I744f75b8095edeaa840d7f208fc4db052c735f6f
2024-12-12 19:22:51 +08:00
Tao Huang
cb2ad1d839 media: rockchip: isp: 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: I906caba122645465a3d679d998f5141297dc116f
2024-12-12 19:22:07 +08:00
Tao Huang
959f95d39d media: rockchip: hdmirx: 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: Idf0d150f32b2d3a47bf66b89976b7f3d9d05e40c
2024-12-12 19:21:19 +08:00
Tao Huang
3ce93881dc media: rockchip: cif: 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: I257abc4dfacb2c16842c76cac2dccf307a8ecaf8
2024-12-12 19:20:02 +08:00
Tao Huang
74c71ec22b regulator: rk801: Fix typo in Rockchip copyright notice
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ibe5ed65797491a621900d949eb71dbd0ae0a8de2
2024-12-12 19:16:47 +08:00
Tao Huang
17a86c6d45 regulator: rk860x: Fix typo in Rockchip copyright notice
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ifafc1acb1df4a21926cb38a899bc43e2592577d1
2024-12-12 19:16:35 +08:00
Tao Huang
c72382674b regulator: 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: Idd8dd56c81ceeeaeff12d38a5de8901f5fef2ef0
2024-12-12 19:13:09 +08:00
Wu Liangqing
94c32485b8 arm64: dts: rockchip: rk3562: The initial frequency of the npu is set to the maximum frequency
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
Change-Id: I4f2935862bc6fc15ae1da424affa47c6ea7b699b
2024-12-12 18:57:12 +08:00
Wu Liangqing
d4a6f287ec arm64: dts: rockchip: rk356x: The initial frequency of the npu is set to the maximum frequency
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
Change-Id: I138783e5391a14ae727aae51925b33cd1cf01e47
2024-12-12 18:56:40 +08:00
Wu Liangqing
4bdda76ab7 arm64: dts: rockchip: rk3576: The initial frequency of the npu is set to the maximum frequency
Change-Id: I10ed5d6ffcb6f22c5a92534f9f63b45d758b218f
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2024-12-12 18:55:11 +08:00
Damon Ding
659eb2e8c4 drm/bridge: analogix_dp: Add the basis of eDP enhanced mode setting in comment
Fixes: 5d2f3f959e ("drm/bridge: analogix_dp: Compliant with eDP receiver enhanced frame capability")
Change-Id: I0ff0f961155dcd78ce648725adf7b8f01f0dbf0c
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2024-12-12 18:52:45 +08:00
Cai YiWei
9c39c74a7a media: rockchip: isp: version v2.9.0
Change-Id: I5c0d21c1e09fdd30e4ed01aef82f915749dcb82f
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2024-12-12 18:44:08 +08:00
Cai YiWei
2493b672af media: rockchip: isp: support frame information attach to image tail
Change-Id: Ifa3ff82fe22950147095083e8ce64a8597d7be19
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2024-12-12 18:43:46 +08:00
Cai YiWei
cb47ff8054 media: rockchip: isp: add sensor exposure for isp30 and isp39
Change-Id: I81f52e021b56fe6e325fea68e8aece0fad9aab3c
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2024-12-12 18:43:46 +08:00
Tao Huang
2e9b7c3310 Revert "phy/rockchip: Add support for INNOSILICON MIPI/LVDS/TTL Video Combo PHY"
This reverts commit 8c63ba97d0.
This driver is unused since linux 5.10, drop it.

Change-Id: I771562e11fafe79ea725741f4a53257c4b8b2445
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2024-12-12 18:38:50 +08:00
Tao Huang
aeb7e8d7bf Revert "rk3288:syb827:rename syb827 to syr82x for hardware modify"
This reverts commit f415a98e9f.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I2de938be384625256f7ebf5d90832b3d893ffd0b
2024-12-12 18:27:21 +08:00