Commit Graph

69 Commits

Author SHA1 Message Date
Damon Ding
0b1e03cc77 arm64: dts: rockchip: Remove property support-psr of eDP nodes
Since the PSR feature can help to reduce the power consumption, the
Source device, which can support PSR function, should enable PSR if
the PSR capability of Sink device is detected rather than depending
on the user to add 'support-psr' DTS property manually.

Change-Id: I2f51312621f62519f388e06561fb61f01145256b
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
2025-07-29 14:38:19 +08:00
lin longjian
f8dee2cf65 arm64: dts: rockchip: add bt_port for wireless_bluetooth
Signed-off-by: lin longjian <llj@rock-chips.com>
Change-Id: I893a0dae669a410e646df46926ed54fa693894f9
2025-07-22 10:37:40 +00:00
Sandy Huang
cb85ca5828 arm64: dts: rockchip: add vop-supply for rk3588/rk3588s boards
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I0f0771d84b91b3c72e1dea2c0005f71918d05d5a
2023-12-18 17:11:50 +08:00
Tao Huang
796ecb79e1 Merge commit 'ccc60a624971b61ccbe2780289b39fae1c2e88d2'
* commit 'ccc60a624971b61ccbe2780289b39fae1c2e88d2':
  media: rockchip: vicap support to do reset in online mode
  media: rockchip: isp support to do reset in online mode
  arm64: dts: rockchip: rk3588 boards: Fix bitclock-inversion
  arm64: dts: rockchip: rk356x boards: Fix bitclock-inversion
  arm64: dts: rockchip: rk3528 boards: Fix bitclock-inversion
  arm64: dts: rockchip: rk3399-tve1205g: Fix bitclock-inversion
  arm64: dts: rockchip: rk3326-evb: Fix bitclock-inversion
  video: rockchip: mpp: Add uapi header
  soc: rockchip: tb_service: add memory-no-free property support

Change-Id: I068ca307ee0ec53eb570ce4f7fd5604c6bb796d8
2023-11-06 11:06:11 +08:00
Sugar Zhang
a86b62fb9b arm64: dts: rockchip: rk3588 boards: Fix bitclock-inversion
simple-audio-card,bitclock-inversion is a boolean property.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I2f69c4fd79b6f2b2cc06d69f720671227901482c
2023-10-31 20:11:04 +08:00
Shunhua Lan
89fc7be3bd arm64: dts: rockchip: change property rockchip i2s
rockchip,clk-trcm = <1> to rockchip,trcm-sync-tx-only
rockchip,clk-trcm = <2> to rockchip,trcm-sync-rx-only
remove rockchip,clk-trcm = <0> because of it's the default

Signed-off-by: Shunhua Lan <lsh@rock-chips.com>
Change-Id: I10938cb1eec02456e86c775113bb83ec329390e4
2023-10-16 10:17:33 +08:00
Yandong Lin
65768b30e3 arm64: dts: rockchip: rk3588 boards: enable av1d node
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: Ifb1db3812402d13671ec57d4c154bfab801d08eb
2023-07-04 18:14:56 +08:00
Zou Dengming
e1e3340e25 arm64: dts: rockchip: rk3588 boards: btsco enable 16k pcm support
In android 9,10,11,12,13, we have already support 16k wbs in
hardware level code. So, enable 16k support in kernel dts default.

Info:
In future, to support BTSCO 16k, it only need to change the
default setting of bluedroid's "DISABLE_WBS" setting.

Change-Id: I31db010004b09723840c9674a093eaaa78822658
Signed-off-by: Zou Dengming <marsow.zou@rock-chips.com>
2023-06-27 19:58:45 +08:00
Zou Dengming
3d4d03ca90 arm64: dts: rockchip: rk3588/rk3588s boards: prepare bt sco settings
we don't directly add all evb board to enable bt-sco cards
because it may take some i2s/pcm, which may use dma,
but dmas may limit.

so we just prepare this settings, then if any one who want to
support bt-sco, he/she can just add dts in board-level dts.

now, we enable rk3588-evb1 sco just for example.
Diff in "rk3588-evb1-lp4-v10.dts" is like this:

+&bt_sco {
+	status = "okay";
+};
+
+&bt_sound {
+	status = "okay";
+};
+
+&i2s2_2ch {
+	status = "okay";
+};

The default pcm/i2s setting is:
Format: PCM, dsp_a, MSB first, short sync, rising edge and delay 1 bclk.
rockchip soc: master; Bt controller: slave

Change-Id: Id161dd43ec3ea657e758852f7214727488633977
Signed-off-by: Zou Dengming <marsow.zou@rock-chips.com>
2023-06-19 09:44:02 +08:00
Caesar Wang
c5e85bafa0 arm64: dts: rockchip: change dp sound card name on rk3588 platform
pulseaudio ucm2 config can not handle the character "," or long name,
so change it.

Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: Idd25349d3b11e058b391bb5b0c205288ccdb3e74
2023-06-01 15:55:37 +08:00
Wyon Bi
876d1bbd23 arm64: dts: rockchip: rk3588s-tablet: Add link-freuencies into dp0_out endpoint
Change-Id: I3b611a86c79adf8ae27f47c8158e01d3702d91fe
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2023-04-13 19:39:34 +08:00
Finley Xiao
38dabca338 arm64: dts: rockchip: rk3588 boards: Add supply for rkvenc
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I33a45881ef143803bb0482cc86b5f838e38f1e98
2023-03-13 14:52:06 +08:00
Sugar Zhang
c3d3a14f49 arm64: dts: rockchip: rk3588: Use mclkout_i2sx for devices
replace.sh

  #!/bin/sh

  grep -lr "$1" | xargs sed -i "s/$1/$2/g"

e.g.

  ./replace.sh "cru I2S1_8CH_MCLKOUT" "mclkout_i2s1"

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I742c35e23a54facb90cde8f9d0d2b935be69152b
2023-02-21 14:59:32 +08:00
Liang Chen
0d01ed0d12 arm64: dts: rockchip: rk3588: set pcfg_pull_up for touch int pin
This patch can save 0.6mA for PMUIO2(3V3).
Tested on RK3588_EVB1_LP4_V10 platform.

Change-Id: If9298b7de5859e8bfd28baf3e1022b71efd78218
Signed-off-by: Liang Chen <cl@rock-chips.com>
2022-09-30 10:33:55 +08:00
Yandong Lin
986d8f9d5f arm64: dts: rockchip: Enable vepu node for rk3588 boards
Fixes: 94a5dd9f32 ("arm64: dts: rockchip: add vepu support and separate jpege for rk3588")
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: Idc14891685c81f0103477d264d44a58585756cd5
2022-07-12 11:44:40 +08:00
Wu Liangqing
1a457360e5 arm64: dts: rockchip: rk3588s-tablet: enabled dp0_sound and sdmmc
Change-Id: Ib3488ac2121a3978593c166a83d9b4f13fce2c68
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2022-07-05 09:36:00 +08:00
Bian Jin chen
73b47f5972 arm64: dts: rockchip: rk3588s-tablet: add simple battery info.
Test: CtsStatsdAtomHostTestCases
android.cts.statsdatom.statsd.HostAtomTests#testFullBatteryCapacity

Signed-off-by: Bian Jin chen <kenjc.bian@rock-chips.com>
Change-Id: I516bd06211e02e563d6243985d597964d7596448
2022-06-28 17:22:27 +08:00
Wyon Bi
bcde211e70 arm64: dts: rockchip: rk3588s-tablet: Limit DP PHY link rate to 5.4Gbps
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: I7dfc211eaf69e0515581c9fd3ccd1b5062fbfcef
2022-06-17 18:20:06 +08:00
Wu Liangqing
aa43b7e67d arm64: dts: rockchip: rk3588s-tablet: add uboot charge suspend node
Change-Id: I664b07c341be806ea47b71ca182c1e024247551e
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2022-05-13 16:09:42 +08:00
Wyon Bi
298ec87bd0 arm64: dts: rockchip: rk3588s-tablet: Add custom training table for edp
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: I3a734a68383f86ffd0a24a34b99bc0f9e3575ec9
2022-04-22 17:14:29 +08:00
Zefa Chen
58b77814a2 arm64: dts: rockchip: combine dcphy tx/rx for rk3588
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I3c4f3f539cc906258ad36e7627575da6a78c6e23
2022-04-08 14:09:34 +08:00
Yandong Lin
cefea8c402 arm64: dts: rockchip: enable av1d iommu for rk3588 evb/tablet
The av1d node is register av1dec_bus not platform bus,
so it no need to set okay status.

Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Signed-off-by: Simon Xue <xxm@rock-chips.com>
Change-Id: I9c88340d6542c497b3e4b24406db93bd60369fd8
2022-03-03 19:58:48 +08:00
Chen Shunqing
cb60e73a74 arm64: dts: rockchip: rk3588s-tablet: remove condition for exiting uboot charge
Signed-off-by: Chen Shunqing <csq@rock-chips.com>
Change-Id: I081c803eb08e1fa16272f31272f98fa556d3c002
2022-03-02 20:51:28 +08:00
Wyon Bi
965af3f6dc arm64: dts: rockchip: rk3588s-tablet: Enable psr support for edp
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: If66981c3641623bf77ea9d92aa89f36b4aa12769
2022-02-23 11:05:19 +08:00
shengfei Xu
f5eb395e3f arm64: dts: rockchip: rk3588s-rk806: add dual-rk806 dtsi for rk3588s
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: Ieef7a3c47d6d23c3ceca8307047bc2664388a80c
2022-01-17 16:59:54 +08:00
XiaoDong Huang
f9f1545d56 arm64: dts: rockchip: rk3588s-tablet: enable rockchip-suspend node
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
Change-Id: I954bcdf12891012e423adaf6ee9dbf96f4d0c847
2022-01-13 10:46:29 +08:00
William Wu
a3baf95262 arm64: dts: rockchip: add typec-vbus-det property for rk3588 boards
Add new property "rockchip,typec-vbus-det" for the RK3588 and
RK3588S boards which support Type-C interface and the vbus det
pin is always pulled up.

Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I0cc1bc339238f41b0dc05c374fa69bf3daeeb42a
2022-01-10 14:30:34 +08:00
Alex Zhao
0b819948e4 arm64: dts: rockchip: rk3588 boards: add rockchip,skip-scan-in-resume for pcie wifi
Signed-off-by: Alex Zhao <zzc@rock-chips.com>
Change-Id: I8423da5f963264a815be5b3f22f0e69596ac07e6
2022-01-10 14:12:49 +08:00
Wyon bi
09a8ce68b4 arm64: dts: rockchip: rk3588s-tablet: Add regulator-boot-on property to vcc3v3_lcd_edp regulator
Signed-off-by: Wyon bi <bivvy.bi@rock-chips.com>
Change-Id: Ibc5a9c21e4f53bec2cbf4e00b9b97a434deecf38
2022-01-10 14:09:59 +08:00
Wang Jie
2cea4f2ea6 arm64: dts: rockchip: rk3588s-tablet: add fusb302 interrupt gpio configuration for uboot
The uboot Type-C PD driver needs to poll the interrupt gpio level,
but the uboot code does not have a suitable interface to convert the
attributes of "interrupt-parent" and "interrupts" to standard gpio,
so add int-n-gpios configure for uboot to analyze and use.

Change-Id: Ib415902f11a35f8f8ee141297a53aa80dbb1cbaa
Signed-off-by: Wang Jie <dave.wang@rock-chips.com>
2022-01-10 12:03:33 +08:00
Weixin Zhou
e0a08d9c40 arm64: dts: rockchip: rk3588 boards: add wakeup-source for rtc hym8563
Signed-off-by: Weixin Zhou <zwx@rock-chips.com>
Change-Id: I84ff00c0089309418c884a5716db40adec48546d
2022-01-07 10:02:16 +08:00
Wang Panzhenzhuan
2861e20508 arm64: dts: rockchip: rk3588s-tablet: adapt to camera hw power modification
tablet's camera hardware power has been modified,
modify configs to adapt it.

Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: Ibc1804c9a1730a8b9d32dafe4cdcb722f603d7a2
2022-01-04 14:29:48 +08:00
Ding Wei
ee212c7306 arm64: dts: rockchip: rk3588: Enable rkvdec2 refer nodes for evb/nvr
Change-Id: I80ad52cc975796f79c96f24a2b4958c3427461ec
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
2021-12-28 18:27:56 +08:00
Wu Liangqing
f0c867263a arm64: dts: rockchip: rk3588s-tablet: enabled route-edp
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
Change-Id: I4d63f78323f057087f4d8cf6a94efc841fb128f4
2021-12-27 18:43:45 +08:00
Felix Zeng
c2118feabc arm64: dts: rockchip: Add rknpu relative node for rk3588 boards
Signed-off-by: Felix Zeng <felix.zeng@rock-chips.com>
Change-Id: I16ec5078b4e19ed9c62c788541adf8cec848ae6e
2021-12-24 15:13:48 +08:00
Wang Jie
386d162f92 arm64: dts: rockchip: rk3588s-tablet: fix charger ic output otg current limit problem
At present, the charger ic output otg current limit is 500mA, the
high-current usb device (for example, usb3.0 hard disk) cannot work
normally in Type-C0, such as disconnection and reconnection. According
to the requirements of the usb3.0 protocol, the minimum vbus current
limit is 900mA. We set the charger ic output otg current limit to 900mA,
and the video playback in the usb3.0 hard disk is still unstable.
The rk3588-evb Type-C vbus current limit is about 1.44v, the usb3.0 hard
disk can work stably, so the rk3588s tablet output otg current limit is
configured to 1.5A.

Change-Id: I47bbc6c8f06025504857067d42d780aa783007c6
Signed-off-by: Wang Jie <dave.wang@rock-chips.com>
2021-12-22 15:50:58 +08:00
Jianhui Wang
8136b9a8ac arm64: dts: rockchip: rk3588s-tablet: enable charge animation
Signed-off-by: Jianhui Wang <wjh@rock-chips.com>
Change-Id: Id08c71e7495e35a822710e9468224495df3ab767
2021-12-21 11:30:01 +08:00
Jianhui Wang
90d8cc803e arm64: dts: rockchip: rk3588s-tablet: mpp: rkvenc2: Fix dual core issue
Signed-off-by: Jianhui Wang <wjh@rock-chips.com>
Change-Id: I5559206fbd6329c152b66ee20d920e29f767efb5
2021-12-21 11:09:40 +08:00
Shunhua Lan
9e859cce5f arm64: dts: rockchip: rk3588s-tablet: use multicodecs instead of simple-audio-card
Signed-off-by: Shunhua Lan <lsh@rock-chips.com>
Change-Id: I6c4b970fbbe42dd5bf185b75eae6ba6cad1657c5
2021-12-20 12:07:32 +08:00
Wang Jie
096cbd86cf arm64: dts: rockchip: rk3588s-tablet: disable unused usb_host1
Change-Id: I373006e78451d55eeeca192319c15719c1ab5854
Signed-off-by: Wang Jie <dave.wang@rock-chips.com>
2021-12-01 17:46:52 +08:00
Wang Jie
5869a2d49e arm64: dts: rockchip: rk3588s-tablet: fix Type-C0 vbus issue
Just as the commit 25e44a6ed98b("bq25700: register otg vbus regulator")
said that there will be some problems with the current vbus control,
and the patch has registered the otg vbus regulator in the charger ic
driver, then the otg vbus regulator can be referenced in the fusb302 node.

Change-Id: Id4c9f866a3d131eee6f732300ff642a7f5489672
Signed-off-by: Wang Jie <dave.wang@rock-chips.com>
2021-11-30 18:27:12 +08:00
Tao Huang
4fb351ca18 arm64: dts: rockchip: Rename rk3588-rk806-daul.dtsi to rk3588-rk806-dual.dtsi
Fixes: 7534ec9a51 ("arm64: dts: rockchip: rk806: bind the rk806 to the rk3588")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I01cd29ea965fc3a03e68a02f1a6a18ad5c44a73c
2021-11-29 20:40:02 +08:00
Wyon Bi
2db29d7f51 arm64: dts: rockchip: Remove assigned-clocks from vop node for rk3588 boards
Change-Id: I20d568eb199d34380a4b776742f111adcc3c35b3
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2021-11-29 18:49:17 +08:00
Wangqiang Guo
fbf26729da arm64: dts: rockchip: Modify battery curve for rk3588s tablet
Signed-off-by: Wangqiang Guo <kay.guo@rock-chips.com>
Change-Id: I7d4696eef302b59e633430b4347a17bead62751b
2021-11-29 12:00:03 +08:00
Jianhui Wang
94995f4e33 arm64: dts: rockchip: rk3588-tablet.dtsi: Enable rga node
Signed-off-by: Jianhui Wang <wjh@rock-chips.com>
Change-Id: Ia4adc96df7f70aa8c008c81a218d7928cd306e61
2021-11-26 20:46:16 +08:00
Jianhui Wang
e830cf86d5 arm64: dts: rockchip: rk3588s-tablet: remove vp0&vp3
The tablet only uses edp and dp display interfaces(edp->vp2,dp->vp1),
so remove vp0&vp3

Signed-off-by: Jianhui Wang <wjh@rock-chips.com>
Change-Id: I1c56a95c4bd3c052f18ed43fd3b9962156b59b22
2021-11-26 10:56:25 +08:00
Wang Panzhenzhuan
6793be67bb arm64: dts: rockchip: rk3588s-tablet: raise avdd_1v2_cam_s0 voltage
Tablet's rear camera convert fpc decrease the dvdd,
so need raise nldo4 voltage to ensure rear camera ov50c40 normal.

Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: Id36f920dd80d9072cf3265a6cc992ae648c77142
2021-11-26 10:53:25 +08:00
Wang Jie
6e09befb4d arm64: dts: rockchip: rk3588s-tablet: remove hs limit for usb3_0
Change-Id: Ibcdb89fc2b50b15f722c5709e98037b8dbb8ad4d
Signed-off-by: Wang Jie <dave.wang@rock-chips.com>
2021-11-26 09:51:52 +08:00
Wang Panzhenzhuan
bf930ada8e arm64: dts: rockchip: rk3588s-tablet: add camera config
support ov13855 & ov50c40

Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: I473da810c706017fed7658c30b05c58d57e598c7
2021-11-25 19:57:18 +08:00
Wang Jie
ee356cb5a6 arm64: dts: rockchip: rk3588s-tablet: modify Type-C0 SBU1 and SBU2 gpio
Fixes: c87b8fcb8a ("rk3588s-tablet: add dp display for rk3588s tablet")
Fixes: 2171d7fcf6 ("rk3588s-tablet: modify Type-C0 vbus configuration")

Change-Id: I65f7289fe8769a0982a4e92e3d885de3cb7ce401
Signed-off-by: Wang Jie <dave.wang@rock-chips.com>
2021-11-25 17:22:00 +08:00