Re: [PATCH 6/6] mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that are newer than 5.4

2020-09-04 Thread Angelo Dureghello
}, > .probe = sdhci_esdhc_mcf_probe, > .remove = sdhci_esdhc_mcf_remove, > Acked-by: Angelo Dureghello

Re: [PATCH v1] dmaengine: fsl-edma-common: correct DSIZE_32BYTE

2020-07-02 Thread Angelo Dureghello
(2) | BIT(0)) looks like i need some glasses. Thanks a lot for the fix. I probably missed it since not using 16bytes transfers. Tested-by: Angelo Dureghello Regards, angelo >  #define EDMA_TCD_ATTR_SSIZE_8BIT 0 >  #define EDMA_TCD_ATTR_SSIZE_16BIT (EDMA_TCD_ATTR_DSIZE_16BIT << 8) >  #define EDMA_TCD_ATTR_SSIZE_32BIT (EDMA_TCD_ATTR_DSIZE_32BIT << 8) > -- > 2.7.4

[PATCH] w1: ds2430: fix eeprom size in driver description

2020-05-07 Thread Angelo Dureghello
Non functional fix, set Kb to b, to avoid any misundertanding. Signed-off-by: Angelo Dureghello --- drivers/w1/slaves/w1_ds2430.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/w1/slaves/w1_ds2430.c b/drivers/w1/slaves/w1_ds2430.c index 6fb0563fb2ae..75bb8a88620b

[PATCH v2] w1: new driver. DS2430 chip

