Commit Graph

3064 Commits

Author SHA1 Message Date
Vivek Aknurwar
3ad392617c ARM: dts: msm: Add GCC phandle to GDSC driver for Sun
GCC needs to probe before GDSC regulator driver as driver will be
unable to read registers without required gcc config ahb clocks. These
config ahb clocks are enabled in GCC probe. Thus GCC needs to probe
before GDSC driver. Adding GCC phandles to sequence the probe order
during kernel boot.

Change-Id: Icd13d18f07540f96cb4175edc5bd41526b6a3841
Signed-off-by: Vivek Aknurwar <quic_viveka@quicinc.com>
2023-09-12 13:46:16 -07:00
Marc Guillaume
d678c24cfe ARM: dts: qcom: Adding msm_sharedmem DT entry
Port of the DT entry which provides configuration settings for the
msm_sharedmem driver. This is needed for correct operation of
MPSS RFS/EFS.

Change-Id: Ic08e19398f10908920f8ac1d7e4670109de5e356
Signed-off-by: Marc Guillaume <quic_mguillau@quicinc.com>
2023-09-11 16:54:32 -07:00
Eric Rosas
404aafc473 dt-bindings: Add documentation for wcd usbss
Add documentation for wcd usbss bindings.

Change-Id: I2f53c5d9cffbd33d73ed21b400bf1a96e8c8cf1a
Signed-off-by: Eric Rosas <quic_erosas@quicinc.com>
2023-09-08 17:27:55 -07:00
Eric Rosas
1e720dfa08 dt-bindings: Add audio codec bindings for sun
Add bindings for WCD and WSA in pinctrl dt
file for sun.

Change-Id: Icb1fd6fb5950c5814cb4039d369647baac93ddf3
Signed-off-by: Eric Rosas <quic_erosas@quicinc.com>
2023-09-08 16:19:40 -07:00
Eric Rosas
f66ad61238 dt-bindings: Add aliases label
Audio kernel depends on the aliases label being defined
from the top level. Add label to aliases node to allow
for proper compilation of audio kernel.

Change-Id: Idb88dd470ca0dec31670adef8546e34fee14a4d7
Signed-off-by: Eric Rosas <quic_erosas@quicinc.com>
2023-09-08 14:24:12 -07:00
Patrick Daly
554a5c2bd0 ARM: dts: msm: Add interconnect properties for apps_smmu for sun
Enable bus bandwidth voting.

Change-Id: I6888e60c4bf9dc06a0361b94424ce75977b887ab
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-09-08 10:01:32 -07:00
Patrick Daly
50b0262199 ARM: dts: msm: Add smmu ACLTR values for sun
Configure per-context bank pre-fetch settings.

Change-Id: I6e30bf2f202ab5e550dbb14b05311f4d775c3d46
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-09-08 10:01:32 -07:00
Patrick Daly
ca8abb5d41 ARM: dts: msm: Add kgsl_smmu for sun
Describe the registers and interrupts of the kgsl_iommu device.

Change-Id: I632cdb3f204dda4af32829c0e373c15065f87af9
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-09-08 10:01:32 -07:00
qctecmdr
10e42d9078 Merge "ARM: dts: msm: Define adsp_mem_heap region" 2023-09-07 08:17:19 -07:00
qctecmdr
86bdd50b20 Merge "ARM: dts: msm: Add smp2p for sun" 2023-09-06 17:54:55 -07:00
qctecmdr
51d6612124 Merge "ARM: dts: msm: Unstub Videocc for Sun" 2023-09-06 16:31:04 -07:00
qctecmdr
21f9c92153 Merge "ARM: dts: msm: Unstub Cambistmclkcc on Sun" 2023-09-06 16:31:04 -07:00
qctecmdr
53b2837ffd Merge "ARM: dts: msm: Unstub tcsrcc for Sun" 2023-09-06 16:31:04 -07:00
qctecmdr
3796912956 Merge "dt-bindings: soc: qcom: Add bindings for QSEE IPC interrupt bridge" 2023-09-06 16:31:03 -07:00
qctecmdr
682b8230cf Merge "ARM: dts: msm: sun: Add EUD node for sun SoC" 2023-09-06 16:31:03 -07:00
qctecmdr
324d13e3f4 Merge "dt-bindings: memshare: Add devicetree bindings for memshare" 2023-09-06 14:54:56 -07:00
qctecmdr
2d890362b9 Merge "ARM: dts: msm: Add bi_tcxo_ao phandle for CCs on Sun" 2023-09-06 14:54:56 -07:00
qctecmdr
b4c9556ad5 Merge "dt-bindings: soc: qcom: Add bindings for smp2p sleepstate driver" 2023-09-06 14:54:56 -07:00
qctecmdr
266de98be3 Merge "dt-bindings: input: add binding documentation for qcom,hv-haptics" 2023-09-06 14:54:56 -07:00
Xubin Bai
6c074a4b4c ARM: dts: qcom: keep VDD_MMCX and VDD_MXC supplies always on for Sun RUMI
Set regulator-always-on for VDD_MMCX and VDD_MXC on Sun
RUMI. This ensures that clock controller register values
are maintained since RUMI isn't simulating register
retention across VDD_MMCX or VDD_MXC power collapse.

