Re: [PATCH v2 17/23] ti: Drop omap5 uevm

2020-06-13 Thread Jagan Teki
On Fri, Jun 5, 2020 at 10:02 AM Lokesh Vutla  wrote:
>
> Hi Jagan,
>
> On 27/05/20 6:26 pm, Jagan Teki wrote:
> > DM, DM_SPI and other driver model migration deadlines
> > are expired for this board.
> >
> > Drop it.
> >
> > Cc: Lokesh Vutla 
> > Signed-off-by: Jagan Teki 
>
> Please hold this patch. I see patches in ML for converting to DM
> https://patchwork.ozlabs.org/project/uboot/list/?series=180914

Please note that this patch didn't have DM_SPI/SPI_FLASH enabled, if
so please add it next version?

Jagan.


Re: [PATCH v2 17/23] ti: Drop omap5 uevm

2020-06-04 Thread Lokesh Vutla
Hi Jagan,

On 27/05/20 6:26 pm, Jagan Teki wrote:
> DM, DM_SPI and other driver model migration deadlines
> are expired for this board.
> 
> Drop it.
> 
> Cc: Lokesh Vutla 
> Signed-off-by: Jagan Teki 

Please hold this patch. I see patches in ML for converting to DM
https://patchwork.ozlabs.org/project/uboot/list/?series=180914

Thanks and regards,
Lokesh

> ---
> Changes for v2:
> - none
> 
>  arch/arm/mach-omap2/omap5/Kconfig |   4 -
>  board/ti/omap5_uevm/Kconfig   |  12 --
>  board/ti/omap5_uevm/MAINTAINERS   |   6 -
>  board/ti/omap5_uevm/Makefile  |   6 -
>  board/ti/omap5_uevm/README|  25 ---
>  board/ti/omap5_uevm/evm.c | 283 --
>  board/ti/omap5_uevm/mux_data.h|  57 --
>  configs/omap5_uevm_defconfig  |  55 --
>  include/configs/omap5_uevm.h  |  62 ---
>  9 files changed, 510 deletions(-)
>  delete mode 100644 board/ti/omap5_uevm/Kconfig
>  delete mode 100644 board/ti/omap5_uevm/MAINTAINERS
>  delete mode 100644 board/ti/omap5_uevm/Makefile
>  delete mode 100644 board/ti/omap5_uevm/README
>  delete mode 100644 board/ti/omap5_uevm/evm.c
>  delete mode 100644 board/ti/omap5_uevm/mux_data.h
>  delete mode 100644 configs/omap5_uevm_defconfig
>  delete mode 100644 include/configs/omap5_uevm.h
> 
> diff --git a/arch/arm/mach-omap2/omap5/Kconfig 
> b/arch/arm/mach-omap2/omap5/Kconfig
> index a0c0b93a00..e73106e321 100644
> --- a/arch/arm/mach-omap2/omap5/Kconfig
> +++ b/arch/arm/mach-omap2/omap5/Kconfig
> @@ -9,9 +9,6 @@ choice
>   prompt "OMAP5 board select"
>   optional
>  
> -config TARGET_OMAP5_UEVM
> - bool "TI OMAP5 uEVM board"
> -
>  config TARGET_DRA7XX_EVM
>   bool "TI DRA7XX"
>   select BOARD_LATE_INIT
> @@ -153,7 +150,6 @@ endchoice
>  endmenu
>  endif
>  
> -source "board/ti/omap5_uevm/Kconfig"
>  source "board/ti/dra7xx/Kconfig"
>  source "board/ti/am57xx/Kconfig"
>  
> diff --git a/board/ti/omap5_uevm/Kconfig b/board/ti/omap5_uevm/Kconfig
> deleted file mode 100644
> index aa13844544..00
> --- a/board/ti/omap5_uevm/Kconfig
> +++ /dev/null
> @@ -1,12 +0,0 @@
> -if TARGET_OMAP5_UEVM
> -
> -config SYS_BOARD
> - default "omap5_uevm"
> -
> -config SYS_VENDOR
> - default "ti"
> -
> -config SYS_CONFIG_NAME
> - default "omap5_uevm"
> -
> -endif
> diff --git a/board/ti/omap5_uevm/MAINTAINERS b/board/ti/omap5_uevm/MAINTAINERS
> deleted file mode 100644
> index 280ea2f91f..00
> --- a/board/ti/omap5_uevm/MAINTAINERS
> +++ /dev/null
> @@ -1,6 +0,0 @@
> -OMAP5_UEVM BOARD
> -M:   Lokesh Vutla 
> -S:   Maintained
> -F:   board/ti/omap5_uevm/
> -F:   include/configs/omap5_uevm.h
> -F:   configs/omap5_uevm_defconfig
> diff --git a/board/ti/omap5_uevm/Makefile b/board/ti/omap5_uevm/Makefile
> deleted file mode 100644
> index 17ee516d26..00
> --- a/board/ti/omap5_uevm/Makefile
> +++ /dev/null
> @@ -1,6 +0,0 @@
> -# SPDX-License-Identifier: GPL-2.0+
> -#
> -# (C) Copyright 2000, 2001, 2002
> -# Wolfgang Denk, DENX Software Engineering, w...@denx.de.
> -
> -obj-y:= evm.o
> diff --git a/board/ti/omap5_uevm/README b/board/ti/omap5_uevm/README
> deleted file mode 100644
> index 970e2eceb7..00
> --- a/board/ti/omap5_uevm/README
> +++ /dev/null
> @@ -1,25 +0,0 @@
> -Summary
> -===
> -
> -This document covers various features of the 'omap5_uevm' build and some
> -related uses.
> -
> -eMMC boot partition use
> -===
> -
> -It is possible, depending on SYSBOOT configuration to boot from the eMMC
> -boot partitions using (name depending on documentation referenced)
> -Alternative Boot operation mode or Boot Sequence Option 1/2.  In this
> -example we load MLO and u-boot.img from the build into DDR and then use
> -'mmc bootbus' to set the required rate (see TRM) and 'mmc partconfig' to
> -set boot0 as the boot device.
> -U-Boot # setenv autoload no
> -U-Boot # usb start
> -U-Boot # dhcp
> -U-Boot # mmc dev 1 1
> -U-Boot # tftp ${loadaddr} omap5uevm/MLO
> -U-Boot # mmc write ${loadaddr} 0 100
> -U-Boot # tftp ${loadaddr} omap5uevm/u-boot.img
> -U-Boot # mmc write ${loadaddr} 300 400
> -U-Boot # mmc bootbus 1 2 0 2
> -U-Boot # mmc partconf 1 1 1 0
> diff --git a/board/ti/omap5_uevm/evm.c b/board/ti/omap5_uevm/evm.c
> deleted file mode 100644
> index e35f319b46..00
> --- a/board/ti/omap5_uevm/evm.c
> +++ /dev/null
> @@ -1,283 +0,0 @@
> -// SPDX-License-Identifier: GPL-2.0+
> -/*
> - * (C) Copyright 2010
> - * Texas Instruments Incorporated, 
> - * Aneesh V   
> - * Steve Sakoman  
> - */
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -
> -#include "mux_data.h"
> -
> -#if defined(CONFIG_USB_EHCI_HCD) || defined(CONFIG_USB_XHCI_OMAP)
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -
> -#define DIE_ID_REG_BASE (OMAP54XX_L4_CORE_BASE + 0x2000)
> 

