Commit graph

4,604 commits

Author SHA1 Message Date
qctecmdr
047fc535bc Merge "ARM: dts: msm: Restrict default CMA region below 0xE0000000" 2020-02-07 18:53:33 -08:00
Chaitanya Pratapa
6f0d7c689e ARM: dts: msm: Update dtsi for page recycle and cleanup
This change will enable page recycle on the WAN Rx paths and
cleanup entries that are not needed anymore.

Change-Id: I82fdfdd2684afeffd8ca07433f39fb59b0e5c92d
2020-02-07 12:43:08 -08:00
David Collins
da10af9342 ARM: dts: qcom: update RPMh regulator min/max voltage limits for Lahaina
Update the min and max voltage limits for Lahaina RPMh regulator
devices so that they match the limits enforced by the boot
loader.

The S12B max voltage increase in particular is required to
support WLAN use cases.

Change-Id: Iba15cf13f4dddf851407f19700f2d6b626ca22b7
2020-02-07 12:16:27 -08:00
Tony Truong
bc10054583 ARM: dts: msm: update PCIe L5 and L6 current vote on lahaina
Update PCIe0 and PCIe1 L5 and L6 current vote based on H/W
recommendation on lahaina.

Change-Id: I180c789fae623bc72058dcbcca52435569167f1d
2020-02-07 11:05:26 -08:00
Guru Das Srinagesh
02008e3567 ARM: dts: msm: Add Altmode PMIC GLINK client for Lahaina
Add altmode device as a client of PMIC GLINK to enable Type-C alternate
mode clients to communicate with the firmware running on the remote
subsystem.

Change-Id: I24dedc1df4eee0690d201db2b08eedc00696fb4f
2020-02-06 20:12:05 -08:00
Guru Das Srinagesh
3e335b2633 bindings: Add altmode-glink
The altmode mode device provides an interface for Type-C alternate mode
clients to receive data such as Pin Assignment Notifications from the
Type-C stack running on a remote subsystem (e.g. DSP) via the PMIC GLINK
interface.

Change-Id: Iec1cf5e64ed9b4eb93fbfa6aacc998d4f4f730e7
2020-02-06 20:12:05 -08:00
qctecmdr
92428b423b Merge "dt-bindings: extcon-usb-gpio: Document optional vbus-out-gpio" 2020-02-06 18:37:43 -08:00
qctecmdr
19da0a4233 Merge "ARM: dts: msm: set MSR range in CSR for Lahaina" 2020-02-06 18:37:43 -08:00
Liam Mark
69aff4ccaa ARM: dts: msm: Restrict default CMA region below 0xE0000000
Restrict default CMA region below 0xE0000000 so that allocations
from this region don't overlap with CLADE address range.

Change-Id: I462a70900b821ba1ff0fcb5ad020e79f37f6efb0
2020-02-06 17:10:20 -08:00
David Collins
6d4e448d12 ARM: dts: qcom: add Glink SPMI debug controller device for Lahaina
Add a Glink SPMI debug controller device which can be used to
read and write PMIC registers over PMIC Glink using a remote
subsytem (e.g. DSP).

Change-Id: Ie17f008a20c938da96f3bb2f9e6100618fa4626a
2020-02-06 16:05:15 -08:00
Satya Rama Aditya Pinapala
4cf12e39a9 ARM: dts: msm: include display platform DT files
The change includes SDE display platform specific file in the
corresponding platform device tree files for Lahaina target.

Change-Id: I2154926a18761344e9acd2b92c079424bf41fe24
2020-02-06 15:39:17 -08:00
David Collins
63a440fe86 bindings: spmi: add QTI Glink SPMI debug controller binding documentation
Add binding documentation for the Qualcomm Technologies, Inc.
Glink SPMI debug controller device.  This device provides an
interface to read and write PMIC registers over PMIC Glink using
a remote subsytem (e.g. DSP).  This allows for debugging PMIC
peripherals that would typically only be accessible to the
charger and fuel gauging firmware running on the remote
subsystem.

