Commit Graph

1277299 Commits

Author SHA1 Message Date
Tao Huang
bf8bc764ba Merge commit 'a77252e2b5b7be3780a141e93692bb0d08c172a6'
* commit 'a77252e2b5b7be3780a141e93692bb0d08c172a6':
  arm64: dts: rockchip: rk3576: Add vop-bw-dmc-level for dmc
  PM / devfreq: rockchip_dmc: Add bandwidth level table support
  arm64: dts: rockchip: rk3588-vehicle-serdes-mfd-display-rohm.dtsi: fix i2c7 and i2c8 are disabled error
  arm64: dts: rockchip: rk3588-vehicle-evb-v22: fix dcphy1 gpio conflict with backlight
  arm64: dts: rockchip: rk3588-vehicle-evb-maxim-max96712-dphy3-os04a10.dtsi: enable multi-raw
  arm64: dts: rockchip: add rk3588-vehicle-evb-maxim-max96712-dphy3-os04a10.dtsi
  arm64: configs: rk3588_vehicle.config: add CONFIG_VIDEO_MAXIM_CAM_OS04A10=y
  media: i2c: maxim: remote: add omnivision os04a10 sensor driver
  media: i2c: maxim: driver version v3.04.00

Change-Id: I899d3fe86de1b32cb90461e33f6161c5f2348c96
2024-06-05 19:46:16 +08:00
Finley Xiao
a77252e2b5 arm64: dts: rockchip: rk3576: Add vop-bw-dmc-level for dmc
Change-Id: I37fddb3595bee2192e5f57efe19c722b982f79d6
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2024-06-05 18:52:07 +08:00
Finley Xiao
7ee4b8fe83 PM / devfreq: rockchip_dmc: Add bandwidth level table support
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I3fcc4b9454c599f7a5946a61893153171509de42
2024-06-05 18:52:07 +08:00
Cai Wenzhong
682affbb83 arm64: dts: rockchip: rk3588-vehicle-serdes-mfd-display-rohm.dtsi: fix i2c7 and i2c8 are disabled error
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: I3880ad24f7cf86812b13ae984f6adb582b106a0d
2024-06-05 09:23:33 +08:00
Cai Wenzhong
7ea19b17ea arm64: dts: rockchip: rk3588-vehicle-evb-v22: fix dcphy1 gpio conflict with backlight
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: Idb7b753eb71a0bf22224ee11b5d1aeb72d1ec642
2024-06-05 09:23:33 +08:00
Cai Wenzhong
411f3d4622 arm64: dts: rockchip: rk3588-vehicle-evb-maxim-max96712-dphy3-os04a10.dtsi: enable multi-raw
enable multiple raw sensor link to isp depend on config MULTI_SENSOR_LINK_TO_ISP

Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: I52a0ca4f1c6cb26a43c95b5d3a41df2b4f351ad4
2024-06-05 09:23:33 +08:00
Cai Wenzhong
88c54416a3 arm64: dts: rockchip: add rk3588-vehicle-evb-maxim-max96712-dphy3-os04a10.dtsi
1. 2Lanes and 4Lanes: 2688 * 1520, RAW10, 30fps, MCLK = 24MHz
2. Data Lanes config depend on REMOTE_SENSOR_2_DATA_LANES
3. Default enable 2Lanes for improving bandwidth utilization

Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: I341ca54f6231e02c7deb7b77a7c6f74d5e37c7c9
2024-06-05 09:23:33 +08:00
Cai Wenzhong
8818afdfc1 arm64: configs: rk3588_vehicle.config: add CONFIG_VIDEO_MAXIM_CAM_OS04A10=y
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: I173934018fd452da380d72f43c94002288585293
2024-06-05 09:22:33 +08:00
Cai Wenzhong
1831c9c25d media: i2c: maxim: remote: add omnivision os04a10 sensor driver
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: Icc764fab0cce3b1df7c114a132585a35aef48a33
2024-06-05 09:19:08 +08:00
Cai Wenzhong
099d24c61c media: i2c: maxim: driver version v3.04.00
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: I313dfc73d4b43a7315f9ac87c03e6794742d9a0b
2024-06-05 09:18:56 +08:00
Tao Huang
7041e3c265 Merge commit '1ebca99c8f1e959c86646bc3cd72aa22dabb71b0'
* commit '1ebca99c8f1e959c86646bc3cd72aa22dabb71b0':
  media: i2c: maxim4c: support subscribe hot plug detect event
  drm/rockchip: dsi2: add support PSR for mipi command mode
  drm/rockchip: dsi2: set phy mode in .loader_protect helper
  drm/rockchip: dw-dp: support external bridge
  drm/rockchip: dw-dp: support fix stream and connector
  phy: rockchip: mipi-dcphy: optimize signal
  arm64: dts: rockchip: rk3576-iotest: enable edp sound for edp2dp board
  drm/rockchip: vop2: resolution bigger than 2560 need high performance
  drm/rockchip: vop2: recover vop aclk when enter psr and suspend
  drm/rockchip: vop2: udpate linear 10bit yuv format align role
  arm64: dts: rockchip: rk3588: enable emmc command queue
  arm64: dts: rockchip: rk3576: enable emmc command queue
  mmc: sdhci-of-dwcmshc: add command queue support for rockchip SOCs
  BACKPORT: mmc: sdhci-of-dwcmshc: Implement SDHCI CQE support
  BACKPORT: mmc: sdhci-of-dwcmshc: Add error handling in dwcmshc_resume
  UPSTREAM: mmc: cqhci: Add cqhci set_tran_desc() callback
  ASoC: rk817: Fix compile warning

