After the introduction of "33c24b sched: add cpu isolation support"
select_fallback_rq() might sometimes be unable find any CPU to place
a task on. This happens when the all online CPUs are isolated and
the allow isolated flag is set to false. In such cases, we have
little choice but to use an isolated CPU and wait for core control
to eventually un-isolate one or more online CPUs.
Change-Id: Id8738bd8493c11731c5491efcc99eb90f051233e
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
Currently hs_vref is set to 1.5v and causes mic voltage
to go above 1.5v during audio playback at maximum volume.
Increase the threshold to 1.6v to avoid getting fake plug
removal.
CRs-Fixed: 1066750
Change-Id: I7e5788eda609821792718a276e6fe5fa97e68a4a
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
A timer might be running when we are trying to move the timer to another
CPU so ensure that we wait for the timer to finish before migrating.
Change-Id: I4c9ee39c715baebfbdb8a50476a475e38b092f70
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
On VADC_HC peripheral the ADC code can extend beyond
0-0x4000 range if the input is below 0V or if the
offset and gain error needs to be calibrated out.
Clamp the values for cases where the code represents
the value below 0V.
Change-Id: I2ede3d86d812fbdf757395d92e08e70636e9965a
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
Support for TP10 color format on the capture port for HDR
video playback.
CRs-Fixed: 1067229
Change-Id: I96317fc58f1610e87180ef970104b0a3a4080595
Signed-off-by: Umesh Pandey <umeshp@codeaurora.org>
Add support for audio over TDM in msmcobalt.
Time-division multiplexing (TDM) is a method of
transmitting data in the time domain. This can
be used to support data rates that exceed that of
the transmitted signal or to have up to 8 channel
support on a bus that normally supports less in
the frequency domain.
CRs-fixed: 1070768
Change-Id: I20998435591c44d2ca1a7b6bd5eacac2af0611f6
Signed-off-by: Josh Kirsch <jkirsch@codeaurora.org>
Add support for TDM on msmcobalt.
Time-division multiplexing (TDM) is a method of
transmitting data in the time domain. This can
be used to support data rates that exceed that of
the transmitted signal or to have up to 8 channel
support on a bus that normally supports less in
the frequency domain.
CRs-fixed: 1070764
Change-Id: Id3cabe07ee92a7c3546eab304f650d397b94f7de
Signed-off-by: Josh Kirsch <jkirsch@codeaurora.org>
While sending data to WDSP do not wait for the intent to be available
for ever so that diag is not blocked to send data to other peripherals.
Change-Id: I5e410ebabf4e8066abedda147879444a38b8871b
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
Remove 48khz constraint for TDM use cases. This
change is needed to support more sampling rates for
TDM use cases.
CRs-fixed: 1073307
Change-Id: Ic42b2f9e7441ffb4e1bfe8211f85aadb72c22ed3
Signed-off-by: Josh Kirsch <jkirsch@codeaurora.org>
Currently the SOC in userspace is not being updated with the latest SOC
from the fuel gauge. Add power supply changed events when the delta SOC
interrupt fires, empty SOC interrupt fires, or when the charging status
changes to full.
Change-Id: I4bbf404639a97dcc443c9ecc8391623e2fff13fd
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
The fuel gauge can count the number of times the battery has charged
across a particular SOC range. Enable it.
Change-Id: I5adc7c2fca73aad765062360cf560eae2eee7d1e
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
The SOC range is divided into buckets. Whenever the battery is charged
across a bucket we increment the counter for that bucket. These cycle
counters are exposed through the "cycle_counter" property, and buckets
are selected by modifying the "cycle_counter_id" property.
Change-Id: I923c657132d071eff4b5bc61c00fb90de8dde62c
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Currently userspace will be notified whenever the Type-C changed
interrupt fires. The charging status reflects whether or not the charger
has a valid input power source. The valid input power source status
follows vbus and not the Type-C changed logic, so in some cases the
charging status may not yet be updated when the userpace is notified
that the USB power supply has changed.
Send a USB power supply changed event when both the Type-C changed
interrupt fires, and the USB plugin interrupt fires.
Change-Id: I50cdd8c706b10f08dc7f322ea02358f3dbce521e
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>