Commit Graph

697 Commits

Author SHA1 Message Date
Saranya R
65f88ed024 dt-bindings: Add Synopsis Femto HS-PHY bindings
Add Synopsis Femto HS-PHY bindings for USB.

Change-Id: Id8e6140838eb2c2e9b1f8272483d00443f57e14c
Signed-off-by: Saranya R <quic_sarar@quicinc.com>
2024-03-05 22:45:45 -08:00
Anjelique Melendez
869e35b819 dt-bindings: qcom,battery-charger: Add qcom,ship-mode-immediate property
Currently, charger FW configures and enables ship mode in parallel with
shutdown activity. This can cause a race condition leaving the device in
a bad state if the device is powering down while SW is still issuing SPMI
writes.

Add new "qcom,ship-mode-immediate" property to flag that ship mode should
be immediately configured after user sets ship_mode_en to avoid this
race condition.

Change-Id: I16b1e307cac8befff7a1136de1cb522e03a95c46
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2024-03-04 12:03:09 -08:00
Saranya R
80545732a3 dt-bindings: msm: Add msm bindings for Ravelin Soc
Add compatible strings for Ravelin and RavelinP SoCs.

Change-Id: Ibf00b144c1798024fec669545e4fbeeefe5b21c9
Signed-off-by: Saranya R <quic_sarar@quicinc.com>
2024-03-03 22:32:18 -08:00
qctecmdr
83c74835b7 Merge "dt-bindings: soc: qcom: Add qcom,ramoops device binding" 2024-02-28 12:21:22 -08:00
qctecmdr
0bd3296ebd Merge "dt-bindings: arm: msm: Add parrot sys-pm-violators device" 2024-02-27 14:45:08 -08:00
qctecmdr
a5680ad919 Merge "ARM: dts: msm: Add device trees for SunP HDK" 2024-02-27 12:36:37 -08:00
qctecmdr
374085c15a Merge "dt-bindings: msm: Add msm bindings for Parrot Soc" 2024-02-26 23:37:06 -08:00
Lijuan Gao
873c63c36e ARM: dts: msm: Add device trees for SunP HDK
Add device trees for SunP HDK.

Change-Id: I1a0d06a62bd8c19b475db9a6d0a30a46d591a269
Signed-off-by: Lijuan Gao <quic_lijuang@quicinc.com>
2024-02-27 14:09:46 +08:00
Mukesh Ojha
8def3aeb71 dt-bindings: soc: qcom: Add qcom,ramoops device binding
Add qcom,ramoops binding for its device and it is exactly copy of
ramoops device but differ in just memory is dynamically reserved
during early boot.

Change-Id: I2b2b288061ba001aa8cc9a73fad1176a01ce4769
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2024-02-26 21:26:36 +05:30
Swetha Chikkaboraiah
ee773c4800 dt-bindings: arm: msm: Add parrot sys-pm-violators device
Add parrot sys-pm-violators device.

Change-Id: Id55210f80f5b4a06604a7674e3538175b82b0cac
Signed-off-by: Swetha Chikkaboraiah <quic_schikk@quicinc.com>
2024-02-25 11:23:27 +05:30
Mike Tipton
56dbbd2fdd dt-bindings: cpufreq: Add qcom,cpufreq-thermal docs
Add documentation for the qcom,cpufreq-thermal device, which is used to
handle CPU thermal limit mailboxes notifications.

Change-Id: I6e2c33d2a9d55ab4bb2c8361091ebb0110739d43
Signed-off-by: Mike Tipton <quic_mdtipton@quicinc.com>
2024-02-21 10:25:09 -08:00
Saranya R
7c7bd2b03a dt-bindings: msm: Add msm bindings for Parrot Soc
Add compatible strings for Parrot and ParrotP SoCs.

Change-Id: Ia09ce9cc0ecbb5f3677acc609b3fd394a5f15beb
Signed-off-by: Saranya R <quic_sarar@quicinc.com>
2024-02-21 21:16:05 +05:30
qctecmdr
3c779b662d Merge "dt-bindings: thermal: Add bindings for gpu dump skip cooling device" 2024-02-15 15:07:00 -08:00
qctecmdr
8a06cab6ce Merge "dt-bindings: IMEM: Add binding for gpu dump skip region" 2024-02-15 15:07:00 -08:00
qctecmdr
4fa8f94866 Merge "dt-bindings: Update cpucp bindings to add support for pdp" 2024-02-15 15:07:00 -08:00
qctecmdr
f3a206fbbb Merge "dt-bindings: soc: qcom: Add tmecom bindings" 2024-02-15 15:06:59 -08:00
Amir Vajid
20abc9c522 dt-bindings: Update cpucp bindings to add support for pdp
Update cpucp and cpucp-log bindings to include compatible
string and properties required for pdp mailbox and logging.

