Skip to content

RFC Add driver for dvfsrc and add support for active state of scpsys on mt8183

Henry Chen linux-arm-kernel linux-devicetree linux-mediatek linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest7 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7dt-bindings: soc: Add DVFSRC driver bindingsDocumentation/devicetree/bindings/soc/mediatek/dvfsrc.txt include/dt-bindings/soc/mtk,dvfsrc.h+44 -00 replies
2/7dt-bindings: soc: Add opp table on scpsys bindingsDocumentation/devicetree/bindings/opp/mtk-opp.txt Documentation/devicetree/bindings/soc/mediatek/scpsys.txt+66 -00 replies
3/7soc: mediatek: add support for the performance statedrivers/soc/mediatek/mtk-scpsys.c drivers/soc/mediatek/mtk-scpsys.h+82 -03 replies
4/7arm64: dts: mt8183: add performance state support of scpsysarch/arm64/boot/dts/mediatek/mt8183.dtsi+21 -00 replies
5/7soc: mediatek: add header for mediatek SIP interfaceinclude/soc/mediatek/mtk_sip.h+17 -00 replies
6/7soc: mediatek: add MT8183 dvfsrc supportdrivers/soc/mediatek/Kconfig drivers/soc/mediatek/Makefile drivers/soc/mediatek/mtk-dvfsrc.c+489 -03 replies
7/7arm64: dts: mt8183: add dvfsrc related nodesarch/arm64/boot/dts/mediatek/mt8183.dtsi+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/7] Add driver for dvfsrc and add support for active state of scpsys on mt8183

The patchsets add support for MediaTek hardware module named DVFSRC (dynamic voltage and frequency scaling resource collector). The DVFSRC is a HW module which is used to collect all the requests from both software and hardware and turn into the decision of minimum operating voltage and minimum DRAM frequency to fulfill those requests.

So, This series is to implement the dvfsrc driver to collect all the requests of operating voltage or DRAM bandwidth from other device drivers likes GPU/Camera through 2 frameworks basically:

1. PM_QOS_MEMORY_BANDWIDTH from PM QOS: to aggregate the bandwidth requirements from different clients
2. Active state management of power domains[1]: to handle the operating voltage opp requirement from different power domains

[1] https://lwn.net/Articles/744047/