Commit Graph

1271905 Commits

Author SHA1 Message Date
Algea Cao
f5432bfa9d arm64: dts: rockchip: rk3576: fix apb clk to PCLK_HDPTX_APB for hdmi
The parent clock of PCLK_HDPTX_APB is PCLK_PMUPHY_ROOT,
which must be always on.

In order to reduce power consumption, replace apb clock
PCLK_PMUPHY_ROOT by controllable PCLK_HDPTX_APB in
suspend and plug out.

Change-Id: I856fa05382ea50a7541195d49941c113bbe3986a
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2024-06-11 15:17:16 +08:00
Elaine Zhang
a66d9bdbbe clk: rockchip: rk3576: export pclk_hdptx_apb
For edp and hdmi phy low power mode.

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I288be0ffbf50a7ed78614d4813c5d4f8508d7405
2024-06-11 15:09:46 +08:00
Cai YiWei
9eacb0f92f media: rockchip: isp: fix ldcv irq handle
Change-Id: Iabada025762c66e6881472420e1351f5da2510ea
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2024-06-11 14:09:38 +08:00
Luo Wei
6785b797c8 arm64: dts: rockchip: rk3576-vehicle: add dp mst support for display serdes
dp-mst0: 1080P
dp-mst1: 720P

Signed-off-by: Luo Wei <lw@rock-chips.com>
Change-Id: I6b959dd6e23765b714e66ebddf4b134744ac16f0
2024-06-07 19:24:34 +08:00
William Wu
3191b79344 usb: typec: tcpci_husb311: Support to enable wakeup irq via dts
The husb311 driver disable irq wakeup if vbus is on
(e.g connect with an U Disk), it aimed to avoid wakeup
system from deep sleep immediately by husb311 irq if
the vbus was powered off during deep sleep.

However, some platforms can keep vbus on during deep
sleep, and it may want to support the husb311 irq to
wakeup system from deep sleep, so this patch adds an
option property "wakeup-source" for this scenario.

Fixes: a6a4762e0c ("usb: typec: tcpci_husb311: Refactor irq wakeup")
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I3a862b3b3e99fe12c4dbb87e09a0910b4602b92a
2024-06-07 17:43:45 +08:00
David Wu
57fd1a671e ethernet: stmmac: dwmac-rk: Fix rebind failed for this driver
Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: I29f72b36defa3d5b29a00a574073a790c19289d9
2024-06-07 17:41:55 +08:00
David Wu
eca19aef6a i2c: rk3x: Fix data update point for 10K and less 10K speed
Under the condition of 10K speed, data update point for data hold time
is calculated, which may exceed the maximum value 0x5, and the limit
is added to make its value within a reasonable range.

Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: Ic9cc68c172dc8720f6fa0bbc9714ce33ea9dc608
2024-06-07 17:41:55 +08:00
Zhibin Huang
49eb03b277 arm64: dts: rockchip: rk3576: correct mipidcphy0 node compatible property
Type: Fix
Redmine ID: N/A
Associated modifications: N/A
Test: N/A

