Skip to contentSkip to conversation

rockchip: use OF_UPSTREAM for rk3288

PATCH In review Johan Jonker 2 participants 2 messages Dec 9, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rockchip: use OF_UPSTREAM for rk3288

The device tree for rk3288 combined is now available in the /dts/upstream directory. Use imply OF_UPSTREAM to migrate all rk3288 boards. Clean up MAINTAINERS.

---
 ...boot.dtsi => rk3288-evb-rk808-u-boot.dtsi} |    0
 arch/arm/dts/rk3288-evb.dts                   |   20 -
 arch/arm/dts/rk3288-evb.dtsi                  |  476 ----
 arch/arm/dts/rk3288-firefly.dts               |   43 -
 arch/arm/dts/rk3288-firefly.dtsi              |  491 ----
 arch/arm/dts/rk3288-miqi.dts                  |   16 -
 arch/arm/dts/rk3288-miqi.dtsi                 |  417 ----
 arch/arm/dts/rk3288-popmetal.dts              |   20 -
 arch/arm/dts/rk3288-popmetal.dtsi             |  547 -----
 arch/arm/dts/rk3288-rock-pi-n8.dts            |   17 -
 arch/arm/dts/rk3288-rock2-som.dtsi            |  278 ---
 arch/arm/dts/rk3288-rock2-square.dts          |  181 --
 arch/arm/dts/rk3288-tinker-s.dts              |   29 -
 arch/arm/dts/rk3288-tinker.dts                |   33 -
 arch/arm/dts/rk3288-tinker.dtsi               |  533 -----
 arch/arm/dts/rk3288-veyron-chromebook.dtsi    |  205 --
 arch/arm/dts/rk3288-veyron-jerry.dts          |  208 --
 arch/arm/dts/rk3288-veyron-mickey.dts         |  266 ---
 arch/arm/dts/rk3288-veyron-minnie.dts         |  302 ---
 arch/arm/dts/rk3288-veyron-speedy.dts         |  143 --
 arch/arm/dts/rk3288-veyron-u-boot.dtsi        |    8 +
 arch/arm/dts/rk3288-veyron.dtsi               |  795 -------
 arch/arm/dts/rk3288-vmarc-som.dtsi            |  361 ---
 arch/arm/dts/rk3288-vyasa.dts                 |  473 ----
 arch/arm/dts/rk3288.dtsi                      | 2035 -----------------
 arch/arm/mach-rockchip/Kconfig                |    1 +
 board/chipspark/popmetal_rk3288/MAINTAINERS   |    4 +-
 board/google/veyron/MAINTAINERS               |   10 +-
 board/mqmaker/miqi_rk3288/MAINTAINERS         |    4 +-
 board/rockchip/evb_rk3288/MAINTAINERS         |    7 +-
 board/rockchip/tinker_rk3288/MAINTAINERS      |    8 +-
 configs/chromebit_mickey_defconfig            |    4 +-
 configs/chromebook_jerry_defconfig            |    4 +-
 configs/chromebook_minnie_defconfig           |    4 +-
 configs/chromebook_speedy_defconfig           |    4 +-
 ...8_defconfig => evb-rk808-rk3288_defconfig} |    4 +-
 configs/firefly-rk3288_defconfig              |    4 +-
 configs/miqi-rk3288_defconfig                 |    4 +-
 configs/phycore-rk3288_defconfig              |    1 -
 configs/popmetal-rk3288_defconfig             |    4 +-
 configs/rock-pi-n8-rk3288_defconfig           |    2 +-
 configs/rock2_defconfig                       |    4 +-
 configs/tinker-rk3288_defconfig               |    4 +-
 configs/tinker-s-rk3288_defconfig             |    4 +-
 configs/vyasa-rk3288_defconfig                |    4 +-
 doc/board/rockchip/rockchip.rst               |    5 +-
 46 files changed, 44 insertions(+), 7943 deletions(-)
 rename arch/arm/dts/{rk3288-evb-u-boot.dtsi => rk3288-evb-rk808-u-boot.dtsi} (100%)
 delete mode 100644 arch/arm/dts/rk3288-evb.dts
 delete mode 100644 arch/arm/dts/rk3288-evb.dtsi
 delete mode 100644 arch/arm/dts/rk3288-firefly.dts
 delete mode 100644 arch/arm/dts/rk3288-firefly.dtsi
 delete mode 100644 arch/arm/dts/rk3288-miqi.dts
 delete mode 100644 arch/arm/dts/rk3288-miqi.dtsi
 delete mode 100644 arch/arm/dts/rk3288-popmetal.dts
 delete mode 100644 arch/arm/dts/rk3288-popmetal.dtsi
 delete mode 100644 arch/arm/dts/rk3288-rock-pi-n8.dts
 delete mode 100644 arch/arm/dts/rk3288-rock2-som.dtsi
 delete mode 100644 arch/arm/dts/rk3288-rock2-square.dts
 delete mode 100644 arch/arm/dts/rk3288-tinker-s.dts
 delete mode 100644 arch/arm/dts/rk3288-tinker.dts
 delete mode 100644 arch/arm/dts/rk3288-tinker.dtsi
 delete mode 100644 arch/arm/dts/rk3288-veyron-chromebook.dtsi
 delete mode 100644 arch/arm/dts/rk3288-veyron-jerry.dts
 delete mode 100644 arch/arm/dts/rk3288-veyron-mickey.dts
 delete mode 100644 arch/arm/dts/rk3288-veyron-minnie.dts
 delete mode 100644 arch/arm/dts/rk3288-veyron-speedy.dts
 delete mode 100644 arch/arm/dts/rk3288-veyron.dtsi
 delete mode 100644 arch/arm/dts/rk3288-vmarc-som.dtsi
 delete mode 100644 arch/arm/dts/rk3288-vyasa.dts
 delete mode 100644 arch/arm/dts/rk3288.dtsi
 rename configs/{evb-rk3288_defconfig => evb-rk808-rk3288_defconfig} (95%)
