Commit graph

4,604 commits

Author SHA1 Message Date
Elliot Berman
295665f6fd ARM: dts: msm: Add device trees for LahainaP variant
Add device tree support for LahainaP variant (no modem).

Change-Id: I9bafe2b27653041831bc424cbda1167f3948e65b
2020-04-03 11:13:28 -07:00
Elliot Berman
98303fba40 dt-bindings: msm: Add compatible strings for lahainap
Add compatible stings for lahainap.

Change-Id: I3412619f8423ef3ed4c0055f1041cc9e0c531efe
2020-04-03 11:13:13 -07:00
qctecmdr
86d7911d43 Merge "ARM: dts: msm: enable qmap flow control feature" 2020-04-03 09:15:56 -07:00
qctecmdr
c56d092a10 Merge "dt-bindings: clock: Add rpmh clock bindings for Shima" 2020-04-03 09:15:56 -07:00
qctecmdr
ce226b8768 Merge "ARM: dts: msm: Update the GSI gpii mask for lahaina" 2020-04-03 09:15:56 -07:00
Vipin Deep Kaur
caf4fb3839 ARM: dts: msm: Add Common driver, I2C and GSI DT nodes in trustedvm
Add QUPv3 common driver, I2C and GSI DT nodes in trustedvm dtsi.

Change-Id: Ide390774db3b93ceaaa89661440cdf3bf5971939
2020-04-03 18:30:25 +05:30
Pavankumar Kondeti
d56318ef3f ARM: dts: msm: add capacity and DPC properties for Shima
The "capacity-dmips-mhz" and "dynamic-power-coefficient" are
used to build Energy Model which in turn used by EAS to take
placement decisions.

Change-Id: Ia44ffe4fcb799663c4bb47eb18f1ac79952ed12d
2020-04-03 15:47:31 +05:30
Maulik Shah
71a32a0d12 ARM: dts: msm: Add LPM support for sm8150
Add PSCI and cpuidle states required for LPMs and
add bindings for RPMH, Master stats.

Change-Id: I0733490083505069254ecb1c286518e6f6aabe2d
2020-04-03 12:11:48 +05:30
Maulik Shah
47899a7892 ARM: dts: msm: Update RSC nodes for sm8150
Add disp_rsc node, Correct number of TCSes in apps_rsc and Add
system_pm as child of apps_rsc.

Change-Id: I15498c2188c63df3b5178346010533c00ec94bfc
2020-04-03 12:11:43 +05:30
Maulik Shah
7d7011ca5f ARM: dts: msm: Update PDC node for sm8150
Update PDC node to add missing properties like pdc ranges, spi cfg
register and add it as wakeup parent to TLMM.

Change-Id: I64b1ae4781cf59bb58a930e317ad98aa75c9b19e
2020-04-03 12:11:29 +05:30
Shyam Kumar Thella
de93ed778a ARM: dts: msm: Add "regulator-allow-set-load" for PM8350B IBB regulator
Add the DT property "regulator-allow-set-load" for PM8350B IBB
regulator device that is required to support some consumer APIs.

Change-Id: I0a54c4bb7b4e3b6234d36072041ee78fde4774d5
2020-04-03 10:10:52 +05:30
Chandra Sai Chidipudi
f3bd9d19e0 dt-bindings: LLCC: Add "qcom,shima-llcc" compatible property
Add "qcom,shima-llcc" compatible property which matches
the driver for Shima platform.

Change-Id: Ie0711695459cd59574b4ca9e4cf3f049b5618544
2020-04-03 09:50:03 +05:30
Chaitanya Pratapa
bdefb3d72c ARM: dts: msm: increase ipa modem smem size to 36k on Lahaina
To support new filter/routing tables for dynamic
RSB enablement feature, modem smem size needs to be
increased. Make changes to increase the SMEM size
to 36K.

Change-Id: I5119f26a6c9f366257377384c0eef47e095eb058
2020-04-02 20:25:52 -07:00
Asutosh Das
d40f2fd7a5 ARM: dts: msm: Update ufs bus vote for Lahaina
Update the bus vote of gear-3 and gear-4 to actual
needed bandwidth.

Change-Id: Ideda07a0fead0fc9413356b77d380648fd690329
2020-04-02 16:18:17 -07:00
Pratham Pratap
0f4eb65a97 ARM: dts: msm: Add USB nodes for Shima
Add USB nodes to support USB in peripheral mode on
simulation platforms for Shima.

Change-Id: I9ea4cded7b55293a12a9d0305cc3d210f20780ec
2020-04-03 01:48:25 +05:30
Ram Chandrasekar
1c33eb3004 dt-bindings: thermal: Add documentation for CPU voltage cooling device
Add documentation for CPU voltage cooling device. CPU voltage cooling
device will provide support to apply CPU frequency mitigation on the
different CPUs in a cluster to achieve a reduction in cluster voltage.
This is achieved by building a mitigation table mapping the CPU
frequency levels to a voltage.

