Skip to content

Introduce MediaTek CCI devfreq driver

Johnson Wang linux-arm-kernel linux-devicetree linux-mediatek linux-pm lkml 7 versions – Applied

Status from this message: Applied them. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest2 patches 5 repliesApplied
  2. v62 patches 7 repliesSuperseded
  3. v52 patches 2 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v4 posting 2/22 patches7 repliesSuperseded
v4 posting 1/22 patches0 repliesSuperseded
v32 patches21 repliesSuperseded
v22 patches12 repliesSuperseded

Changes in v7 from the cover letter

- remove the 'ret' printing from dev_err_probe().

Patches in v7 Applied

#Subject and filesSizeRepliesApplied
1/2dt-bindings: interconnect: Add MediaTek CCI dt-bindingsDocumentation/devicetree/bindings/interconnect/mediatek,cci.yaml MAINTAINERS+142 -02 replies
2/2PM / devfreq: mediatek: Introduce MediaTek CCI devfreq driverdrivers/devfreq/Kconfig drivers/devfreq/Makefile drivers/devfreq/mtk-cci-devfreq.c+451 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchChanwoo ChoiKrzysztof KozlowskiChen-Yu TsaiAngeloGioacchino Del RegnoGeorgi DjakovKevin Hilman
SeriesT-b
1/2A-b R-b R-b R-b A-b
2/2A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v7 thread

Cover letter [PATCH v7 0/2] Introduce MediaTek CCI devfreq driver

The Cache Coherent Interconnect (CCI) is the management of cache coherency by hardware. CCI DEVFREQ is DVFS driver for power saving by scaling clock frequency and supply voltage of CCI. CCI uses the same input clock source and power rail as LITTLE CPUs on Mediatek SoCs.

This series depends on:
Chanwoo's repo: kernel/git/chanwoo/linux.git
branch: devfreq-testing
[1]: PM / devfreq: Export devfreq_get_freq_range symbol within devfreq [2]: PM / devfreq: Add cpu based scaling support to passive governor [3]: PM / devfreq: passive: Reduce duplicate code when passive_devfreq case [4]: PM / devfreq: passive: Update frequency when start governor

Changes in v7:
- remove the 'ret' printing from dev_err_probe().

Changes in v6:
- Remove unnecessary "goto" statement.

Changes in v5:
- Modify some binding description.
- Remove pre_voltage member.
- Not to enable/disable intermediate clock.
- Not to "put" resources that using devm_ variants.

Resend v4:
- CC interconnect maintainer.
- Change sign-off sequence in commit message.

Changes in v4:
- Add a maintainer in the binding document.
- Modify clock description.
- Add binding document into MAINTAINERS.
- Replace format specifier %d with %ld.

Changes in v3:
- Move binding document to 'interconnect' and rename it.
- Add COMPILE_TEST dependence symbol.
- Remove need_voltage_tracking variable.
- Move mtk_ccifreq_voltage_tracking() code into mtk_ccifreq_set_voltage().
- Add an interation limit in the while() loop.
- Replace 'cci_dev' with 'dev'
- Replace old_* with pre_*
- Remove of_match_ptr()
- Use module_platform_driver()

Changes in v2:
- Take MT8183 as example in binding document.
- Use dev_err() instead of pr_err().
- Use 'goto' statement to handle error case.
- Clean up driver code.

Johnson Wang (2):
dt-bindings: interconnect: Add MediaTek CCI dt-bindings PM / devfreq: mediatek: Introduce MediaTek CCI devfreq driver

 .../bindings/interconnect/mediatek,cci.yaml   | 140 ++++++
 MAINTAINERS                                   |   1 +
 drivers/devfreq/Kconfig                       |  10 +
 drivers/devfreq/Makefile                      |   1 +
 drivers/devfreq/mtk-cci-devfreq.c             | 474 ++++++++++++++++++
 5 files changed, 626 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/interconnect/mediatek,cci.yaml
 create mode 100644 drivers/devfreq/mtk-cci-devfreq.c
Signature · 1 line
2.18.0