arch/arm/dts/rk3288-evb-rk808-u-boot.dtsi renamed from arch/arm/dts/rk3288-evb-u-boot.dtsi +0 -0
similarity index 100%
rename from arch/arm/dts/rk3288-evb-u-boot.dtsi
rename to arch/arm/dts/rk3288-evb-rk808-u-boot.dtsi
arch/arm/dts/rk3288-evb.dts deleted +0 -20
deleted file mode 100644
index bb24a96cddf7..000000000000
@@ -1,20 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+ OR X11
-/*
- * (C) Copyright 2016 Rockchip Electronics Co., Ltd
- */
-
-/dts-v1/;
-#include "rk3288-evb.dtsi"
-
-/ {
-	model = "Evb-RK3288";
-	compatible = "evb-rk3288,evb-rk3288", "rockchip,rk3288";
-
-	chosen {
-		stdout-path = &uart2;
-	};
-};
-
-&pwm1 {
-	status = "okay";
-};
arch/arm/dts/rk3288-evb.dtsi deleted +0 -476

476 lines not on this page · raw message

arch/arm/dts/rk3288-firefly.dts deleted +0 -43

43 lines not on this page · raw message

arch/arm/dts/rk3288-firefly.dtsi deleted +0 -491

491 lines not on this page · raw message

arch/arm/dts/rk3288-miqi.dts deleted +0 -16
deleted file mode 100644
index 4a2f249e1b1f..000000000000
@@ -1,16 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+ OR X11
-/*
- * (C) Copyright 2016 Rockchip Electronics Co., Ltd
- */
-
-/dts-v1/;
-#include "rk3288-miqi.dtsi"
-
-/ {
-	model = "mqmaker MiQi";
-	compatible = "mqmaker,miqi", "rockchip,rk3288";
-
-	chosen {
-		stdout-path = "serial2:115200n8";
-	};
-};
arch/arm/dts/rk3288-miqi.dtsi deleted +0 -417

417 lines not on this page · raw message

arch/arm/dts/rk3288-popmetal.dts deleted +0 -20
deleted file mode 100644
index 736dc51e2615..000000000000
@@ -1,20 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+ OR X11
-/*
- * (C) Copyright 2016 Rockchip Electronics Co., Ltd
- */
-
-/dts-v1/;
-#include "rk3288-popmetal.dtsi"
-
-/ {
-	model = "PopMetal-RK3288";
-	compatible = "chipspark,popmetal-rk3288", "rockchip,rk3288";
-
-	chosen {
-		stdout-path = &uart2;
-	};
-};
-
-&pwm1 {
-	status = "okay";
-};
arch/arm/dts/rk3288-popmetal.dtsi deleted +0 -547

