Commit Graph

1290 Commits

Author SHA1 Message Date
Elliot Berman
b54d17c2f5 bindings: Merge android-mainline (cbf07d5) into msm-waipio
Merge snapshot of bindings from android-mainline commit cbf07d5
("FROMLIST: clk: sunxi-ng: add support for the Allwinner A100 CCU").

Change-Id: Ica9bc8abf055fb28bdcd33dad244e3ba5fe1a04b
2020-09-23 13:47:05 -07:00
qctecmdr
49a6419f62 Merge "bindings: remoteproc: Add support for waipio remoteprocs" 2020-09-23 10:56:44 -07:00
qctecmdr
5fc5e8382e Merge "ARM: dts: msm: Update IPCC node for Waipio" 2020-09-23 10:56:44 -07:00
Mao Jinlong
e276a1875f ARM: dts: msm: Add dcc node for waipio
Add dcc node to support register dumps. Disable it due to SDI is not
enabled.

Change-Id: Ib7f40277abccc6b9668902f3c567827a090ff2f9
2020-09-22 01:58:54 -07:00
Rishabh Bhatnagar
9ef7831be1 bindings: remoteproc: Add support for waipio remoteprocs
Add devicetree bindings for adsp/cdsp/slpi/modem remote processors
for waipio.

Change-Id: Iaae8463dfe92890401e85c8ab1edf746505728d6
2020-09-21 17:08:28 -07:00
Huang Yiwei
ca4ef35f87 ARM: dts: msm: Update IPCC node for Waipio
Since mproc protocal has been moved to AOSS_IPC on Waipio,
update the register address.

Change-Id: Ia44ff870234ae6b047f3ab956506001cdfca0d82
2020-09-21 15:31:18 +08:00
Lina Iyer
eac44aa0b7 ARM: dts: msm: add sys-pm-violators device for lahaina
Add system low power mode violators device for Lahaina.

Change-Id: I266b3db4f53c98ed1f499774236ad7993bfe1f0b
2020-09-18 22:33:09 -07:00
Lina Iyer
14a69699ae dt-bindings: add system PM violators bindings
The system PM violators is a device that reads the AOP MSGRAM and
reports subsystems that are preventing system low power modes during a
given duration.

Change-Id: I1c86fd06946bf25c17c854f91369e805c26f10e0
2020-09-18 04:23:05 -07:00
qctecmdr
6ce15dde41 Merge "ARM: dts: msm: Add stats node for waipio" 2020-09-16 23:32:58 -07:00
qctecmdr
eeed24e87f Merge "ARM: dts: msm: Disable ION" 2020-09-16 13:20:22 -07:00
qctecmdr
baec3a6802 Merge "ARM: dts: msm: Update and enable dispcc clock controller on WAIPIO" 2020-09-16 10:17:30 -07:00
Tushar Nimkar
c77501c8c0 ARM: dts: msm: Add stats node for waipio
This patch adds soc sleep stats node to waipio to get
soc sleep stats and rpmh-master stats.

Change-Id: I19f8dd53c99f435d6d9b897c12211229c8c79f8d
2020-09-16 16:56:05 +05:30
Chris Goldsworthy
500a91721f ARM: dts: msm: Disable ION
Disable ION in advance of supporting DMA-BUF heaps

Change-Id: I7653ff35c48edbbecd1138d69762dc6dd18ccecf
2020-09-15 21:28:47 -07:00
qctecmdr
d113041bce Merge "bindings: clock: Update camcc clock controller binding strings for WAIPIO" 2020-09-15 12:44:42 -07:00
qctecmdr
0eac2f75ab Merge "ARM: dts: msm: Add LLCC node for Waipio" 2020-09-15 12:44:42 -07:00
Vivek Aknurwar
73f8ec51c8 ARM: dts: msm: Update and enable dispcc clock controller on WAIPIO
Update device tree node for dispcc and enable peripheral display
controller clock driver on WAIPIO. Also enable required GDSCs.

Change-Id: Idf40106f59534552652e7ac19970fcef33302752
2020-09-14 14:03:01 -07:00
Naveen Yadav
dd8e2c60fd bindings: clock: Update camcc clock controller binding strings for WAIPIO
Update camcc clock controller bindings for WAIPIO device.

Change-Id: I5fc1993e205e16bb179a8b1b4313849cb319dc3e
2020-09-13 21:03:35 -07:00
Tushar Nimkar
c23952c198 dt-bindings: Introduce SoC sleep stats bindings
Add device binding documentation for Qualcomm Technologies, Inc. (QTI)
SoC sleep stats driver. The driver is used for displaying SoC sleep
statistic maintained by Always On Processor or Resource Power Manager.

Change-Id: I002c67010c91a4d9f33eb73a2522f4e3b295ba99
2020-09-11 01:34:55 -07:00
Huang Yiwei
f58124e32f ARM: dts: msm: Add LLCC node for Waipio
Add LLCC node for Waipio to enable Last Level Cache Controller.

Change-Id: I523d5e0baa744afec81f9462bc64d3c44f49236b
2020-09-11 09:16:16 +08:00
Huang Yiwei
a2f747f450 dt-bindings: Update LLCC devicetree binding document
Add compatiable string in bingding document for Waipio.

Change-Id: I5685e81671214e1460170b5e9675cec826a2040c
2020-09-10 13:39:25 +08:00
qctecmdr
2007f65902 Merge "ARM: dts: msm: Add IPCC node for Waipio" 2020-09-09 18:47:13 -07:00
Tushar Nimkar
55f7846db7 dt-bindings: Update devicetree binding document for rpmh-rsc
The change documents power-domains property inside apps_rsc node.
This optional property points corresponding PM domain node.

Change-Id: If755235d8f8a89a5e7f8b4fd9b454ba8c3def46e
2020-09-07 22:24:55 -07:00
Vivek Aknurwar
bd4ea97ea6 bindings: clock: Update dispcc clock controller binding strings for WAIPIO
Update dispcc clock controller bindings for WAIPIO device.

Change-Id: Ie0218053eef62c2cedac5a6ac21d8fe4b46b0467
2020-09-04 16:24:27 -07:00
qctecmdr
1988a43b37 Merge "ARM: dts: msm: Update and enable gpucc clock controller on WAIPIO" 2020-09-04 10:53:24 -07:00
Huang Yiwei
51d38aa8ab ARM: dts: msm: Add IPCC node for Waipio
Add IPCC node for Waipio to enable inter processor
interrupt router feature.

Change-Id: I2f01c4989b9e880793459d3bdca43b292aaf8ef9
2020-09-03 18:45:52 -07:00
qctecmdr
aff0121bce Merge "bindings: clock: Update gpucc clock controller binding strings for WAIPIO" 2020-09-02 15:36:19 -07:00
qctecmdr
a70a4d3649 Merge "ARM: dts: msm: Add stub GDSCs for WAIPIO" 2020-09-02 14:14:22 -07:00
Lina Iyer
8f7c894a6a ARM: dts: msm: add idle state device bindings for waipio
Add CPU cluster hierarchy using power domains and idle state definitions
for each CPU using OSI PSCI mode for waipio.

Change-Id: Ifab53960a3ec4faee6e7a8950fad8c1a4e6b4753
2020-09-02 21:48:06 +05:30
qctecmdr
5fd8c4fd1a Merge "ARM: dts: msm: Remove rpmh_master_stats and system_pm node for lahaina" 2020-09-02 00:30:15 -07:00
qctecmdr
feb8f2c497 Merge "ARM: dts: msm: Add bindings for RSC and PDC devices for waipio" 2020-09-02 00:30:15 -07:00
qctecmdr
fa0cece6e1 Merge "ARM: dts: msm: Add USB BAM device node to waipio-usb" 2020-09-01 21:48:15 -07:00
Lina Iyer
d90e12ac73 ARM: dts: msm: Add bindings for RSC and PDC devices for waipio
Add device bindings for RSC and PDC for waipio.

Change-Id: I824001610fd618a699dfbc7dc9e211d85cb27345
2020-08-28 21:59:34 +05:30
Tushar Nimkar
659e8718db ARM: dts: msm: Remove rpmh_master_stats and system_pm node for lahaina
The new unified stats driver will accommodate master stats as well. This
change removes older master stats driver node.
The functionality of system_pm driver will be achieved using generic
power domain to invoke rpmh_flush() and the control TCS programming moving
to trustzone.

Change-Id: I9c1820375cf202e6ae15069479f9a3b22388fd03
2020-08-28 09:15:38 -07:00
Tushar Nimkar
280963c2dc ARM: dts: msm: Remove bindings for stats drivers and system_pm
Removes binding for soc sleep stats, master stats amnd system_pm.

Current drivers uses sysfs to display the stats however donot follow
sysfs rules like one value per file. Remove the current drivers. Beside
they also require power_kobj to be exported symbol to become modular.
The new unified stats driver will use debugfs instead to display
statistics.

While at this also remove system_pm driver since the functionality of
system_pm driver will be achieved using generic power domain to invoke
rpmh_flush() and the control TCS programming moving to trustzone.

Change-Id: I44c14f547a5cbd927a491c3c5a515428ff768564
2020-08-28 09:15:02 -07:00
Vivek Aknurwar
35295f783c ARM: dts: msm: Update and enable gpucc clock controller on WAIPIO
Update device tree node for gpu cc and enable peripheral gpu graphics
controller clock driver on WAIPIO. Also enable required GDSCs.