Change-Id: I40f8f5ef64e9e1079e5925833e87e48288684ae7
Signed-off-by: Amir Vajid <quic_avajid@quicinc.com>
Signed-off-by: Shivnandan Kumar <quic_kshivnan@quicinc.com>
2024-02-06 13:43:12 +05:30
Neil Armstrong
a89565ae11 dt-bindings: crypto: qcom,prng: document that RNG on SM8450 is a TRNG
It has been reported at [1] the RNG HW on SM8450 is in fact a True Random
Number Generator and no more Pseudo, document this by adding
a new qcom,trng and the corresponding SoC specific sm8450 compatible.

[1] https://lore.kernel.org/all/20230818161720.3644424-1-quic_omprsing@quicinc.com/.

Change-Id: I8f26201cebefd5c717fed6c9d50ebee781b1fc75
Suggested-by: Om Prakash Singh <quic_omprsing@quicinc.com>
Suggested-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Om Prakash Singh <quic_omprsing@quicinc.com>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Git-commit: 63b299a18694b89d6c814e0d86230d09542bed4c
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
Signed-off-by: PRANAY BHARGAV BHAVARAJU <quic_pbhavara@quicinc.com>
2024-02-05 00:41:08 -08:00
Priyansh Jain
76d67b1132 dt-bindings: thermal: Add bindings for gpu dump skip cooling device
Add bindings for gpu dump skip cooling device driver. This cooling
device is added to set WR_THERMAL_FLAG region in SDAM which is used
by PMIC to disable GFX in SDI path, when SDI path reset is caused
during high temperature. It also set a SOC cookie in sys dbg imem
region which is used to skip GPU scan dump collection in SDI path,
when SDI path reset is triggered during high temperature.

Change-Id: Icefd3b2ee0e36de1738c177bc2bb3e67700372f0
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2024-02-04 19:46:02 -08:00
Priyansh Jain
91bda47899 dt-bindings: IMEM: Add binding for gpu dump skip region
Add gpu dump skip region info to IMEM device tree binding.

Change-Id: I2ec1947201f4e78d18aeefb813faaf5427fa481b
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2024-02-05 09:10:58 +05:30
qctecmdr
c9fe49006e Merge "dt-bindings: IMEM: Correct YAML formatting" 2024-02-02 11:51:08 -08:00
Kuldeep Singh
ecbf0d5689 dt-bindings: soc: qcom: Add tmecom bindings
Add devicetree bindings for qcom tmecom qmp.

Change-Id: I56036e878a52b404b13aa9f7a986c1a8ca53d0da
Signed-off-by: Kuldeep Singh <quic_kuldsing@quicinc.com>
2024-02-01 03:30:30 -08:00
qctecmdr
35bdcb680c Merge "ARM: dts: qcom: Add SPU related register to sun dtsi" 2024-01-31 19:30:06 -08:00
Magesh M
70cc7ae5e7 ARM: dts: qcom: Add SPU related register to sun dtsi
Added SP PBL Patch Version Register to read the SP-PBL
patch version to handle SPSS attach timed out scenario.

Change-Id: Id7ee4df5d09d9c09410bc24fc475ee2a36fca246
Signed-off-by: Magesh M <quic_murugan@quicinc.com>
2024-01-31 14:10:58 -08:00
Unnathi Chalicheemala
73919c88aa dt-bindings: IMEM: Correct YAML formatting
Correct yaml formatting errors for imem DT bindings.

Change-Id: Iceeb3a4c5cf897a73a32a4a95e4217ff78820514
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2024-01-31 13:47:29 -08:00
Manaf Meethalavalappu Pallikunhi
0d8ad7b56c dt-bindings: thermal: add dt-bindings for limit stat driver
Enable dt-bindings documentation for limit stat debug driver.

