Re: [PATCH 09/21] pata: remove samsung_cf driver

From: Krzysztof Kozlowski
Date: Mon Oct 24 2022 - 10:08:23 EST


On 21/10/2022 16:27, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> This device was only used by the smdk6410 board file that is now
> gone, so the driver can be removed as well.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> ---
> drivers/ata/Kconfig | 10 -
> drivers/ata/Makefile | 1 -
> drivers/ata/pata_samsung_cf.c | 662 -------------------
> include/linux/platform_data/ata-samsung_cf.h | 31 -
> 4 files changed, 704 deletions(-)
> delete mode 100644 drivers/ata/pata_samsung_cf.c
> delete mode 100644 include/linux/platform_data/ata-samsung_cf.h
>
> diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
> index 6b446cfc3455..3b8cb7a29efd 100644
> --- a/drivers/ata/Kconfig
> +++ b/drivers/ata/Kconfig
> @@ -1136,16 +1136,6 @@ config PATA_RZ1000
>
> If unsure, say N.
>
> -config PATA_SAMSUNG_CF
> - tristate "Samsung SoC PATA support"
> - depends on SAMSUNG_DEV_IDE || COMPILE_TEST
> - select PATA_TIMINGS
> - help
> - This option enables basic support for Samsung's S3C/S5P board
> - PATA controllers via the new ATA layer
> -

This driver is present and somehow usable on newer platform: S5PV210.
It's not converted to DT, but someone might want to do it. OTOH, if no
one added DT for all this time, I doubt anyone will.
Postmarket/Lineage-folks target smartphones, so don't use it.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

Best regards,
Krzysztof