Signed-off-by: Zhibin Huang <zhibin.huang@rock-chips.com>
Change-Id: Ifa4fc6a93e8c4f66b1d49c2b12178183f4406b79
2024-06-07 17:41:08 +08:00
Wesley Yao
4be6d92c15 iio: dac: Add driver for Rockchip Flexbus DAC opmode
Change-Id: Iffce47af2cb3c83f60a6d47416b29484bd01ecb0
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com>
2024-06-07 17:34:40 +08:00
Wesley Yao
ba4b69e690 iio: adc: Add driver for Rockchip Flexbus ADC opmode
Change-Id: I36c8e9afb8f7dadb609035a68d4bf6bb53904d1a
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com>
2024-06-07 17:34:30 +08:00
Wesley Yao
e144358375 mfd: Add driver for Rockchip Flexbus
Change-Id: I14529b18c2adb06bf71cd669b75f5f277e727637
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com>
2024-06-07 17:22:14 +08:00
Wesley Yao
da206695b1 arm64: dts: rockchip: rk3576-test1: Add flexbus related nodes
Change-Id: I3772dcb36a09e340bae07aa018660e3ddedc4df1
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com>
2024-06-07 15:42:16 +08:00
Wesley Yao
009f6bdcd2 arm64: dts: rockchip: rk3576: Add flexbus related nodes
Change-Id: I4d2aad054b3749f5c55cf94a0f46159a1bf00c6b
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com>
2024-06-07 15:42:16 +08:00
Wesley Yao
411a08c75c dt-bindings: Add Rockchip Flexbus header
Change-Id: Ibeeee1407c259024cdfd9046327da02ab84f2b01
Signed-off-by: Wesley Yao <wesley.yao@rock-chips.com>
2024-06-07 14:23:50 +08:00
Cai Wenzhong
c145ba8ee7 media: i2c: maxim: driver version v3.05.00
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: Id57bd6a2309c19485f2060f1cd263ff0f16e800e
2024-06-07 14:14:22 +08:00
Zhang Yubing
3ccf6b6752 drm/bridge: analogix_dp: clear old output_if when crtc active change
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: Ibb2fe312ec1f9e72471eefe25de37883f114564c
2024-06-06 18:51:49 +08:00
Damon Ding
dcb9c0ef02 arm64: dts: rockchip: rk3588-evb1: add hdmi2dp display dts
If using the hdmi2dp ext board, eDP uses the hardware
link of HDMI, whose phy is multiplexed with eDP, and
the HDMI controller does not actually work.

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: Icc70e713799e1fa6eb49e419bae1c96a54e838af
2024-06-06 18:51:49 +08:00
Damon Ding
69807881ea arm64: dts: rockchip: rk3588: add property #sound-dai-cells for edp0/edp1
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I624115129f93280dc2e69217c28efca5a577e51b
2024-06-06 18:51:49 +08:00
Damon Ding
9191e17ba0 arm64: dts: rockchip: rk3588-evb: add edp0/edp1 sound support
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I227893150c6d963ba47de1354d0ae2109a230685
2024-06-06 18:51:49 +08:00
Jon Lin
7040afe8be PCI: dw: rockchip: Configure register after clock initialization
Change-Id: I7c043ca64ff0953593093f498dec711049832f87
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2024-06-06 16:35:52 +08:00
Sandy Huang
f96a08b93c drm/rockchip: vop2: update rk3562 aclk auto cs div
After set pre_scan_hblank minimum value to 8 by the following commit,
the aclk and dclk must meet as: aclk > 1/2 * dclk.