547 lines not on this page · raw message

arch/arm/dts/rk3288-rock-pi-n8.dts deleted +0 -17
deleted file mode 100644
index c9894a60e703..000000000000
@@ -1,17 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-/*
- * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd
- * Copyright (c) 2019 Vamrs Limited
- * Copyright (c) 2019 Amarula Solutions(India)
- */
-
-/dts-v1/;
-#include "rk3288.dtsi"
-#include <rockchip-radxa-dalang-carrier.dtsi>
-#include "rk3288-vmarc-som.dtsi"
-
-/ {
-	model = "Radxa ROCK Pi N8";
-	compatible = "radxa,rockpi-n8", "vamrs,rk3288-vmarc-som",
-		     "rockchip,rk3288";
-};
arch/arm/dts/rk3288-rock2-som.dtsi deleted +0 -278

278 lines not on this page · raw message

arch/arm/dts/rk3288-rock2-square.dts deleted +0 -181

181 lines not on this page · raw message

arch/arm/dts/rk3288-tinker-s.dts deleted +0 -29
deleted file mode 100644
index cc7ac5f8811c..000000000000
@@ -1,29 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-/*
- * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd.
- */
-
-/dts-v1/;
-
-#include "rk3288-tinker.dtsi"
-
-/ {
-	model = "Rockchip RK3288 Asus Tinker Board S";
-	compatible = "asus,rk3288-tinker-s", "rockchip,rk3288";
-
-	chosen {
-		stdout-path = &uart2;
-	};
-};
-
-&emmc {
-	bus-width = <8>;
-	cap-mmc-highspeed;
-	non-removable;
-	pinctrl-names = "default";
-	pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>;
-	max-frequency = <150000000>;
-	mmc-hs200-1_8v;
-	mmc-ddr-1_8v;
-	status = "okay";
-};
arch/arm/dts/rk3288-tinker.dts deleted +0 -33
deleted file mode 100644
index 8b1848c310ee..000000000000
@@ -1,33 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+ OR X11
-/*
- * (C) Copyright 2016 Rockchip Electronics Co., Ltd
- */
-
-/dts-v1/;
-#include "rk3288-tinker.dtsi"
-
-/ {
-	model = "Tinker-RK3288";
-	compatible = "rockchip,rk3288-tinker", "rockchip,rk3288";
-
-	chosen {
-		stdout-path = &uart2;
-	};
-};
-
-&pinctrl {
-	usb {
-		host_vbus_drv: host-vbus-drv {
-			rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>;
-		};
-	};
-};
-
-&pwm1 {
-	status = "okay";
-};
-
-&usb_host1 {
-	vbus-supply = <&vcc5v0_host>;
-	status = "okay";
-};
arch/arm/dts/rk3288-tinker.dtsi deleted +0 -533

432 lines not on this page · raw message

arch/arm/dts/rk3288-veyron-chromebook.dtsi deleted +0 -205

205 lines not on this page · raw message

arch/arm/dts/rk3288-veyron-jerry.dts deleted +0 -208

208 lines not on this page · raw message

arch/arm/dts/rk3288-veyron-mickey.dts deleted +0 -266

266 lines not on this page · raw message

arch/arm/dts/rk3288-veyron-minnie.dts deleted +0 -302

302 lines not on this page · raw message

arch/arm/dts/rk3288-veyron-speedy.dts deleted +0 -143

143 lines not on this page · raw message

arch/arm/dts/rk3288-veyron-u-boot.dtsi +8 -0
index 4f9c59c67573..57338cbf92e8 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/rk3288-veyron.dtsi deleted +0 -795

795 lines not on this page · raw message

arch/arm/dts/rk3288-vmarc-som.dtsi deleted +0 -361

361 lines not on this page · raw message

arch/arm/dts/rk3288-vyasa.dts deleted +0 -473

473 lines not on this page · raw message

arch/arm/dts/rk3288.dtsi deleted +0 -2035

2,035 lines not on this page · raw message

