Commit Graph

30 Commits

Author SHA1 Message Date
Joseph Chen b19cb16194 arm64: dts: rockchip: Update tcs425x to tcs4525 or tcs4526
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ieb3e514877099f1073475cd24b6319ba7db8543d
2023-02-15 18:39:02 +08:00
Weixin Zhou 46955357d0 arm64: dts: rockchip: rk3566-eink: setting sleep_sta_ctl on in ultra sleep only
Signed-off-by: Weixin Zhou <zwx@rock-chips.com>
Change-Id: I40484a87ef97429649620adebdc466cfadad4dc3
2021-07-06 19:23:38 +08:00
Alex Zhao e5b8734cd5 arm64: dts: rockchip: rk356x board: give wifi some time after power-on.
Signed-off-by: Alex Zhao <zzc@rock-chips.com>
Change-Id: I29503ce3f328862361fda1c192aaff5d3b3781cb
2021-07-06 19:23:38 +08:00
Zorro Liu 6c6ebeeb80 arm64: dts: rockchip: rk3566 eink: set sdio default sample phase to 90
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: I69635ba3ec8456137bfc47de402b0bfc1c29a327
2021-07-06 19:23:38 +08:00
Zorro Liu abb167c18e arm64: dts: rockchip: rk3566-rk817-eink-w103.dts: remove npu
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: I23495b013e6687d5a64f77d95433e6152cd98be7
2021-07-06 19:23:38 +08:00
Guochun Huang 0f20a27adc arm64: dts: rockchip: rk3568: rename mipi_dphy to video_phy
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
Change-Id: Ie019c9d27e06328d45920d41c0a065f8bc47588f
2021-07-06 16:53:47 +08:00
Shawn Lin bae2dab105 arm64: dts: rockchip: remove all rockchip,txclk-tapnum for rk356x
We finally decide to set 16 for tx delay in driver, so no need for
dts to set it now.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I642ed3039db5410ca478b255166d07a035e971aa
2021-06-15 11:18:36 +08:00
Elaine Zhang cf2e2135eb arm64: dts: rockchip: rk356x board: add init voltage for vdd_cpu
setting init voltage in uboot.

Change-Id: If1e23bb06790dcb3f9e4e9be4cc791cd394ca73a
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2021-06-09 15:32:46 +08:00
Tao Huang eae9461bbd arm64: dts: rockchip: Fix the warnings caused by i2c_bus_reg
Fix the following warnings:
arch/arm64/boot/dts/rockchip/rk3566-evb2-lp4x-v10-eink.dts:274.18-285.4:
ERROR (i2c_bus_reg): /i2c@fe5c0000/wacom@09: I2C bus unit address format error, expected "9"
arch/arm64/boot/dts/rockchip/rk3566-rk817-eink.dts:551.18-562.4:
ERROR (i2c_bus_reg): /i2c@fe5b0000/wacom@09: I2C bus unit address format error, expected "9"
arch/arm64/boot/dts/rockchip/rk3566-rk817-eink.dts:678.17-690.4:
ERROR (i2c_bus_reg): /i2c@fe5e0000/kxtj3@0e: I2C bus unit address format error, expected "e"
arch/arm64/boot/dts/rockchip/rk3566-rk817-eink-w103.dts:698.18-710.4:
ERROR (i2c_bus_reg): /i2c@fe5a0000/wacom@09: I2C bus unit address format error, expected "9"

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ia116424ecbb3285d77274ef19b6b93ef5f0f1480
2021-04-15 18:54:50 +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
Sugar Zhang d32dcf7014 arm64: dts: rockchip: rk356x: Change to use I2Sx_MCLKOUT
This patch changes to use I2Sx_MCLKOUT, and Fix its parent
assignment.

Change-Id: I584da197cebdb3846eefc463e336cd6998db2325
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2021-03-11 12:08:29 +08:00
Zorro Liu e2e308a79f arm64: dts: rockchip: rk3566-rk817-eink-w103: disable touch q
1.disable touch q function
2.pull down touch q gpio default to avoid electric leakage when sleep