Change-Id: I1f33e6d6e1b5afed0a25d9bdc979ba78ae1f09bc
2024-06-04 20:46:51 +08:00
Yiqing Zeng
1ebca99c8f media: i2c: maxim4c: support subscribe hot plug detect event
Change-Id: Ia646b37a323885f54bedefa1b3bfcc3b7c642b0f
Signed-off-by: Yiqing Zeng <zack.zeng@rock-chips.com>
2024-06-04 20:45:58 +08:00
Guochun Huang
c5be1bded8 drm/rockchip: dsi2: add support PSR for mipi command mode
As described in:
https://patchwork.freedesktop.org/patch/msgid/20190228210939.83386-2-sean@poorly.run

From the driver's perspective, this works like a regular disable/enable
cycle. The driver need only check the 'psr_transition' state in
connector_state and keep the panel turned on when in .disable(), while
everything else will cycle off as normal. If drivers want more control,
they can use the psr_transition state to enter a low-power state to
minimize PSR exit time.

While this carries the PSR moniker, it is not specific to the
DisplayPort technology. This can be used for power savings
with other types of self refresh, such as MIPI command mode.

Change-Id: I80799c7f1356645e50dae98159591dde6aa5abff
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
2024-06-04 20:45:02 +08:00
Guochun Huang
e50eabf923 drm/rockchip: dsi2: set phy mode in .loader_protect helper
if the mode of the PHY is not set in .loader_protect helper,
when entering sleep mode for the first time bring up with
display logo, the PHY will not be able to shut down completely
and accurately because it does not know in which mode it is
operating, resulting in some power consumption.

Change-Id: If5606c24fd2a542936cdb2f1c3d4e380d6c3889a
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
2024-06-04 20:45:02 +08:00
Zhang Yubing
c8094ce9fd drm/rockchip: dw-dp: support external bridge
Change-Id: Ic04fdec4c4559851124fe6a205c8442c120e146d
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-06-04 20:37:58 +08:00
Zhang Yubing
793f858ef2 drm/rockchip: dw-dp: support fix stream and connector
The DP Port may attach a DP MST bridge device as follow:
+-------------------------+      +---------------------------------+
|                         |      |                                 |
|           +---------+   |      |                   +-------------+
|           |         |   |      |                   |             |
|           | stream0 |   |      |                   | Output Port1|
|           |         |   |      |                   |             |
|           +---------+   |      |                   +-------------+
|                         |      |                                 |
|                         |      |                                 |
|           +---------+   |      +-------------+     +-------------+
|           |         |   |      |             |     |             |
| DP Port   | stream1 |   +------> Input Port0 |     | Output Port2|
|           |         |   |      |             |     |             |
|           +---------+   |      +-------------+     +-------------+
|                         |      |                                 |
|                         |      |                                 |
|           +---------+   |      |                   +-------------+
|           |         |   |      |                   |             |
|           | stream2 |   |      |                   | Output Port3|
|           |         |   |      |                   |             |
|           +---------+   |      |                   +-------------+
|                         |      |     DP MST Bridge               |
+-------------------------+      +---------------------------------+
The DP MST bridge device may be a branch device, such as DP
MST HUB, the branch unit in DP MST monitor, A DP MST bridge
chip and so on.

