Commit Graph

332 Commits

Author SHA1 Message Date
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
leihan
234c84ba30 dt-bindings: soc: qcom: Add bindings for smp2p sleepstate driver
Add the bindings for the smp2p sleepstate driver in YAML.

Smp2p sleepstate driver unset the SMP2P PROC_AWAKE_ID bit if Apps
is going into suspend, set it again when Apps comes out of suspend.

By reading this SMP2P bit, the remote side knows when to avoid
sending data.

Change-Id: I5ad0a431a6c9a40d2a08e9f6a864956b49e0aeab
Signed-off-by: leihan <quic_leihan@quicinc.com>
2023-08-18 21:06:05 +08:00
qctecmdr
d921ac1409 Merge "ARM: dts: msm: Unstub dispcc for Sun" 2023-08-17 18:12:13 -07:00
qctecmdr
58f20acb9a Merge "dt-bindings: clock: Add Videocc bindings for Sun" 2023-08-17 18:12:13 -07:00
qctecmdr
89e9b9d32c Merge "dt-bindings: soc: qcom: correct compatible for coresight-remote-etm" 2023-08-17 18:12:13 -07:00
George Shen
527694888f ARM: dts: msm: Add EVA CDSP shared mem
For EVA DSP clients.

Change-Id: I694314287eb0b97c20ecae4d2860d826c6cdd3fa
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2023-08-17 14:59:45 -07:00
Xubin Bai
cab5ca4fbc dt-bindings: clock: Add Tcsrcc bindings for Sun
Add Tcsrcc bindings for Sun device.