Change-Id: I1779c7841dfed8e49c07705d6803b7aad196c4d4
2020-02-06 14:42:10 -08:00
Abhinav Kumar
28410d8939 ARM: dts: msm: add proxy votes for display regulators
This change adds a proxy vote for MDSS GDSC, refgen and
supplies to support amoled displays. This is needed
for continuous splash screen usecases.

Change-Id: Id59ee3f639a78180ac4dd1ccc809fa8d60c2f28e
2020-02-06 14:06:54 -08:00
Venkata Narendra Kumar Gutta
d2c7708355 arm64: dts: qcom: Add secondary VM dts file for lahaina
Add secondary VM devicetree file for lahaina chipset. This file
adds the basic nodes like CPU, intc, hypervisor that are required
for the VM.

Change-Id: Ice6fb0b6160fa27853fac6076f3d965c3463528e
2020-02-06 14:04:29 -08:00
qctecmdr
6333ba36ef Merge "ARM: dts: msm: Hot fix for Lahaina" 2020-02-06 01:26:16 -08:00
qctecmdr
182f603513 Merge "ARM: dts: msm: enable PCIe0 and PCIe1 on lahaina" 2020-02-06 01:26:15 -08:00
qctecmdr
bd447a6628 Merge "ARM: dts: msm: Update fastrpc SIDs and masks" 2020-02-06 01:26:15 -08:00
Mao Jinlong
ded6e54ad1 ARM: dts: msm: Correct the typo of remote-endpoint for lahaina
Correct the typo of remote-endpoint to make the turing_etm work.

Change-Id: I4bbefb5e2e3d11e1fa341b493ebe3755e83e85b2
2020-02-05 23:53:47 -08:00
Asutosh Das
f1479c072d ARM: dts: msm: limit gear to 3 for Lahaina
Limits gear to 3 until the upstream change is merged.

Change-Id: I78e92a63495fefffc18622bdbf4d9e22dfe5772c
2020-02-05 19:42:53 -08:00
Subbaraman Narayanamurthy
8409de07b6 ARM: dts: qcom: add haptics on PM8350B for Lahaina CDP/MTP
Add PM8350B haptics device with some predefined effects to
support vibrator on Lahaina CDP and MTP. Since Lahaina QRD
uses a different LRA, haptics configuration (Vmax, LRA period)
should be made separately.

Change-Id: I57b8db73114c696b72f49a44908c1311b8ebcafd
2020-02-05 19:16:21 -08:00
Jack Pham
e6e557be9f ARM: dts: msm: Update Lahaina USB3 QMP UNI PHY init settings
Update USB3 UNI PHY initialization sequence to the latest HW
recommended values to improve SuperSpeed/SuperSpeedPlus performance.

Change-Id: Id3c39ad6a369df83feddd83aacd7743db5b3faa0
2020-02-05 12:57:36 -08:00
Asutosh Das
bb3ce26b4a ARM: dts: msm: Hot fix for Lahaina
This change adds reset handle for ufsphy.
It also disables lpm.

Change-Id: Ica5dc3c9983646d44b8c534f267138c2b790e841
2020-02-05 09:25:05 -08:00
Elliot Berman
d49b24f903 ARM: dts: qcom: Link restart_reason nvmem cell to qcom,pshold
Associate restart_reason nvmem cell with qcom,pshold for Lahaina.

Change-Id: Ic9847cb1520d26fca400ed3f2970d372d5a29558
2020-02-05 08:51:31 -08:00
David Collins
18f11baa5a ARM: dts: qcom: add nvmem cell for PMK8350 SDAM2 restart reason
Add an nvmem cell for the restart reason within PMIC PMK8350
SDAM2.  This is used by the high-level OS to inform boot loaders
of special actions to perform upon rebooting.