Change-Id: I5adaa243066df64f6f04f569a05eb124734d7611
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-09-05 10:57:57 -07:00
Anirudh Raghavendra
ad2a8bc603 ARM: dts: msm: Define adsp_mem_heap region
Define adsp mem heap region for adsp-mem device. Also
add documentation for the same.

Change-Id: Icce88b87c28797ff51ba5b0d885706d3a903eee3
Signed-off-by: Anirudh Raghavendra <quic_araghave@quicinc.com>
2023-09-05 10:56:16 -07:00
leihan
ad9cd71fea dt-bindings: net: Add bindings for the qrtr-mhi driver
Add the bindings for the qrtr-mhi driver in YAML.

MHI based qrtr is the transport used for communicating
to external modems.

Change-Id: I31ed0e57955c74d9fa628fe05ed7b9ebbd004b36
Signed-off-by: leihan <quic_leihan@quicinc.com>
2023-09-04 20:06:08 +08:00
Marc Guillaume
8d38320d81 ARM: dts: qcom: Adding msm_sharedmem documentation
Adding documentation for msm_sharedmem

Change-Id: I38d99cc698e2581f13cd146c715825baa592f395
Signed-off-by: Marc Guillaume <quic_mguillau@quicinc.com>
2023-09-02 09:47:37 -07:00
Manoj Prabhu B
471a115457 dt-bindings: memshare: Add devicetree bindings for memshare
Add documentation for memshare driver device tree bindings
aligning to new requirement.

Change-Id: I1da604c4c444044ac4c2dd25037d11900ebe8a79
Signed-off-by: Manoj Prabhu B <quic_bmanoj@quicinc.com>
2023-09-02 02:53:05 -07:00
qctecmdr
c9ad63e4e2 Merge "dt-bindings: soc: qcom: Add bindings for the glink driver" 2023-09-01 09:52:30 -07:00
qctecmdr
d5cb7aabb1 Merge "dt-bindings: clock: Add Tcsrcc bindings for Sun" 2023-09-01 09:52:30 -07:00
qctecmdr
6fd4d30426 Merge "ARM: dts: msm: Unstub gpucc for Sun" 2023-09-01 03:09:39 -07:00
qctecmdr
ee7d0e8e09 Merge "dt-bindings: soc: qcom: Add bindings for the glink_pkt driver" 2023-08-31 22:04:30 -07:00
qctecmdr
830e38f129 Merge "ARM: dts: msm: Remove usb-role-switch for pineapple" 2023-08-31 15:36:39 -07:00
qctecmdr
bd549ef579 Merge "dt-bindings: mfd: add qcom-i2c-pmic bindings" 2023-08-31 14:15:30 -07:00
qctecmdr
b038fcc8b8 Merge "dt-bindings: snapshot of cluster device documentation" 2023-08-31 14:15:30 -07:00
qctecmdr
8bdd062bb3 Merge "ARM: dts: qcom: Update flash led compatible for Pineapple files" 2023-08-31 12:34:05 -07:00
Xubin Bai
92f3bdac38 ARM: dts: msm: Add bi_tcxo_ao phandle for CCs on Sun
Add bi_tcxo_ao phandle for camcc, dispcc and evacc on Sun.

Change-Id: Ibece684c5010c9b32ec92228f4c2e9811e69e323
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-08-31 04:02:04 -07:00
David Collins
2ab5b48f99 dt-bindings: hwmon: add bindings for qcom,amoled-ecm
Qualcomm Technologies, Inc. AMOLED ECM provides a method to measure
OLED display power/current consumption. Add the bindings necessary to
describe it.

