rockchip: rv1126: Migrate to OF_UPSTREAM
Subsystems (5)
PATCH v3 1/1 rockchip: rv1126: Migrate to OF_UPSTREAM
Migrate RV1126 boards that exists in Linux v6.8 to use OF_UPSTREAM.
Following targets is migrated to use OF_UPSTREAM:
- rv1126-edgeble-neu2 : Board is an industrial form factor IO board.
- sonoff-ihost-rv1126 : Gateway device designed to provide a Smart Home Hub.
---
v3: change the Signed off to edgeble id.
collcted Reviewd-By and Tested-By
v2: remove the dt-bindings for clock and power
fix the typo in commit message
--- arch/arm/dts/Makefile | 3 - arch/arm/dts/rv1126-edgeble-neu2-io.dts | 112 ---- arch/arm/dts/rv1126-edgeble-neu2.dtsi | 345 ---------- arch/arm/dts/rv1126-pinctrl.dtsi | 341 ---------- arch/arm/dts/rv1126-sonoff-ihost.dts | 29 - arch/arm/dts/rv1126-sonoff-ihost.dtsi | 404 ----------- arch/arm/dts/rv1126.dtsi | 623 ----------------- arch/arm/mach-rockchip/Kconfig | 1 + configs/neu2-io-rv1126_defconfig | 2 +- configs/sonoff-ihost-rv1126_defconfig | 2 +- .../dt-bindings/clock/rockchip,rv1126-cru.h | 632 ------------------ .../dt-bindings/power/rockchip,rv1126-power.h | 35 - 12 files changed, 3 insertions(+), 2526 deletions(-) delete mode 100644 arch/arm/dts/rv1126-edgeble-neu2-io.dts delete mode 100644 arch/arm/dts/rv1126-edgeble-neu2.dtsi delete mode 100644 arch/arm/dts/rv1126-pinctrl.dtsi delete mode 100644 arch/arm/dts/rv1126-sonoff-ihost.dts delete mode 100644 arch/arm/dts/rv1126-sonoff-ihost.dtsi delete mode 100644 arch/arm/dts/rv1126.dtsi delete mode 100644 include/dt-bindings/clock/rockchip,rv1126-cru.h delete mode 100644 include/dt-bindings/power/rockchip,rv1126-power.h
arch/arm/dts/Makefile +0 -3
@@ -97,9 +97,6 @@ dtb-$(CONFIG_ROCKCHIP_RK3368) += \ rk3368-geekbox.dtb \ rk3368-px5-evb.dtb \ -dtb-$(CONFIG_ROCKCHIP_RV1126) += \ - rv1126-edgeble-neu2-io.dtb - dtb-$(CONFIG_ARCH_S5P4418) += \ s5p4418-nanopi2.dtb
arch/arm/dts/rv1126-edgeble-neu2-io.dts deleted +0 -112
112 lines not on this page · raw message
arch/arm/dts/rv1126-edgeble-neu2.dtsi deleted +0 -345
345 lines not on this page · raw message
arch/arm/dts/rv1126-pinctrl.dtsi deleted +0 -341
341 lines not on this page · raw message
arch/arm/dts/rv1126-sonoff-ihost.dts deleted +0 -29
@@ -1,29 +0,0 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2020 Rockchip Electronics Co., Ltd. - */ - -/dts-v1/; -#include "rv1126.dtsi" -#include "rv1126-sonoff-ihost.dtsi" - -/ { - model = "Sonoff iHost 4G"; - compatible = "itead,sonoff-ihost", "rockchip,rv1126"; -}; - -&cpu0 { - cpu-supply = <&vdd_arm>; -}; - -&cpu1 { - cpu-supply = <&vdd_arm>; -}; - -&cpu2 { - cpu-supply = <&vdd_arm>; -}; - -&cpu3 { - cpu-supply = <&vdd_arm>; -};
arch/arm/dts/rv1126-sonoff-ihost.dtsi deleted +0 -404
404 lines not on this page · raw message
arch/arm/dts/rv1126.dtsi deleted +0 -623
623 lines not on this page · raw message
arch/arm/mach-rockchip/Kconfig +1 -0
@@ -427,6 +427,7 @@ config ROCKCHIP_RV1126 imply SPL_ROCKCHIP_COMMON_BOARD imply SPL_SERIAL imply SPL_SYSCON + imply OF_UPSTREAM config ROCKCHIP_USB_UART bool "Route uart output to usb pins"
configs/neu2-io-rv1126_defconfig +1 -1
@@ -5,7 +5,7 @@ CONFIG_COUNTER_FREQUENCY=24000000 CONFIG_SYS_ARCH_TIMER=y CONFIG_ARCH_ROCKCHIP=y CONFIG_NR_DRAM_BANKS=1 -CONFIG_DEFAULT_DEVICE_TREE="rv1126-edgeble-neu2-io" +CONFIG_DEFAULT_DEVICE_TREE="rockchip/rv1126-edgeble-neu2-io" CONFIG_SYS_MONITOR_LEN=614400 CONFIG_ROCKCHIP_RV1126=y CONFIG_TARGET_RV1126_NEU2=y
configs/sonoff-ihost-rv1126_defconfig +1 -1
@@ -5,7 +5,7 @@ CONFIG_COUNTER_FREQUENCY=24000000 CONFIG_SYS_ARCH_TIMER=y CONFIG_ARCH_ROCKCHIP=y CONFIG_NR_DRAM_BANKS=2 -CONFIG_DEFAULT_DEVICE_TREE="rv1126-sonoff-ihost" +CONFIG_DEFAULT_DEVICE_TREE="rockchip/rv1126-sonoff-ihost" CONFIG_SYS_MONITOR_LEN=614400 CONFIG_ROCKCHIP_RV1126=y CONFIG_TARGET_RV1126_SONOFF_IHOST=y
include/dt-bindings/clock/rockchip,rv1126-cru.h deleted +0 -632
632 lines not on this page · raw message
include/dt-bindings/power/rockchip,rv1126-power.h deleted +0 -35
@@ -1,35 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __DT_BINDINGS_POWER_RV1126_POWER_H__ -#define __DT_BINDINGS_POWER_RV1126_POWER_H__ - -/* VD_CORE */ -#define RV1126_PD_CPU_0 0 -#define RV1126_PD_CPU_1 1 -#define RV1126_PD_CPU_2 2 -#define RV1126_PD_CPU_3 3 -#define RV1126_PD_CORE_ALIVE 4 - -/* VD_PMU */ -#define RV1126_PD_PMU 5 -#define RV1126_PD_PMU_ALIVE 6 - -/* VD_NPU */ -#define RV1126_PD_NPU 7 - -/* VD_VEPU */ -#define RV1126_PD_VEPU 8 - -/* VD_LOGIC */ -#define RV1126_PD_VI 9 -#define RV1126_PD_VO 10 -#define RV1126_PD_ISPP 11 -#define RV1126_PD_VDPU 12 -#define RV1126_PD_CRYPTO 13 -#define RV1126_PD_DDR 14 -#define RV1126_PD_NVM 15 -#define RV1126_PD_SDIO 16 -#define RV1126_PD_USB 17 -#define RV1126_PD_LOGIC_ALIVE 18 - -#endif
Signature · 1 line
2.44.0
Hi Anand,
Quoted 11 lines · Anand Moon
[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
Migrate RV1126 boards that exists in Linux v6.8 to use
OF_UPSTREAM.Following targets is migrated to use
OF_UPSTREAM:- rv1126-edgeble-neu2 : Board is an industrial form factor IO board.
- sonoff-ihost-rv1126 : Gateway device designed to provide a Smart Home Hub.
Quoted 6 lines
Cc Tim Lunn <[email protected]>Cc Jagan Teki <[email protected]>Reviewed-by Tim Lunn <[email protected]>Tested-by Tim Lunn <[email protected]>Reviewed-by Kever Yang <[email protected]>Signed-off-by Anand Moon <[email protected]>
Doesn't match the mail address sending this patch :)
Cheers,
Quentin
Hi Quentin,
Quoted 15 lines · Quentin Schulz
Hi Anand,
Quoted 11 lines · Anand Moon
[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
Migrate RV1126 boards that exists in Linux v6.8 to use
OF_UPSTREAM.Following targets is migrated to use
OF_UPSTREAM:- rv1126-edgeble-neu2 : Board is an industrial form factor IO board.
- sonoff-ihost-rv1126 : Gateway device designed to provide a Smart Home Hub.
Quoted 9 lines
Quoted 6 lines
Cc Tim Lunn <[email protected]>Cc Jagan Teki <[email protected]>Reviewed-by Tim Lunn <[email protected]>Tested-by Tim Lunn <[email protected]>Reviewed-by Kever Yang <[email protected]>Signed-off-by Anand Moon <[email protected]>Doesn't match the mail address sending this patch :)
Earlier I sent this patch with my email ID,
Since I am testing these new boards,
I will use this edgable.ai email ID for source code changes to boards. if needed I could send this with From: Anand Moon <[email protected]>
Quoted 2 lines
Cheers,
Quentin
Thanks
-Anand
Hi Anand,
Quoted 27 lines · Anand Moon
[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
Hi Quentin,
Quoted 22 lines · Quentin Schulz
Hi Anand,
Quoted 17 lines · Anand Moon
[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
Migrate RV1126 boards that exists in Linux v6.8 to use
OF_UPSTREAM.Following targets is migrated to use
OF_UPSTREAM:- rv1126-edgeble-neu2 : Board is an industrial form factor IO board.
- sonoff-ihost-rv1126 : Gateway device designed to provide a Smart Home Hub.Cc Tim Lunn <[email protected]>Cc Jagan Teki <[email protected]>Reviewed-by Tim Lunn <[email protected]>Tested-by Tim Lunn <[email protected]>Reviewed-by Kever Yang <[email protected]>Signed-off-by Anand Moon <[email protected]>
Quoted 7 lines
Quoted 2 lines
Doesn't match the mail address sending this patch :)
Earlier I sent this patch with my email ID,
Since I am testing these new boards,
I will use this edgable.ai email ID for source code changes to boards. if needed I could send this with From: Anand Moon <[email protected]>
Up to you, it is just particularly odd that there's only one letter difference between those two mail addresses, which very much looks like a typo:
edgeble.ai and
edgable.ai
But if this was on purpose, nothing against it :)
(I made a similar typo in a kernel patch recently, hence why I brought this up :) )
Cheers,
Quentin
Hi Quentin
Quoted 45 lines · Quentin Schulz
Hi Anand,
Quoted 27 lines · Anand Moon
[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
Hi Quentin,
Quoted 22 lines · Quentin Schulz
Hi Anand,
Quoted 17 lines · Anand Moon
[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
Migrate RV1126 boards that exists in Linux v6.8 to use
OF_UPSTREAM.Following targets is migrated to use
OF_UPSTREAM:- rv1126-edgeble-neu2 : Board is an industrial form factor IO board.
- sonoff-ihost-rv1126 : Gateway device designed to provide a Smart Home Hub.Cc Tim Lunn <[email protected]>Cc Jagan Teki <[email protected]>Reviewed-by Tim Lunn <[email protected]>Tested-by Tim Lunn <[email protected]>Reviewed-by Kever Yang <[email protected]>Signed-off-by Anand Moon <[email protected]>Quoted 7 lines
Quoted 2 lines
Doesn't match the mail address sending this patch :)
Earlier I sent this patch with my email ID,
Since I am testing these new boards,
I will use this edgable.ai email ID for source code changes to boards. if needed I could send this with From: Anand Moon <[email protected]>Up to you, it is just particularly odd that there's only one letter difference between those two mail addresses, which very much looks like a typo:
edgeble.ai and
edgable.ai
Quoted 5 lines
But if this was on purpose, nothing against it :)
(I made a similar typo in a kernel patch recently, hence why I brought this up :) )
Thanks, I will take care in the future.
Quoted 2 lines
Cheers,
Quentin
Thanks
-Anand