[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210928073922.34264-1-samuel@sholland.org>
Date: Tue, 28 Sep 2021 02:39:18 -0500
From: Samuel Holland <samuel@...lland.org>
To: Maxime Ripard <mripard@...nel.org>, Chen-Yu Tsai <wens@...e.org>,
Jernej Skrabec <jernej.skrabec@...il.com>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>
Cc: linux-arm-kernel@...ts.infradead.org, linux-clk@...r.kernel.org,
linux-sunxi@...ts.linux.dev, linux-kernel@...r.kernel.org,
Samuel Holland <samuel@...lland.org>
Subject: [PATCH v2 0/4] clk: sunxi-ng: Module support
This series allows the CCU core and drivers to be loaded/unloaded as
modules. As part of this, patch 3 converts most of the early OF clock
providers to platform drivers.
Changes from v1:
- Patches 1-3 of 8 were merged.
- Name modules using Makefile logic, not by renaming the source files.
(Drop patch 4 of 8).
- Export symbols to the SUNXI_CCU namespace.
Samuel Holland (4):
clk: sunxi-ng: Export symbols used by CCU drivers
clk: sunxi-ng: Allow drivers to be built as modules
clk: sunxi-ng: Convert early providers to platform drivers
clk: sunxi-ng: Allow the CCU core to be built as a module
drivers/clk/Makefile | 2 +-
drivers/clk/sunxi-ng/Kconfig | 39 +++++-----
drivers/clk/sunxi-ng/Makefile | 97 +++++++++++++++---------
drivers/clk/sunxi-ng/ccu-sun4i-a10.c | 58 ++++++++------
drivers/clk/sunxi-ng/ccu-sun50i-a100-r.c | 4 +-
drivers/clk/sunxi-ng/ccu-sun50i-a100.c | 4 +-
drivers/clk/sunxi-ng/ccu-sun50i-a64.c | 7 +-
drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c | 56 +++++++++-----
drivers/clk/sunxi-ng/ccu-sun50i-h6.c | 7 +-
drivers/clk/sunxi-ng/ccu-sun50i-h616.c | 33 +++++---
drivers/clk/sunxi-ng/ccu-sun6i-a31.c | 40 +++++++---
drivers/clk/sunxi-ng/ccu-sun8i-a23.c | 35 ++++++---
drivers/clk/sunxi-ng/ccu-sun8i-a33.c | 40 +++++++---
drivers/clk/sunxi-ng/ccu-sun8i-a83t.c | 7 +-
drivers/clk/sunxi-ng/ccu-sun8i-de2.c | 9 ++-
drivers/clk/sunxi-ng/ccu-sun8i-h3.c | 62 ++++++++++-----
drivers/clk/sunxi-ng/ccu-sun8i-r.c | 65 +++++++++-------
drivers/clk/sunxi-ng/ccu-sun8i-r40.c | 6 +-
drivers/clk/sunxi-ng/ccu-sun8i-v3s.c | 57 ++++++++------
drivers/clk/sunxi-ng/ccu-sun9i-a80-de.c | 7 +-
drivers/clk/sunxi-ng/ccu-sun9i-a80-usb.c | 7 +-
drivers/clk/sunxi-ng/ccu-sun9i-a80.c | 7 +-
drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c | 38 +++++++---
drivers/clk/sunxi-ng/ccu_common.c | 5 ++
drivers/clk/sunxi-ng/ccu_div.c | 1 +
drivers/clk/sunxi-ng/ccu_gate.c | 1 +
drivers/clk/sunxi-ng/ccu_mp.c | 2 +
drivers/clk/sunxi-ng/ccu_mult.c | 1 +
drivers/clk/sunxi-ng/ccu_mux.c | 2 +
drivers/clk/sunxi-ng/ccu_nk.c | 1 +
drivers/clk/sunxi-ng/ccu_nkm.c | 1 +
drivers/clk/sunxi-ng/ccu_nkmp.c | 1 +
drivers/clk/sunxi-ng/ccu_nm.c | 1 +
drivers/clk/sunxi-ng/ccu_phase.c | 1 +
drivers/clk/sunxi-ng/ccu_reset.c | 1 +
drivers/mmc/host/Kconfig | 1 +
include/linux/clk/sunxi-ng.h | 15 ----
37 files changed, 470 insertions(+), 251 deletions(-)
--
2.31.1
Powered by blists - more mailing lists