Re: [PATCH] pinctrl: samsung: modularize samsung pinctrl driver

From: Linus Walleij
Date: Wed Nov 27 2019 - 02:58:34 EST


On Tue, Nov 26, 2019 at 2:14 AM Hyunki Koo <hyunki00.koo@xxxxxxxxxxx> wrote:

> I would like to apply GKI on the pinctrl driver
> So I would like to cut off dependency from ARCH_EXYNOS.

If the pins need to be configured for the system to boot that needs
to be in the big kernel image anyway. And then it should be bool.

Example: to mount the root filesystem on external flash pin
configuration needs to happen.

There is a slight paradigm shift sometimes: in distribution
kernels it might be required that necessary modules are
included in an initramfs attached to the kernel. I do not know
if we want to encourage that type of configuration for embedded
ARM.

Yours,
Linus Walleij