Refactor infracfg drivers to be able to use common helpers
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | clk: mediatek: clk-mtk: Add cpumux support to common probe/remove helpersdrivers/ drivers/ | +19 | 1 reply | |
| 2/3 | clk: mediatek: mt6795-infracfg: Switch to common probe/remove helpersdrivers/ | +11 | 0 replies | |
| 3/3 | clk: mediatek: mt7622-infracfg: Switch to common probe/remove helpersdrivers/ | +11 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Chen-Yu Tsai |
|---|---|
| 1/3 | R-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] Refactor infracfg drivers to be able to use common helpers
This series extends the MediaTek clock common framework to support cpumux and converts existing infracfg drivers to use the common helpers.
Currently, many MediaTek clock drivers implement their own probe and remove functions, leading to significant code duplication. By extending the mtk_clk_desc structure and the __mtk_clk_simple_probe/remove functions, we can handle these sequences in a unified way.
Summary of changes:
- Patch 1: Add cpumux support to common mtk_clk_simple_probe/remove.
- Patch 2: Convert MT6795 infracfg driver to the common helpers.
- Patch 3: Convert MT7622 infracfg driver to the common helpers.
Akari Tsuyukusa (3):
clk: mediatek: clk-mtk: Add cpumux support to common probe/remove
helpers
clk: mediatek: mt6795-infracfg: Switch to common probe/remove helpers
clk: mediatek: mt7622-infracfg: Switch to common probe/remove helpers
drivers/clk/mediatek/clk-mt6795-infracfg.c | 70 ++++------------------ drivers/clk/mediatek/clk-mt7622-infracfg.c | 70 ++++------------------ drivers/clk/mediatek/clk-mtk.c | 18 +++++- drivers/clk/mediatek/clk-mtk.h | 2 + 4 files changed, 41 insertions(+), 119 deletions(-)
Signature · 1 line
2.52.0