[PATCH v2 17/23] ti: Drop omap5 uevm

2020-05-27 Thread Jagan Teki
DM, DM_SPI and other driver model migration deadlines
are expired for this board.

Drop it.

Cc: Lokesh Vutla 
Signed-off-by: Jagan Teki 
---
Changes for v2:
- none

 arch/arm/mach-omap2/omap5/Kconfig |   4 -
 board/ti/omap5_uevm/Kconfig   |  12 --
 board/ti/omap5_uevm/MAINTAINERS   |   6 -
 board/ti/omap5_uevm/Makefile  |   6 -
 board/ti/omap5_uevm/README|  25 ---
 board/ti/omap5_uevm/evm.c | 283 --
 board/ti/omap5_uevm/mux_data.h|  57 --
 configs/omap5_uevm_defconfig  |  55 --
 include/configs/omap5_uevm.h  |  62 ---
 9 files changed, 510 deletions(-)
 delete mode 100644 board/ti/omap5_uevm/Kconfig
 delete mode 100644 board/ti/omap5_uevm/MAINTAINERS
 delete mode 100644 board/ti/omap5_uevm/Makefile
 delete mode 100644 board/ti/omap5_uevm/README
 delete mode 100644 board/ti/omap5_uevm/evm.c
 delete mode 100644 board/ti/omap5_uevm/mux_data.h
 delete mode 100644 configs/omap5_uevm_defconfig
 delete mode 100644 include/configs/omap5_uevm.h

diff --git a/arch/arm/mach-omap2/omap5/Kconfig 
b/arch/arm/mach-omap2/omap5/Kconfig
index a0c0b93a00..e73106e321 100644
--- a/arch/arm/mach-omap2/omap5/Kconfig
+++ b/arch/arm/mach-omap2/omap5/Kconfig
@@ -9,9 +9,6 @@ choice
prompt "OMAP5 board select"
optional
 
