Commit Graph

1130066 Commits

Author SHA1 Message Date
qctecmdr
fa561d1bbe Merge "defconfig: pineapple-gki: Enable BCL peripheral and soc driver" 2022-11-11 17:04:23 -08:00
qctecmdr
a97ea251ac Merge "modules.list.msm.pineapple: Add WALT module" 2022-11-11 17:04:20 -08:00
qctecmdr
04a37de2a2 Merge "net: qrtr: Update data_len when padding large skbs" 2022-11-11 17:04:18 -08:00
qctecmdr
2fb9ec5be7 Merge "soc: qcom : tmecom: add support for v4 policy" 2022-11-11 13:35:11 -08:00
qctecmdr
dacc8de3d0 Merge "ARCH: arm: configs: Enable CONFIG_IPA3 on Pineapple" 2022-11-11 13:35:09 -08:00
qctecmdr
553a8b2012 Merge "defconfig: pineapple-gki: Enable the mem-offline driver" 2022-11-11 13:35:07 -08:00
qctecmdr
2c0f8bf90a Merge "clk: qcom: videocc-pineapple: Add VIDEO_CC_XO_CLK_ARES" 2022-11-11 13:35:07 -08:00
qctecmdr
6e4382ba68 Merge "driver: thermal: sdpm: Add a snapshot of sdpm clock notifier driver" 2022-11-11 13:35:05 -08:00
qctecmdr
a9f455f3dc Merge "wcd939x-usbss: Add i2c driver for wcd939x usbss" 2022-11-11 13:35:03 -08:00
qctecmdr
987b611bea Merge "input: qcom-hv-haptics: Update haptics_parse_per_effect_dt()" 2022-11-11 05:32:29 -08:00
qctecmdr
4c27283738 Merge "driver: thermal: userspace_cdev: Add a snapshot of userspace cooling driver" 2022-11-11 05:32:26 -08:00
qctecmdr
1dfc4603f0 Merge "iio: qcom-spmi-adc5-gen3: poll for CONV_REQ in adc5_gen3_poll_wait_hs()" 2022-11-11 05:32:24 -08:00
qctecmdr
614beb4231 Merge "msm: pcie: Allow NULL as a valid return value for icc_get" 2022-11-11 05:32:21 -08:00
qctecmdr
37afffb8ef Merge "android: abi_gki_aarch64_qcom: Add symbols needed by ubwcp" 2022-11-11 05:32:18 -08:00
qctecmdr
7e4b43a633 Merge "defconfig: pineapple: Enable the UBWC-P DMA-BUF Heap" 2022-11-11 05:32:16 -08:00
qctecmdr
f6646ebd13 Merge "defconfig: pineapple-gki: Enable SPMI_ADC5_GEN3 driver" 2022-11-11 01:40:12 -08:00
qctecmdr
1411eed2ab Merge "defconfig: Enable TLMM VM Mem Access driver" 2022-11-11 01:40:09 -08:00
qctecmdr
cac9f155f8 Merge "ANDROID: Updating module output lists" 2022-11-11 01:40:09 -08:00
qctecmdr
ff35f9d975 Merge "msm:abi_gki: Add find_vma to export symbols list" 2022-11-10 15:50:27 -08:00
qctecmdr
0f15caf52a Merge "uio: Kconfig: Enable msm shared memory driver" 2022-11-10 15:50:27 -08:00
Anjelique Melendez
c1cde953b6 input: qcom-hv-haptics: Update haptics_parse_per_effect_dt()
Update haptics_parse_per_effect_dt() to remove reading
"qcom,effect-id" property.

Change-Id: I18f362e8a02dbca6038b80e503050fe8574e3a5f
Fixes: f6c37c0958 ("input: qcom-hv-haptics: add support for primitive effect")
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2022-11-10 14:12:21 -08:00
qctecmdr
02ce5d8db3 Merge "ufs-host: qcom: Disable h8 with clk gate and scale" 2022-11-10 08:58:50 -08:00
qctecmdr
da644b5622 Merge "soc: llcc: qcom: Update config data for pineapple SoC" 2022-11-10 08:58:49 -08:00
qctecmdr
2c5bffcdb3 Merge "usb: phy: Remove delay from QMP phy init sequence" 2022-11-10 08:58:47 -08:00
qctecmdr
7bb4b80d6e Merge "pinctrl: qcom: Update driver to match TLMM data" 2022-11-10 08:58:45 -08:00
qctecmdr
755b0b2bfb Merge "scsi: ufs: ufs-qcom: Correct the REG_UFS_CFG0 setting for pineapple" 2022-11-10 08:58:43 -08:00
qctecmdr
34dec33a6e Merge "modules.list.msm.pineapple: Add UFS PHY module for pineapple" 2022-11-10 08:58:42 -08:00
John Moon
3faf5b6ee7 ANDROID: Updating module output lists
Updating module output lists for kalama and pineapple.

