Commit Graph

17 Commits

Author SHA1 Message Date
Tao Huang
96ba0fabb7 arm64: dts: rockchip: rfkill switch to use gpiod
sed -i \
-e 's/uart_rts_gpios/uart_rts-gpios/' \
-e 's/BT,power_gpio/BT,power-gpios/' \
-e 's/BT,reset_gpio/BT,reset-gpios/' \
-e 's/BT,wake_gpio/BT,wake-gpios/' \
-e 's/BT,wake_host_irq/BT,wake_host-gpios/' \
-e 's/WIFI,poweren_gpio/WIFI,poweren-gpios/' \
-e 's/WIFI,vbat_gpio/WIFI,vbat-gpios/' \
-e 's/WIFI,reset_gpio/WIFI,reset-gpios/' \
-e 's/WIFI,host_wake_irq/WIFI,host_wake-gpios/' \
(git ls-files arch/arm64/boot/dts/rockchip/)

Change-Id: I8d5b76f4a666ecbeaacd5d3257521bcc4860e81c
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2025-07-25 12:22:53 +08:00
Guochun Huang
1f429c9dc1 dt-bindings: display: drm_mipi_dsi: Add _NO_ to MIPI_DSI_* flags disabling features
As described in:

commit 0f3b68b66a ("drm/dsi: Add _NO_ to MIPI_DSI_* flags disabling features")

Many of the DSI flags have names opposite to their actual effects,
e.g. MIPI_DSI_MODE_EOT_PACKET means that EoT packets will actually
be disabled. Fix this by including _NO_ in the flag names, e.g.
MIPI_DSI_MODE_NO_EOT_PACKET.

Change-Id: Ibf5faf52f95a1ab07c3ffb7848ff1be7071c458b
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
2024-07-11 16:22:56 +08:00
Jiajian Wu
b74f371bac arm64: dts: rockchip: rk817 compatible to rockchip,multicodecs-card
Signed-off-by: Jiajian Wu <jair.wu@rock-chips.com>
Change-Id: I9a257915416b17a668d2e73642bdd4ed04748c71
2022-09-19 20:11:58 +08:00
Liang Chen
0267ad3b0c arm64: dts: rockchip: remove non-existent vopl on rk3326
Change-Id: I7e3e05d873ddcbe96d90cd4d8dbf39e30cb11761
Signed-off-by: Liang Chen <cl@rock-chips.com>
2022-09-17 11:59:00 +08:00
Liang Chen
f899544509 arm64: dts: rockchip: adjust regulator-min-microvolt of arm/logic for px30/rk3326 boards
From 0.95v to 0.85v.

Change-Id: Iaeaf795e112965069a8a78ba09043e5a9a832ace
Signed-off-by: Liang Chen <cl@rock-chips.com>
2022-07-22 17:26:21 +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 /<\1RK_PA6 /g
s/<\([^ ][^ ]*  *\)7 /<\1RK_PA7 /g
s/<\([^ ][^ ]*  *\)8 /<\1RK_PB0 /g
s/<\([^ ][^ ]*  *\)9 /<\1RK_PB1 /g
s/<\([^ ][^ ]*  *\)10 /<\1RK_PB2 /g
s/<\([^ ][^ ]*  *\)11 /<\1RK_PB3 /g
s/<\([^ ][^ ]*  *\)12 /<\1RK_PB4 /g
s/<\([^ ][^ ]*  *\)13 /<\1RK_PB5 /g
s/<\([^ ][^ ]*  *\)14 /<\1RK_PB6 /g
s/<\([^ ][^ ]*  *\)15 /<\1RK_PB7 /g
s/<\([^ ][^ ]*  *\)16 /<\1RK_PC0 /g
s/<\([^ ][^ ]*  *\)17 /<\1RK_PC1 /g
s/<\([^ ][^ ]*  *\)18 /<\1RK_PC2 /g
s/<\([^ ][^ ]*  *\)19 /<\1RK_PC3 /g
s/<\([^ ][^ ]*  *\)20 /<\1RK_PC4 /g
s/<\([^ ][^ ]*  *\)21 /<\1RK_PC5 /g
s/<\([^ ][^ ]*  *\)22 /<\1RK_PC6 /g
s/<\([^ ][^ ]*  *\)23 /<\1RK_PC7 /g
s/<\([^ ][^ ]*  *\)24 /<\1RK_PD0 /g
s/<\([^ ][^ ]*  *\)25 /<\1RK_PD1 /g
s/<\([^ ][^ ]*  *\)26 /<\1RK_PD2 /g
s/<\([^ ][^ ]*  *\)27 /<\1RK_PD3 /g
s/<\([^ ][^ ]*  *\)28 /<\1RK_PD4 /g
s/<\([^ ][^ ]*  *\)29 /<\1RK_PD5 /g
s/<\([^ ][^ ]*  *\)30 /<\1RK_PD6 /g
s/<\([^ ][^ ]*  *\)31 /<\1RK_PD7 /g
s/<\([^ ][^ ]*  *[^ ][^ ]*  *\)0 /<\1RK_FUNC_GPIO /g
s/<\([^ ][^ ]*  *[^ ][^ ]*  *\)RK_FUNC_\([1-9]\) /<\1\2 /g
" *.dts *.dtsi