2019-10-19 Thread Angelo Dureghello
ff ff ff 0010 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 40 0020 Signed-off-by: Angelo Dureghello --- drivers/w1/slaves/Kconfig | 8 + drivers/w1/slaves/Makefile| 1 + drivers/w1/slaves/w1_ds2430.c | 295 ++ 3 files changed, 304 insertions(+

[PATCH] w1: new driver. DS2430 chip

2019-10-07 Thread Angelo Dureghello
430.c - w1 family 14 (DS2430) driver + ** + * Copyright (c) 2019 Angelo Dureghello + * + * Cloned and modified from ds2431 + * Copyright (c) 2008 Bernhard Weirich + * + */ + +#include +#include +#include +#include +#include +#include + +#include + +#define W1_EEPROM_DS2430 0x14 + +#defin

Re: [PATCH v5 0/6] add edma2 for i.mx7ulp

2019-06-25 Thread Angelo Dureghello
+-- > drivers/dma/fsl-edma-common.h | 14 ++- > drivers/dma/fsl-edma.c | 109 > ++--- > drivers/dma/mcf-edma.c | 11 ++- > 6 files changed, 239 insertions(+), 50 deletions(-) > I tested the patch-set on ColdFire mcf5441x (stmark2 board), all works fine. Tested-by: Angelo Dureghello Regards, Angelo > -- > 2.7.4 >

Re: [PATCH] m68k: io: Fix io{read,write}{16,32}be() for Coldfire peripherals

2019-06-03 Thread Angelo Dureghello
d also avoids swapping data twice. > > Reported-by: Angelo Dureghello > Fixes: aecc787c06f4300f ("iomap: Use non-raw io functions for > io{read|write}XXbe") > Signed-off-by: Geert Uytterhoeven > --- > This can be reverted later, after this oddity of the Coldfire I/O > s

mcf5441x, mmu boot not working anymore

2019-05-11 Thread Angelo Dureghello
Hi all, just rebased to master right now, so @ > 5.1.1, nommu boot works, mmu boot hangs without any message. Before rebase i was near 5.1-rc1 but lost the log, unfortunately. I start to investigate on this. Please let me know if you may have any idea about where the issue could come from.

Re: [PATCH] m68k: io: Fix io{read,write}{16,32}be() for Coldfire peripherals

2019-05-11 Thread Angelo Dureghello
the assumption. > > > > Fix this by providing our own variants, using the raw accessors, > > reinstating the old behavior. This is fine on m68k, as no special > > barriers are needed, and also avoids swapping data twice. > > > > Reported-by: Angelo Dureghello

Re: [PATCH] dmaengine: fsl-edma: dma map slave device address

2019-01-18 Thread Angelo Dureghello
e = fsl_edma_free_desc; > vchan_init(_chan->vchan, _edma->dma_dev); > > diff --git a/drivers/dma/mcf-edma.c b/drivers/dma/mcf-edma.c > index 5de1b07eddff..7de54b2fafdb 100644 > --- a/drivers/dma/mcf-edma.c > +++ b/drivers/dma/mcf-edma.c > @@ -214,6 +214,7 @@ static int mcf_edma_probe(struct platform_device *pdev) > mcf_chan->edma = mcf_edma; > mcf_chan->slave_id = i; > mcf_chan->idle = true; > + mcf_chan->dma_dir = DMA_NONE; > mcf_chan->vchan.desc_free = fsl_edma_free_desc; > vchan_init(_chan->vchan, _edma->dma_dev); > iowrite32(0x0, >tcd[i].csr); > -- > 2.17.1 > I tested this patch on: - Vybrid VF50N (Toradex Colibri VF50) - ColdFire mcf54415 (Sysam stmark2 board) and dma still works properly. Tested-by: Angelo Dureghello

Re: [PATCH] dmaengine: fsl-edma: use struct_size() in kzalloc()

2019-01-06 Thread Angelo Dureghello
*fsl_chan, > struct fsl_edma_desc *fsl_desc; > int i; > > - fsl_desc = kzalloc(sizeof(*fsl_desc) + > -sizeof(struct fsl_edma_sw_tcd) * > -sg_len, GFP_NOWAIT); > + fsl_desc = kzalloc(struct_size(fsl_desc, tc

Re: linux-next: build warning after merge of the slave-dma tree

2018-09-13 Thread Angelo Dureghello
Hi, sorry, there was no build-test robot warning anymore about it. Will fix it in a patch in short. On Thu, Sep 13, 2018 at 12:22:18PM +1000, Stephen Rothwell wrote: > Hi Vinod, > > After merging the slave-dma tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > >

Re: linux-next: build warning after merge of the slave-dma tree

2018-09-13 Thread Angelo Dureghello
Hi, sorry, there was no build-test robot warning anymore about it. Will fix it in a patch in short. On Thu, Sep 13, 2018 at 12:22:18PM +1000, Stephen Rothwell wrote: > Hi Vinod, > > After merging the slave-dma tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > >

Re: [BUG] Serial/dma stall/failure after "dmaengine: fsl-edma: extract common fsl-edma code (no changes in behavior intended)"

2018-07-06 Thread Angelo Dureghello
Hi, On Fri, Jul 06, 2018 at 08:16:29AM +0200, Krzysztof Kozlowski wrote: > On 6 July 2018 at 08:05, Vinod wrote: > > On 05-07-18, 18:23, Angelo Dureghello wrote: > >> Hi Stafan, > >> > >> On Thu, Jul 05, 2018 at 05:55:31PM +0200, Stefan Agn

Re: [BUG] Serial/dma stall/failure after "dmaengine: fsl-edma: extract common fsl-edma code (no changes in behavior intended)"

2018-07-06 Thread Angelo Dureghello
Hi, On Fri, Jul 06, 2018 at 08:16:29AM +0200, Krzysztof Kozlowski wrote: > On 6 July 2018 at 08:05, Vinod wrote: > > On 05-07-18, 18:23, Angelo Dureghello wrote: > >> Hi Stafan, > >> > >> On Thu, Jul 05, 2018 at 05:55:31PM +0200, Stefan Agn

Re: [BUG] Serial/dma stall/failure after "dmaengine: fsl-edma: extract common fsl-edma code (no changes in behavior intended)"

2018-07-05 Thread Angelo Dureghello
Hi Stafan, On Thu, Jul 05, 2018 at 05:55:31PM +0200, Stefan Agner wrote: > Hi Vinod, Hi Angelo, > > On 05.07.2018 14:45, Angelo Dureghello wrote: > > Hi Vinod, > > > > On Thu, Jul 05, 2018 at 10:12:53AM +0200, Angelo Dureghello wrote: > >> Hi Vinod, > >

Re: [BUG] Serial/dma stall/failure after "dmaengine: fsl-edma: extract common fsl-edma code (no changes in behavior intended)"

2018-07-05 Thread Angelo Dureghello
Hi Stafan, On Thu, Jul 05, 2018 at 05:55:31PM +0200, Stefan Agner wrote: > Hi Vinod, Hi Angelo, > > On 05.07.2018 14:45, Angelo Dureghello wrote: > > Hi Vinod, > > > > On Thu, Jul 05, 2018 at 10:12:53AM +0200, Angelo Dureghello wrote: > >> Hi Vinod, > >

Re: [BUG] Serial/dma stall/failure after "dmaengine: fsl-edma: extract common fsl-edma code (no changes in behavior intended)"

2018-07-05 Thread Angelo Dureghello
Hi Vinod, On Thu, Jul 05, 2018 at 10:12:53AM +0200, Angelo Dureghello wrote: > Hi Vinod, > > On Thu, Jul 05, 2018 at 01:05:52PM +0530, Vinod wrote: > > On 04-07-18, 10:54, Krzysztof Kozlowski wrote: > > > Hi, > > > > > > The commit 6ad069123f03bebe4315d

Re: [BUG] Serial/dma stall/failure after "dmaengine: fsl-edma: extract common fsl-edma code (no changes in behavior intended)"

2018-07-05 Thread Angelo Dureghello
Hi Vinod, On Thu, Jul 05, 2018 at 10:12:53AM +0200, Angelo Dureghello wrote: > Hi Vinod, > > On Thu, Jul 05, 2018 at 01:05:52PM +0530, Vinod wrote: > > On 04-07-18, 10:54, Krzysztof Kozlowski wrote: > > > Hi, > > > > > > The commit 6ad069123f03bebe4315d

Re: [BUG] Serial/dma stall/failure after "dmaengine: fsl-edma: extract common fsl-edma code (no changes in behavior intended)"

2018-07-05 Thread Angelo Dureghello
Hi Vinod, On Thu, Jul 05, 2018 at 01:05:52PM +0530, Vinod wrote: > On 04-07-18, 10:54, Krzysztof Kozlowski wrote: > > Hi, > > > > The commit 6ad069123f03bebe4315dea13d44845854ca6043 ("dmaengine: > > fsl-edma: extract common fsl-edma code (no changes in behavior > > intended)"), even though

Re: [BUG] Serial/dma stall/failure after "dmaengine: fsl-edma: extract common fsl-edma code (no changes in behavior intended)"

2018-07-05 Thread Angelo Dureghello
Hi Vinod, On Thu, Jul 05, 2018 at 01:05:52PM +0530, Vinod wrote: > On 04-07-18, 10:54, Krzysztof Kozlowski wrote: > > Hi, > > > > The commit 6ad069123f03bebe4315dea13d44845854ca6043 ("dmaengine: > > fsl-edma: extract common fsl-edma code (no changes in behavior > > intended)"), even though

Re: [PATCH] m68knommu: remove dead code

2017-08-27 Thread Angelo Dureghello
Hi, just to inform you that i have in mind to add spi(soon, at least seems just a matter con Kconfig changes) and usdhc(later) drivers/support for stmark2 mcf5441x based board. But no problem, in case i'll re-add the this code as needed. On 24/08/2017 16:34, Alexandre Belloni wrote: As

Re: [PATCH] m68knommu: remove dead code

2017-08-27 Thread Angelo Dureghello
Hi, just to inform you that i have in mind to add spi(soon, at least seems just a matter con Kconfig changes) and usdhc(later) drivers/support for stmark2 mcf5441x based board. But no problem, in case i'll re-add the this code as needed. On 24/08/2017 16:34, Alexandre Belloni wrote: As

[no subject]

2015-09-26 Thread Angelo Dureghello
subscribe linux-kernel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[no subject]

2015-09-26 Thread Angelo Dureghello
subscribe linux-kernel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

issues on last 32 bit m68k toolchain

2015-02-06 Thread Angelo Dureghello
/show_bug.cgi?id=17877 Produced binaries are not working on the target. Is it possible to have available another m68k toolchain (including older or newer binutils/as than the bugged 2.22) ? Thanks, Best regards, Angelo Dureghello -- To unsubscribe from this list: send the line "unsubscribe

issues on last 32 bit m68k toolchain

2015-02-06 Thread Angelo Dureghello
/show_bug.cgi?id=17877 Produced binaries are not working on the target. Is it possible to have available another m68k toolchain (including older or newer binutils/as than the bugged 2.22) ? Thanks, Best regards, Angelo Dureghello -- To unsubscribe from this list: send the line unsubscribe linux