When a sink device connected to the DP MST bridege device's
output port, The sink device may receive the stream from
steram0/1/2.

When the DP MST bridge device is a bridge chip and the output
port attach to a fixed device(another bridge device or panel).
The output port may want bind itself to a fixed stream.

To satisfy this requirement, The prop
"rockchip,mst-fixed-ports" is used to do it.
For example, define as follow:
rockchip,mst-fixed-ports = <1 2 3>;
It mean that:
DP Port stream0 --> DP MST bridge Output Port1
DP Port stream1 --> DP MST bridge Output Port2
DP Port stream2 --> DP MST bridge Output Port3

Change-Id: I91dfc51a5e8a533ebbabdcae572163907ec2c9fe
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-06-04 20:37:58 +08:00
Zhibin Huang
3220dcb643 phy: rockchip: mipi-dcphy: optimize signal
Type: Fix
Redmine ID: #487592
Associated modifications: N/A
Test: N/A

Signed-off-by: Zhibin Huang <zhibin.huang@rock-chips.com>
Change-Id: I35143b35c06a9460f45016b4eb24e1abbf6a8fd3
2024-06-04 20:35:00 +08:00
Damon Ding
8be865c4be arm64: dts: rockchip: rk3576-iotest: enable edp sound for edp2dp board
Change-Id: I5dfe5e39bbfdd9e617f394d79aac8f392591b750
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2024-06-04 20:34:47 +08:00
Sandy Huang
c235872c42 drm/rockchip: vop2: resolution bigger than 2560 need high performance
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Ie7933cb68a32c421c1f35ce4780aa7011d09602b
2024-06-04 20:25:46 +08:00
Sandy Huang
4ca8cfff71 drm/rockchip: vop2: recover vop aclk when enter psr and suspend
Usperspace not commit new frame for long time will triggle
driver enter psr mode, If userspace directly close display
at next time and without any new frame commit, driver will
not exit psr, at this case we need to recover aclk here

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I4bf78c5fa12ca7fa557d8e82d92427b0f849f2eb
2024-06-04 20:25:08 +08:00
Sandy Huang
07bed61e89 drm/rockchip: vop2: udpate linear 10bit yuv format align role
At RK356X/RK3588/RK3562/RK3528 linear 10bit yuv format actual_w should
align as 4 pixel, from RK3576 linear 10bit yuv format actual_w should
align as 2 pixel.

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I719f59574442628f2ed2410d6ca20194cf6f580d
2024-06-04 20:24:52 +08:00
Yifeng Zhao
d03a5046f1 arm64: dts: rockchip: rk3588: enable emmc command queue
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I3ca4ccf7920626752115a2a76c0c80c4795412e6
2024-06-04 20:24:22 +08:00
Yifeng Zhao
d5d3f0a6fb arm64: dts: rockchip: rk3576: enable emmc command queue
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: Ia58b5cefcacac8430bb289315cc0306c6694f1f2
2024-06-04 20:24:08 +08:00
Yifeng Zhao
2ef0767967 mmc: sdhci-of-dwcmshc: add command queue support for rockchip SOCs
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I96c3dfb56d4dd3af3e70cdd59bbd16403abd2fcb
2024-06-04 18:14:53 +08:00
Sergey Khimich
8d00b0267e BACKPORT: mmc: sdhci-of-dwcmshc: Implement SDHCI CQE support
For enabling CQE support just set 'supports-cqe' in your DevTree file
for appropriate mmc node.