Change-Id: I789e702620a4d0331d54474d48aaf68133795859
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2021-03-25 20:30:22 +08:00
XiaoTan Luo
b666ebc49f arm64: dts: rockchip: rename rk_headset to rk_headset: rk-headset
Signed-off-by: XiaoTan Luo <lxt@rock-chips.com>
Change-Id: I58dc0f16c61daeff3e03442eae620965552c5f43
2020-06-19 19:40:27 +08:00
Nickey Yang
d3d4f3e92d arm64: dts: rockchip: use ports to link DSI node and panel
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
Change-Id: I35f699d231fa75c8c261ad9b248d80ee80c3bbc9
2020-06-18 19:11:47 +08:00
shengfei Xu
c05dfd186f arm64: dts: rockchip: remove the regulator-boot-on property from the OTG_SWITCH for rk3326 board
the OTG_SWITCH supply OTG, it doesn't need to be on When the driver initializes.

Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: I44f4fa618f66f18fa552353c425c7baa6831ab0c
2019-11-25 19:26:32 +08:00
Ding Wei
659df9c511 arm64: dts: rockchip: px30: match new video driver for 4.19
Change-Id: Iaa282a4d154cf85cdd4124c1affb5746795613e5
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
2019-11-13 20:34:45 +08:00
Wyon Bi
1521458687 arm64: dts: rockchip: Update and clean up display nodes for px30/rk3326 boards
Change-Id: I4f51bb63ec0f6027a1019f49f0ac1a197ecf7e9e
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2018-12-29 16:41:15 +08:00
Elaine Zhang
35ae31482a thermal: rockchip: add pinctrl control
Based on the TSADC Tshut mode to select pinctrl,
instead of setting pinctrl based on architecture
(Not depends on pinctrl setting by "init" or "default").
And it requires setting the tshut polarity before select pinctrl.

Change-Id: Iac9ca05073b0181ee13b0048d0c2a54204f82bca
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2018-12-29 10:18:46 +08:00
Wang Panzhenzhuan
0a185632e9 arm64: dts: rockchip: move camera node config to dts for rk3326-863-lp3-v10
Move rkisp1 and gc0312/gc2145, cif and cif_sensor
node config to dts level not in dtsi.

For rkisp1 and gc0312/gc2145 don't need by rk3326-863-lp3-v10.dts,
otherwise it causes 8.0 863 machine camera register failed;
And cif with cif_sensor don't need by rk3326-863-lp3-v10-avb.dts,
otherwise it causes 9.0 863 machine camera register failed;

So need to modify rk3326-863-lp3-v10-avb.dts and
rk3326-863-lp3-v10.dts separately for camera node configs

Change-Id: Ieac54c39cec1f2eae70e0d41829cc0ea1b6a3eb2
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
2018-09-21 09:34:56 +08:00
Weixin Zhou
14aa3e4860 arm64: dts: rockchip: rk3326-863-lp3-v10: modify audio card name for vts test
test cmd: run vts -m VtsKernelProcFileApi -t testProcAsoundCardsTest

test result:
shell_command: "cat /proc/asound/cards"
ERROR Failed to parse! Parsing error at token LexToken(COMMA,',',1,48) in line 1
I/ProcessHelper: [VtsKernelProcFileApi]
INFO [Test Case] testProcAsoundCardsTest FAIL

Change-Id: Ib70bf8bb0757a1773253931bb3e6f105eb518126
Signed-off-by: Weixin Zhou <zwx@rock-chips.com>
2018-09-12 18:34:55 +08:00
Wang Panzhenzhuan
6518f8c230 arm64: dts: rockchip: rk3326-863-lp3-v10: add rkisp1 and gc0312/gc2145
Change-Id: I013f735174a081310c5f6cb771fcb59f74df6f3c
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
2018-08-23 11:27:45 +08:00
Bian Jin chen
fbbf92cb6f arm64: dts: rockchip: rk3326/px30: Separate android fireware
- Split DT source files to separate out android fireware specific DT
bindings.
- Add an alias for firmware_android && chosen in px30-android.dtsi.

Change-Id: I63da786d8f70c72497b3def47309efcd8399c171
Signed-off-by: Bian Jin chen <kenjc.bian@rock-chips.com>
2018-08-15 18:36:08 +08:00