Change-Id: I41a222c54442bdc065267f1f1cf079118b8032e9
2020-04-02 09:17:16 -07:00
Mao Jinlong
f62264a76b ARM: dts: msm: Disable tpdm ddr for lahaina
Disable tpdm ddr to avoid register access issue.

Change-Id: Ie7a0922f3d7b09d2c75005d5393576dd424a0e2a
2020-04-02 05:51:44 -07:00
Bavyasritha Alahari
63ec4acbf8 ARM: dts: msm: Add cdsp rpmsg entry in Lahaina
CDSPRM module relies on the rpmsg node to create a communication
channel with CDSP. The node also carries information for Cx i-peak
limit management, CPU QoS voting, HVX, CDSP thermal mitigation
frameworks.
CDSPRM module implements a RPMSG interface to communicate with CDSP
while providing a way for CDSP to vote for CPU L3 clock, CPU QoS to
benefit CDSP applications performance. The module also implements
an interface with NPU for Cx i-peak limit management and registers
cooling devices for CDSP and HVX thermal mitigation.
Documentation for device tree bindings related to CDSPRM.

Change-Id: I0f79ebcfcd2e6a2366f755278ae2c5f6bc1b8199
2020-04-02 18:19:32 +05:30
qctecmdr
12f20880a6 Merge "ARM: dts: msm: Add core hang detection to dt for Shima" 2020-04-02 05:43:11 -07:00
qctecmdr
3b1ab8a602 Merge "ARM: dts: msm: Move qbt_handler to soc" 2020-04-02 05:43:11 -07:00
qctecmdr
78d6cd5f39 Merge "Revert "ARM: dts: msm: Clean-up vidc DT node"" 2020-04-02 05:43:11 -07:00
qctecmdr
7b01ccb46e Merge "ARM: dts: msm: Add support for ION for the trusted-VM" 2020-04-02 05:43:11 -07:00
Jay Jayanna
c6e3465f60 ARM: dts: msm: Add spss glink ssr entry for Lahaina
Add glink ssr entry for SPSS to receive notification of
modem ssr.

Change-Id: I75fee736ed2bd2f3b37ba075221de0acc1c604d0
2020-04-01 16:28:04 -07:00
Elson Roy Serrao
d1992a3331 dt-bindings: usb: Add Gen2 Tx Compliance tuning property for dwc3
Tuning for Tx 3.1 Gen2 needs to be done by modifiying the deemph
registers. Expose these registers via device tree properties so that
tuning can be applied duing dwc3 init.

Change-Id: I84066e976ccbd6006ca9149e29d1c27acb694646
2020-04-01 15:56:21 -07:00
Umesh Vats
979e8ec77c ARM: dts: msm: Add entry for bluetooth sw_ctrl gpio
Add entry for bluetooth switch control gpio.

Change-Id: I88832114177b7b052ad855d340f9dc38f11a5cea
2020-04-01 14:08:21 -07:00
qctecmdr
f0227e9ddd Merge "ARM: dts: msm: use 'dma-coherent-hint-cached' for fastrpc nodes" 2020-04-01 13:43:11 -07:00
Isaac J. Manjarres
0ffe22837e 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-04-01 13:12:34 -07:00
Elson Roy Serrao
9844984a79 ARM: dts: msm: Increase the dwc3 reg address range for Lahaina
The register address range for Lahaina is not covering all the
controller registers. Tuning the Tx deemph registers for dwc3
gen2 protocol test is not possible with the current range.
Modify the reg property to cover the entire range as defined in
the data book to fix this issue.

Change-Id: I34b605f920af7cae8b2efd69a54f96e8cde5c001
2020-04-01 11:50:45 -07:00
Mihir Ganu
b55a6ef70a Revert "ARM: dts: msm: Clean-up vidc DT node"
This reverts commit 789a5cb2fd.

Change-Id: I59c3a194bcafbe4d5e36c6a847ecc8a661722915
2020-04-01 09:30:46 -07:00
qctecmdr
28ac5c4ad8 Merge "Revert "dt-bindings: msm: vidc: Clean-up dt properties"" 2020-04-01 02:51:02 -07:00
Shyam Kumar Thella
fa75c5c485 ARM: dts: msm: Add pinctrl for PM8350C GPIO 9 on Lahaina platforms
Output of PWM channel 4 is used for external backlight control of
display panel. Add pinctrl configuration for PM8350C GPIO 9 such that
it is capable of outputting PWM 4's output. This pinctrl configuration
is used by display driver for external backlight control.

Change-Id: Ie9e1a1bf02d8caecde61861dc4528fa0f414a995
2020-04-01 14:45:30 +05:30
Mukesh Ojha
d0179ec286 ARM: dts: msm: Add pshold to Shima
Add pshold node to Shima devicetree.

Change-Id: Ifaf3c87e4a4fd334952801298700113e8bd5ed71
2020-04-01 14:35:39 +05:30
Mukesh Ojha
c3f70428c7 ARM: dts: msm: add msm_rtb tracing
Add qcom,msm-rtb entry to device tree to enable msm_rtb tracing.