Change-Id: If7a13a02dad4c74618dd6a4e1e0597172eb9d867
2020-08-26 17:54:54 -07:00
Vivek Aknurwar
ae68c0b3a4 bindings: clock: Update gpucc clock controller binding strings for WAIPIO
Update gpucc clock controller bindings for WAIPIO device.

Change-Id: If92d87ff8da68d3c4c9ad838e77828a884d16f4e
2020-08-25 19:01:08 -07:00
Vivek Aknurwar
99e9c49ad3 ARM: dts: msm: Update and enable videocc clock controller on WAIPIO
Enable videocc clock controller for WAIPIO.

Change-Id: I2af2aaf9bfb3617e46345ae6f344720381d81542
2020-08-25 18:19:19 -07:00
Vivek Aknurwar
1ea394b2e8 bindings: clock: Add VIDEO clock controller for WAIPIO
Add VIDEO clock controller for WAIPIO device.

Change-Id: If844a21e95220da44d65d76e6f20fbe7f6b3cf73
2020-08-25 18:19:19 -07:00
Vivek Aknurwar
655e44343c ARM: dts: msm: Update and enable gcc clock controller on WAIPIO
Enable global clock controller for WAIPIO. Enable GCC GDSCs
and update UFS, USB30 gdsc in respective device entries. Also Add
SMMU HLOS vote registers.

Add always on property for USB30 and PCIE_1 GDSC as on RUMI E1
release it is found that once these 2 GDSCs are turned off they
are not turning back on. Once this issue is resolved
these properties will be removed from 2 GDSCs.

Change-Id: I95726a5a441aecfcdf843adf3bda27aeea302c48
2020-08-25 18:18:30 -07:00
Vivek Aknurwar
b44c64ecde ARM: dts: msm: Add stub GDSCs for WAIPIO
Add stub GDSCs required by consumers for WAIPIO.

Change-Id: I8c6d9108433fc16b6d114b982a7ab9d5ef7a0ba8
2020-08-23 05:04:13 -07:00
Wesley Cheng
1c34dc0094 ARM: dts: msm: Add USB BAM device node to waipio-usb
To enable USB BAM, there is a child node which exists under the DWC3 MSM
device.  Add the required parameters for USB BAM on Waipio, such as fifo
base address and size, USB BAM base address, etc...

Change-Id: Ic60d6e81f666455c957e2fec6fa6cce32a50f1e9
2020-08-21 15:10:02 -07:00
Isaac J. Manjarres
cedf71d814 ARM: dts: msm: Upgrade Lahaina's memory map to version 5
Upgrade Lahaina's memory map to version 5, which entails:

-removing the 30 MB trace buffer that was added for the trusted VM
since it was not needed.
-Moving the trusted apps region and allowing it to grow 23 MB more.

Change-Id: Ib2c259a3b692fc19c144dc41e039dca95bf4fb6c
2020-08-19 21:57:38 -07:00
Elliot Berman
105c2d880f ARM: dts: msm: Add smem node for Waipio
Add smem node for Waipio.

Change-Id: I7435d975ddb6e725fd92deab9e4cb1579a59997a
2020-08-14 13:06:08 -07:00
Elliot Berman
94e3e2e9e5 ARM: dts: msm: Add SCM node for Waipio
Add qcom,scm node for Waipio to enable SCM calls.

Change-Id: I555152aa374174e97f7f7dfaf25bd61a8b3da928
2020-08-14 13:05:14 -07:00
qctecmdr
08b84f4461 Merge "ARM: dts: msm: Disable LPM" 2020-08-13 11:57:07 -07:00
qctecmdr
71dbf78211 Merge "bindings: clock: Add GCC clock controller for WAIPIO" 2020-08-12 14:00:30 -07:00
Elliot Berman
53c041bd05 ARM: dts: msm: Disable LPM
First step to use upstream OSI supported cpuidle PSCI driver instead of
downstream lpm-levels driver.

Change-Id: Id27af37f737eabf2e3d3b76eb31ff98e06263da4
2020-08-12 11:04:14 -07:00
Vivek Aknurwar
3a0636d303 bindings: clock: Add GCC clock controller for WAIPIO
Add GCC clock controller for WAIPIO device.

Change-Id: I52fa3d7acc32b8b59834668b08d853854236bdd8
2020-08-10 23:22:36 -07:00
Elliot Berman
0c89c55e51 ARM: dts: msm: Update compatible for pdc
Add "qcom,pdc" to compatible for the interrupt controller. When PDC
driver is enabled as a module, the only compatible string it mentions is
"qcom,pdc".

Change-Id: I44a7edd3d4187ce077091696ae38e93b2ae4006e
2020-08-04 08:44:52 -07:00
qctecmdr
88995b2c55 Merge "ARM: dts: msm: Replace always with always-y" 2020-08-03 11:56:30 -07:00