[PATCH v3 1/4] dmaengine: fsl-edma: add config and makefile changes for mcf-edma

2018-06-12 Thread Angelo Dureghello
This patch adds Kconfig and makefile changes to add ColdFire mcf5441x family edma support. A new fsl-edma-common module has been added, to collect common code to fsl-edma. Signed-off-by: Angelo Dureghello --- Changes for v2: - patch splitted into 4 - add fsl-edma-common Changes for v3: - remove

[PATCH v3 2/4] dmaengine: fsl-edma: add fsl-edma-common

2018-06-12 Thread Angelo Dureghello
This patch adds a new fsl-edma-common module to allow new mcf-edma module code to use most of the fsl-edma code. Due to some differences between ColdFire edma (64 channels) and fsl-edma (32 channels), as register set offsets and some other points as the different interrupt organization and other m

[PATCH v3 4/4] dmaengine: fsl-edma: add ColdFire mcf5441x edma support

2018-06-12 Thread Angelo Dureghello
This patch adds support for ColdFire mcf5441x-family edma module. The ColdFire edma module is slightly different from fsl-edma, so a new driver is added. But most of the code is common between fsl-edma and mcf-edma so it has been collected into a separate common module fsl-edma-common (patch 2/4).

[PATCH v3 3/4] dmaengine: fsl-edma: remove all the edma common code

2018-06-12 Thread Angelo Dureghello
This patch simplify fsl-edma removing all the code that has been collected in a separated common module (see patch 2/4). Signed-off-by: Angelo Dureghello --- Changes for v2: - patch splitted into 4 - remove all the code gone into fsl-edma-common Changes for v3: none --- drivers/dma/fsl-edma.c |

Re: [PATCH v3 1/4] dmaengine: fsl-edma: add config and makefile changes for mcf-edma

2018-06-12 Thread Geert Uytterhoeven
Hi Angelo, On Tue, Jun 12, 2018 at 6:35 PM Angelo Dureghello wrote: > This patch adds Kconfig and makefile changes to add ColdFire > mcf5441x family edma support. > A new fsl-edma-common module has been added, to collect common > code to fsl-edma. > > Signed-off-by: Angelo Dureghello > --- > Cha

Re: [PATCH v3 1/4] dmaengine: fsl-edma: add config and makefile changes for mcf-edma

2018-06-12 Thread Geert Uytterhoeven
Hi Angelo, On Tue, Jun 12, 2018 at 6:35 PM Angelo Dureghello wrote: > This patch adds Kconfig and makefile changes to add ColdFire > mcf5441x family edma support. > A new fsl-edma-common module has been added, to collect common > code to fsl-edma. > > Signed-off-by: Angelo Dureghello > --- > Cha

Re: [PATCH v3 3/4] dmaengine: fsl-edma: remove all the edma common code

2018-06-12 Thread Geert Uytterhoeven
Hi Angelo, On Tue, Jun 12, 2018 at 6:53 PM Angelo Dureghello wrote: > This patch simplify fsl-edma removing all the code that has > been collected in a separated common module (see patch 2/4). > > Signed-off-by: Angelo Dureghello Thanks for your patch! I think this patch should be combined wit

Re: [PATCH 1/3] m68k: coldfire: Normalize clk API

2018-06-12 Thread Greg Ungerer
Hi Geert, On 11/06/18 18:44, Geert Uytterhoeven wrote: Coldfire still provides its own variant of the clk API rather than using the generic COMMON_CLK API. This generally works, but it causes some link errors with drivers using the clk_round_rate(), clk_set_rate(), clk_set_parent(), or clk_get_

Re: [PATCH 1/3] m68k: coldfire: Normalize clk API

2018-06-12 Thread Geert Uytterhoeven
Hi Greg, On Tue, Jun 12, 2018 at 9:27 AM Greg Ungerer wrote: > On 11/06/18 18:44, Geert Uytterhoeven wrote: > > Coldfire still provides its own variant of the clk API rather than using > > the generic COMMON_CLK API. This generally works, but it causes some > > link errors with drivers using the

Re: [PATCH 1/3] m68k: coldfire: Normalize clk API

2018-06-12 Thread Greg Ungerer
Hi Geert, On 12/06/18 17:31, Geert Uytterhoeven wrote: On Tue, Jun 12, 2018 at 9:27 AM Greg Ungerer wrote: On 11/06/18 18:44, Geert Uytterhoeven wrote: Coldfire still provides its own variant of the clk API rather than using the generic COMMON_CLK API. This generally works, but it causes som

Re: [PATCH 3/3 RFC] Revert "net: stmmac: fix build failure due to missing COMMON_CLK dependency"

2018-06-12 Thread Jose Abreu
Hi, On 11-06-2018 09:44, Geert Uytterhoeven wrote: > This reverts commit bde4975310eb1982bd0bbff673989052d92fd481. > > All legacy clock implementations now implement clk_set_rate() (Some > implementations may be dummies, though). > > Signed-off-by: Geert Uytterhoeven > This seems okay by me. You

Re: [PATCH v2 08/12] macintosh/via-pmu68k: Don't load driver on unsupported hardware

2018-06-12 Thread Michael Schmitz
Hi, On Tue, Jun 12, 2018 at 6:53 PM, Laurent Vivier wrote: > On 12/06/2018 01:47, Finn Thain wrote: >> On Sun, 10 Jun 2018, Benjamin Herrenschmidt wrote: > ... >> I don't know what the bootloader situation is, but it looks messy... >> http://nubus-pmac.sourceforge.net/#booters >> >> Laurent, does