Re: [PATCH v3 1/2] pinctrl: meson: separate soc drivers

From: Linus Walleij
Date: Mon Oct 16 2017 - 08:00:40 EST


On Thu, Oct 12, 2017 at 2:40 PM, Jerome Brunet <jbrunet@xxxxxxxxxxxx> wrote:

> When meson pinctrl is enabled, all meson platforms pinctrl drivers are
> built in the kernel, with a significant amount of data.
>
> This leads to situation where pinctrl drivers targeting an architecture
> are also compiled and shipped on another one (ex: meson8 - ARM - compiled
> and shipped on ARM64 builds). This is a waste of memory we can easily
> avoid.
>
> This change makes 4 pinctrl drivers (1 per SoC) out the original single
> driver, allowing to compile and ship only the ones required.
>
> Reviewed-by: Neil Armstrong <narmstrong@xxxxxxxxxxxx>
> Reviewed-by: Kevin Hilman <khilman@xxxxxxxxxxxx>
> Signed-off-by: Jerome Brunet <jbrunet@xxxxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij