diff options
author | Jonas Karlman <jonas@kwiboo.se> | 2024-03-12 23:36:19 +0000 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2024-03-14 18:19:28 +0800 |
commit | 3bf3d816c67cd8f97d2c6ad33236f4f063005b8c (patch) | |
tree | a1b97647be66bf88c32bccb8a89f004644cb4c73 /board/vamrs | |
parent | 5566f3a207d7c26b684fb084d7166ce74626584e (diff) | |
download | u-boot-3bf3d816c67cd8f97d2c6ad33236f4f063005b8c.tar.gz u-boot-3bf3d816c67cd8f97d2c6ad33236f4f063005b8c.tar.bz2 u-boot-3bf3d816c67cd8f97d2c6ad33236f4f063005b8c.zip |
rockchip: vamrs: rock960: Migrate to use IO-domain driver
Switch to use the IO-domain driver to configure IO-domain based on
device tree instead of a setup_iodomain() function.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'board/vamrs')
-rw-r--r-- | board/vamrs/rock960_rk3399/Makefile | 6 | ||||
-rw-r--r-- | board/vamrs/rock960_rk3399/rock960-rk3399.c | 27 |
2 files changed, 0 insertions, 33 deletions
diff --git a/board/vamrs/rock960_rk3399/Makefile b/board/vamrs/rock960_rk3399/Makefile deleted file mode 100644 index 6c3e475b3a..0000000000 --- a/board/vamrs/rock960_rk3399/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0+ -# -# Copyright (C) 2018 Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> -# - -obj-y += rock960-rk3399.o diff --git a/board/vamrs/rock960_rk3399/rock960-rk3399.c b/board/vamrs/rock960_rk3399/rock960-rk3399.c deleted file mode 100644 index 876be8ed9e..0000000000 --- a/board/vamrs/rock960_rk3399/rock960-rk3399.c +++ /dev/null @@ -1,27 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (C) 2018 Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> - */ - -#include <common.h> -#include <syscon.h> -#include <asm/arch-rockchip/clock.h> -#include <asm/arch-rockchip/grf_rk3399.h> -#include <asm/arch-rockchip/hardware.h> -#include <linux/bitops.h> - -#ifdef CONFIG_MISC_INIT_R -int misc_init_r(void) -{ - struct rk3399_grf_regs *grf = - syscon_get_first_range(ROCKCHIP_SYSCON_GRF); - - /** - * Some SSD's to work on rock960 would require explicit - * domain voltage change, so BT565 is in 1.8v domain - */ - rk_setreg(&grf->io_vsel, BIT(0)); - - return 0; -} -#endif |