linux-stable/include/linux/clk
Samuel Holland 91389c3905
clk: sunxi-ng: Allow the CCU core to be built as a module
Like the individual CCU drivers, it can be beneficial for memory
consumption of cross-platform configurations to only load the CCU core
on the relevant platform. For example, a generic arm64 kernel sees the
following improvement when building the CCU core and drivers as modules:

  before:
    text      data     bss     dec       hex      filename
    13882360  5251670  360800  19494830  12977ae  vmlinux

  after:
    text      data     bss     dec       hex      filename
    13734787  5086442  360800  19182029  124b1cd  vmlinux

So the result is a 390KB total reduction in kernel image size.

The one early clock provider (sun5i) requires the core to be built in.

Now that loading the MMC driver will trigger loading the CCU core, the
MMC timing mode functions do not need a compile-time fallback.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20211119033338.25486-5-samuel@sholland.org
2021-11-23 10:29:05 +01:00
..
analogbits-wrpll-cln28hpc.h clk: analogbits: add Wide-Range PLL library 2019-05-03 09:20:48 -07:00
at91_pmc.h clk: at91: add register definition for sama7g5's master clock 2021-07-19 14:28:56 +02:00
clk-conf.h clk: add include guard to clk-conf.h 2019-09-17 10:27:46 -07:00
davinci.h clk: davinci: Fix link errors when not all SoCs are enabled 2018-05-30 12:48:49 -07:00
imx.h clk: imx: Move 'imx6sl_set_wait_clk()'s prototype out to accessible header 2021-01-30 22:13:23 +08:00
mmp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mxs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
renesas.h clk: renesas: Convert to SPDX identifiers 2018-09-28 17:16:37 -07:00
samsung.h clk: samsung: Allow compile testing of Exynos, S3C64xx and S5Pv210 2020-11-23 10:25:45 +01:00
spear.h clk: spear: Move prototype to accessible header 2021-02-11 11:56:06 -08:00
sunxi-ng.h clk: sunxi-ng: Allow the CCU core to be built as a module 2021-11-23 10:29:05 +01:00
tegra.h clk: tegra: Add stubs needed for compile testing 2021-10-05 19:08:11 +02:00
ti.h clk: ti: add am33xx/am43xx spread spectrum clock support 2021-06-08 17:49:16 -07:00
zynq.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00