All of lore.kernel.org
 help / color / mirror / Atom feed
* [RESEND PATCH 0/4] clk: mediatek: modularize COMMON_CLK_MT6779
@ 2021-08-13  3:24 ` Miles Chen
  0 siblings, 0 replies; 27+ messages in thread
From: Miles Chen @ 2021-08-13  3:24 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Matthias Brugger
  Cc: Wendell Lin, Hanks Chen, linux-clk, linux-kernel,
	linux-arm-kernel, linux-mediatek, wsd_upstream, Miles Chen

This patch set makes COMMON_CLK_MEDIATEK and COMMON_CLK_MT6779*
be able to built as kernel modules. Necessary symbols are exported
in this patch.

In previous discussion [1], Stephen commented that there must
be a user before exporting a symbol:

"
Is the mediatek driver compilable as a module? Last time I checked it
wasn't a module. I want an upstream modular driver that uses the symbol.
Otherwise we're exporting symbols when it doesn't need to be.
"

[1] https://lore.kernel.org/patchwork/patch/1278089/

Miles Chen (4):
  clk: composite: export clk_register_composite
  clk: mediatek: modularize COMMON_CLK_MEDIATEK
  clk: mediatek: modularize COMMON_CLK_MT6779*
  clk: mediatek: use tristate for COMMON_CLK_MEDAITEK and
    COMMON_CLK_MT6779

 drivers/clk/clk-composite.c            |  1 +
 drivers/clk/mediatek/Kconfig           | 20 ++++++++++----------
 drivers/clk/mediatek/clk-apmixed.c     |  3 +++
 drivers/clk/mediatek/clk-cpumux.c      |  3 +++
 drivers/clk/mediatek/clk-gate.c        |  8 ++++++++
 drivers/clk/mediatek/clk-mt6779-aud.c  |  2 ++
 drivers/clk/mediatek/clk-mt6779-cam.c  |  2 ++
 drivers/clk/mediatek/clk-mt6779-img.c  |  2 ++
 drivers/clk/mediatek/clk-mt6779-ipe.c  |  2 ++
 drivers/clk/mediatek/clk-mt6779-mfg.c  |  2 ++
 drivers/clk/mediatek/clk-mt6779-mm.c   |  2 ++
 drivers/clk/mediatek/clk-mt6779-vdec.c |  2 ++
 drivers/clk/mediatek/clk-mt6779-venc.c |  2 ++
 drivers/clk/mediatek/clk-mt6779.c      |  2 ++
 drivers/clk/mediatek/clk-mtk.c         |  8 ++++++++
 drivers/clk/mediatek/clk-mux.c         |  4 ++++
 drivers/clk/mediatek/clk-pll.c         |  4 ++++
 drivers/clk/mediatek/reset.c           |  2 ++
 18 files changed, 61 insertions(+), 10 deletions(-)

-- 
2.18.0


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2021-09-01 22:06 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-13  3:24 [RESEND PATCH 0/4] clk: mediatek: modularize COMMON_CLK_MT6779 Miles Chen
2021-08-13  3:24 ` Miles Chen
2021-08-13  3:24 ` Miles Chen
2021-08-13  3:24 ` [RESEND PATCH 1/4] clk: composite: export clk_register_composite Miles Chen
2021-08-13  3:24   ` Miles Chen
2021-08-13  3:24   ` Miles Chen
2021-08-13  3:24 ` [RESEND PATCH 2/4] clk: mediatek: support COMMON_CLK_MEDIATEK module build Miles Chen
2021-08-13  3:24   ` Miles Chen
2021-08-13  3:24   ` Miles Chen
2021-08-13  3:24 ` [RESEND PATCH 3/4] clk: mediatek: support COMMON_CLK_MT6779 " Miles Chen
2021-08-13  3:24   ` Miles Chen
2021-08-13  3:24   ` Miles Chen
2021-08-29  4:14   ` Stephen Boyd
2021-08-29  4:14     ` Stephen Boyd
2021-08-29  4:14     ` Stephen Boyd
2021-08-30 18:43     ` Miles Chen
2021-08-30 18:43       ` Miles Chen
2021-08-30 18:43       ` Miles Chen
2021-09-01  5:32       ` Stephen Boyd
2021-09-01  5:32         ` Stephen Boyd
2021-09-01  5:32         ` Stephen Boyd
2021-09-01 22:04         ` Miles Chen
2021-09-01 22:04           ` Miles Chen
2021-09-01 22:04           ` Miles Chen
2021-08-13  3:24 ` [RESEND PATCH 4/4] clk: mediatek: use tristate for COMMON_CLK_MEDAITEK and COMMON_CLK_MT6779 Miles Chen
2021-08-13  3:24   ` Miles Chen
2021-08-13  3:24   ` Miles Chen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.