arch/arm/mach-rockchip/Kconfig +1 -0
index 4d3157b2edd3..a9420406649c 100644

Lines of this file are not shown. View the raw message.

board/chipspark/popmetal_rk3288/MAINTAINERS +1 -3
index e12f128dcd70..9b1001260c78 100644

Lines of this file are not shown. View the raw message.

board/google/veyron/MAINTAINERS +1 -9
index 67341b5d5564..382ad212569a 100644

Lines of this file are not shown. View the raw message.

board/mqmaker/miqi_rk3288/MAINTAINERS +1 -3
index 1cb5f790fe78..8f25ec76a8b8 100644

Lines of this file are not shown. View the raw message.

board/rockchip/evb_rk3288/MAINTAINERS +2 -5
index 9857ae335754..74a15438d231 100644

Lines of this file are not shown. View the raw message.

board/rockchip/tinker_rk3288/MAINTAINERS +2 -6
index 3869d5dc8534..38eb76c81ea8 100644

Lines of this file are not shown. View the raw message.

configs/chromebit_mickey_defconfig +2 -2
index 874f266dad1b..dd069a2d493c 100644

Lines of this file are not shown. View the raw message.

configs/chromebook_jerry_defconfig +2 -2
index f40b8e84e39e..e46e675e0144 100644

Lines of this file are not shown. View the raw message.

configs/chromebook_minnie_defconfig +2 -2
index 2f125ba12adb..acdb45f29c8b 100644

Lines of this file are not shown. View the raw message.

configs/chromebook_speedy_defconfig +2 -2
index c19b0905d5cf..e258cdfb4819 100644

Lines of this file are not shown. View the raw message.

configs/evb-rk808-rk3288_defconfig renamed from configs/evb-rk3288_defconfig +2 -2
similarity index 95%
rename from configs/evb-rk3288_defconfig
rename to configs/evb-rk808-rk3288_defconfig
index ae79efebf57a..c7e48848ebf9 100644

Lines of this file are not shown. View the raw message.

configs/firefly-rk3288_defconfig +2 -2
index 00f23174210f..e1cc78f620f1 100644

Lines of this file are not shown. View the raw message.

configs/miqi-rk3288_defconfig +2 -2
index 420a8bd1e798..ca7845a0941a 100644

Lines of this file are not shown. View the raw message.

configs/phycore-rk3288_defconfig +0 -1
index 0f8e999ee3f9..89cfd38980dc 100644

Lines of this file are not shown. View the raw message.

configs/popmetal-rk3288_defconfig +2 -2
index 1b2fb4a38cd4..c454349d4bc9 100644

Lines of this file are not shown. View the raw message.

configs/rock-pi-n8-rk3288_defconfig +1 -1
index dde0b81eee4c..e73c8b4aa041 100644

Lines of this file are not shown. View the raw message.

configs/rock2_defconfig +2 -2
index bff65d1fc414..bbf0c9a39c44 100644

Lines of this file are not shown. View the raw message.

configs/tinker-rk3288_defconfig +2 -2
index 42dbef9c2c30..93085c5217d8 100644

Lines of this file are not shown. View the raw message.

configs/tinker-s-rk3288_defconfig +2 -2
index e62a03e066cc..097365345517 100644

Lines of this file are not shown. View the raw message.

configs/vyasa-rk3288_defconfig +2 -2
index e75466c1cad9..75d36bd1f78d 100644

Lines of this file are not shown. View the raw message.

doc/board/rockchip/rockchip.rst +3 -2
index 9bab86d23479..4633b58e6470 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

--
2.39.5

Part of the diff is not shown here. View the raw message.

#1 lore raw

Hi Johan,

Quoted 6 lines · Johan Jonker

The device tree for rk3288 combined is now available in the /dts/upstream directory. Use imply OF_UPSTREAM to migrate all rk3288 boards. Clean up MAINTAINERS.

[snip]

Please rebase this on top of the following series:

rockchip: rk3288: Include files from dts/upstream
https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/

rockchip: rk3288-tinker: Migrate to OF_UPSTREAM
https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/

rockchip: rk3288-miqi: Migrate to OF_UPSTREAM
https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/

Similar cleanup/fixes should/could be made to other rk3328 targets. Already have one for rk3288-firefly incoming.

Regards,
Jonas