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

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

2019-07-28 Thread Bartosz Golaszewski
From: Bartosz Golaszewski NOTE: emac conversion is already upstream, so dropped it from this series. No other changes. 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

[U-Boot] [RESEND PATCH v2 01/13] davinci: remove CONFIG_DM_I2C_COMPAT from defconfigs

2019-07-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This option is no longer used on any davinci board but still selected in defconfigs which causes the following warning: = WARNING == This board uses CONFIG_DM_I2C_COMPAT. Please remove (possibly in a subsequent patch in your

[U-Boot] [RESEND PATCH v2 05/13] nand: davinci: make davinci_nand_init() static

2019-07-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This function is only used within the driver itself. No need to export it. Signed-off-by: Bartosz Golaszewski --- arch/arm/include/asm/ti-common/davinci_nand.h | 2 -- drivers/mtd/nand/raw/davinci_nand.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions

[U-Boot] [RESEND PATCH v2 11/13] davinci: omapl138-lcdk: remove unneeded includes

2019-07-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There's no SPI on da850-lcdk. Remove unnecessary includes. Signed-off-by: Bartosz Golaszewski --- board/davinci/da8xxevm/omapl138_lcdk.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/board/davinci/da8xxevm/omapl138_lcdk.c b/board/davinci/da8

[U-Boot] [RESEND PATCH v2 08/13] davinci: da850-evm: enable driver model for NAND

2019-07-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Enable the driver-model on da850-evm. We need to add a dummy nand node to the device tree, as the real nand node is a sub-node of the aemif device. On linux the aemif driver populates all its child nodes, but we can't do it in u-boot currently. Signed-off-by: Ba

[U-Boot] [RESEND PATCH v2 02/13] sandbox: remove CONFIG_DM_I2C_COMPAT from defconfigs

2019-07-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There are no more "real" users of CONFIG_DM_I2C_COMPAT and we'll soon remove it altogether. Stop building it in sandbox mode. Signed-off-by: Bartosz Golaszewski Acked-by: Heiko Schocher --- Makefile | 2 +- configs/sand

[U-Boot] [RESEND PATCH v2 09/13] davinci: omapl138-lcdk: enable SPL_SYS_MALLOC_SIMPLE

2019-07-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We're working towards enabling the driver model in SPL for da850-lcdk. Enable SPL_SYS_MALLOC_SIMPLE in defconfig to reduce SPL size. Signed-off-by: Bartosz Golaszewski --- configs/omapl138_lcdk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/co

[U-Boot] [RESEND PATCH v2 04/13] omapl138_lcdk_defconfig: don't build support for SPI

2019-07-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The following warning is emited when building u-boot for da850-lcdk: = WARNING == This board does not use CONFIG_DM_SPI. Please update the board before v2019.04 for no dm conversion and v2019.07 for partially dm converted drivers

[U-Boot] [RESEND PATCH v2 12/13] davinci: omapl138-lcdk: enable driver-model in SPL

2019-07-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Enable CONFIG_SPL_DM and enable the driver model for serial by defining an appropriate device in the board file for da850-lcdk. Signed-off-by: Bartosz Golaszewski --- board/davinci/da8xxevm/omapl138_lcdk.c | 16 configs/omapl138_lcdk_defconfig

[U-Boot] [RESEND PATCH v2 06/13] nand: davinci: add support for driver model

2019-07-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Extend the davinci NAND driver to support the driver model. For now this doesn't add any device-tree parsing due to the fact that we can't access the actual nand node on the device-tree - it's a subnode of the aemif device and we don't have an aemif

[U-Boot] [RESEND PATCH v2 07/13] davinci: omapl138-lcdk: enable driver model for NAND

2019-07-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Enable the driver-model on da850-lcdk. We need to add a dummy nand node to the device tree, as the real nand node is a sub-node of the aemif device. On linux the aemif driver populates all its child nodes, but we can't do it in u-boot currently. Signed-off-by: Ba

[U-Boot] [RESEND PATCH v2 10/13] davinci: omapl138-lcdk: enable CONFIG_USE_TINY_PRINTF

2019-07-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We're working towards enabling the driver-model in SPL for da850-lcdk. Enable CONFIG_USE_TINY_PRINTF in defconfig to reduce SPL size. Signed-off-by: Bartosz Golaszewski --- configs/omapl138_lcdk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/co

[U-Boot] [RESEND PATCH v2 13/13] configs: omapl138_lcdk: enable NAND self-init in SPL

2019-07-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Now that we have enabled the driver-model in SPL, we can remove the code disabling NAND self-init in SPL from the config include for omapl138-lcdk. Signed-off-by: Bartosz Golaszewski --- include/configs/omapl138_lcdk.h | 4 1 file changed, 4 deletions(-) diff

[U-Boot] [RESEND PATCH v2 03/13] i2c: remove i2c driver-model compatibility layer

2019-07-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There are no more users of the compatibility layer for i2c. Remove the driver and all references to it. Signed-off-by: Bartosz Golaszewski Acked-by: Heiko Schocher --- Makefile| 7 -- drivers/i2c/Kconfig | 13 +--- drivers/i2c

Re: [U-Boot] [PATCH 0/4] davinci: omapl138-lcdk: enable CONFIG_SPL_DM

2019-07-03 Thread Bartosz Golaszewski
pon., 24 cze 2019 o 10:18 Bartosz Golaszewski napisał(a): > > wt., 28 maj 2019 o 11:58 Bartosz Golaszewski napisał(a): > > > > From: Bartosz Golaszewski > > > > This series enables the driver model in SPL on omapl138-lcdk. First two > > patches enable siz

Re: [U-Boot] [PATCH 0/4] nand: davinci: enable driver model for NAND

2019-07-03 Thread Bartosz Golaszewski
pt., 7 cze 2019 o 10:16 Bartosz Golaszewski napisał(a): > > czw., 6 cze 2019 o 17:58 Adam Ford napisał(a): > > > > On Thu, Jun 6, 2019 at 10:50 AM Bartosz Golaszewski wrote: > > > > > > From: Bartosz Golaszewski > > > > > > This series ena

Re: [U-Boot] [PATCH 0/4] davinci: fix build warnings

2019-07-04 Thread Bartosz Golaszewski
pon., 24 cze 2019 o 10:18 Bartosz Golaszewski napisał(a): > > pon., 27 maj 2019 o 10:57 Bartosz Golaszewski napisał(a): > > > > From: Bartosz Golaszewski > > > > There are several build warnings related to driver-model usage emitted > > when building u-boo

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

2019-07-09 Thread Bartosz Golaszewski
From: Bartosz Golaszewski 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

[U-Boot] [PATCH 02/14] davinci: remove CONFIG_DM_I2C_COMPAT from defconfigs

2019-07-09 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This option is no longer used on any davinci board but still selected in defconfigs which causes the following warning: = WARNING == This board uses CONFIG_DM_I2C_COMPAT. Please remove (possibly in a subsequent patch in your

[U-Boot] [PATCH 01/14] net: davinci_emac: convert to using the driver model

2019-07-09 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Now that we removed all legacy boards selecting TI_EMAC we can completely convert the driver code to using the driver model. This patch also updates all remaining users of davinci_emac. Signed-off-by: Bartosz Golaszewski Tested-by: Adam Ford #am3517-evm & da850

[U-Boot] [PATCH 06/14] nand: davinci: make davinci_nand_init() static

2019-07-09 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This function is only used within the driver itself. No need to export it. Signed-off-by: Bartosz Golaszewski --- arch/arm/include/asm/ti-common/davinci_nand.h | 2 -- drivers/mtd/nand/raw/davinci_nand.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions

[U-Boot] [PATCH 05/14] omapl138_lcdk_defconfig: don't build support for SPI

2019-07-09 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The following warning is emited when building u-boot for da850-lcdk: = WARNING == This board does not use CONFIG_DM_SPI. Please update the board before v2019.04 for no dm conversion and v2019.07 for partially dm converted drivers

[U-Boot] [PATCH 03/14] sandbox: remove CONFIG_DM_I2C_COMPAT from defconfigs

2019-07-09 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There are no more "real" users of CONFIG_DM_I2C_COMPAT and we'll soon remove it altogether. Stop building it in sandbox mode. Signed-off-by: Bartosz Golaszewski Acked-by: Heiko Schocher --- Makefile | 2 +- configs/sand

[U-Boot] [PATCH 04/14] i2c: remove i2c driver-model compatibility layer

2019-07-09 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There are no more users of the compatibility layer for i2c. Remove the driver and all references to it. Signed-off-by: Bartosz Golaszewski Acked-by: Heiko Schocher --- Makefile| 7 -- drivers/i2c/Kconfig | 13 +--- drivers/i2c

[U-Boot] [PATCH 13/14] davinci: omapl138-lcdk: enable driver-model in SPL

2019-07-09 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Enable CONFIG_SPL_DM and enable the driver model for serial by defining an appropriate device in the board file for da850-lcdk. Signed-off-by: Bartosz Golaszewski --- board/davinci/da8xxevm/omapl138_lcdk.c | 16 configs/omapl138_lcdk_defconfig

[U-Boot] [PATCH 09/14] davinci: da850-evm: enable driver model for NAND

2019-07-09 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Enable the driver-model on da850-evm. We need to add a dummy nand node to the device tree, as the real nand node is a sub-node of the aemif device. On linux the aemif driver populates all its child nodes, but we can't do it in u-boot currently. Signed-off-by: Ba

[U-Boot] [PATCH 07/14] nand: davinci: add support for driver model

2019-07-09 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Extend the davinci NAND driver to support the driver model. For now this doesn't add any device-tree parsing due to the fact that we can't access the actual nand node on the device-tree - it's a subnode of the aemif device and we don't have an aemif

[U-Boot] [PATCH 10/14] davinci: omapl138-lcdk: enable SPL_SYS_MALLOC_SIMPLE

2019-07-09 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We're working towards enabling the driver model in SPL for da850-lcdk. Enable SPL_SYS_MALLOC_SIMPLE in defconfig to reduce SPL size. Signed-off-by: Bartosz Golaszewski --- configs/omapl138_lcdk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/co

[U-Boot] [PATCH 12/14] davinci: omapl138-lcdk: remove unneeded includes

2019-07-09 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There's no SPI on da850-lcdk. Remove unnecessary includes. Signed-off-by: Bartosz Golaszewski --- board/davinci/da8xxevm/omapl138_lcdk.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/board/davinci/da8xxevm/omapl138_lcdk.c b/board/davinci/da8

[U-Boot] [PATCH 14/14] configs: omapl138_lcdk: enable NAND self-init in SPL

2019-07-09 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Now that we have enabled the driver-model in SPL, we can remove the code disabling NAND self-init in SPL from the config include for omapl138-lcdk. Signed-off-by: Bartosz Golaszewski --- include/configs/omapl138_lcdk.h | 4 1 file changed, 4 deletions(-) diff

[U-Boot] [PATCH 08/14] davinci: omapl138-lcdk: enable driver model for NAND

2019-07-09 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Enable the driver-model on da850-lcdk. We need to add a dummy nand node to the device tree, as the real nand node is a sub-node of the aemif device. On linux the aemif driver populates all its child nodes, but we can't do it in u-boot currently. Signed-off-by: Ba

[U-Boot] [PATCH 11/14] davinci: omapl138-lcdk: enable CONFIG_USE_TINY_PRINTF

2019-07-09 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We're working towards enabling the driver-model in SPL for da850-lcdk. Enable CONFIG_USE_TINY_PRINTF in defconfig to reduce SPL size. Signed-off-by: Bartosz Golaszewski --- configs/omapl138_lcdk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/co

Re: [U-Boot] [PATCH 13/14] davinci: omapl138-lcdk: enable driver-model in SPL

2019-07-09 Thread Bartosz Golaszewski
wt., 9 lip 2019 o 15:34 Adam Ford napisał(a): > > On Tue, Jul 9, 2019 at 2:55 AM Bartosz Golaszewski wrote: > > > > From: Bartosz Golaszewski > > > > Enable CONFIG_SPL_DM and enable the driver model for serial by defining > > an appropriate dev

Re: [U-Boot] [PATCH 0/4] omapl138_lcdk: fix MMC boot

2019-12-02 Thread Bartosz Golaszewski
czw., 14 lis 2019 o 16:10 Bartosz Golaszewski napisał(a): > > From: Bartosz Golaszewski > > Booting from MMC on omapl138-lcdk is currently broken after we enabled > driver-model in SPL. While I know what's wrong - the bind() callback not > being called - I can't for t

Re: [PATCH] mmc: davinci_mmc: Cleanup to use dt in U-boot and static platdata in SPL

2020-05-25 Thread Bartosz Golaszewski
effectively reverts 3ef94715cc ('mmc: davinci: fix mmc boot in > SPL') > > Signed-off-by: Faiz Abbas Tested-by: Bartosz Golaszewski

<    1   2