Change-Id: Iad117ffb05d477f0ad960737782c56944f3db93e
2020-04-01 14:34:52 +05:30
Mukesh Ojha
f982a9bb94 ARM: dts: msm: Add core hang detection to dt for Shima
Add qcom,msm-hang-detect to device tree to enable MSM Core Hang
Detection on all cores.

Changed from 2 nodes (one for each of silver and gold) to
1 node because that's semantically correct for the driver.

Change-Id: I063d7cc244a0b5d12971f393f45053914fa53179
2020-04-01 14:32:50 +05:30
Abir Ghosh
53a6ca4dc3 ARM: dts: msm: Move qbt_handler to soc
Define the dtsi for qbt_handler inside
soc.

Change-Id: I9ff1ab103c55a4424fe7c1571d15622c9106ea2d
2020-04-01 12:22:12 +05:30
qctecmdr
91fc104583 Merge "ARM: dts: msm: define continuous splash memory region for lahaina" 2020-03-31 21:53:23 -07:00
Prakruthi Deepak Heragu
1fc53c41ba ARM: dts: msm: Add boot-enabled flag support for spcom
Secure processor is brought out of reset at the bootloader
stage, so add  boot-enabled flag to spcomm.

Change-Id: I0d06c8c657518dfc18b20f4622083f13b697f027
2020-03-31 18:13:02 -07:00
Prakruthi Deepak Heragu
aab708530b ARM: dts: msm: Add boot-enabled flag support for spss
Secure processor subsystem is brough of reset in the
bootloader for the kona SoC, so add boot-enabled flag
support for the SPSS secure pil node.

Change-Id: I1f1d691e1320721a10fcc7e6ec3b2298e643ec99
2020-03-31 18:13:02 -07:00
Himateja Reddy
c2fb8297f7 ARM: dts: msm: use 'dma-coherent-hint-cached' for fastrpc nodes
Use 'dma-coherent-hint-cached' instead of 'dma-coherent' for the
fastrpc iommu context banks.

Now, on a QGKI kernel, cached ION buffers will be DMA mapped as
IOMMU cached for the fastrpc devices, all other buffers will be
DMA mapped as IOMMU uncached and dma_alloc_attrs will always
return memory with a cached CPU mapping as well as DMA mapping
its memory as IOMMU cached.

On a GKI kernel, all buffers for fastrpc devices will be DMA
mapped as IOMMU uncached and dma_alloc_attrs will always return
CPU uncached memory.

Change-Id: I4c5b3e082dc057cb76bfd039b19c6211c729597f
Acked-by: Thyagarajan Venkatanarayanan <venkatan@qti.qualcomm.com>
2020-03-31 12:01:20 -07:00
Mihir Ganu
6c1f6a25b8 Revert "dt-bindings: msm: vidc: Clean-up dt properties"
This reverts commit 75bc943da9.

Change-Id: Ifcbcb32d70d4c5515b0c1de8f31aa79081507656
2020-03-31 11:52:57 -07:00
qctecmdr
2b69bf338f Merge "ARM: dts: msm: remove CX, MX and MMCX always-on configuration for Lahaina" 2020-03-31 11:49:53 -07:00
Bao D. Nguyen
7af2b11f8b ARM: dts: msm: Enable smmu for SD card on Lahaina
Enables smmu for SD card.

Change-Id: I4d1be775e3daaf557aa82924cb14487f4d2736d7
2020-03-30 23:56:07 -07:00
Vignesh Kulothungan
45f49b5857 ARM: dts: msm: remove aux devices
Remove WCD, WSA and SWR DMIC aux devices. These
are registered with sound card as codecs.

Change-Id: Ib2a635de08d98ae6b38c294b4b839e685238c0f9
2020-03-30 10:32:07 -07:00
Taniya Das
125b8bea24 dt-bindings: clock: Add rpmh clock bindings for Shima
Add binding documentation for clock rpmh driver on Shima.

Change-Id: I24d46ba1040915bdc8056e1431a751512143de92
2020-03-30 21:58:35 +05:30
qctecmdr
598af0515a Merge "dt-bindings: pmic-glink: add subsystem restart (SSR) support" 2020-03-30 07:21:10 -07:00
qctecmdr
d5b6364702 Merge "ARM: dts: msm: Add regulators for sa8155" 2020-03-30 07:21:09 -07:00
qctecmdr
0044a473f1 Merge "ARM: dts: msm: Remove spss glink ssr entry for Lahaina" 2020-03-29 21:21:56 -07:00
qctecmdr
58642255ff Merge "ARM: dts: msm: Add RSC device bindings for Shima" 2020-03-29 21:21:56 -07:00
Zhiqiang Tu
0275307f51 ARM: dts: msm: Add regulators for sa8155
Add rpmh and refgen regulators for sa8155

Change-Id: Iea8fa84200127394dca1029abf02457bcd3d31ff
2020-03-29 22:17:24 +08:00
qctecmdr
121f0021d1 Merge "ARM: dts: msm: Add snapshot of all SM8150 and SA8155 DT files" 2020-03-29 00:33:16 -07:00