This is a snapshot of qcom,amoled-ecm.yaml taken as of qcom-6.1
commit f2d83cefcff8 ("dt-bindings: qcom,amoled-ecm: add
display-panels property").

Change-Id: If2644e7f2a6ee39c7a2c866377012bbb208fd75b
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-08-25 18:33:37 -07:00
David Collins
98ab567a07 dt-bindings: mfd: add qcom-i2c-pmic bindings
Add bindings for the I2C PMIC Controller.  This device handles
interrupts from an I2C PMIC and supports various subnodes which
each correspond to a PMIC peripheral (e.g. LDO regulator, GPIO,
etc).

Change-Id: I83528bd1239f1eb645f17a579216edc616ff2fcd
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-08-25 18:32:12 -07:00
Bruce Levy
ffe8c802d5 ARM: dts: msm: Remove usb-role-switch for pineapple
Remove the usb-role-switch property for pineapple target.
USB SW driver will assume that the USB cable is connected and
enumerate w/the PC.

Change-Id: I6f2f1b292792bc064722fdeff3807ea4c3fa5a53
Signed-off-by: Bruce Levy <quic_blevy@quicinc.com>
2023-08-24 13:16:43 -07:00
Rashid Zafar
491587c3c9 dt-bindings: snapshot of cluster device documentation
cluster device doumentation snapshot taken from qcom-6.1 branch
commit 040e6d35b731 ("dt-bindings: Add documentation for cluster
device").

Updates:
    - Rewritten in YAML format.

Change-Id: I765a50dce03fa7ecdf2c0ba9ace7bbf671102017
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-08-23 21:36:11 -07:00
Xubin Bai
9700e0ffe9 ARM: dts: msm: Unstub tcsrcc for Sun
Unstub tcsrcc for Sun. Also shrink the tlmm
region to avoid overlaps, but that tlmm doesn't
use anything past where we're shrinking it.

Change-Id: Id9f09105ad959ba9c9f44b2cb3912e1f93bba3b3
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-08-23 21:33:50 -07:00
Chris Lew
830e4d7eb4 ARM: dts: msm: Add smp2p for sun
Add the smp2p nodes for lpaidsp, modem, cdsp and soccp for sun.

Change-Id: I9664b57fbb8f39e5edbadfad66882d97fe1634d3
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
2023-08-22 17:22:58 -07:00
Chris Lew
b328de5242 ARM: dts: msm: Add AOSS and TME QMP nodes for sun
Add the nodes to describe the QMP devices to communicate with AOSS and
TME.

Change-Id: Iaac6b401e3554ce696a9faf5abaeb16717ff0907
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
2023-08-22 17:22:44 -07:00
Rashid Zafar
b1b99b1e21 ARM: dts: msm: Add PDC irqchip for sun
Add PDC interrupt controller to support wake irqs.

Change-Id: I459a68079611f7ed08977b2296b7d4377eb649ee
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-08-22 01:37:44 -07:00
Rashid Zafar
e2885ffc43 dt-bindings: interrupt-controller: qcom,pdc: Add sun
Document sun compatible property.

Change-Id: I24e2957f324d8ec532ee40b343c6f3779a566ea1
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
2023-08-22 01:36:54 -07:00
David Collins
c0afbf03ad dt-bindings: input: add binding documentation for qcom,hv-haptics
Qualcomm Technologies, Inc. (QTI) High Voltage (HV) PMIC haptics
modules can support up to 10 V voltage to drive either ERM or LRA.
It has an integrated module to support auto resonance detection
and correction for LRA actuator. It can play different vibration
effects with different pattern sources. It also has an integrated
brake module which can work in different modes to use BEMF for
quick vibration stop.

This is a snapshot of qcom-hv-haptics.txt as of qcom-6.1 branch
commit 3bb6ba2f4e26 ("bindings: qcom-hv-haptics: add
"qcom,primitive-id" property") which was converted to yaml
format.

Change-Id: I7ef8f804e6acacdedaae7fb2789641779e45d01d
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-08-18 18:42:01 -07:00
qctecmdr
6e5cf08b54 Merge "ARM: dts: qcom: Update memory map to V6" 2023-08-18 14:20:04 -07:00
qctecmdr
b0c3c517ad Merge "ARM: dts: msm: Add msm_gpu node for sun" 2023-08-18 14:20:04 -07:00
qctecmdr
ee523f1619 Merge "dt-bindings: Add devicetree bindings for dcvs drivers" 2023-08-18 14:20:04 -07:00
qctecmdr
d3a7e61018 Merge "ARM: dts: msm: Add EVA CDSP shared mem" 2023-08-18 14:20:04 -07:00
Anjelique Melendez
ac914eb179 ARM: dts: qcom: Update flash led compatible for Pineapple files
Flash LED compatible string has been updated from "qcom,pm8350c-flash-led"
to "qcom,qti-pm8350c-flash-led" in Sun. Update existing usage of the
old compatible from Pineapple dtsi files found in Sun.

Change-Id: Ib062510cd6561e57973cca336d2a5b04884ec5d8
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-08-18 11:57:30 -07:00
Anjelique Melendez
65888b80d9 dt-bindings: leds: add documentation for leds-qti-flash
Flash LED device provides support for the clients to turn ON/OFF LED
channels in different modes (flash/torch) individually or as a group.
Add the bindings necessary to describe it.

This is a snapshot taken as of qcom-6.1 branch
commit b8790c7e1f77 ("dt-bindings: leds: leds-qti-flash: Add
support for external LED setup").

Change-Id: Icbdcb3aa794d999b2edb9995f73b00fe4ccb34d1
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-08-18 11:53:44 -07:00
leihan
1cc0326a28 dt-bindings: soc: qcom: Add bindings for QSEE IPC interrupt bridge
Add the bindings for the QSEE IPC interrupt bridge in YAML.

QSEE IPC interrupt bridge driver can forward remote processor
interrupts to tz.

Change-Id: I1714cfc55422338c0d0674774682ab1f7ac5f4a1
Signed-off-by: leihan <quic_leihan@quicinc.com>
2023-08-18 22:17:03 +08:00