msm: lpm_levels: remove rpm handshake in l2_gdhs mode

Remove rpm handshake in l2_gdhs mode and adjust the
latency values for l2_gdhs mode. Add a new dt entry to
inform lpm_levels driver to send sleep votes to rpm.

Signed-off-by: Anil kumar mamidala <amami@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
arm/dt: msm8974: Add data to enable dual mode config for Krait

Add the properties and device-tree data to enable
dual mode configuration for Krait. By default all bus masters
are configured in a single mode (Fixed/Bypass/Limiter/Regulator).
By default Krait is configured in Fixed mode.

In cases where BIMC runs at frequencies lower than 250 MHz,
Krait's bandwidth usage should be restricted to a certain
threshold value so that other masters like MDP do not get
starved.

At bandwidth requests below a certain threshold, Krait will
now be configured in Limiter mode, which will restrict its
bus usage. Above the threshold, Krait will be configured
in Fixed mode which will remove any restrictions on
bandwidth usage.

Dual-mode configuration enables setting the Krait in
both Limiter and Fixed mode based on the requirements stated
above.

Change-Id: I5bebafbf74093e3ab7076e021bf4f6a624390f37
Signed-off-by: Gagan Mac <gmac@codeaurora.org>
ARM: dts: msm: Remove dual configuration for CPU on msm8974

Remove the dual configuration for CPU master on msm8974. The original
intent of this feature was to overcome some bus limitations in certain
usecases. However new desgin impovements have made this feature requirement
obsolete.

Change-Id: Ia0e61a59252c3f90fd32054fe1a5a9297afbc89c
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
ARM: dts: Reintroduce dual config for CPU on msm8974

Reintroduce the dual configuration mode for CPU masters on msm8974.
This will enable throttling of CPU in certain low bandwidth usecases
to alleviate timeline issues for other real time masters in the SOC.

Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
ARM: dts: Modify BKE limiting for Krait master

Modify the BKE limiting properties for Krait master by setting up 2
levels of threshold checks and limiting bandwidth values to be applied.
These levels of throttling are needed in certain concurrency usecases to
protect real time masters from surges in bus usage from some APSS masters.

Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
Signed-off-by: Akhila Musunuri <makhila@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>