add a debugfs interface to support testbus also add an interface for
dumping testbus information, module parameters tcu_testbus_sel and
tbu_testbus_sel can be used for selecting different testbuses to dump
on tcu and tbu respectively.
Change-Id: I1bf420db053458b2ce1f43dc544c0776a3f4d176
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
[isaacm@codeaurora.org: introduced CONFIG_ARM_SMMU_TESTBUS_DEBUGFS]
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
[guptap@codeaurora.org: resolved merge conflict]
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
While executing suspend_noirq callbacks non-wakeup interrupts are
disabled, wake-up interrupts are enabled but their handling is
deferred till the completion of suspend_noirq stage.
UART console vote/unvote the resources in suspend_noirq/resume_noirq
stages. There is no issue wrt managing clk and pinctrl resources at
noirq stage however ICC BW voting can't be done at noirq stage.
ICC requests are converted to ack based requested for RPM driver, the
ack here is nothing but interrupt from IPCC driver and it can't be
processed at noirq stage, hence flow is indefinitely stuck in UART
suspend_noirq callback.
Change-Id: Ie279580795d3c85db4dc42766b0b2d9a8adb3f00
Signed-off-by: Akash Asthana <akashast@codeaurora.org>
Added support for notifying hints from userspace
Change-Id: I3af1951614e4cd20826a595c6fca23b18c5a749b
Signed-off-by: richagar <richagar@codeaurora.org>
Add msm performance module function calls to send
kgsl queue, submit and retired events. These events
will be accessed by userspace through msm performance
module to apply dynamic performance boosts.
Change-Id: I6d93831e5fe821032b8e32c52e88b72ab102f6a2
Signed-off-by: Aman Mehta <amanmeht@codeaurora.org>
Enable memlat hw logging driver, required to collect
the logs from memlat hw, and dump in dedicated buffers
through ipc logging framework.
Change-Id: I391040be6bd110e96e96cdf0a3fbf7f34f0d9111
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
Add initial support of rimps logging, this driver introduces
the infrastructure required to collect the logs received from
rimps and dump into ipc logging buffers.
Change-Id: Ic7b86fcf5935ada5fa5008774a9363faa40960ce
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
Add initial support of rimps memlat interface driver, this driver
expose sysfs nodes required to configure memlat governor running
in rimps, it also supports the rimps dump utility required for
debugging.
Change-Id: Ibb691b601cf5c05b50dc31488a1653cc239fb0f1
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
Allow configuring the rising and falling hysteresis to allow better fine
tuning of the charge current across battery temperature thresholds.
Change-Id: I88419d0694f0e70a6f1115e144685381e29cfd96
Signed-off-by: Ashish Chavan <ashichav@codeaurora.org>
Add runtime_pm support for clock providers which have register access
requirements that aren't always satisfied.
Stop registers clocks previously flagged as CLK_IS_CRITICAL, since doing
so means the device is always active and suspend is never called.
Instead, just enable these clocks by default in HW during probe.
Change-Id: I34cf74080745b627b3978fafd9eb8bbde4bb655e
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
Resume and suspend devices in debugfs handlers around accessing HW
registers to prevent bus errors.
Change-Id: I9db208f0d82a504af60cf252e5d3691b9903f8cd
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
Add helper functions to suspend or resume the device associated with a
clk_regmap.
Change-Id: Ie4e47fce64e2052ffacdc3a8cd56fc69758d70fb
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>