Change-Id: Id0e0b830f5f02326b70cb6cd4ec852bc330e2aca
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
2024-01-29 18:43:57 +05:30
qctecmdr
f6092fd871 Merge "bindings: soc: qcom: Add CRMV register" 2024-01-18 21:59:18 -08:00
qctecmdr
7c36f7f008 Merge "ARM: dts: msm: enable memory object extension for si-core" 2024-01-17 19:42:44 -08:00
Minghao Zhang
bdae31f18b bindings: soc: qcom: Add CRMV register
Add CRMV register as required.
While at this also fix the issues with compilation failures.

 - Fix the schema path.
 - Fix max items in reg, interrupts properties.
 - Fix indentation.
 - Update examples.

Change-Id: I435ca457f3a2a60ac2c5063b7b65cfa4357ee7dd
Signed-off-by: Minghao Zhang <quic_minghao@quicinc.com>
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
2024-01-17 15:01:39 +05:30
qctecmdr
684564354c Merge "ARM: dts: qcom: Add PPG support for PM8550 led-controller" 2024-01-16 16:39:18 -08:00
Anjelique Melendez
c44b16fa34 dt-bindings: leds: leds-qcom-lpg: Add support for LPG PPG
Update leds-qcom-lpg binding to support LPG PPG.

Change-Id: Ib9752426791a43d2fe611929d859c68f745b83fd
Link: https://lore.kernel.org/all/20231221185838.28440-3-quic_amelende@quicinc.com/
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2024-01-12 14:12:02 -08:00
Anjelique Melendez
7c0534d571 dt-bindings: soc: qcom: Add qcom,pbs bindings
Add binding for the Qualcomm Programmable Boot Sequencer device.

Change-Id: Ia9d32338a4facc9caf5a63c7a376d4595404d0ae
Link: https://lore.kernel.org/all/20231221185838.28440-2-quic_amelende@quicinc.com/#t
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2024-01-12 14:07:53 -08:00
Amirreza Zarrabi
b45da59563 ARM: dts: msm: enable memory object extension for si-core
Add DT entry to enable the memory onject support for
smcinvoke.

Change-Id: I87b62b048e94e2aad2a8329b275bbd8d75ae6cc7
Signed-off-by: Amirreza Zarrabi <quic_azarrabi@quicinc.com>
2024-01-10 17:42:57 -08:00
Unnathi Chalicheemala
a2bf51f56d dt-bindings: msm: Add RCM platform in MSM bindings for Sun
Add compatible string for APQ variant on RCM platform for
Sun SoC.

Change-Id: I1d20c8b8c5f8156ae299fd2646160086859badd5
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2024-01-09 10:09:25 -08:00
qctecmdr
75b351fea1 Merge "dt-bindings: regulator: Add QCOM AMOLED regulator bindings" 2024-01-05 18:00:25 -08:00
qctecmdr
137f1516a5 Merge "dt-bindings: iio: adc: qcom,spmi-vadc: Add qcom,adc5-gen4 property" 2024-01-04 21:48:11 -08:00
Maulik Shah
95e0897a55 bindings: interrupt-controller: Add device bindings for show_resume_irq
Add device bindings for show_resume_irq device.

Change-Id: If6146ece8426f84c417705121df753fda5574dc7
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
2023-12-24 09:14:48 +05:30
Anjelique Melendez
50c5b79dbe dt-bindings: regulator: Add QCOM AMOLED regulator bindings
Add bindings for QCOM AMOLED regulator which is used to configure
triple power supply for amoled displays.

This is a snapshot of the bindings taken as of qcom-6.1
commit 6f13701949ee ("dt-bindings: qpnp-amoled: Fix the IBB Spur mitigation example code")
and converted from .txt to .yaml file.

Change-Id: I51f6029f2a140e5a6d2a53d3b1a2d468a8721bfa
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-12-21 09:47:20 -08:00
Anjelique Melendez
6a2078911c dt-bindings: iio: adc: qcom,spmi-vadc: Add qcom,adc5-gen4 property
Add new "qcom,adc5-gen4" property to flag ADC5 GEN4 channels.

Change-Id: I271b6e74d36721f6c38bd1f3d68e47bc5393b04d
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-12-19 17:50:32 -08:00
qctecmdr
43823e428c Merge "dt-bindings: Add bindings for max31760 fan controller" 2023-12-18 11:12:25 -08:00
qctecmdr
d2d0316e63 Merge "bindings: Add bindings for the gunyah rm booster" 2023-12-18 11:12:25 -08:00
Hrishabh Rajput
4f18c23d6b bindings: Add bindings for the gunyah rm booster
Add bindings for gunyah rm booster to accelerate vm bootup.

Change-Id: Id3a3053885209f231c65da0fceb3c3598c5ad798
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-12-15 15:11:16 +05:30
qctecmdr
6575bbc9b2 Merge "dt-bindings: add dt-binding for qcom coresight static tpdm" 2023-12-14 05:36:13 -08:00
Minghao Zhang
9dc406c3ad dt-bindings: Add bindings for max31760 fan controller
Add a bindings file for max31760 fan controller.

Change-Id: Id6d885d3678a6ffb1b1797b85e37dae121b66fa8
Signed-off-by: Minghao Zhang <quic_minghao@quicinc.com>
2023-12-13 15:27:08 +08:00
Yuanfang Zhang
7072a33acc dt-bindings: add dt-binding for qcom coresight static tpdm
Add devicetree bindings for qcom coresight static tpdm.

Change-Id: I06c39c798beec3a09f68b5363d21f4e6af047bb2
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2023-12-12 02:48:38 -08:00
qctecmdr
30a945eb67 Merge "ARM: dts: msm: Add devicetree bindings for bootstat driver" 2023-12-10 17:20:09 -08:00
Mukesh Ojha
4219d26120 ARM: dts: msm: Add devicetree bindings for bootstat driver
Add the device tree binding for mpm sleep counter
so that it device nodes can be added for respective
SoC where it is supported.

Change-Id: Ic503641c25a4be7121cbf00ccffe103e641cd2f8
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2023-12-06 21:30:15 -08:00
qctecmdr
57c87bca8d Merge "dt-bindings: pci: Remove cesta-l1sub-timeout-ext-int property" 2023-12-06 18:16:01 -08:00
qctecmdr
515031fa4d Merge "dt-bindings: Add devicetree bindings for qcedev" 2023-12-06 18:16:00 -08:00
Prudhvi Yarlagadda
32a0054a70 dt-bindings: pci: Remove cesta-l1sub-timeout-ext-int property
Remove the qcom,cesta-l1sub-timeout-ext-int property as its no
longer required due to recent changes in the pcie driver using the
change commit b53d4aa20ee7 ("pci: msm: Add support to enable
PCIE CESTA clkreq config").

Initially this property was intended to be used to enable the BIT(3):
PARF_CESTA_L1SUB_TIMEOUT_EXT_INT_EN field of
PCIE0_PCIE_PARF_L1SUB_CESTA_CTRL register for platforms where CESTA
is enabled and the platform is not pineapple.

Currently the pcie driver will by default set this BIT(3) when CESTA is
enabled and the qcom,pcie-clkreq-offset property is present. Since the
qcom,pcie-clkreq-offset property will not be present when CESTA
is enabled on pineapple, pcie driver will not touch the
PCIE0_PCIE_PARF_L1SUB_CESTA_CTRL register.

Pcie driver will set only the BIT(0) PARF_CESTA_CLKREQ_SEL field when
qcom,pcie-clkreq-offset property is present and CESTA is not present
which is the case of pineapple platform when CESTA is enabled. And
this case is also taken care of by the pcie driver without the need
for qcom,pcie-clkreq-offset property.

Below are the required cases that needs to be taken care of by the
pcie driver.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| CESTA is enabled | BIT(0) set | BIT(3) set | platform      |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| YES              | need to set| need to set| non-pineapple |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| YES              | set by     | Not        | pineapple     |
|                  | default    | applicable |               |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| NO               | NO         | NO         | non-pineapple |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| NO               | need to    | Not        | pineapple     |
|                  |  unset     | applicable |               |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.

Above mentioned cases are taken care by using the qcom,pcie-clkreq-offset
property in the following way.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| CESTA is enabled | qcom,pcie-clkreq-offset | platform      |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| YES              | YES                     | non-pineapple |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| YES              | NO                      | pineapple     |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| NO               | NO                      | non-pineapple |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| NO               | YES                     | pineapple     |
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.

Change-Id: I1bc4985be0080d295153233b0d5d4ce07e006818
Signed-off-by: Prudhvi Yarlagadda <quic_pyarlaga@quicinc.com>
2023-12-06 11:26:31 -08:00