Commit Graph

1115816 Commits

Author SHA1 Message Date
qctecmdr
e9121ba6f6 Merge "input: qcom-hv-haptics: Toggle EN_CTL for PM5100 v1.0" 2022-09-15 06:04:33 -07:00
qctecmdr
1b01aeed5c Merge "input: qcom-hv-haptics: move predefined effect preload logging" 2022-09-15 04:34:28 -07:00
qctecmdr
51372d1749 Merge "build.targets: Add pineapple and kkp vm to build target" 2022-09-14 21:52:33 -07:00
qctecmdr
009132fa2f Merge "soc: qcom: socinfo: Add revision 16 support in socinfo structure" 2022-09-14 19:44:36 -07:00
qctecmdr
404319eba7 Merge "dmaengine: msm_gpi: add GPI dmaengine driver snapshot for pineapple" 2022-09-14 19:44:35 -07:00
Mukesh Ojha
944bd60020 soc: qcom: socinfo: Add revision 16 support in socinfo structure
Below are some new fields are getting updated in socinfo
structure from bootloader under revision 16.
e.g

esku;
nproduct_code;
npartnamemap_offset;
nnum_partname_mapping;

Add the change in socinfo driver to accommodate this.

Change-Id: I11b5182c15af32da61cddbf4bb45d5aef390135a
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
Signed-off-by: Prasad Sodagudi <quic_psodagud@quicinc.com>
[quic_gurus@quicinc.com: Added missing break and fallthrough]
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
2022-09-13 13:56:34 -07:00
Anjelique Melendez
64dad0f665 defconfig: pineapple-gki: Enable several PMIC drivers
Enable PMIC PON, PON Log, GPIO, SPMI, SDAM, Flash, Tri LED, PWM, Haptics,
RTC, Reboot Mode, and Temp Alarm drivers for pineapple.

Change-Id: I7714eb3daa2f226a3713a86bf5b3e72ed747144a
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2022-09-13 11:49:21 -07:00
Shyam Kumar Thella
8928f602e0 input: qcom-hv-haptics: Toggle EN_CTL for PM5100 v1.0
Toggle Haptics EN_CTL as workaround for HW issue in PM5100 v1.0.

Change-Id: I83e82f261d4185132bb5a721600950f90f71db3f
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
2022-09-13 08:33:27 +08:00
Hui Liu
b17d684b3b input: qcom-hv-haptics: add support for primitive effect
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>
2022-09-13 08:32:53 +08:00
Kiran Gunda
f6c37c0958 input: qcom-hv-haptics: Add support for DeepSleep/Hibernate
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>
2022-09-13 08:32:29 +08:00
Kiran Gunda
ef97827703 input: qcom-hv-haptics: Enable boot-up F0 calibration for PM5100
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>
2022-09-13 08:32:00 +08:00
Fenglin Wu
8afead556c input: qcom-hv-haptics: move predefined effect preload logging
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>
2022-09-13 08:31:34 +08:00
Fenglin Wu
65e7bb2861 input: qcom-hv-haptics: ignore disabling hBoost when it's in open-loop
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>
2022-09-13 08:31:09 +08:00
Subbaraman Narayanamurthy
535559a221 input: misc: qcom-hv-haptics: Fix print format identifier
Print in hex when a read/write to an address fails.

Change-Id: I35dddaa33d18f72079ec3d814a36fd304cd0f331
Signed-off-by: Subbaraman Narayanamurthy <quic_subbaram@quicinc.com>
2022-09-13 08:30:34 +08:00
Anil Veshala Veshala
5f7523ae5f dmaengine: msm_gpi: add GPI dmaengine driver snapshot for pineapple
This is a snapshot of gpi dmaengine driver and associated files
as of msm-5.15 'commit 8d5f6e9fa5567 ("dmaengine: msm_gpi: add
GPI dmaengine driver snapshot for kalama")'.

Change-Id: I98aed9e09d927225776d9f4533ca74a7cf7c078b
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2022-09-12 09:59:26 -07:00
Peng Yang
f90d643b47 build.targets: Add pineapple and kkp vm to build target
Add pineapple and kkp vm to build target.

Change-Id: I28a982b9c561c7278645f9b2ead84a9c4c38b4ae
Signed-off-by: Peng Yang <quic_penyan@quicinc.com>
2022-09-12 07:41:05 -07:00
qctecmdr
21315ac40e Merge "android: abi_gki_aarch64_qcom: Add device_match_of_node" 2022-09-12 01:03:17 -07:00
qctecmdr
4ac589aaf7 Merge "pineapple-gki: Increase RPROC notif timeouts and enable panic" 2022-09-09 17:51:09 -07:00
Guru Das Srinagesh
899a473740 android: abi_gki_aarch64_qcom: Add device_match_of_node
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>
2022-09-09 16:31:09 -07:00
Guru Das Srinagesh
33e230f2ab include: gh_mem_notifier: Add __maybe_unused attribute
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>
2022-09-09 16:31:00 -07:00
qctecmdr
ee12e0e21d Merge "build: config: Adding build configs for pineapple oemvm" 2022-09-09 16:27:19 -07:00
qctecmdr
476790dd14 Merge "virtio/virtio_mem: Port qti_virtio_mem UAPI header from msm-5.15" 2022-09-09 16:27:17 -07:00
Jeevan Shriram
4319fa9335 include: linux: Update usecase id for LLCC_VIDVSP
Update Usecase id for LLCC_VIDVSP as per hardware settings.