commit ce8f21340f ("drm/rockchip: vop2: set pre_scan_hblank minimum value to 8")
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I4968a29ef0aab4e413990c1b9a406efec067c9d0
2024-06-06 11:45:28 +08:00
Alex Wang
2f9046d9e7 arm64: dts: rockchip: add rk3576-virtual-poweroff.dtsi to support virtual-poweroff for RK3576
Change-Id: Id5cbe1e34014382128f648b9d87b3002adfe63df
Signed-off-by: Alex Wang <alex.wang@rock-chips.com>
2024-06-06 11:21:42 +08:00
Sandy Huang
d3b6fbf3c0 drm/rockchip: vop: remove no need locked check at load lut
Fix the following warning:
[   12.265470] ------------[ cut here ]------------
[   12.265488] WARNING: CPU: 2 PID: 196 at
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:3454
vop2_crtc_load_lut+0x444/0x4c0
[   12.265490] Modules linked in:
[   12.265498] CPU: 2 PID: 196 Comm: kworker/u16:4 Not tainted 5.10.198
[   12.265500] Hardware name: Rockchip RK3588S RT-ICS WED 23588S V11
Board (DT)
[   12.265506] Workqueue: events_unbound commit_work
[   12.265511] pstate: 40c00009 (nZcv daif +PAN +UAO -TCO BTYPE=--)
[   12.265515] pc : vop2_crtc_load_lut+0x444/0x4c0
[   12.265518] lr : vop2_crtc_load_lut+0x44/0x4c0
[   12.265520] sp : ffffffc00adb3bd0
[   12.265522] x29: ffffffc00adb3bd0 x28: ffffffc00961a1a0
[   12.265526] x27: ffffff8107a52000 x26: ffffff81026f0080
[   12.265531] x25: ffffff8107a51c00 x24: ffffff81026f54a8
[   12.265536] x23: ffffff8107a51c00 x22: ffffff81026f0080
[   12.265540] x21: ffffff81026f5080 x20: ffffff81026f0080
[   12.265544] x19: ffffff81026f13b8 x18: 0000000000000030
[   12.265548] x17: 0000000000000182 x16: 0000000000000018
[   12.265552] x15: ffffffffffffffff x14: 0000000000000438
[   12.265557] x13: 0000000000201834 x12: 0000000004000201
[   12.265561] x11: 0000000000000011 x10: 0000000000000001
[   12.265565] x9 : ffffffc00887e0e4 x8 : ffffff8144dcc058
[   12.265569] x7 : 0000000080008001 x6 : 00000000000003ff
[   12.265573] x5 : ffffff81026ae080 x4 : 0000000000000400
[   12.265577] x3 : 0000000000000400 x2 : 00000000000003ff
[   12.265581] x1 : 00000000000003ff x0 : 0000000000000000
[   12.265586] Call trace:
[   12.265590]  vop2_crtc_load_lut+0x444/0x4c0
[   12.265594]  vop2_crtc_atomic_flush+0x790/0x2200
[   12.265598]  drm_atomic_helper_commit_planes+0x158/0x214
[   12.265601]  rockchip_drm_atomic_helper_commit_tail_rpm+0xf0/0x1b0
[   12.265604]  commit_tail+0xa8/0x17c
[   12.265607]  commit_work+0x1c/0x30
[   12.265612]  process_one_work+0x20c/0x49c
[   12.265614]  worker_thread+0x1a0/0x534
[   12.265617]  kthread+0x130/0x134
[   12.265621]  ret_from_fork+0x10/0x34

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I5d7d9b0a2eb7331441d4ef0f84b8333ba6c6d855
2024-06-06 11:14:37 +08:00
Sandy Huang
808adcf967 drm/rockchip: vop2: remove no need locked check at load lut
Fix the following warning:
[   12.265470] ------------[ cut here ]------------
[   12.265488] WARNING: CPU: 2 PID: 196 at
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:3454
vop2_crtc_load_lut+0x444/0x4c0
[   12.265490] Modules linked in:
[   12.265498] CPU: 2 PID: 196 Comm: kworker/u16:4 Not tainted 5.10.198
[   12.265500] Hardware name: Rockchip RK3588S RT-ICS WED 23588S V11
Board (DT)
[   12.265506] Workqueue: events_unbound commit_work
[   12.265511] pstate: 40c00009 (nZcv daif +PAN +UAO -TCO BTYPE=--)
[   12.265515] pc : vop2_crtc_load_lut+0x444/0x4c0
[   12.265518] lr : vop2_crtc_load_lut+0x44/0x4c0
[   12.265520] sp : ffffffc00adb3bd0
[   12.265522] x29: ffffffc00adb3bd0 x28: ffffffc00961a1a0
[   12.265526] x27: ffffff8107a52000 x26: ffffff81026f0080
[   12.265531] x25: ffffff8107a51c00 x24: ffffff81026f54a8
[   12.265536] x23: ffffff8107a51c00 x22: ffffff81026f0080
[   12.265540] x21: ffffff81026f5080 x20: ffffff81026f0080
[   12.265544] x19: ffffff81026f13b8 x18: 0000000000000030
[   12.265548] x17: 0000000000000182 x16: 0000000000000018
[   12.265552] x15: ffffffffffffffff x14: 0000000000000438
[   12.265557] x13: 0000000000201834 x12: 0000000004000201
[   12.265561] x11: 0000000000000011 x10: 0000000000000001
[   12.265565] x9 : ffffffc00887e0e4 x8 : ffffff8144dcc058
[   12.265569] x7 : 0000000080008001 x6 : 00000000000003ff
[   12.265573] x5 : ffffff81026ae080 x4 : 0000000000000400
[   12.265577] x3 : 0000000000000400 x2 : 00000000000003ff
[   12.265581] x1 : 00000000000003ff x0 : 0000000000000000
[   12.265586] Call trace:
[   12.265590]  vop2_crtc_load_lut+0x444/0x4c0
[   12.265594]  vop2_crtc_atomic_flush+0x790/0x2200
[   12.265598]  drm_atomic_helper_commit_planes+0x158/0x214
[   12.265601]  rockchip_drm_atomic_helper_commit_tail_rpm+0xf0/0x1b0
[   12.265604]  commit_tail+0xa8/0x17c
[   12.265607]  commit_work+0x1c/0x30
[   12.265612]  process_one_work+0x20c/0x49c
[   12.265614]  worker_thread+0x1a0/0x534
[   12.265617]  kthread+0x130/0x134
[   12.265621]  ret_from_fork+0x10/0x34

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I3e7fc89598f45b88d4a6e1de0e2771f89936fe7a
2024-06-06 11:05:14 +08:00
Cai Wenzhong
a1b63a3c9b media: i2c: maxim: remote: os04a10: fix kernel-6.1 compile error
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: Icd2a15b4e8f8f838aaadc62d82b3aa223f9dc0d2
2024-06-06 10:34:10 +08:00
Alex Wang
31cd4f11b5 input: rockchip_pwm_remotectl: support pwm shutdown
Change-Id: I71f70a2f24958ffa2048f18220dc19ea42bfd818
Signed-off-by: Alex Wang <alex.wang@rock-chips.com>
2024-06-06 10:30:59 +08:00
Zhang Yubing
7fc20e2dfe drm/rockchip: dw-dp: support fix virtual channel payload id
For simulation aux client, the virtual channel pyaload id can't
send by sideband MSG. In this case, the MST device often config
a fix payload id. It need DPTX also config fix payload id to
match the MST device.

