All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] clk: mediatek: Improvements to simple probe/remove and reset controller unregistration
@ 2022-05-19 13:47 ` Yassine Oudjana
  0 siblings, 0 replies; 57+ messages in thread
From: Yassine Oudjana @ 2022-05-19 13:47 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Matthias Brugger, Philipp Zabel
  Cc: Yassine Oudjana, Chen-Yu Tsai, Miles Chen,
	AngeloGioacchino Del Regno, Chun-Jie Chen,
	José Expósito, Rex-BC Chen, Yassine Oudjana,
	linux-mediatek, linux-clk, linux-arm-kernel, linux-kernel,
	~postmarketos/upstreaming

This series started as part of an earlier series adding support for the main
clock controllers on MediaTek MT6735[1]. It has since been split off and
expanded. It adds a new function to unregister a reset controller and expands
the mtk_clk_simple_probe/remove functions to support the main 5 types of clocks:
- PLLs		(new)
- Fixed clocks	(new)
- Fixed factors	(new)
- Muxes		(new)
- Gates		(supported previously)
This should allow it to be used in most clock drivers, resulting in reduced
code duplication. It will be used in MT6735 clock drivers in the upcoming v2
of the MT6735 main clock controller series.

Dependencies:
- clk: mediatek: Move to struct clk_hw provider APIs (series)
  https://patchwork.kernel.org/project/linux-mediatek/cover/20220510104804.544597-1-wenst@chromium.org/ 
- Cleanup MediaTek clk reset drivers and support MT8192/MT8195 (series)
  https://patchwork.kernel.org/project/linux-mediatek/cover/20220503093856.22250-1-rex-bc.chen@mediatek.com/
- Export required symbols to compile clk drivers as module (single patch)
  https://patchwork.kernel.org/project/linux-mediatek/patch/20220518111652.223727-7-angelogioacchino.delregno@collabora.com/

Yassine Oudjana (6):
  clk: mediatek: gate: Export mtk_clk_register_gates_with_dev
  clk: mediatek: Use mtk_clk_register_gates_with_dev in simple probe
  clk: mediatek: reset: Return reset data pointer on register
  clk: mediatek: reset: Implement mtk_unregister_reset_controller() API
  clk: mediatek: Unregister reset controller on simple remove
  clk: mediatek: Add support for other clock types in simple
    probe/remove

 drivers/clk/mediatek/clk-gate.c   |   1 +
 drivers/clk/mediatek/clk-mt8192.c |   7 +-
 drivers/clk/mediatek/clk-mtk.c    | 123 +++++++++++++++++++++++++-----
 drivers/clk/mediatek/clk-mtk.h    |  22 +++++-
 drivers/clk/mediatek/reset.c      |  41 ++++++----
 drivers/clk/mediatek/reset.h      |  20 +++--
 6 files changed, 167 insertions(+), 47 deletions(-)

-- 
2.36.1


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

end of thread, other threads:[~2022-05-20 11:02 UTC | newest]

Thread overview: 57+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-19 13:47 [PATCH 0/6] clk: mediatek: Improvements to simple probe/remove and reset controller unregistration Yassine Oudjana
2022-05-19 13:47 ` Yassine Oudjana
2022-05-19 13:47 ` Yassine Oudjana
2022-05-19 13:47 ` [PATCH 1/6] clk: mediatek: gate: Export mtk_clk_register_gates_with_dev Yassine Oudjana
2022-05-19 13:47   ` Yassine Oudjana
2022-05-19 13:47   ` Yassine Oudjana
2022-05-20  4:52   ` Chen-Yu Tsai
2022-05-20  4:52     ` Chen-Yu Tsai
2022-05-20  4:52     ` Chen-Yu Tsai
2022-05-20  8:31   ` AngeloGioacchino Del Regno
2022-05-20  8:31     ` AngeloGioacchino Del Regno
2022-05-20  8:31     ` AngeloGioacchino Del Regno
2022-05-19 13:47 ` [PATCH 2/6] clk: mediatek: Use mtk_clk_register_gates_with_dev in simple probe Yassine Oudjana
2022-05-19 13:47   ` Yassine Oudjana
2022-05-19 13:47   ` Yassine Oudjana
2022-05-20  4:49   ` Chen-Yu Tsai
2022-05-20  4:49     ` Chen-Yu Tsai
2022-05-20  4:49     ` Chen-Yu Tsai
2022-05-20  4:52     ` Chen-Yu Tsai
2022-05-20  4:52       ` Chen-Yu Tsai
2022-05-20  4:52       ` Chen-Yu Tsai
2022-05-20  8:31   ` AngeloGioacchino Del Regno
2022-05-20  8:31     ` AngeloGioacchino Del Regno
2022-05-20  8:31     ` AngeloGioacchino Del Regno
2022-05-19 13:47 ` [PATCH 3/6] clk: mediatek: reset: Return reset data pointer on register Yassine Oudjana
2022-05-19 13:47   ` Yassine Oudjana
2022-05-19 13:47   ` Yassine Oudjana
2022-05-20  5:56   ` Rex-BC Chen
2022-05-20  5:56     ` Rex-BC Chen
2022-05-20  5:56     ` Rex-BC Chen
2022-05-20  8:42   ` AngeloGioacchino Del Regno
2022-05-20  8:42     ` AngeloGioacchino Del Regno
2022-05-20  8:42     ` AngeloGioacchino Del Regno
2022-05-20  9:02     ` Chen-Yu Tsai
2022-05-20  9:02       ` Chen-Yu Tsai
2022-05-20  9:02       ` Chen-Yu Tsai
2022-05-20  9:08     ` Miles Chen
2022-05-20  9:08       ` Miles Chen
2022-05-20  9:08       ` Miles Chen
2022-05-20  9:41     ` Yassine Oudjana
2022-05-20  9:41       ` Yassine Oudjana
2022-05-20  9:41       ` Yassine Oudjana
2022-05-19 13:47 ` [PATCH 4/6] clk: mediatek: reset: Implement mtk_unregister_reset_controller() API Yassine Oudjana
2022-05-19 13:47   ` Yassine Oudjana
2022-05-19 13:47   ` Yassine Oudjana
2022-05-19 13:47 ` [PATCH 5/6] clk: mediatek: Unregister reset controller on simple remove Yassine Oudjana
2022-05-19 13:47   ` Yassine Oudjana
2022-05-19 13:47   ` Yassine Oudjana
2022-05-19 13:47 ` [PATCH 6/6] clk: mediatek: Add support for other clock types in simple probe/remove Yassine Oudjana
2022-05-19 13:47   ` Yassine Oudjana
2022-05-19 13:47   ` Yassine Oudjana
2022-05-20  9:13   ` Chen-Yu Tsai
2022-05-20  9:13     ` Chen-Yu Tsai
2022-05-20  9:13     ` Chen-Yu Tsai
2022-05-19 14:03 ` [PATCH 0/6] clk: mediatek: Improvements to simple probe/remove and reset controller unregistration Yassine Oudjana
2022-05-19 14:03   ` Yassine Oudjana
2022-05-19 14:03   ` Yassine Oudjana

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.