Change-Id: I0fd6cb8b586b1dab62293483f768041f12e897b8
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
2022-11-09 12:56:59 -08:00
Xubin Bai
f4bf0d795c clk: qcom: videocc-pineapple: Add VIDEO_CC_XO_CLK_ARES
In order to ensure video power collapse can work fine,
the CLK_ARES is added for VIDEO_CC_XO_CLK so that
asserting/de-asserting the reset can automatically
disable/enable the clock.

Change-Id: Ibf20a768d95aa0394ebec1c8be163a0fa4d85754
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2022-11-08 19:03:12 -08:00
Xubin Bai
dbb9312948 dt-bindings: clock: Add VIDEO_CC_XO_CLK_ARES for Pineapple
Add CLK_ARES for VIDEO_CC_XO_CLK to ensure video power
collapse can work fine in Pineapple.

Change-Id: Id76e3ef29f59f5745469cd43800cefc0d82f8499
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2022-11-08 18:45:27 -08:00
Asutosh Das
8c74b78d69 ufs-host: qcom: Disable h8 with clk gate and scale
Work-around for hangs during bootup.
No ramdumps/tools available to debug during BU.
So, disable hibern8 during clock gating.
This would let the clocks to be off thus allowing CxPC.

Clock scaling needs SYS1CLK_1US_REG and
DME_VS_CORE_CLK_CTRL.MAX_CORE_CLK_1US_CYCLES and
PA_VS_CORE_CLK_40NS_CYCLES to be defined for 403Mhz.
Disable clock scaling until values are determined.

Change-Id: I702a561ecce627a8b00a676fc2e6118ce1ebc4a0
Signed-off-by: Asutosh Das <quic_asutoshd@quicinc.com>
2022-11-08 15:39:05 -08:00
Sayali Lokhande
774acf8336 uio: Kconfig: Enable msm shared memory driver
This config enables mem shared memory driver.
This driver allocates shared-memory to be used by the modem processor.

Change-Id: I62846d122e03520b0a4b2f3619a810e8b165446e
Signed-off-by: Sayali Lokhande <quic_sayalil@quicinc.com>
2022-11-08 11:48:57 +05:30
Chris Goldsworthy
c9800acd9a defconfig: pineapple-gki: Enable the mem-offline driver
Enable the mem-offline driver.

Change-Id: If47d4ef53f9724a6c619cb550f76d6cacc2f6a79
Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
2022-11-07 21:50:35 -08:00
Chris Goldsworthy
d6a71750ed soc: qcom: mem-offline: Stub out RPM calls
rpm-smd.h will not be present on all targets. Stub it out if it is not
present.

Change-Id: I9400f7ac261ef580a54aebfd16de61b8d1453b74
Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
2022-11-07 21:50:32 -08:00
Sudarshan Rajagopalan
ba978111da soc: qcom: mem-offline: add module param for disabling the feature
Add module param named 'nopasr' for disabling memory offlining feature
via cmdline. In such case, driver probe is skipped from adding sysfs nodes
so that userspace services would disable as well, and also skips adding
remaining blocks if kernel memory was limited with 'mem=' param.

Change-Id: I2de5efad51bba6a1d734ee248c55a12f3870ad1c
Signed-off-by: Sudarshan Rajagopalan <sudaraja@codeaurora.org>
2022-11-07 21:50:06 -08:00
Pratyush Brahma
2f5247b0ce soc: qcom: mem-offline: store mem-offline stats in usec
Store mem-offline stats in usec instead of msec
for greater precision.

Change-Id: I9c3d3dd22b5154548c26681fa03d9a6401295a91
Signed-off-by: Pratyush Brahma <quic_pbrahma@quicinc.com>
2022-11-07 21:50:06 -08:00
Sudarshan Rajagopalan
fd4ba1796e Revert "mem-offline: improve the effective utilization of movable zone"
This reverts the anon back migration feature since the following symbols
aren't exported yet -

    - isolate_and_split_free_page
    - get_pfnblock_flags_mask
    - isolate_anon_lru_page
    - putback_movable_pages
    - migrate_pages