Change-Id: I49148e92a80091a50a5b1f44496430f39d9c1aee
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-06-06 10:27:39 +08:00
Zhang Yubing
82e9773633 drm/rockchip: dw-dp: support user simulate aux for sideband message
Change-Id: I23be5e753ac650fe08afe42819ebe4e55a8cf708
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-06-06 10:27:39 +08:00
Zhang Yubing
33c51f42c4 drm/rockchip: dp-mst-sim: support mst device without aux client
some MST-capable device may not support Messaging AUX Client.
In this case, sideband MSG can't be transferred between DPTX
and the MST device. A solution is to simulate a Messaging AUX
client in MST device side to deal with sideband MSG.

Change-Id: I7c68f6d0bd88501c4e19097e3a1f9a9fabcf2698
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-06-06 10:25:08 +08:00
Zhang Yubing
675c592033 arm64: configs: rockchip_linux_defconfig: enable CONFIG_ROCKCHIP_DP_MST_AUX_CLIENT
Change-Id: If1070103e6b0468456d8c480a73c0315095a3b59
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
2024-06-06 10:24:24 +08:00
Sugar Zhang
56d2082cec ASoC: rockchip: multi-dais: Workaround for interleaved for GKI
Once upstream is merged, this patch can be dropped.
also for line CONFIG_NO_GKI

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I83f5a08e93010741c26ec044f70b388a50e6c7a9
2024-06-06 10:10:28 +08:00
Sugar Zhang
f48e683a54 dmaengine: pl330: Workaround for interleaved for GKI
Once upstream is merged, this patch can be dropped.
also for line CONFIG_NO_GKI

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I2b0fc69aa6673e46dcd65e0369ab4353e7c4f9fc
2024-06-06 10:10:28 +08:00
Zheng zhiqi
9aba6831dd arm64: dts: rockchip: rk3576-vehiclke-evb: use vehicle sound
1. open spi1 dev
2. change spi codec to dummy codec
3. remove es8388 sound

This patch keeps the vehicle sound to be "car-rk3308-sound" since the
audio HAL use it fixed.

Change-Id: I6a968e09f548cffa64088bfba0c7c266f3727146
Signed-off-by: Zheng zhiqi <looper.zheng@rock-chips.com>
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2024-06-06 09:27:49 +08:00
Chandler Chen
dcaa39ee96 video: rockchip: mpp: fix unused buffer move fail issue
When dmabuf cache disable:
1.move most recently used link node to link tail,
instead of calculate oldest ktime when buffer full.
2.For those buffer import by ioctl MPP_CMD_TRANS_FD_TO_IOVA,
move to static_list instead of used_list,
and don't increase extra kref,
so that it will release when user space call
ioctl MPP_CMD_RELEASE_FD.

Change-Id: I38f209c24f6cc7e831338e2417050e3ef39226f9
Signed-off-by: Chandler Chen <chandler.chen@rock-chips.com>
2024-06-06 09:26:35 +08:00
Elaine Zhang
a52d69153e arm64: dts: rockchip: rk3576: set aclk_php to 250M by default
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I5c0277bbc2f7583df5a93ec72d87b7c103ade20e
2024-06-06 09:23:27 +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
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