Commit Graph

1169377 Commits

Author SHA1 Message Date
Kalpak Kawadkar
9fd9595d11 bindings: clock: qcom: Snapshot for clock bindings on NEO
Add snapshot of clock handles for CAMCC/DISPCC/GCC/GPUCC/VIDEOCC/TCSRCC
on NEO so that clients can request on the clock ids,from msm-5.10 branch
commit e42f1c7f152e ("bindings: clock: qcom: Add support for
clock IDs for Neo").

Change-Id: If1ed852cb3e7cf91da1953beaaeeda309288ab14
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
Signed-off-by: Chintan Kothari <quic_ckothari@quicinc.com>
2024-08-08 12:48:18 +05:30
Dhaval Radiya
0222920c9e arm64: defconfig: Enable PDC, CPUidle goverrnor, stats driver for neo
This change enables PDC, CPUidle governor and various stats drivers.

Change-Id: If2e61f913a2fc350c13ae8c9c0cbde926a4c48b7
Signed-off-by: Dhaval Radiya <quic_dradiya@quicinc.com>
2024-08-08 11:56:00 +05:30
QCTECMDR Service
9cfdeb74ee Merge "hwspinlock: qcom: Provide function to bust hwspinlock" 2024-08-07 22:47:17 -07:00
QCTECMDR Service
ffa1703968 Merge "soc: qcom: rpmh: shift spin_lock_init before cpu_pm_register_notifier" 2024-08-07 22:47:16 -07:00
Asit Shah
d58c8c7984 modules.list: neo: Add neo pinctrl related module to first stage
Added pinctrl module for neo platform in first stage module list.

Change-Id: I9131e3a89ef905d283e2bcc3fecd9d479c6fb693
Signed-off-by: Asit Shah <quic_asitshah@quicinc.com>
2024-08-07 22:42:38 -07:00
Asit Shah
247d81e484 arm64: defconfig: Enable pinctrl for neo platform
Enable TLMM pinctrl driver for neo platform in GKI build.

Change-Id: I5e9a2427e7ab96e7a56da6c0f8fbe80796d8b1d1
Signed-off-by: Asit Shah <quic_asitshah@quicinc.com>
2024-08-07 22:42:15 -07:00
Asit Shah
e5676bf12c pinctrl: qcom: Remove trace hooks from Neo pinctrl driver
Removed support of reading gpio read using trace hooks in Neo
pinctrl driver, as it is not used anymore in Kernel Platform 3.0.

Change-Id: If367c8e98a51aaa2c8ca52425b2b2da80177c059
Signed-off-by: Asit Shah <quic_asitshah@quicinc.com>
2024-08-07 22:41:53 -07:00
Asit Shah
96415a61d2 pinctrl: qcom: Add TLMM support for Neo platform
Neo pinctrl driver snapshot from msm-5.10 branch
commit 1c8fbf07237c ("drivers: pinctrl: qcom: Add gpio to pdc
mapping for neo").

Change-Id: I944d2ae61c2f80501442e2ca8d9229c4229c9a2d
Signed-off-by: Asit Shah <quic_asitshah@quicinc.com>
2024-08-07 22:41:08 -07:00
Pranav Mahesh Phansalkar
ba3c82504e rpmsg: native: Remove IRQF_ONESHOT flag
Remove IRQF_ONESHOT flag as it disables incoming interrupts
while running threaded irq.

Change-Id: Ieb045e8aee3fc3b179fc7e7517064ba1c76a4483
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>
2024-08-07 22:04:03 -07:00
QCTECMDR Service
83cd56ed58 Merge "modules.list.msm.autogvm: Keep stub regulator to first stage" 2024-08-07 07:27:46 -07:00
QCTECMDR Service
a1c603ec59 Merge "usb: phy: qusb: Fix for USBNOC issue in stability" 2024-08-07 07:27:45 -07:00
QCTECMDR Service
88e712d907 Merge "build: Add bazel support for Neo LA" 2024-08-07 07:27:45 -07:00
QCTECMDR Service
a1e62beffe Merge "soc: qcom: rpmh: add cam_rsc check in rpmh_rsc_get_device() API" 2024-08-07 07:27:45 -07:00
QCTECMDR Service
b8f2e10b77 Merge "build: bazel: Enable compilation for Seraph SoC" 2024-08-07 07:27:44 -07:00
Richard Maina
422eacf6fc hwspinlock: qcom: Provide function to bust hwspinlock
Implement a new operation qcom_hwspinlock_bust() which
can be invoked to bust any locks that are in use when
a remoteproc is stopped or crashed.

Change-Id: I0486d5345a47007f254f17c4b88f802a6c962e3a
Signed-off-by: Richard Maina <quic_rmaina@quicinc.com>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
Link: https://lore.kernel.org/r/20240529-hwspinlock-bust-v3-1-c8b924ffa5a2@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Git-commit: 73100deb59c3892e280234fcc0171a5376c71788
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
[quic_deesin@quicinc.com: Adding bust api in core hwspinlock module
 is breaking KMI, so exporting bust function from qcom hwspilock module
 to avoid dependency on core hwspinlock function]
Signed-off-by: Deepak Kumar Singh <quic_deesin@quicinc.com>
2024-08-07 00:46:33 -07:00
Sneh Mankad
591653de4d soc: qcom: rpmh: shift spin_lock_init before cpu_pm_register_notifier
cpu_pm_notifier is acquiring the spinlock before it is initialized,
leading to spinlock with bad magic,
hence moving the initialization prior to that.

Change-Id: Ibae81d3bc2338dd0be5f2bc509cec559b121fc73
Signed-off-by: Sneh Mankad <quic_smankad@quicinc.com>
2024-08-07 11:42:08 +05:30
Kamal Wadhwa
6103dd41dc power: supply: qti_battery_charger: Register wls_psy based on DT property
Currently, wireless power supply (wls_psy) is registered
by default to support wireless charging. However,
on some boards, wireless charging is not supported.
When the properties under wls_psy are read from the
userspace or a client, it times out and prints error
logs unnecessarily leading to a poor user experience.

Hence, add a DT property "qcom,wireless-charging-not-supported"
which if specified wouldn't register the wls_psy.

Change-Id: If4ed36957fa8425018f80dfa43d82ee746a45566
Signed-off-by: Kamal Wadhwa <quic_kamalw@quicinc.com>
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
2024-08-06 22:33:49 -07:00
Sneh Mankad
57c9b20c84 soc: qcom: rpmh: add cam_rsc check in rpmh_rsc_get_device() API
This API is only meant for getting Camera RSC device,
hence preventing any other client to use it for any other device.

Change-Id: I6b1cef1cd98eb1d0c5fa92b67a2af141022ec7a3
Signed-off-by: Sneh Mankad <quic_smankad@quicinc.com>
2024-08-06 16:45:17 +05:30
Navya Vemula
af3839c345 build: bazel: Enable compilation for Seraph SoC
Add initial files to build Seraph with bazel.

Change-Id: I5e9677c43a0a31ddec8c0808c22af7f054b8107c
Signed-off-by: Navya Vemula <quic_nvemula@quicinc.com>
2024-08-06 12:19:58 +05:30
Auditya Bhattaram
5a09efd218 drivers: nvmem: qfprom: Add keepout_regions for pineapple
Add keepout_regions for pineapple.

Change-Id: I54840adc0ec5c4f3124495d5b2d5c763bf41390d
Signed-off-by: Auditya Bhattaram <quic_audityab@quicinc.com>
2024-08-06 11:14:58 +05:30
QCTECMDR Service
1f9023b537 Merge "leds: leds-qti-flash: update HW strobe config for external LEDs" 2024-08-05 16:02:06 -07:00
QCTECMDR Service
72bc7678b1 Merge "glink: native: Check the return value of native rx" 2024-08-05 01:46:26 -07:00
Jayasri Bhattacharyya
0bf975d671 usb: phy: qusb: Fix for USBNOC issue in stability
The power needs to be switched ON before operating over the phy,
in case set_suspend is not called, the power is not ON.
Without dp dm and  extcon, there might be cases when qusb_init
gets called without power ON.

Perform power on specifically during qusb init and maintain the
reference count by checking newly introduced flags power_enabled/
clk_enabled.

Change-Id: I529d619359f7320f12ce747fc0f24421f65a9973
Signed-off-by: Jayasri Bhattacharyya <quic_jbhattac@quicinc.com>
2024-08-05 00:15:06 -07:00
QCTECMDR Service
3024e8cdc1 Merge "modules.list.msm.neo-la: Add build configs for Neo LA" 2024-08-04 13:56:29 -07:00
QCTECMDR Service
1ddf35eea8 Merge "remoteproc: pas: Update panic handler priority" 2024-08-04 10:16:31 -07:00
QCTECMDR Service
0f32d53d3e Merge "pcie: msm: Add support to handle PERST GPIO when FMD mode is enable" 2024-08-04 10:16:31 -07:00
QCTECMDR Service
cd1621edd7 Merge "remoteproc: pas: Add Data Synchronization barrier before reading tcsr reg" 2024-08-04 10:16:30 -07:00
QCTECMDR Service
9f7969cc89 Merge "bazel: remove all in-tree modules for autoghgvm_lxc" 2024-08-04 10:16:30 -07:00
QCTECMDR Service
ce6738cfc9 Merge "usb: phy: eusb2: Add 10us delay in eusb2 phy init" 2024-08-04 10:16:29 -07:00
Srinivasarao Pathipati
140cf74d5e defconfig: sdmsteppeauto: remove DWMAC_LOONGSON for sdmsteppeauto
lts tag release.6.1.75+ introduced
the dependency for DWMAC_LOONGSON on MACH_LOONGSON64
hence this configuration brought up the difference between
gki and msm sdmsteppeauto configs,since STMMAC is being enabled
for sdmsteppeauto.

For mobile targets these all net drivers are disabled
so removed this config as it is not NA for auto targets also.

Change-Id: I73ec8ba66fd005debc4f675a7a1015fa02442efc
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com>
2024-08-03 10:30:42 +05:30
QCTECMDR Service
90cf81b49c Merge "Merge keystone/android14-6.1-keystone-qcom-release.6.1.78+ (075ce55) into qcom-6.1" 2024-08-02 05:05:29 -07:00
QCTECMDR Service
6c0e9d45c2 Merge "defconfig: don't disable CONFIG_SPI_ZYNQMP_GQSPI" 2024-08-02 05:05:28 -07:00
Wei Liu
94be87df73 bazel: remove all in-tree modules for autoghgvm_lxc
remove all in-tree modules for autoghgvm_lxc.

Change-Id: I1eeee689ec4ad0c36474c293ccb02bcbe9ca78a0
Signed-off-by: Wei Liu <quic_wliu8@quicinc.com>
2024-07-31 02:51:36 -07:00
Gokul krishna Krishnakumar
c61660bfe4 remoteproc: pas: Add Data Synchronization barrier before reading tcsr reg
Add memory barrier for data syncronization before reading the TCSR
config register. The value written at Sub System is mismatching the
read back value at APPS.

Change-Id: I74862f6d8aa54a67988eca2fb9569e23cc89844a
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
Signed-off-by: Kamati Srinivas <quic_kamasrin@quicinc.com>
2024-07-31 02:10:29 -07:00
Wei Liu
f32c9f673e defconfig: autoghgvm: refine configs for LV GVM booting
To ensure the configs is optimized and workable for LV booting,
we need to refine the configs:

1. remove SWIOTLB_NONLINEAR and VIRTIO_MMIO_SWIOTLB as bounce
buffers are no longer used for LV GVM Virtio device.
2. disable ZONE_DMA, otherwise general SWIOTLB init will fail,
which causes kernel panic.
3. Set all modules as in-built.

Change-Id: If4fbf5ecf7391bc16e3d75b803444a67cc884e43
Signed-off-by: Wei Liu <quic_wliu8@quicinc.com>
2024-07-31 01:55:45 -07:00
Mukesh Ojha
a700c40491 remoteproc: pas: Update panic handler priority
Currently, both remoteproc and wdog driver panic handler has the
same priority due to which both gets registered one after the other.

Having the same priority breaks WDOG panic handler which should be
called as early as possible otherwise we will the devices gets
stuck if any of previous handlers gets stuck due to some reason
like sleep while atomic etc.,

Fix this by correcting the priorities as

dload_mode => INT_MAX
wdog => INT_MAX - 1
rproc => INT_MAX - 2
minidump => INT_MAX - 3
va-minidump => INT_MAX - 4, INT_MAX - 5 .

Change-Id: I79e454c7c671bbc83e5fac86e16717c3e09a06ce
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com>
2024-07-31 13:55:32 +05:30
QCTECMDR Service
6d31934676 Merge "defconfig: niobe: Enable khungtask enhancements" 2024-07-31 01:09:57 -07:00
QCTECMDR Service
4087f2aaff Merge "soc: qcom: socinfo: Add support for version 21" 2024-07-31 01:09:56 -07:00
Vivek Pernamitta
edb802e961 pcie: msm: Add support to handle PERST GPIO when FMD mode is enable
When FMD mode is enabled, deassert the perst signal if perst is already
in asserted state and do not allow it to be reasserted.

Change-Id: I45105f189214f683d718ab96a1db30cd2bc80667
Signed-off-by: Vivek Pernamitta <quic_vpernami@quicinc.com>
Signed-off-by: Paras Sharma <quic_parass@quicinc.com>
2024-07-31 11:29:28 +05:30
QCTECMDR Service
a4f519bcfe Merge "soc: gic_intr_routing: Handle the class cpu via phandles" 2024-07-30 09:01:19 -07:00
Jishnu Prakash
6537605fb3 leds: leds-qti-flash: update HW strobe config for external LEDs
Make HW strobe signal level triggered instead of edge triggered for
external LEDs based on HW side recommendation.

Change-Id: I8c88646a252b58923c08bff0459c3f53a94f1bcd
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
2024-07-30 11:22:01 +05:30
Uttkarsh Aggarwal
35b5a592d5 usb: phy: eusb2: Add 10us delay in eusb2 phy init
According to Table No. 4 in HPG, the power-on reset must
be asserted for at least 10us after all supplies have ramped up.

Change-Id: I086ff86e50cf9846beb422901d61954ddcc47ff5
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
2024-07-29 21:18:54 -07:00
Sumedha Phadnis
76afc06676 modules.list.msm.autogvm: Keep stub regulator to first stage
Moving stub regulator loading to first stage to solve
pci noc error.

Change-Id: I6ef934a4054ea6dc6f3d99a471753fca4908ad50
Signed-off-by: Sumedha Phadnis <quic_phadnis@quicinc.com>
2024-07-30 06:32:08 +05:30
QCTECMDR Service
9797da1d98 Merge "mmc: sdhci-msm: Declare three instances of host structure pointer" 2024-07-29 14:01:37 -07:00
QCTECMDR Service
984a99ba02 Merge "dmaengine: msm_gpi: fix gpi terminate sequence issue" 2024-07-29 09:30:29 -07:00
Asit Shah
a5d86b4d37 build: Add bazel support for Neo LA
Add bazel build support for Neo LA platform.

Change-Id: I529549bf4e111e735c01c27833906e919c4d39c6
Signed-off-by: Asit Shah <quic_asitshah@quicinc.com>
2024-07-29 19:13:36 +05:30
Yash Jain
450c52772b modules.list support for loading gpucc in first stage
- Add support for loading gpucc-sm8150 in first stage init.

Change-Id: Icc42894ff33d4359fc92a0c84d29facca7ef4e16
Signed-off-by: Yash Jain <quic_yashmj@quicinc.com>
2024-07-29 15:48:50 +05:30
QCTECMDR Service
8a3caca12a Merge "spi: spi_msm_geni: Don't bail out for LEVM usecase" 2024-07-28 23:54:58 -07:00
QCTECMDR Service
09d82c0df3 Merge "i2c: i2c-msm-geni.c: fix to avoid access unmap buffers" 2024-07-28 23:54:57 -07:00
QCTECMDR Service
e859f94746 Merge "soc: qcom: socinfo: Add support for version 21" 2024-07-28 23:54:57 -07:00