Change-Id: Ifb0b247a1616ee1484360db28e1bb9900f33696f
2020-02-05 08:51:31 -08:00
qctecmdr
1351fca9db Merge "ARM: dts: qcom: Update limit-rate and add limit-phy-submode on Lahaina" 2020-02-05 05:46:23 -08:00
qctecmdr
32f909194b Merge "ARM: dts: msm: add PMIC Glink and clients for Lahaina" 2020-02-05 05:46:23 -08:00
qctecmdr
7efeef6d98 Merge "ARM: dts: msm: Add PWM and RGB LED devices for PM8350C" 2020-02-05 01:00:30 -08:00
Tony Truong
e916f4a7b9 ARM: dts: msm: enable PCIe0 and PCIe1 on lahaina
Enable PCIe0 and PCIe1 on lahaina.

Change-Id: I9b57d69184e69494f8f6b18e8fd6a52114bc790b
2020-02-04 22:17:47 -08:00
Isaac J. Manjarres
7945463f7a dt-bindings: Document the qcom,dynamic-heap binding
Add documentation for the "qcom,dynamic-heap" ION heap
binding.

Change-Id: I3e1098f52c15d2557cc1dc5fdb6f294293d40a53
2020-02-04 22:15:00 -08:00
Isaac J. Manjarres
fac777ee72 dt-bindings: Add device-tree bindings for the memory sharing driver
Add the device-tree bindings for the mem-buf driver, which allows
VMs to request and lend memory amongst themselves.

Change-Id: I43f168aabe810fc15c3e530d64a53d1ce59ac53e
2020-02-04 22:15:00 -08:00
qctecmdr
95b5fad106 Merge "ARM: dts: msm: Update changes for audio device tree on Lahaina" 2020-02-04 20:17:08 -08:00
qctecmdr
4c5a71049f Merge "ARM: dts: msm: Enable video driver" 2020-02-04 20:17:08 -08:00
qctecmdr
20f0f73270 Merge "ARM: dts: msm: Add secure display heap" 2020-02-04 20:17:08 -08:00
Subbaraman Narayanamurthy
3969e51429 ARM: dts: msm: add PMIC Glink and clients for Lahaina
Add PMIC Glink device and their client devices. PMIC Glink device
with name PMIC_RTR_ADSP_APPS supports the clients UCSI, battery
charger etc. PMIC Glink device with name PMIC_LOGS_ADSP_APPS
supports the client battery debug device.

Change-Id: Ia3bf0a0a0bb402e2c0a4def8ae343cbf762e0673
2020-02-04 19:13:50 -08:00
Edgar Flores
2697d27fa0 ARM: dts: msm: Update fastrpc SIDs and masks
Update fastrpc SIDs and masks context banks 1-9 for Lahaina.

Change-Id: I3e1c7d5e1e64eea8b6eb9b6e8cd487fe8aea2598
2020-02-04 16:18:45 -08:00
qctecmdr
2e8826e382 Merge "ARM: dts: qcom: switch to I2C control of PM8008 PMIC regulators for Lahaina" 2020-02-04 15:25:02 -08:00
David Collins
d7c1d795c0 ARM: dts: msm: remove CX, MX and MMCX always-on configuration for Lahaina
Remove the regulator-always-on configuration flag from VDD_CX,
VDD_MxA, VDD_MxC, and VDD_MMCX regulators.  Also reduce their
minimum allowed operating levels from Turbo to Retention or
LowSVS.

This ensures that these regulators can be scaled down and
disabled in system low power use cases.

Change-Id: I3c3f37cb28fbbb34d5e5bd971669ba4bdda56995
2020-02-04 11:45:22 -08:00
David Collins
42d05762c7 ARM: dts: qcom: add VDD_MX and CX subnodes for MMCX dependencies on Lahaina
Add VDD_MX and VDD_CX rpmh-regulator subnodes which are used by
the VDD_MMCX regulator device.  Configure these sub nodes so that
a request for VDD_CX >= minimum operating level is present any
time that VDD_MMCX is enabled.

This ensures that multimedia hardware blocks are not accidentally
reset due to VDD_MMCX being enabled when VDD_CX is not enabled.

Implement the following <child> --> <parent> supply dependencies:

pm8350c_s8_level (MMCX)        --> pm8350_s5_mmcx_sup_level (MxA)
pm8350_s5_mmcx_sup_level (MxA) --> pm8350_s9_mmcx_sup_level (MxC)
pm8350_s9_mmcx_sup_level (MxC) --> pm8350c_s6_mmcx_sup_level (CX)

Note that the final MxC to CX supply dependency only propagates
the enable state of the regulator, not the voltage level.  This
ensures correctness while also minimizing power consumption.

Change-Id: Ib1c7d4fa685e88d62c7e31b1e6a1ae396aed4edb
2020-02-04 11:42:52 -08:00
Mihir Ganu
47a5954e2d ARM: dts: msm: Enable video driver
Enable vidc driver through device tree entry.

Change-Id: I58f51a23cd4fab6c0b29e2daf945dcf48613f058
2020-02-04 10:18:04 -08:00
Can Guo
ddb0ceb64b ARM: dts: qcom: Update limit-rate and add limit-phy-submode on Lahaina
Update limit-rate, 1 stands for Rate-A, 2 stands for Rate-B. In addition,
add limit-phy-submode to select UFS PHY submode used for PHY calibration.

Change-Id: Ifd0d55c0148256cd43d676b3b035c069ebb29fe2
2020-02-04 04:38:12 -08:00
qctecmdr
9ac22f5f04 Merge "ARM: dts: qcom: change all rpmh-regulator LDO default modes to HPM" 2020-02-04 03:48:05 -08:00
Tingwei Zhang
16684a9ffc ARM: dts: msm: set MSR range in CSR for Lahaina
Set the MSR register range in SWAO CSR for Lahaina.

Change-Id: I430c9d1ba20abc32c9e3879b42ffa2e7cbd351c8
2020-02-03 23:26:53 -08:00
qctecmdr
329489d312 Merge "ARM: dts: msm: add initial PHY sequence for PCIe0 and PCIe1 on lahaina" 2020-02-03 14:44:47 -08:00
qctecmdr
e4e59c5761 Merge "dt-bindings: Add snapshot of QPNP AMOLED regulator bindings" 2020-02-03 14:44:47 -08:00
qctecmdr
90027b86f5 Merge "ARM: dts: msm: Fix secondary USB port related aggre_noc clock" 2020-02-03 14:44:47 -08:00
Jack Pham
dd3a308306 dt-bindings: extcon-usb-gpio: Document optional vbus-out-gpio
Document bindings for optional vbus-out-gpio which is used to
turn on VBUS when the ID pin is detected low and the port
enters USB host mode.

Change-Id: I1c91da47c006f79e85bcf8fef5791cfde6de70fb
2020-02-03 14:42:11 -08:00
Sudheer Papothi
70654b9613 ARM: dts: msm: Update changes for audio device tree on Lahaina
Update changes for audio device tree on Lahaina.

Change-Id: If52eb0d3451626c62f6afb565c6112ebf2475692
2020-02-04 04:02:06 +05:30
Mayank Rana
b68e50a3b0 ARM: dts: msm: Fix secondary USB port related aggre_noc clock
USB device failed to enumerate with USB host as USB bus aggre_noc
was not enabled related to secondary USB controller. Fix this issue
by using correct aggre_noc clock handler.

Change-Id: I8a8cc75911a37df705f6d1389b3771a6b6982f41
2020-02-03 13:12:31 -08:00
qctecmdr
d13380a8bf Merge "ARM: dts: msm: Fix ufs OCS error" 2020-02-03 10:02:57 -08:00
Tony Truong
434074aeab ARM: dts: msm: add initial PHY sequence for PCIe0 and PCIe1 on lahaina
Add initial PHY sequence for PCIe0 and PCIe1 on lahaina.

Change-Id: Ic604830066e353202fb9234951ae2765f4e7b00a
2020-02-03 09:18:52 -08:00