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

2019-07-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski 

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

-- 
2.21.0

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-07-24 Thread Joe Hershberger
On Wed, Jul 24, 2019 at 3:12 AM Bartosz Golaszewski  wrote:
>
> From: Bartosz Golaszewski 
>
> 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
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-07-28 Thread Bartosz Golaszewski
śr., 24 lip 2019 o 21:06 Joe Hershberger  napisał(a):
>
> On Wed, Jul 24, 2019 at 3:12 AM Bartosz Golaszewski  wrote:
> >
> > From: Bartosz Golaszewski 
> >
> > 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
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-07-28 Thread Tom Rini
On Sun, Jul 28, 2019 at 06:46:57PM +0200, Bartosz Golaszewski wrote:
> śr., 24 lip 2019 o 21:06 Joe Hershberger  napisał(a):
> >
> > On Wed, Jul 24, 2019 at 3:12 AM Bartosz Golaszewski  wrote:
> > >
> > > From: Bartosz Golaszewski 
> > >
> > > 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


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-07-28 Thread Bartosz Golaszewski
niedz., 28 lip 2019 o 19:12 Tom Rini  napisał(a):
>
> On Sun, Jul 28, 2019 at 06:46:57PM +0200, Bartosz Golaszewski wrote:
> > śr., 24 lip 2019 o 21:06 Joe Hershberger  
> > napisał(a):
> > >
> > > On Wed, Jul 24, 2019 at 3:12 AM Bartosz Golaszewski  wrote:
> > > >
> > > > From: Bartosz Golaszewski 
> > > >
> > > > 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
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-07-29 Thread Joe Hershberger
On Mon, Jul 29, 2019 at 1:56 AM Bartosz Golaszewski  wrote:
>
> niedz., 28 lip 2019 o 19:12 Tom Rini  napisał(a):
> >
> > On Sun, Jul 28, 2019 at 06:46:57PM +0200, Bartosz Golaszewski wrote:
> > > śr., 24 lip 2019 o 21:06 Joe Hershberger  
> > > napisał(a):
> > > >
> > > > On Wed, Jul 24, 2019 at 3:12 AM Bartosz Golaszewski  
> > > > wrote:
> > > > >
> > > > > From: Bartosz Golaszewski 
> > > > >
> > > > > 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
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot