Commit graph android_kernel_sony_sdm845/drivers/devfreq/devfreq_devbw.c
Message SHA1
PM / devfreq: Disallow bind/unbind in devbw and simple-dev
For simple-dev and devbw platform driver does not
support the manual bind / unbind feature through sysfs,
when the governor is registered and started.
Suppress the bind / unbind calls using driver attribute.

Change-Id: Ide843476bdc3870c48f6557097ee549e7a794a22
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>

Santosh Mardi   commited 2018-07-05 17:55:29 +05:30
e4d5b2d5a6
PM / devfreq: devbw: Add suspend/resume APIs
Absence of traffic is guaranteed when the device sitting behind a devbw
device is suspended. In such cases, it is a waste of power to make non-zero
bandwidth votes or to scale the devbw device. So, provide APIs to
suspend/resume the devbw device as needed.

Change-Id: Id58072aec7a9710eb917f248d9b9bd08d3a1ec6a
Signed-off-by: Saravana Kannan <skannan@codeaurora.org>

Saravana Kannan   authored and   Stephen Boyd   commited 2017-03-21 16:51:49 -07:00
217b9b113c
msm: devfreq_cpubw: Add devfreq driver for CPU to DDR bandwidth voting
This driver registers itself as a devfreq device that allows devfreq
governors to make CPU to DDR IB/AB bandwidth votes. This driver allows the
governors to be agnostic of the bandwidth voting APIs, the number of CPU
master ports or DDR slave ports, the actual port numbers, the system
topology, the available DDR frequencies, etc.

Change-Id: If055ddd580afd41f9668b111e6c09a047488b2e0
Signed-off-by: Saravana Kannan <skannan@codeaurora.org>

Saravana Kannan   authored and   Stephen Boyd   commited 2017-03-21 16:51:48 -07:00
89445cffbd