Request the Nominal Fmax as the boot frequency for
each cluster during probe. This is done to ensure reasonable
boot time.
CRs-Fixed: 994035
Change-Id: Ic2dac9bdc1cd9f9b8d236997eba2e63295d6b4c0
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
Display driver has a timeout to avoid prematurely turning
off audio engine. Add teardown function call to ensure
that display driver can turn off audio engine once audio
driver acknowledges the shutdown, so display driver
doesn't have to wait for the entire timeout period.
CRs-Fixed: 1075659
Change-Id: Ib8211a85543b659b7b19a6ebb85382dbbbecfec6
Signed-off-by: Garmond Leung <garmondl@codeaurora.org>
Instead of setting charge_done property from smb-lib when
handling chg_state_change interrupt, move it to a separate
function which reads the hardware register directly and
updates it. Since this doesn't require a set_property callback,
remove it.
Change-Id: I1005b135f5e16111257902413ef2b44c09cb1cfc
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
This change enables USB MIDI class function driver using
CONFIG_USB_CONFIGFS_F_MIDI.
Change-Id: I969ae3a99f2987abeca51823fe346f383cb23b55
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
The clock gating work has been moved to using hrtimer based
delay guaranteeing hibern8 to finish before we gate the clocks.
This allows us to gate the ref clock along with other ufs clocks
during aggressive clock gating. The latencies involved in voting/
devoting ref clk is acceptable and helps in saving more power.
Change-Id: I92b86fad25041311d00fbfc58b3d5620ade7ee38
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
The PA_Hibern8Time and PA_TActivate time in most devices are well
under 1ms combined thereby the overall hibern8 enter/exit latencies
are under 1ms as well. Entering hibern8 as soon as possible saves
power consumption, hence reduce the auto hibern8 timeout to 1ms.
Change-Id: If58590fc397ec8eb88906c103247bb48710805db
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
Clock gating work must be executed only after auto hibern8
timeout has expired in the hardware or after aggressive
hibern8 on idle software timeout. Using jiffy based low
resolution delayed work is not reliable to guarantee this,
hence use a high resolution timer to make sure we schedule
the gate work precisely more than hibern8 timeout.
Change-Id: Ib2119bc58a1cdb7a5908db1b8775cb4f13db18f7
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
In some cases with IPA3 received qmi_service_exit from
modem but still uses invalid qmi-handler to send QMI-msg
to modem which leads to crash. The fix is to add the
check before sending QMI msg to modem.
Change-Id: Iac48747a188b234cc640285e181984985fc3c012
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>