Change-Id: Ib6ed72c2c52f63d0d2b37b1b24f14df80a07ad01
Signed-off-by: Sudarshan Rajagopalan <sudaraja@codeaurora.org>
2022-11-07 21:50:05 -08:00
Sudarshan Rajagopalan
4a6e0a5933 mem-offline: Add a snapshot of the mem-offline driver
Add a snapshot of the mem-offline driver as of msm-5.10
commit <111f1e0c0bf3> ("soc: qcom: mem-offline: check if pfn
within in for isolation").

Change-Id: Ica67f462d8b402cbda9c15204c7993f4f5746bed
Signed-off-by: Sudarshan Rajagopalan <sudaraja@codeaurora.org>
[quic_cgoldswo@quicinc.com: Drop unused headers, fix module license]
Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
2022-11-07 21:48:39 -08:00
John Moon
87e3484a2c build.config: Fixing legacy dtc build
When building with legacy build.sh, the host dtc tools are not
generated due to a faulty logic check.

Fix the logic check and make the build environment explicit.

Change-Id: Id4f58fd812f3135379f47a22025f3030ecf68b58
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
2022-11-07 16:52:34 -08:00
qctecmdr
4579ad4b9d Merge "uio: Kconfig: Make the msm shared memory driver as module" 2022-11-07 14:38:27 -08:00
Phani Kumar Uppalapati
ccb935d44e wcd939x-usbss: Add i2c driver for wcd939x usbss
Add i2c driver for wcd939x usb subsystem for analog
audio, dp aux and usb functionality.

Change-Id: I799ea6ff9207bd88b5846d44e894d07f2d0b53c5
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
Signed-off-by: Mayank Rana <quic_mrana@quicinc.com>
Signed-off-by: Rajkumar Subbiah <quic_rsubbia@quicinc.com>
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2022-11-07 22:57:56 +05:30
Chaitanya Pratapa
ef5fe2016b ARCH: arm: configs: Enable CONFIG_IPA3 on Pineapple
Enable IPA HW accelarator for Pineapple.

Change-Id: I7d515ed121a31d99d5059ab3a146d70f154d8502
Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
2022-11-06 20:37:43 -08:00
Guru Das Srinagesh
72f329c57d soc: llcc: qcom: Update config data for pineapple SoC
Update pineapple config data to bring it in line with latest HW updates.

Change-Id: I99fb80af935eb8b348da41dd5c3b503c08fa6615
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
2022-11-06 15:42:07 -08:00
John Moon
f54a3ef5e7 pinctrl: qcom: Update driver to match TLMM data
Update the driver to match the data TLMM block data on pineapple SoC.

Change-Id: Ifd86ab32f6490b4e3fef379e28d716a555504211
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
2022-11-06 11:21:10 -08:00
Rashid Zafar
ffd003610c defconfig: pineapple-gki: Enable BCL peripheral and soc driver
Enable BCL peripheral driver and soc driver to handle BCL
violation notification and battery state of charge depletion
respectively.

Change-Id: I7ff2653d435b99f84407292c1b3eafc01de3898c
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2022-11-05 21:08:16 -07:00
Rashid Zafar
3a7f50ac83 driver: thermal: sdpm: Add a snapshot of sdpm clock notifier driver
Add a snapshot of sdpm clock driver from msm-5.10 as of commit
67c9d457edaa ("drivers: thermal: sdpm: Add support for regulator
notification").

Remove cpu sdpm support since it is moved to cpufreq hardware driver.

Updates:
    - Change GPL v2 license to GPL
    - Fixed dev_err print format

Change-Id: I4b1f79b96fb7d856004ec24ca50be5213a935476
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2022-11-05 21:08:10 -07:00
Rashid Zafar
9408ecee82 driver: thermal: userspace_cdev: Add a snapshot of userspace cooling driver
Add a snapshot of qti userspace cooling driver from msm-5.10 as
of commit 90be510a996d ("drivers: userspace_cdev: Add new userspace
cooling device").

Updates:
    - Change GPL v2 license to GPL

Change-Id: I57e07b76bf12a587a167bc4220b45c0d7fd29e8a
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2022-11-05 21:07:27 -07:00
Rashid Zafar
8404f0f8ac drivers: thermal: msm_lmh_dcvs: Add a snapshot of LMH DCVS driver
Add a snapshot of LMH DCVS driver from msm-5.10 as of commit
00ccfec0d0e8 ("drivers: lmh_dcvs: initialize sysfs attribute
before creating file").

Updates:
    - Change GPL v2 license to GPL
    - Removed unused cacheflush library

Change-Id: I55c5d8ca601610efbe5ce75296e61183b98e0fed
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2022-11-05 21:07:27 -07:00
Rashid Zafar
83cf3de091 drivers: thermal: ddr-cdev: Add snapshot of ddr-cdev cooling driver
This is a snapshot of the ddr cooling device driver from msm-5.10 as
of commit 36bd801b76c2 ("drivers: thermal: ddr-cdev: Add DDR bus
width property support").

Add support to get DDR frequency table from its own devicetree.

Updates:
    - Change GPL v2 to GPL

Change-Id: If506dc7182033dce2a93863f736553c2b42437a3
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2022-11-05 21:07:27 -07:00
Rashid Zafar
ba64c62171 drivers: thermal: qcom: Add a snapshot of cpu_hotplug cooling device driver
Add a snapshot of cpu hotplug cooling device driver from msm-5.10 as
of commit 3ea553e19355 ("drivers: thermal: cpu_hotplug_cdev: Use work
queue to execute mitigation").

Updates:
    - Change GPL v2 license to GPL

Change-Id: I7881ee4b2817c943bd15699d68d73f738bd3711c
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2022-11-05 21:07:27 -07:00