Commit Graph

1280467 Commits

Author SHA1 Message Date
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
Tao Huang
6deb8d8c14 clk: 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: I5d658b8a60411257afa860c8e5679187ca94ece0
2024-12-12 14:19:07 +08:00
Jiang Yu
f0f6779501 arm64: dts: rockchip: rk3576-amp: Add some nodes and interrupt configurations for amp rpmsg
1.Add the node of reserved-memory in rk3576-evb1-v10-linux-amp.dts
2.Add reserved-memory node, rpmsg node and the interrupt route for
amp rpmsg in rk3576-amp.dtsi

Change-Id: I8268815c12f7f8fa7a3d5518c8208bbea087d7e7
Signed-off-by: Jiang Yu <yu.jiang@rock-chips.com>
2024-12-12 14:17:05 +08:00
Zefa Chen
09610469c5 media: rockchip: vicap support to get sensor effect exp info
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Iaa67bf235437e1a4e42bee87e78352496ba7f086
2024-12-12 14:09:32 +08:00
Zhen Chen
10f2e76f0c Mali: utgard: No to call dma_fence_signal(), when checking whether fence has been signaled
Modify the recently introduced calls to dma_fence_is_signaled() to exclude
the invocation of dma_fence_signal().
Before this change, running stress tests such as devicetest could result in
deadlock related to the aforementioned dma_fence_signal().

Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
Change-Id: Ibf6f86ae0474ed8fad94b5be58b0b79133755b47
2024-12-12 14:09:07 +08:00
Yu Qiaowei
fb2702ef30 video/rockchip: rga2: fix compile error on dma-buf-cache
Update driver version to 2.1.1

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I84da3bbb395a98db52ef750e8c34692fec07c4a6
2024-12-12 10:51:48 +08:00
Damon Ding
07bc6420d1 pwm: rockchip: fix the comment for the tx_value of IR transmit function
Fixes: 9be1108fc5 ("pwm: rockchip: add support for IR NEC transmit")
Change-Id: I90ccf6131178d619ed4205886e28960a9a6c384b
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2024-12-12 10:40:22 +08:00
Tao Huang
9ea235c717 ARM: rv1126_defconfig: Enable CONFIG_LD_DEAD_CODE_DATA_ELIMINATION
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ied988470fac9baec372e886ffdf3f6f6785e3128
2024-12-12 10:34:19 +08:00
Tao Huang
f118ccc8a6 ARM: rv1126_defconfig: Disable CONFIG_IO_URING
IO_URING is not available on kernel 4.19.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Icd4321a29db8df0eb6ed8e46467895fd1007bf0d
2024-12-12 10:34:19 +08:00
Tao Huang
b91acc7d36 ARM: rv1126_defconfig: Enable CONFIG_MEDIA_SUPPORT_FILTER
+CONFIG_MEDIA_SUPPORT_FILTER=y
-CONFIG_MEDIA_SUBDRV_AUTOSELECT
+CONFIG_MEDIA_CAMERA_SUPPORT=y
+CONFIG_MEDIA_PLATFORM_SUPPORT=y

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I77013e146279065a28bc65e86219b0f432d59d7c
2024-12-12 10:34:19 +08:00
Tao Huang
5ee38611d5 ARM: rockchip_defconfig: update by savedefconfig
CONFIG_VIDEO_V4L2_SUBDEV_API is selected by VIDEO_ROCKCHIP_ISP.
CONFIG_DRM_FBDEV_EMULATION depends on CONFIG_FB.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I30793b126827d7343595d566b04fa550b3472344
2024-12-12 10:34:19 +08:00