Re: [PATCH v2 03/12] bus: stm32-fmc2-ebi: add STM32 FMC2 EBI controller driver
From: Boris Brezillon
Date: Thu Apr 16 2020 - 15:53:39 EST
On Wed, 15 Apr 2020 17:57:27 +0200
Christophe Kerello <christophe.kerello@xxxxxx> wrote:
> The driver adds the support for the STMicroelectronics FMC2 EBI controller
> found on STM32MP SOCs.
>
> Signed-off-by: Christophe Kerello <christophe.kerello@xxxxxx>
> Tested-by: Marek Vasut <marex@xxxxxxx>
> ---
> Changes in v2:
> - call 2 APIs to manage FMC2 enable/disable instead of ops
> - call 2 APIs to manage FMC2 NWAIT shared signal instead of ops
>
> drivers/bus/Kconfig | 11 +
> drivers/bus/Makefile | 1 +
> drivers/bus/stm32-fmc2-ebi.c | 1091 ++++++++++++++++++++++++++++++++++++++++++
Hm, I see that other memory bus controller drivers are placed under
drivers/memory/, any reason for choosing drivers/bus/? If that's where
we want to have all generic memory bus controllers to live it might be
worth moving existing drivers to the drivers/bus/ directory at some
point.