Move the logging after calculating Vmax so that the right Vmax value
can be printed out.
Change-Id: I8d916a13685c8d85f1363e7a8bc766aeb4d5e2ba
Signed-off-by: Hui Liu <quic_huliu@quicinc.com>
On SKUs with MSM + Co-proc there can be possiblity that
because of Interrupts enabled from MSM side (SPMI) the exit
of LPM might not work because PBS gets locked because of
which the sequence to exit LPM might not get triggered.
Add support for shutdown callback and disable INT in shutdown
cb to ensure that INT are disabled before entering LPM.
Change-Id: I29bafb72bef3a5591839015f2a598fa4ad85072a
Signed-off-by: Umang Chheda <quic_uchheda@quicinc.com>
Primitive effect is very similar to predefined effect
which has been supported and each primitive effect has
an unique id defined in "qcom,primitive-id" devicetree
property. Add support for it.
Change-Id: I4a03dd09e97f1b7988d4ab87e1cf78f075b05101
Signed-off-by: Hui Liu <quic_huliu@quicinc.com>
Free/request the fifo empty interrupt during the DeepSleep and
hibernate entry or exit respectively. Also restore the hardware
initial configuration done during the boot.
Change-Id: I6b0d4838a6d1c48869ca760d4e93788440983b3c
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
In the boot up LRA frequency calibration sequence, CAL_TLRA_CL_STS
is read out and stored in SDAM module registers by the bootloader.
Later, the HLOS haptics driver can read it from there and use it
for calculating LRA frequency. Enable the same for PM5100 PMIC.
Change-Id: Ia5e307e5d536a42b29ab05e9888640121188312c
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Move the logging after calculating Vmax so that the right Vmax value
can be printed out.
CRs-Fixed: 3227145
Change-Id: I17b64f9e3a230058b7e30ca4c30de4d3000d1f87
Signed-off-by: Fenglin Wu <quic_fenglinw@quicinc.com>
When hBoost is working in open-loop mode, it's supposed to be used by
other modules like the charger firmware and it shouldn't be turned off
by haptics driver. Ignore turning on and off hBoost in such case.
Change-Id: Id3eb2c37cf7316b4617872614cc2a7adc50d12d8
Signed-off-by: Fenglin Wu <quic_fenglinw@quicinc.com>
Print in hex when a read/write to an address fails.
Change-Id: I35dddaa33d18f72079ec3d814a36fd304cd0f331
Signed-off-by: Subbaraman Narayanamurthy <quic_subbaram@quicinc.com>
Add device_match_of_node and also make sure that the list is
alphabetically sorted.
Change-Id: I23209f86e191d14d7c48cea7d57349b3d441727c
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
Some external drivers use gh_mem_notifier_register() but not
gh_mem_notifier_unregister(). This leads to an unused function warning
during compilation, which then manifests as an error when -Werror is
enabled.
Add compiler attribute __maybe_unused to both functions to fix the above
error.
Change-Id: I42585f89c6aa4148ef1d1f72d3a8581e23e08110
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
Update Usecase id for LLCC_VIDVSP as per hardware settings.
Change-Id: I92493bf7cfb8625748b22b111995cabc71feb1a1
Signed-off-by: Jeevan Shriram <quic_jshriram@quicinc.com>
Enable panicking upon notification timeout and also increase timeout
values to 20 s from the default 10 s.
Change-Id: Ie777d2cc7a2cd5c5ae91a49a6601ab5482fd8758
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
Introduce null APIs for supporting compilation of client drivers.
Change-Id: I553d8b8987818beaf4b3abd33198c2cbea1309f6
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
Add build config and defconfig for msm-pineapple branch
on kalama kernel platform.
Change-Id: Iffa39f9a06c15d4790088c5d10a6aebe84eef4a1
Signed-off-by: Peng Yang <quic_penyan@quicinc.com>
Bring the qti_virtio_mem UAPI header from msm-5.15, taken from commit
957fe56b98e0 ("Merge "sched/walt: disable cpu packing when current
freq is high"").
Change-Id: If3511d61075498f596ee2de5cba0a49108154d42
Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
Some driver may probe before RM driver, so we need return probe defer to
let these driver use RM call after RM device is ready.
Change-Id: I65cf5eab7b99ca2a58c32f2d83794a210350fb05
Signed-off-by: Cong Zhang <quic_congzhan@quicinc.com>
Add task info collection to minidump, and MINIDUMP_ALL_TASK_INFO
is used to config only runnable or all task info need to collect.
Also change runqueue dump format to only print pid, since detailed
task info is in task info collection.
Change-Id: I14366db4f6e20767fed11e94ff6b1baf8892fb1b
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
ADD DCC and memory dump modules for pineapple.
Change-Id: Ib0dbd4de2ef2a29809057a62571bafb47a088848
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
Enable DCC and memory dump V2 driver for DCC dump and memory dump
functions.
Change-Id: I54b918b2dc34e72e6664b9dbe446654b320b6927
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
Add support for a streaming interface for TMC ETR to allow for continuous
log collection to secondary storage. An interrupt based mechanism is used
to stream out the data from the device. The streaming interface cannot be
used in conjunction with the traditional ETR read operation. And remove the
support of sw usb from byte-cntr.
Change-Id: I23f30f2df72e58b13481a2f230212534745edadb
Signed-off-by: Tao Zhang <quic_taozha@quicinc.com>
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
Remove duplicate coresight_get_source function to fix the compile
error.
Change-Id: I0057958e48536f273790a03e152002d4d31f2497
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
When requesting immediate conversion for an ADC channel which
has TM functionality configured on channel 0 of second or
further SDAM, if the same channel 0 is used for immediate
conversion request, it will override the TM configuration
done earlier on that channel. To avoid this, use channel 0
of first SDAM alone for immediate conversion requests.
Change-Id: Iebcd324df999df736f997c106d57e454088ec54d
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
Add new msgq label for OEMVM vcpu test, the msgq is between PVM and
OEMVM.
Change-Id: I8fcc2a9352fc48bd8aa6fc27c135c240d9d149ac
Signed-off-by: Cong Zhang <quic_congzhan@quicinc.com>
OEMVM not ready now. Only build TUIVM on pineapple.
Change-Id: I6587b59dd575e5f2f329d3c5cc9a758b86df8ba6
Signed-off-by: Peng Yang <quic_penyan@quicinc.com>
__ioremap not available for new kernel version.
Change __ioremap to ioremap_cache to fix compilation
issue.
Change-Id: I60eb98d68f1ed968133ef3017b498e77e6aaf297
Signed-off-by: Peng Yang <quic_penyan@quicinc.com>
There are CONFIGs which default enabled are not appliable
on the latest kernel. Rerun the menuconfig to validate the
VM kernel configs.
Change-Id: Ie35c68284064a0f9c25e715f0a19f8910e2fdb00
Signed-off-by: Murali Nalajala <quic_mnalajal@quicinc.com>