Signed-off-by: Sergey Khimich <serghox@gmail.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20240319115932.4108904-3-serghox@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Change-Id: Ie91c0f42f7ac76d92778190c5b0eee770ecb7352
(cherry picked from commit 53ab7f7fe412abd294262e86459f17d965cd65b9)
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
2024-06-04 18:14:53 +08:00
Liming Sun
0f7ce4fc64 BACKPORT: mmc: sdhci-of-dwcmshc: Add error handling in dwcmshc_resume
This commit adds handling in dwcmshc_resume() for different error
cases.

Signed-off-by: Liming Sun <limings@nvidia.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20230822195929.168552-1-limings@nvidia.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
(cherry picked from commit a11937b3cf)
Change-Id: Iade159c45df614cf250234c9297fd309b38b0ea6
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2024-06-04 18:14:09 +08:00
Sergey Khimich
6a0bf60054 UPSTREAM: mmc: cqhci: Add cqhci set_tran_desc() callback
There are could be specific limitations for some mmc
controllers for setting cqhci transfer descriptors.
So add callback to allow implement driver specific function.

Signed-off-by: Sergey Khimich <serghox@gmail.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20240319115932.4108904-2-serghox@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Change-Id: Iae6c9e69b5a695f8cbdf91aa7586c3e1649bc466
(cherry-picked from 52bf134fca61f0cdb400f4b27766149ca6e1550c)
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
2024-06-04 17:29:09 +08:00
Sugar Zhang
27f113e22c ASoC: rk817: Fix compile warning
Should use '%d' for type 'int'.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I06482bcaf2e88516758450536c616652ce24ea91
2024-06-04 16:42:42 +08:00
Tao Huang
4a52497c1d Merge commit '832b62042f15eee0536fb3195093509e8244617e'
* commit '832b62042f15eee0536fb3195093509e8244617e':
  video: rockchip: rga3: add 'intl' debug node
  video: rockchip: rga3: fix 'Use of memory after it is freed' with rga_job
  video: rockchip: rga3: use dma to alloc cmd_buffer
  video: rockchip: rga3: add dma_addr in struct rga_dma_buffer
  arm64: dts: rockchip: rk3576-evb1-v10-lontium: add rkvtunnel node
  media: i2c: lt6911c: fix compile errors and sync from from kernel-5.10
  video: rockchip: mpp: rk3576: fix dual-core parallel enc issue
  arm64: dts: rockchip: rk3588-toybrick: use rockchip,hdmi as hdmirx audio machine driver
  drm/rockchip: dsi2: add slave to component in dual-channel mode
  UPSTREAM: netfilter: nf_tables: reject QUEUE/DROP verdict parameters

Change-Id: I29133f52892b1442399deb79e9e6ba60254bf740
2024-06-03 19:42:49 +08:00
Yu Qiaowei
832b62042f video: rockchip: rga3: add 'intl' debug node
Use dma-buf to replace external image buffer

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I000e4cf37b8d338933010dddbbbe36de0ad55b84
2024-06-03 19:40:44 +08:00
Yu Qiaowei
f78e431d62 video: rockchip: rga3: fix 'Use of memory after it is freed' with rga_job
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I9685372fafd84dcb8528f20eeac944ae8c31241c
2024-06-03 19:40:44 +08:00
Yu Qiaowei
7be687eb5d video: rockchip: rga3: use dma to alloc cmd_buffer
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I639facf09766fc632a6690a76fc5b43a466c7bf6
2024-06-03 19:40:44 +08:00
Yu Qiaowei
44e65c2c29 video: rockchip: rga3: add dma_addr in struct rga_dma_buffer
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I5c1208032c957920b51ee6a489a257947b5dc55b
2024-06-03 19:40:44 +08:00
Jianwei Fan
62f5d697fc arm64: dts: rockchip: rk3576-evb1-v10-lontium: add rkvtunnel node
Change-Id: I6182aad1b44d8cfc21dde8c3e168a4febc83e7cf
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
2024-06-03 19:37:48 +08:00
Jianwei Fan
9f586c8e42 media: i2c: lt6911c: fix compile errors and sync from from kernel-5.10
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
Change-Id: I1cce568db23a791291d06fcad096ece9e75047d4
2024-06-03 19:37:36 +08:00
Zorro Liu
d72df5fbba drm/rockchip: ebc_dev: release version v6.10
1.add rk waveform type for regal mode
2.do glr16 same as gld16

