[v4,01/12] rockchip: rk3568: Move DM_RESET in arch kconfig

Message ID 20230217115845.75303-2-jagan@amarulasolutions.com
State New
Headers show
Series
  • rockchip: Add Radxa CM3 support
Related show

Commit Message

Jagan Teki Feb. 17, 2023, 11:58 a.m. UTC
Like other rockchip SoCs, DM_RESET is useful across rk3568
platform.

Select it from arch kconfig.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 arch/arm/mach-rockchip/Kconfig | 1 +
 configs/evb-rk3568_defconfig   | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

Comments

Kever Yang Feb. 21, 2023, 9:28 a.m. UTC | #1
On 2023/2/17 19:58, Jagan Teki wrote:
> Like other rockchip SoCs, DM_RESET is useful across rk3568
> platform.
>
> Select it from arch kconfig.
>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>

Thanks,
- Kever
> ---
>   arch/arm/mach-rockchip/Kconfig | 1 +
>   configs/evb-rk3568_defconfig   | 1 -
>   2 files changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
> index b678ec4131..3dc85df65d 100644
> --- a/arch/arm/mach-rockchip/Kconfig
> +++ b/arch/arm/mach-rockchip/Kconfig
> @@ -286,6 +286,7 @@ config ROCKCHIP_RK3568
>   	select REGMAP
>   	select SYSCON
>   	select BOARD_LATE_INIT
> +	select DM_RESET
>   	imply ROCKCHIP_COMMON_BOARD
>   	help
>   	  The Rockchip RK3568 is a ARM-based SoC with quad-core Cortex-A55,
> diff --git a/configs/evb-rk3568_defconfig b/configs/evb-rk3568_defconfig
> index a76d924d38..0b2325ff24 100644
> --- a/configs/evb-rk3568_defconfig
> +++ b/configs/evb-rk3568_defconfig
> @@ -60,7 +60,6 @@ CONFIG_GMAC_ROCKCHIP=y
>   CONFIG_REGULATOR_PWM=y
>   CONFIG_PWM_ROCKCHIP=y
>   CONFIG_SPL_RAM=y
> -CONFIG_DM_RESET=y
>   CONFIG_BAUDRATE=1500000
>   CONFIG_DEBUG_UART_SHIFT=2
>   CONFIG_SYS_NS16550_MEM32=y

Patch

diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index b678ec4131..3dc85df65d 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -286,6 +286,7 @@  config ROCKCHIP_RK3568
 	select REGMAP
 	select SYSCON
 	select BOARD_LATE_INIT
+	select DM_RESET
 	imply ROCKCHIP_COMMON_BOARD
 	help
 	  The Rockchip RK3568 is a ARM-based SoC with quad-core Cortex-A55,
diff --git a/configs/evb-rk3568_defconfig b/configs/evb-rk3568_defconfig
index a76d924d38..0b2325ff24 100644
--- a/configs/evb-rk3568_defconfig
+++ b/configs/evb-rk3568_defconfig
@@ -60,7 +60,6 @@  CONFIG_GMAC_ROCKCHIP=y
 CONFIG_REGULATOR_PWM=y
 CONFIG_PWM_ROCKCHIP=y
 CONFIG_SPL_RAM=y
-CONFIG_DM_RESET=y
 CONFIG_BAUDRATE=1500000
 CONFIG_DEBUG_UART_SHIFT=2
 CONFIG_SYS_NS16550_MEM32=y