Change-Id: Ia5e86c3e8128ba8622f87cf3f9ae207280544c46
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-08-16 23:53:30 -07:00
Amir Vajid
467330472c dt-bindings: Add devicetree bindings for dcvs drivers
Add snapshot of dcvs dt bindings as of qcom-6.1
commit 96af901712d3 ("dt-bindings: soc: qcom: Document
CRMB and CRMC regs").

Change-Id: I305f06bee1895feabec2b85b2c5ed4fa80895f83
Signed-off-by: Amir Vajid <quic_avajid@quicinc.com>
Signed-off-by: Gurbir Arora <quic_gurbaror@quicinc.com>
2023-08-16 12:24:20 -07:00
Hareesh Gundu
8590667d83 ARM: dts: msm: Add msm_gpu node for sun
Add msm_gpu node to detect sun gpu properties.

Change-Id: I5ce3a39b216681bd9b7386dd3f68a755abe0f197
Signed-off-by: Hareesh Gundu <quic_hareeshg@quicinc.com>
2023-08-16 11:13:06 -07:00
leihan
4c28f788bd dt-bindings: soc: qcom: Add bindings for the glink_pkt driver
Add the bindings for the glink_pkt driver in YAML.

Change-Id: I666732ccc56c3067187f65926cf4ec5d5645a9cc
Signed-off-by: leihan <quic_leihan@quicinc.com>
2023-08-16 21:05:48 +08:00
leihan
bd5bc674dd dt-bindings: soc: qcom: Add bindings for the glink driver
Add the bindings for the glink driver in YAML.

Change-Id: I855df5e916aed74f330351f202d7c380b841178c
Signed-off-by: leihan <quic_leihan@quicinc.com>
2023-08-16 21:02:08 +08:00
Yuanfang Zhang
24caf10fee dt-bindings: soc: qcom: correct compatible for coresight-remote-etm
Correct compatible for coresight-remote-etm.

Change-Id: I2c0e6e1749e348707a37c979129e51ab9ef7eec3
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2023-08-15 19:42:10 -07:00
Patrick Daly
410c7ae956 ARM: dts: qcom: Update memory map to V6
Update memory map to V6, from a baseline of V4.

Change-Id: I167de96b3a2f199188a4d8c995aa49ef6b83fee1
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-08-15 11:51:49 -07:00
qctecmdr
342af7cf1c Merge "dt-bindings: regulator: stub-regulator: fix dt_binding_check warning" 2023-08-14 11:33:54 -07:00
qctecmdr
8241124653 Merge "dt-bindings: clock: Add gpucc bindings for Sun" 2023-08-14 11:33:54 -07:00
qctecmdr
781e8f0fbc Merge "dt-bindings: regulator: fixed: add qti-regulator-fixed compatible string" 2023-08-14 11:33:54 -07:00
qctecmdr
ecb945cd53 Merge "dt-bindings: regulator: add QTI OCP notifier bindings documentation" 2023-08-14 11:33:54 -07:00
qctecmdr
96265a944f Merge "dt-bindings: regulator: add proxy consumer bindings" 2023-08-14 11:33:54 -07:00
Yuanfang Zhang
1fa42c98bd dt-bindings: soc: qcom: Add documentation for dcc and memory-dump
Add documentation for dcc and memory-dump driver.

Change-Id: Iadca5ac385af2f79c8f8449cd5a538f24815b436
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2023-08-14 00:40:54 -07:00
Melody Olvera
8261384c4a ARM: dts: msm: sun: Add EUD node for sun SoC
Add EUD node for sun SoC.

Change-Id: If4105edc4c0426eab5168ed256d10ed28cfaa889
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-08-10 13:01:33 -07:00
Melody Olvera
7168896a72 dt-bindings: soc: qcom: Add documnetation for EUD
Add documnetation for msm EUD driver.

Change-Id: I54d5230b646a2fd57e83cfddceea74dcc5a7e890
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
2023-08-10 13:01:28 -07:00
qctecmdr
5283a405e9 Merge "dt-bindings: clock: Add Cambistmclkcc bindings for Sun" 2023-08-08 14:38:03 -07:00
Xubin Bai
1a2b543114 ARM: dts: msm: Unstub gpucc for Sun
Unstub gpucc for Sun device.

Change-Id: I11919b69830038bcd6c97a593191bdb08c6e4057
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-08-08 10:11:51 -07:00
qctecmdr
2f5274d761 Merge "dt-bindings: pinctrl: qcom-pmic-gpio: add PMXR2230 and PM6450 binding" 2023-08-07 10:30:42 -07:00
Xubin Bai
0f2864c72f ARM: dts: msm: Unstub Videocc for Sun
Unstub Videocc for Sun.

Change-Id: I0bdfbd02b8e321f02507214c6d0ec56e64911d8b
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-08-07 05:15:57 -07:00
Xubin Bai
df5015bcf4 dt-bindings: clock: Add Videocc bindings for Sun
Add Videocc bindings for Sun device.

Change-Id: Idba14b3efe7bddcb1b4d5b0490889689da6e5409
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-08-07 05:14:27 -07:00
David Collins
33623ba803 dt-bindings: regulator: stub-regulator: fix dt_binding_check warning
make dt_binding_check outputs the following warning for the file
qcom,stub-regulator.yaml:

Documentation/devicetree/bindings/regulator/
qcom,stub-regulator.example.dtb:
  regulator-l1: 'regulator-max-microvolt', 'regulator-min-microvolt',
  'regulator-name' do not match any of the regexes: 'pinctrl-[0-9]+'

This occurs because both of these are specified:
 * allOf:
     - $ref: "regulator.yaml#"

 * additionalProperties: false

Fix this warning by switching the latter to:

  unevaluatedProperties: false

Change-Id: I5e0c9eb9e6a0638464db5d084bd008df357505d6
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-08-03 16:42:25 -07:00
David Collins
fa679d428f dt-bindings: regulator: add proxy consumer bindings
Add bindings for regulator proxy consumers which can be used to
enforce minimum voltage, current, and enable state of regulators
when a board is booting up.

Change-Id: I045faf871af168e5ace707f434e0317a176a16fc
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-08-03 16:18:36 -07:00
David Collins
789f4b0eb3 dt-bindings: regulator: add QTI OCP notifier bindings documentation
Add a bindings documentation file for QTI regulator over-current
(OCP) notifier devices.  These devices can be used to monitor and
notifier consumers of regulator OCP and alarm events on certain
Qualcomm Technologies, Inc. PMICs.

A regulator alarm event occurs when the output voltage droops due
to excessive current consumption which is lower than the over-
current protection threshold.

Change-Id: Id86cf62144c6e9f970cd09b7fe7a93ab40ef6cd8
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-08-03 16:17:38 -07:00
David Collins
d11bf83b2d dt-bindings: regulator: fixed: add qti-regulator-fixed compatible string
Modify the fixed-regulator binding to include the compatible
string "qti-regulator-fixed".  This is helpful in situations
where proxy consumer voting or debug control features are
needed.

Change-Id: Icf4e6012a0994ff2467ee8a7af036bb97c352fce
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-08-02 16:06:23 -07:00
qctecmdr
9378b893fb Merge "ARM: dts: msm: Add GDSC supply to USB node for sun" 2023-08-02 09:25:03 -07:00
qctecmdr
f2f540c2b5 Merge "dt-bindings: Add USB M31 HSPHY bindings" 2023-08-02 09:25:03 -07:00
qctecmdr
2a7c152496 Merge "dt-bindings: iio: adc: add Glink ADC bindings" 2023-08-02 09:25:03 -07:00