Type: Function
Redmine ID: #N/A
Associated modifications: N/A
Test: N/A

Change-Id: I5cc2fc6c48d8a9b10cea63895c1980c75ed3efed
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
2024-06-03 17:57:28 +08:00
Yandong Lin
69293bf3d5 video: rockchip: mpp: rk3576: fix dual-core parallel enc issue
Reset the enc core will clear the reference info of the dual-core
parallel encoding, which will cause parallel enc err.
So use another way to workaround.

Change-Id: I3ef8ae3397687929c529b40f21cb34ea3d1c327f
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
2024-06-03 15:55:26 +08:00
Shiqin Chen
1d06937c01 arm64: dts: rockchip: rk3588-toybrick: use rockchip,hdmi as hdmirx audio machine driver
Change-Id: I39d31ff82b6795816f83567a098a79601a39c715
Signed-off-by: Shiqin Chen <chensq@rock-chips.com>
2024-06-03 15:54:12 +08:00
Kever Yang
5489510b1e ANDROID: bazel: Add rockchip platform in bazel target
Change-Id: I28426ae76806de2ce8ce0c6cb05003d80dda4ddb
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
2024-06-03 11:19:56 +08:00
Guochun Huang
a5ee6dd0bd drm/rockchip: dsi2: add slave to component in dual-channel mode
Fixes: d420d65bec ("drm/rockchip: dsi2: optimize drive probe process")

rockchip drm will Registers a new aggregate driver consisting of the
components added to @match by calling one of the component_match_add()
functions. Once all components in @match are available, it will be assembled
by calling &component_master_ops.bind(rockchip_drm_ops.rockchip_drm_bind)
from @ops.

if the dsi->slave is not added into component, the binding status of
the device under the display subsystem becomes abnormal as follows:

cat /sys/kernel/debug/device_component/display-subsystem
aggregate_device name                                  status

-------------------------------------------------------------
display-subsystem                                   not bound

device name                                            status
-------------------------------------------------------------
fdd90000.vop                                        not bound
fde20000.dsi                                        not bound
(unknown)                                      not registered

Change-Id: I5739f06b4ef65f0b8de8f3394f4e811abe31a22c
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
2024-06-03 10:19:39 +08:00
Florian Westphal
355dd7a64f UPSTREAM: netfilter: nf_tables: reject QUEUE/DROP verdict parameters
commit f342de4e2f33e0e39165d8639387aa6c19dff660 upstream.

This reverts commit e0abdadcc6.

core.c:nf_hook_slow assumes that the upper 16 bits of NF_DROP
verdicts contain a valid errno, i.e. -EPERM, -EHOSTUNREACH or similar,
or 0.

Due to the reverted commit, its possible to provide a positive
value, e.g. NF_ACCEPT (1), which results in use-after-free.

Its not clear to me why this commit was made.

NF_QUEUE is not used by nftables; "queue" rules in nftables
will result in use of "nft_queue" expression.

If we later need to allow specifiying errno values from userspace
(do not know why), this has to call NF_DROP_GETERR and check that
"err <= 0" holds true.