Change-Id: Iedc1aa31f26d701153138c689bff943dc88ffe89
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
2021-03-02 10:44:31 +08:00
shengfei Xu c3e41f4836 arm64: dts: rockchip: add not-save-power-en for rk3566-rk817-eink
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: Ic9cd6f7b1271ef71294068604af4bee3ed0a665b
2021-02-23 10:00:24 +08:00
Zorro Liu 0022edf158 arm64: dts: rockchip: rk3566 eink: add vir_width/vir_height for eink panel and remove gpu opp detele note
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: Ica99525fd947d9e33eecb3858552e5b6ab1df166
2021-02-22 18:47:53 +08:00
Sugar Zhang 3f6ca46bfc arm64: dts: rockchip: rk356x: Correct inputclkfs for hdmi audio
Change-Id: I7669c77bba4ffc3360a3d1428408ac03d4bbaf9f
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2021-02-21 18:21:03 +08:00
Zorro Liu 226251b4ee arm64: dts: rockchip: rk3566-rk817-eink-w103: set vcc3v3_pmu suspend voltage 3v
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: I61b491040900b141dfbb7a07dc3ecec160e7a072
2021-02-08 17:19:57 +08:00
Zorro Liu 9d80578d3e arm64: dts: rockchip: rk3566-rk817-eink-w103: add touch regulator
Change-Id: I47416a902fef654708deadaba296bb05632c928a
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
2021-02-08 17:19:57 +08:00
Allon Huang 66605ab268 arm64: dts: rockchip: rk356x evb: enable csi2 dphy hw
Signed-off-by: Allon Huang <allon.huang@rock-chips.com>
Change-Id: Ia5afe5729e09273123f35c36429f0aef498304cd
2021-01-28 19:12:38 +08:00
Weixin Zhou 60b3c1ee24 arm64: dts: rockchip: rk3566-eink: add gate_function_disable
Signed-off-by: Weixin Zhou <zwx@rock-chips.com>
Change-Id: Ie2dc6f405d5c186e041c0e08608a259a579e8c0b
2021-01-28 16:12:50 +08:00
Allon Huang 26e6c34da6 arm64: dts: rockchip: rk3568: add csi2 dphy for dual mode
replace csi_dphy with csi2_dphy0, csi2_dphy1 and csi2_dphy2
for rk356x csi2 dphy dual mode

Signed-off-by: Allon Huang <allon.huang@rock-chips.com>
Change-Id: I53f5edcf36bcf3cdf84174d44cb6c99703940ea3
2021-01-28 10:40:54 +08:00
Zorro Liu dfaa34c764 arm64: dts: rockchip: add npu config and update battery capacity for rk3566-rk817-eink-w103 board
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: I1269e41b910a8b8997b655a2d8d025475e59b654
2021-01-27 17:46:47 +08:00
Zorro Liu 37bfc5ea16 arm64: dts: rockchip: rk3566 eink: delete no use panel,direct_mode defined
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: I292f7258db938c7761c4c23a46693dceced0e8d6
2021-01-27 17:41:51 +08:00
Weixin Zhou eb27d7ba43 arm64: dts: rockchip: rk3566-rk817-eink-w103: add charge led
Signed-off-by: Weixin Zhou <zwx@rock-chips.com>
Change-Id: I7ffbbadef1aa9df8d8234a318ef5043418db73d1
2021-01-27 17:34:23 +08:00
XiaoDong Huang 6023eb7d3e arm64: dts: rockchip: support ultra mode for rk3566-rk817-eink-w103.dts
Change-Id: I9583461ae87e0e3cdc9d637cfdcbc22369ddad81
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2021-01-27 14:35:24 +08:00
Zorro Liu 9de289947d arm64: dts: rockchip: rk3566-eink: add int pin for tps65185
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: I923d0441d9155d477e742b54e4f66a0060be77ef
2021-01-26 09:19:57 +08:00
Shunqing Chen 0eae5a230c arm64: dts: rockchip: rk3566-rk817-eink-w103: add low power sleep support
Signed-off-by: Shunqing Chen <csq@rock-chips.com>
Change-Id: Ie3ca658f3e7a774515b67c6affafede86f10ff89
2021-01-25 15:22:11 +08:00
Weixin Zhou c48812cf53 arm64: dts: rockchip: rk3566-rk817-eink-w103: fix touch pinctrl setting invalid
Signed-off-by: Weixin Zhou <zwx@rock-chips.com>
Change-Id: I7ff202c5081562dd0aa871bb00c575dc05c55ecd
2021-01-22 20:12:59 +08:00
Wenping Zhang 8fee1ec2e0 arm64: dts: rockchip: rk3566-rk817-eink-w103: add back key support.
Signed-off-by: Wenping Zhang <wenping.zhang@rock-chips.com>
Change-Id: Iee8f9c3a6b8a447d9e50e1f9b4767848d4ccb1a1
2021-01-22 20:12:57 +08:00
Wenping Zhang 6c3d266cc2 arm64: dts: rockchip: add rk3566 eink w103 board.
Signed-off-by: Wenping Zhang <wenping.zhang@rock-chips.com>
Change-Id: Ieeca4e4fecb3eb9eb5950286f9519bec8c974898
2021-01-22 20:12:57 +08:00