Change-Id: I92493bf7cfb8625748b22b111995cabc71feb1a1
Signed-off-by: Jeevan Shriram <quic_jshriram@quicinc.com>
2022-09-09 12:52:45 -07:00
qctecmdr
4e44fda12d Merge "soc: qcom: minidump_log: Add task info collection" 2022-09-09 03:33:21 -07:00
qctecmdr
9bdd6a7414 Merge "coresight: byte-cntr: Add support for streaming interface for ETR" 2022-09-09 03:33:21 -07:00
qctecmdr
7553dc96d4 Merge "gunyah: gh_rm_drv: Add error return if RM device is not ready" 2022-09-09 02:00:08 -07:00
qctecmdr
e16cb9d685 Merge "soc: qcom: minidump_log: Fix compile issue of module minidump" 2022-09-09 02:00:06 -07:00
qctecmdr
473620f146 Merge "modules.list.msm.pineapple: Add DCC and memory dump modules" 2022-09-08 22:35:41 -07:00
qctecmdr
59f49aa10b Merge "soc: qcom: Introduce null functions" 2022-09-08 22:35:38 -07:00
qctecmdr
d3b95ce5d9 Merge "gunyah: msgq: Add new msgq label for OEMVM vcpu test" 2022-09-08 21:13:26 -07:00
qctecmdr
7bd399d4d9 Merge "iio: qcom-spmi-adc5-gen3: update API for immediate conversions" 2022-09-08 19:53:15 -07:00
qctecmdr
5de96585ba Merge "config: Add build config for kkp oemvm" 2022-09-08 19:53:15 -07:00
qctecmdr
536e734464 Merge "defconfig: pineapple-gki: Enable DCC and memory dump V2 driver" 2022-09-08 19:53:14 -07:00
Guru Das Srinagesh
183b2fa789 pineapple-gki: Increase RPROC notif timeouts and enable panic
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>
2022-09-08 17:05:02 -07:00
Guru Das Srinagesh
d1a0dfa4e4 soc: qcom: Introduce null functions
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>
2022-09-08 15:59:38 -07:00
qctecmdr
fb89620d67 Merge "config: Add build config and defconfig for kkp" 2022-09-08 14:22:29 -07:00
qctecmdr
84a6d12a18 Merge "abi_gki_aarch64_qcom: Add necessary symbols for geni-se driver" 2022-09-08 13:03:37 -07:00
qctecmdr
3e8a3d6db9 Merge "build.targets: Only build TUIVM on pineapple" 2022-09-08 09:32:19 -07:00
Peng Yang
f385cdde9b config: Add build config and defconfig for kkp
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>
2022-09-08 02:20:39 -07:00
qctecmdr
498d3332b7 Merge "virtio: change __ioremap to ioremap_cache" 2022-09-07 23:39:36 -07:00
Chris Goldsworthy
e12597fb98 virtio/virtio_mem: Port qti_virtio_mem UAPI header from msm-5.15
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>
2022-09-07 16:38:45 -07:00
Cong Zhang
d928d85f20 soc: qcom: minidump_log: Fix compile issue of module minidump
Fix undefined function when minidump enabled and panic dump disabled.

Change-Id: I16afe91bb2fbfdec20a597f6cb55f45beb29475f
Signed-off-by: Cong Zhang <quic_congzhan@quicinc.com>
2022-09-07 03:13:55 -07:00
Cong Zhang
34989b4a03 gunyah: gh_rm_drv: Add error return if RM device is not ready
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>
2022-09-07 03:13:24 -07:00
Huang Yiwei
089cfbda14 soc: qcom: minidump_log: Add task info collection
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>
2022-09-07 14:30:26 +08:00
Mao Jinlong
653b2c4bd9 modules.list.msm.pineapple: Add DCC and memory dump modules
ADD DCC and memory dump modules for pineapple.

Change-Id: Ib0dbd4de2ef2a29809057a62571bafb47a088848
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
2022-09-06 23:13:47 -07:00
Mao Jinlong
b81d00a3de defconfig: pineapple-gki: Enable DCC and memory dump V2 driver
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>
2022-09-06 23:13:28 -07:00
qctecmdr
7f426d2858 Merge "clk: qcom: clk-alpha-pll: Only configure lucid_evo outputs once" 2022-09-06 14:02:58 -07:00
Tao Zhang
d5996184e9 coresight: byte-cntr: Add support for streaming interface for ETR
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>
2022-09-06 01:42:24 -07:00
Mao Jinlong
018a23891f coresight-core: Remove duplicate coresight_get_source
Remove duplicate coresight_get_source function to fix the compile
error.

Change-Id: I0057958e48536f273790a03e152002d4d31f2497
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
2022-09-06 01:10:55 -07:00
Peng Yang
065c8ddf21 config: Add build config for kkp oemvm
Add oemvm build config for msm-pineapple branch
on kalama kernel platform.

Change-Id: I543e6f07dfda64ea935f2561a3ff4d6e887a7b21
Signed-off-by: Peng Yang <quic_penyan@quicinc.com>
2022-09-05 19:51:04 -07:00