Skip to content

ARM: davinci: driver-model improvements

Bartosz Golaszewski u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14net: davinci_emac: convert to using the driver modelarch/arm/mach-davinci/cpu.c arch/arm/mach-omap2/omap3/emac.c board/davinci/da8xxevm/da850evm.c +11 more+50 -741 reply
2/14davinci: remove CONFIG_DM_I2C_COMPAT from defconfigsconfigs/da850_am18xxevm_defconfig configs/omapl138_lcdk_defconfig include/configs/am3517_evm.h +2 more+0 -190 replies
3/14sandbox: remove CONFIG_DM_I2C_COMPAT from defconfigsMakefile configs/sandbox64_defconfig configs/sandbox_defconfig +4 more+1 -70 replies
4/14i2c: remove i2c driver-model compatibility layerMakefile drivers/i2c/Kconfig drivers/i2c/Makefile +4 more+3 -2320 replies
5/14omapl138_lcdk_defconfig: don't build support for SPIconfigs/omapl138_lcdk_defconfig+1 -50 replies
6/14nand: davinci: make davinci_nand_init() staticarch/arm/include/asm/ti-common/davinci_nand.h drivers/mtd/nand/raw/davinci_nand.c+1 -30 replies
7/14nand: davinci: add support for driver modeldrivers/mtd/nand/raw/davinci_nand.c+45 -10 replies
8/14davinci: omapl138-lcdk: enable driver model for NANDarch/arm/dts/da850-lcdk-u-boot.dtsi configs/omapl138_lcdk_defconfig include/configs/omapl138_lcdk.h+9 -00 replies
9/14davinci: da850-evm: enable driver model for NANDarch/arm/dts/da850-evm-u-boot.dtsi configs/da850evm_defconfig configs/da850evm_direct_nor_defconfig +2 more+11 -00 replies
10/14davinci: omapl138-lcdk: enable SPL_SYS_MALLOC_SIMPLEconfigs/omapl138_lcdk_defconfig+1 -00 replies
11/14davinci: omapl138-lcdk: enable CONFIG_USE_TINY_PRINTFconfigs/omapl138_lcdk_defconfig+1 -00 replies
12/14davinci: omapl138-lcdk: remove unneeded includesboard/davinci/da8xxevm/omapl138_lcdk.c+0 -20 replies
13/14davinci: omapl138-lcdk: enable driver-model in SPLboard/davinci/da8xxevm/omapl138_lcdk.c configs/omapl138_lcdk_defconfig+21 -01 reply
13/14davinci: omapl138-lcdk: enable driver-model in SPL+0 -01 reply
14/14configs: omapl138_lcdk: enable NAND self-init in SPLinclude/configs/omapl138_lcdk.h+0 -40 replies

Reviews trailers per patch

5 of 15 patches have a Reviewed-by or Acked-by.

PatchAdam FordRamon FriedHeiko Schocher
1/14T-b R-b R-b
2/14A-b
3/14A-b
4/14A-b
5/14A-b
6/14
7/14
8/14
9/14T-b
10/14
11/14
12/14
13/14
13/14
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [U-Boot] [PATCH 00/14] ARM: davinci: driver-model improvements

From: Bartosz Golaszewski <[email protected]>

Hi Tom,

the following series contains all the patches for davinci that have been sent to the mailing list recently rebased on top of v2019.07 and retested on da850-lcdk and da850-evm. I collected all the review and test tags too.

The first patch is the emac driver conversion to driver model. Patches 2-5 fix build warnings due to legacy interfaces usage. Patches 6-9 add support for driver model to the davinci NAND driver. Patches 10-13 enable driver-model support in SPL for davinci. Last patch enables the driver model for NAND in SPL.

These patches (except for the last, trivial one) have spent a lot of time on the list and have been validated. I think they are ready to be picked up for upstream.

Bartosz Golaszewski (14):
net: davinci_emac: convert to using the driver model
davinci: remove CONFIG_DM_I2C_COMPAT from defconfigs
sandbox: remove CONFIG_DM_I2C_COMPAT from defconfigs
i2c: remove i2c driver-model compatibility layer
omapl138_lcdk_defconfig: don't build support for SPI
nand: davinci: make davinci_nand_init() static
nand: davinci: add support for driver model
davinci: omapl138-lcdk: enable driver model for NAND
davinci: da850-evm: enable driver model for NAND
davinci: omapl138-lcdk: enable SPL_SYS_MALLOC_SIMPLE
davinci: omapl138-lcdk: enable CONFIG_USE_TINY_PRINTF
davinci: omapl138-lcdk: remove unneeded includes
davinci: omapl138-lcdk: enable driver-model in SPL
configs: omapl138_lcdk: enable NAND self-init in SPL

 Makefile                                      |   7 -
 arch/arm/dts/da850-evm-u-boot.dtsi            |   4 +
 arch/arm/dts/da850-lcdk-u-boot.dtsi           |   4 +
 arch/arm/include/asm/ti-common/davinci_nand.h |   2 -
 arch/arm/mach-davinci/cpu.c                   |  13 --
 arch/arm/mach-omap2/omap3/emac.c              |   3 +-
 board/davinci/da8xxevm/da850evm.c             |   6 -
 board/davinci/da8xxevm/omapl138_lcdk.c        |  32 ++---
 board/logicpd/am3517evm/am3517evm.c           |   1 -
 board/ti/ti816x/evm.c                         |   3 +-
 configs/am3517_evm_defconfig                  |   1 +
 configs/da850_am18xxevm_defconfig             |   1 -
 configs/da850evm_defconfig                    |   2 +
 configs/da850evm_direct_nor_defconfig         |   2 +
 configs/da850evm_nand_defconfig               |   2 +
 configs/omapl138_lcdk_defconfig               |  16 ++-
 configs/sandbox64_defconfig                   |   1 -
 configs/sandbox_defconfig                     |   1 -
 configs/sandbox_flattree_defconfig            |   1 -
 configs/sandbox_noblk_defconfig               |   1 -
 configs/sandbox_spl_defconfig                 |   1 -
 configs/ti816x_evm_defconfig                  |   1 +
 configs/tools-only_defconfig                  |   1 -
 drivers/i2c/Kconfig                           |  13 +-
 drivers/i2c/Makefile                          |   1 -
 drivers/i2c/i2c-uclass-compat.c               | 128 ------------------
 drivers/mtd/nand/raw/davinci_nand.c           |  48 ++++++-
 drivers/net/ti/davinci_emac.c                 |  77 ++++++-----
 include/_exports.h                            |   3 +-
 include/configs/am3517_evm.h                  |   1 -
 include/configs/da850evm.h                    |  12 +-
 include/configs/omapl138_lcdk.h               |   8 --
 include/exports.h                             |   3 +-
 include/i2c.h                                 |  80 -----------
 include/netdev.h                              |   1 -
 35 files changed, 139 insertions(+), 342 deletions(-)
 delete mode 100644 drivers/i2c/i2c-uclass-compat.c
Signature · 1 line
2.21.0