Bug: 323034288
Fixes: e0abdadcc6 ("netfilter: nf_tables: accept QUEUE/DROP verdict parameters")
Cc: stable@vger.kernel.org
Reported-by: Notselwyn <notselwyn@pwning.tech>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 8e34430e33)
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: Ie6c699cea6f92cd4a7642f196d5f5cbffe268a6d
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2024-06-03 10:07:23 +08:00
Tao Huang
898a3e7226 Merge commit 'b27c911206af7ad9cec2250922846cb1f3ea40cb'
* commit 'b27c911206af7ad9cec2250922846cb1f3ea40cb':
  arm64: dts: rockchip: rk3576-vehicle-evb: modify maxim lock gpio
  hwspinlock: rockchip: support to set hwlock numbers in dt
  dt-bindings: hwlock: rockchip: add number of hwlocks property
  video: rockchip: rga3: add 'reset' debug node
  arm64: dts: rockchip: update rk3576-ebook-color panel parameter
  drm/rockchip: dsi2: add connector polling connect/disconnect flags
  drm/bridge: attach dsi in probe according to dsi driver
  dt-bindings: phy: Add lvds output voltage for rockchip,px30-dsi-dphy
  phy: rockchip: inno-dsidphy: Add support to change lvds output voltage
  video: rockchip: mpp: rkvenc2: Update address trans table
  arm64: dts: rockchip: rk3576-vehicle-evb: support rkvpss

Change-Id: I0a3c700380d14ff2d487a2db98fa735e7d9fe760
2024-05-31 19:11:06 +08:00
Luo Wei
b27c911206 arm64: dts: rockchip: rk3576-vehicle-evb: modify maxim lock gpio
Signed-off-by: Luo Wei <lw@rock-chips.com>
Change-Id: I3d372052b742b976fa396f77f927ee3b58e2353b
2024-05-31 19:08:48 +08:00
Frank Wang
354c8f5503 hwspinlock: rockchip: support to set hwlock numbers in dt
Since the number of hwlocks on some Rockchip SoC is not 64, we
need to configure the actual numbers with "rockchip,hwlock-num-locks"
property in DT.

Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Change-Id: Ibb641b010a0431ebcb5c00e9a60d12d584fb6efa
2024-05-31 19:08:48 +08:00
Frank Wang
5b12dbf42b dt-bindings: hwlock: rockchip: add number of hwlocks property
Set number of hwlocks with the "rockchip,hwlock-num-locks" property,
it indicates that the number of hwlocks provided by this device.

Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Change-Id: Ifc3f64fff942481ba98da095af0e1697803270d7
2024-05-31 19:08:48 +08:00
Yu Qiaowei
dbd4741e68 video: rockchip: rga3: add 'reset' debug node
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I5839cd60c4d5d95fc01a23fc9461f40a23b78fa8
2024-05-31 19:08:48 +08:00
Zorro Liu
6bb36ae703 arm64: dts: rockchip: update rk3576-ebook-color panel parameter
Type: Function
Redmine ID: #N/A
Associated modifications: N/A
Test: N/A

Change-Id: If4ce0464625eb86173aa049d4916295239f60946
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
2024-05-31 19:08:48 +08:00
Zhibin Huang
bbf4f15cd9 drm/rockchip: dsi2: add connector polling connect/disconnect flags
When the bridge code does not abstract a connector, and the bridge
has connection status detection, the dsi abstract connector adds
"DRM_CONNECTOR_POLL_CONNECT" and "DRM_CONNECTOR_POLL_DISCONNECT"
flags for interface plugging and unplugging detection.

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: I58dcb9ade2846c73f489b0ebc9bf65947d7b6352
2024-05-31 19:08:48 +08:00
Zhibin Huang
4f35f8e5bc drm/bridge: attach dsi in probe according to dsi driver
Type: Fix
Redmine ID: N/A
Associated modifications:
    commit d420d65bec ("drm/rockchip: dsi2: optimize drive probe process")
    Change-Id: Ic8782e9902a6133990fca728ab12e530e50b6d68
Test: N/A

Signed-off-by: Zhibin Huang <zhibin.huang@rock-chips.com>
Change-Id: Ia5e8d905e6eb683d78174bb06724261c6301d6e0
2024-05-31 19:08:48 +08:00
Chaoyi Chen
2973c66147 dt-bindings: phy: Add lvds output voltage for rockchip,px30-dsi-dphy
Change-Id: I60ac24e3990697e532f18dae2b4898e50cf9ed66
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
2024-05-31 19:08:48 +08:00