mbox series

[U-Boot,v2,00/14] ARM: davinci: driver-model improvements

Message ID 20190724081220.12022-1-brgl@bgdev.pl
Headers show
Series ARM: davinci: driver-model improvements | expand

Message

Bartosz Golaszewski July 24, 2019, 8:12 a.m. UTC
From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

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.

v1 -> v2:
- fixed a build error on da850_am18xx due to missing CONFIG_DM_ETH=y

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             |   2 +-
 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, 140 insertions(+), 342 deletions(-)
 delete mode 100644 drivers/i2c/i2c-uclass-compat.c

Comments

Joe Hershberger July 24, 2019, 6:59 p.m. UTC | #1
On Wed, Jul 24, 2019 at 3:12 AM Bartosz Golaszewski <brgl@bgdev.pl> wrote:
>
> From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
>
> 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.
>
> v1 -> v2:
> - fixed a build error on da850_am18xx due to missing CONFIG_DM_ETH=y

Heiko, want me to take this through my tree?

Thanks,
-Joe
Bartosz Golaszewski July 28, 2019, 4:46 p.m. UTC | #2
śr., 24 lip 2019 o 21:06 Joe Hershberger <joe.hershberger@ni.com> napisał(a):
>
> On Wed, Jul 24, 2019 at 3:12 AM Bartosz Golaszewski <brgl@bgdev.pl> wrote:
> >
> > From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> >
> > 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.
> >
> > v1 -> v2:
> > - fixed a build error on da850_am18xx due to missing CONFIG_DM_ETH=y
>
> Heiko, want me to take this through my tree?
>
> Thanks,
> -Joe

Hi Tom,

could you pick up the rest of the patches? They've been on the list
for several weeks now.

Bart
Tom Rini July 28, 2019, 5:12 p.m. UTC | #3
On Sun, Jul 28, 2019 at 06:46:57PM +0200, Bartosz Golaszewski wrote:
> śr., 24 lip 2019 o 21:06 Joe Hershberger <joe.hershberger@ni.com> napisał(a):
> >
> > On Wed, Jul 24, 2019 at 3:12 AM Bartosz Golaszewski <brgl@bgdev.pl> wrote:
> > >
> > > From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> > >
> > > 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.
> > >
> > > v1 -> v2:
> > > - fixed a build error on da850_am18xx due to missing CONFIG_DM_ETH=y
> >
> > Heiko, want me to take this through my tree?
> >
> > Thanks,
> > -Joe
> 
> Hi Tom,
> 
> could you pick up the rest of the patches? They've been on the list
> for several weeks now.

I thought Joe picked it all up, please repost whatever is missing,
thanks.
Bartosz Golaszewski July 29, 2019, 6:55 a.m. UTC | #4
niedz., 28 lip 2019 o 19:12 Tom Rini <trini@konsulko.com> napisał(a):
>
> On Sun, Jul 28, 2019 at 06:46:57PM +0200, Bartosz Golaszewski wrote:
> > śr., 24 lip 2019 o 21:06 Joe Hershberger <joe.hershberger@ni.com> napisał(a):
> > >
> > > On Wed, Jul 24, 2019 at 3:12 AM Bartosz Golaszewski <brgl@bgdev.pl> wrote:
> > > >
> > > > From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> > > >
> > > > 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.
> > > >
> > > > v1 -> v2:
> > > > - fixed a build error on da850_am18xx due to missing CONFIG_DM_ETH=y
> > >
> > > Heiko, want me to take this through my tree?
> > >
> > > Thanks,
> > > -Joe
> >
> > Hi Tom,
> >
> > could you pick up the rest of the patches? They've been on the list
> > for several weeks now.
>
> I thought Joe picked it all up, please repost whatever is missing,
> thanks.
>
> --
> Tom

No, he just picked up the emac conversion.

Resending now.

Bart
Joe Hershberger July 29, 2019, 6:51 p.m. UTC | #5
On Mon, Jul 29, 2019 at 1:56 AM Bartosz Golaszewski <brgl@bgdev.pl> wrote:
>
> niedz., 28 lip 2019 o 19:12 Tom Rini <trini@konsulko.com> napisał(a):
> >
> > On Sun, Jul 28, 2019 at 06:46:57PM +0200, Bartosz Golaszewski wrote:
> > > śr., 24 lip 2019 o 21:06 Joe Hershberger <joe.hershberger@ni.com> napisał(a):
> > > >
> > > > On Wed, Jul 24, 2019 at 3:12 AM Bartosz Golaszewski <brgl@bgdev.pl> wrote:
> > > > >
> > > > > From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> > > > >
> > > > > 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.
> > > > >
> > > > > v1 -> v2:
> > > > > - fixed a build error on da850_am18xx due to missing CONFIG_DM_ETH=y
> > > >
> > > > Heiko, want me to take this through my tree?
> > > >
> > > > Thanks,
> > > > -Joe
> > >
> > > Hi Tom,
> > >
> > > could you pick up the rest of the patches? They've been on the list
> > > for several weeks now.
> >
> > I thought Joe picked it all up, please repost whatever is missing,
> > thanks.
> >
> > --
> > Tom
>
> No, he just picked up the emac conversion.

Sorry... I was just looking at the original patch that had a build
error and took the replacement. Apologies.

-Joe

> Resending now.
>
> Bart
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> https://lists.denx.de/listinfo/u-boot