-config TARGET_OMAP5_UEVM
-   bool "TI OMAP5 uEVM board"
-
 config TARGET_DRA7XX_EVM
bool "TI DRA7XX"
select BOARD_LATE_INIT
@@ -153,7 +150,6 @@ endchoice
 endmenu
 endif
 
-source "board/ti/omap5_uevm/Kconfig"
 source "board/ti/dra7xx/Kconfig"
 source "board/ti/am57xx/Kconfig"
 
diff --git a/board/ti/omap5_uevm/Kconfig b/board/ti/omap5_uevm/Kconfig
deleted file mode 100644
index aa13844544..00
--- a/board/ti/omap5_uevm/Kconfig
+++ /dev/null
@@ -1,12 +0,0 @@
-if TARGET_OMAP5_UEVM
-
-config SYS_BOARD
-   default "omap5_uevm"
-
-config SYS_VENDOR
-   default "ti"
-
-config SYS_CONFIG_NAME
-   default "omap5_uevm"
-
-endif
diff --git a/board/ti/omap5_uevm/MAINTAINERS b/board/ti/omap5_uevm/MAINTAINERS
deleted file mode 100644
index 280ea2f91f..00
--- a/board/ti/omap5_uevm/MAINTAINERS
+++ /dev/null
@@ -1,6 +0,0 @@
-OMAP5_UEVM BOARD
-M: Lokesh Vutla 
-S: Maintained
-F: board/ti/omap5_uevm/
-F: include/configs/omap5_uevm.h
-F: configs/omap5_uevm_defconfig
diff --git a/board/ti/omap5_uevm/Makefile b/board/ti/omap5_uevm/Makefile
deleted file mode 100644
index 17ee516d26..00
--- a/board/ti/omap5_uevm/Makefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2000, 2001, 2002
-# Wolfgang Denk, DENX Software Engineering, w...@denx.de.
-
-obj-y  := evm.o
diff --git a/board/ti/omap5_uevm/README b/board/ti/omap5_uevm/README
deleted file mode 100644
index 970e2eceb7..00
--- a/board/ti/omap5_uevm/README
+++ /dev/null
@@ -1,25 +0,0 @@
-Summary
-===
-
-This document covers various features of the 'omap5_uevm' build and some
-related uses.
-
-eMMC boot partition use
-===
-
-It is possible, depending on SYSBOOT configuration to boot from the eMMC
-boot partitions using (name depending on documentation referenced)
-Alternative Boot operation mode or Boot Sequence Option 1/2.  In this
-example we load MLO and u-boot.img from the build into DDR and then use
-'mmc bootbus' to set the required rate (see TRM) and 'mmc partconfig' to
-set boot0 as the boot device.
-U-Boot # setenv autoload no
-U-Boot # usb start
-U-Boot # dhcp
-U-Boot # mmc dev 1 1
-U-Boot # tftp ${loadaddr} omap5uevm/MLO
-U-Boot # mmc write ${loadaddr} 0 100
-U-Boot # tftp ${loadaddr} omap5uevm/u-boot.img
-U-Boot # mmc write ${loadaddr} 300 400
-U-Boot # mmc bootbus 1 2 0 2
-U-Boot # mmc partconf 1 1 1 0
diff --git a/board/ti/omap5_uevm/evm.c b/board/ti/omap5_uevm/evm.c
deleted file mode 100644
index e35f319b46..00
--- a/board/ti/omap5_uevm/evm.c
+++ /dev/null
@@ -1,283 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * (C) Copyright 2010
- * Texas Instruments Incorporated, 
- * Aneesh V   
- * Steve Sakoman  
- */
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-
-#include "mux_data.h"
-
-#if defined(CONFIG_USB_EHCI_HCD) || defined(CONFIG_USB_XHCI_OMAP)
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-
-#define DIE_ID_REG_BASE (OMAP54XX_L4_CORE_BASE + 0x2000)
-#define DIE_ID_REG_OFFSET  0x200
-
-#endif
-
-DECLARE_GLOBAL_DATA_PTR;
-
-const struct omap_sysinfo sysinfo = {
-   "Board: OMAP5432 uEVM\n"
-};
-
-/**
- * @brief tca642x_init - uEVM default values for the GPIO expander
- * input reg, output reg, polarity reg, configuration reg
- */
-struct tca642x_bank_info tca642x_init[] = {
-   { .input_reg = 0x00,
- .output_reg = 0x04,
- .polarity_reg = 0x00,
- .configuration_reg = 0x80 },
-   { .input_reg = 0x00,
- .output_reg = 0x00,
-