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

Linus Walleij linus.walleij at linaro.org
Mon Oct 16 05:00:33 PDT 2017


On Thu, Oct 12, 2017 at 2:40 PM, Jerome Brunet <jbrunet at baylibre.com> 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 at baylibre.com>
> Reviewed-by: Kevin Hilman <khilman at baylibre.com>
> Signed-off-by: Jerome Brunet <jbrunet at baylibre.com>

Patch applied.

Yours,
Linus Walleij



More information about the linux-amlogic mailing list