Commit Graph

19 Commits

Author SHA1 Message Date
baiywt 38b0a66a10 Merge linux-5.10-gen-rkr6 2024-01-19 18:35:00 +08:00
Caesar Wang e31f1b672c arm64: dts: rockchip: use SPDX-License-Identifier
Update all 64bit rockchip devicetree files to use SPDX-License-Identifiers.

Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: Ie983cca0d54cae8b5ad6d322d51eb7bbd265aa0a
2022-08-01 14:20:46 +08:00
Shawn Lin 78f9ac0daa treewide: Migrate rockchip dts file to use new host type tags
supports-* stuff were used for rockchip platforms to speed up booting
if we know what exactly the host was used for. As we have upstreamed all
these with some very similar ways, now it's the time we migrate our dts
files to use new properties.

They were converted by:

sed -i "s/supports-emmc;/no-sdio;\n\tno-sd;/g" `grep supports-emmc -rl arch/*`
sed -i "s/supports-sd;/no-sdio;\n\tno-mmc;/g" `grep supports-sd -rl arch/*`
sed -i "s/supports-sdio;/no-sd;\n\tno-mmc;/g" `grep supports-sdio -rl arch/*`

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I33e5317ee5c7305803cf18ff4a370658abf555b0
2021-04-13 14:40:36 +08:00
Tao Huang 77bcbf172b arm64: dts: rockchip: bulk convert gpios to their constant counterparts (v2)
According to upstream commit d64420e816 ("arm64: dts: rockchip:
bulk convert gpios to their constant counterparts") replace
RK_FUNC_x -> x and RK_GPIOx -> x.

sed -i -e "
/rockchip,pins *=/bcheck
b # to end of script
:append-next-line
N
:check
/^[^;]*$/bappend-next-line
s/<RK_GPIO\([0-9]\) /<\1 /g
s/<\([^ ][^ ]*  *\)0 /<\1RK_PA0 /g
s/<\([^ ][^ ]*  *\)1 /<\1RK_PA1 /g
s/<\([^ ][^ ]*  *\)2 /<\1RK_PA2 /g
s/<\([^ ][^ ]*  *\)3 /<\1RK_PA3 /g
s/<\([^ ][^ ]*  *\)4 /<\1RK_PA4 /g
s/<\([^ ][^ ]*  *\)5 /<\1RK_PA5 /g
s/<\([^ ][^ ]*  *\)6 /<\1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angtao@rock-chips.com>
2021-03-25 20:30:22 +08:00
Wu Liangqing 3962ab0701 arm64: dts: rockchip: rk3399-excavator-sapphire: enabled auto-freq-en
Change-Id: I959c4bf9585eeae7eddd6a1a136e7a06a186c7cf
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2021-01-22 20:12:59 +08:00
Longjian Lin 1ceda43610 arm64: dts: rockchip: add BT gpio pinctrl for rk3399 excavator
Signed-off-by: Longjian Lin <llj@rock-chips.com>
Change-Id: Icb6408fed0d4f64a87a8adfd6c1a1358a6bc7ab2
2020-12-17 14:52:55 +08:00
Wu Liangqing ae21cc86ab arm64: dts: rockchip: rk3399-excavator-sapphire: set dmc boost to 600m
dmc set SYS_STATUS_BOOST 600MHZ for lpddr3

Change-Id: I6c1905a284ec5986b737a285fb96db19d25f3c96
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2020-01-14 21:50:31 +08:00
Wu Liangqing 0c175338f6 arm64: dts: rockchip: rk3399-excavator-sapphire: enabled st sensor driver for mpu6500
Change-Id: I68b2029dcdeb873c92adaabdc99f66f5d5f943bf
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2019-11-01 19:21:49 +08:00
Alex Zhao a6815de5f5 arm64: dts: rockchip: rk3399: enable sdio0 for sapphire board
Change-Id: I573f51c80663591639645e7cb49083846ec77924
Signed-off-by: Alex Zhao <zzc@rock-chips.com>
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2019-10-24 10:58:05 +08:00
Shunhua Lan 3c0fe8ef95 arm64: dts: rockchip: enable rt5651 sound for rk3399 excavator evb
Change-Id: I2cf4fcb10b8342aa8404ceec2b047b533986db7e
Signed-off-by: Shunhua Lan <lsh@rock-chips.com>
2019-10-22 15:27:24 +08:00
Jianqun Xu 80225d46e7 arm64: dts: rockchip: modify pcie_clkreqn to pcie_clkreqn_cpm for rk3399-excavator-sapphire
Change-Id: I44e6da4fdcae3bd8af0594070922b96ab0f0f2d8
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2019-03-19 14:35:32 +08:00
Caesar Wang 61a515ac93 arm64: dts: rockchip: fixes the dmc for rk3399-excavator-sapphire
This patches fixes the vop bandwidth control on rk3399 excavator
sapphire board.

Fixes: 739d1ab1c9
("arm64: dts: rockchip: enable the dmc for rk3399 sapphire excavator")

Change-Id: Icad42cfc4e883668dc3987f1a5561a781d0591b8
Reported-by: Finley Xiao <finley.xiao@rock-chips.com>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
2018-09-21 15:47:22 +08:00
Caesar Wang 739d1ab1c9 arm64: dts: rockchip: enable the dmc for rk3399 sapphire excavator
The rk3399 had supported the dmc, the sapphire excavator board should
supported it too.

Change-Id: Id462ca1957b8c4960564d0ca24f71e7811aaabfd
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
2018-02-25 19:26:52 +08:00
Shawn Lin b57b7d3e58 arm64: dts: rockchip: move PCIe configuarion into rk3399-excavator-sapphire.dtsi
So all the variant boards will benefit from it and no need
to copy and paste this everywhere.

Change-Id: Id27355bb6f780ead76b8661693c32a452d3f8e61
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
2017-10-23 15:10:08 +08:00
Sugar Zhang 721e28dd91 arm64: dts: rockchip: split i2s mclk pinctrl from i2s bus
because currently mclk is handled by codec side, so the
associated pinctrl should be handled by codec too.

Change-Id: I55db6e9a0181cae0cb414b9dcacae7ff0214b50c
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2017-09-22 15:03:03 +08:00
LinLongjian c4f8d32e86 arm64: dts: rockchip: add bluetooth clk control on rk3399-sapphire-excavator
Change-Id: I60b7b67b676921a70a8a9f9705d8e58534885415
Signed-off-by: Longjian Lin <llj@rock-chips.com>
2017-08-17 20:50:21 -04:00
wlq 3f217d60ae ARM64: dts: rk3399: config rockchip_suspend
Change-Id: I41e7e77b1cc903200c7e1711bae15c629a616564
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2017-03-13 14:58:29 +08:00
Huang zhibao aff8fe3254 arm64: dts: rockchip: change rt5651 card name on rk3399-sapphire-excavator
Change-Id: If5ccdbc40a99bf7015d2c5dbf8da2638b23a60e7
Signed-off-by: Huang zhibao <hzb@rock-chips.com>
2016-09-08 20:36:48 +08:00
Huang zhibao 6905169e12 ARM64: dts: rk3399: add 3399 sapphire&excavator box and edp board support
Change-Id: I14fd6d2e49eee6852625241cfd9ef22b549588c0
Signed-off-by: Huang zhibao <hzb@rock-chips.com>
2016-08-10 17:28:44 +08:00