Commit Graph

286 Commits

Author SHA1 Message Date
Elliot Berman
bb72440aa0 dt-bindings: Have find traverse through symlink
When the dt-bindings Makefile searches for schema files, it uses "find"
to search for yaml files. Find does not travese past symlinks, but
bindings is a symlink to the devicetree project. Force traversal by
adding trailing slash so that the root directory is past the symlink.

Change-Id: I9575b3b9e00725c5e1bcaccf99070d71994a9f77
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
2023-10-25 11:14:14 -07:00
Cristian Ciocaltea
15814ed27e dt-bindings: Fix multi pattern support in DT_SCHEMA_FILES
DT_SCHEMA_FILES used to allow specifying a space separated list of file
paths, but the introduction of partial matches support broke this
feature:

$ make dtbs_check DT_SCHEMA_FILES="path/to/schema1.yaml path/to/schema2.yaml"
[...]
  LINT    Documentation/devicetree/bindings
usage: yamllint [-h] [-] [-c CONFIG_FILE | -d CONFIG_DATA] [--list-files] [...]
                [-v]
                [FILE_OR_DIR ...]
yamllint: error: one of the arguments FILE_OR_DIR - is required
[...]

Restore the lost functionality by preparing a grep filter that is able
to handle multiple search patterns.

Additionally, as suggested by Rob, use ':' instead of ' ' as the
patterns separator char. Hence, the command above becomes:

$ make dtbs_check DT_SCHEMA_FILES="path/to/schema1.yaml:path/to/schema2.yaml"

Fixes: 309d955985ee ("dt-bindings: kbuild: Support partial matches with DT_SCHEMA_FILES")
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://lore.kernel.org/r/20230209193735.795288-1-cristian.ciocaltea@collabora.com
Signed-off-by: Rob Herring <robh@kernel.org>

Git-Repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Git-Commit: 25eba1598c8e1e804c02e3a0da50782c50c11c41
Change-Id: I8bf8eaf06c3271c7b525c3c638477a2a23efb46f
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
2023-10-25 11:12:15 -07:00
Hrishabh Rajput
eee0bb4bb2 bindings: Add bindings for the gunyah panic notifier
This driver responds to a kernel panic event on PVM
by sending doorbell to notify TUIVM.

Change-Id: I5cbc644a9978e290b44e61f2c8fa747d1ddfc276
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-10-25 16:26:20 +05:30
Prasanna S
60b18eb027 dt-bindings: buses: Add slimbus driver bindings for Sun
Add slimbus driver binding for Sun device.

Change-Id: Ifa583ff49201f7dcab7abf8c455130e09cdc4813
Signed-off-by: Prasanna S <quic_prass@quicinc.com>
2023-10-25 03:51:55 -07:00
Hrishabh Rajput
bc9217d35d bindings: Add bindings for the QTI VM Dmesg dumper
Dmesg dumper transfer QTI VM encrypted dmesg to PVM by dumping
the dmesg log buffer to a reserved memory location.

Change-Id: I3585f820e9dfe3f0011e210e4d6f1297734c47c3
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-10-25 16:21:14 +05:30
qctecmdr
cfe3892709 Merge "dt-bindings: soc: qcom: Add documentation for SHM" 2023-10-24 14:04:47 -07:00
qctecmdr
a540c08070 Merge "ARM: dts: msm: Add cpucp scmi nodes for sun" 2023-10-24 14:04:47 -07:00
Jishnu Prakash
d6d5b31791 dt-bindings: iio: qcom,spmi-vadc: Add PMIC5 GEN3 ADC bindings
PMIC5 GEN3 ADC has support for clients to read voltage and
current on supported channels connected to the PMIC.
Clients include reading voltage phone power and on board system
thermistors for thermal management. ADCs on certain PMICs have
support to read battery current.

Change-Id: Ief7cbdf77d227ba2cb4ef7919aa66d9962d98e37
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
[quic_amelende@quicinc.com: Converted binding change from .txt to .yaml]
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-10-24 11:39:49 -07:00
qctecmdr
bb01365116 Merge "dt-bindings: platform: msm: Add SPI msm geni bindings for Sun" 2023-10-24 09:15:47 -07:00
qctecmdr
a38bff2298 Merge "dt-bindings: buses: Add MSM geni serial bindings for Sun" 2023-10-24 09:15:47 -07:00
qctecmdr
27967d0632 Merge "dt-bindings: platform: msm: Add gpi bindings for Sun" 2023-10-24 09:15:47 -07:00
qctecmdr
f05510b181 Merge "dt-bindings: platform: msm: Add i3c msm geni bindings for Sun" 2023-10-24 09:15:47 -07:00
qctecmdr
631f5301b6 Merge "dt-bindings: platform: msm: Add I2C msm geni bindings for Sun" 2023-10-24 09:15:47 -07:00
Amir Vajid
77db4f167c ARM: dts: msm: Add cpucp scmi nodes for sun
Add nodes to enable scmi communication to cpucp on sun.

Change-Id: I574949e32e397047701f836d54115f56414ea023
Signed-off-by: Amir Vajid <quic_avajid@quicinc.com>
2023-10-23 20:18:47 -07:00
qctecmdr
07e8205d36 Merge "dt-bindings: add dt-binding for qcom coresight qmi and uetm" 2023-10-23 19:23:18 -07:00
qctecmdr
3aadc6b7c1 Merge "dt-bindings: Add USB typeC and DP redriver bindings" 2023-10-23 19:23:17 -07:00
qctecmdr
911c675b3b Merge "dt-bindings: Add TLMM VM test driver documentation" 2023-10-23 19:23:17 -07:00
qctecmdr
559eb585bc Merge "dt-bindings: soc: qcom: Add documentation for ufs-phy-qmp-v4-sun" 2023-10-23 19:23:17 -07:00
qctecmdr
2e40ed6c51 Merge "ARM: dts: msm: Enable clock rpmh device node for Sun" 2023-10-23 19:23:17 -07:00
qctecmdr
5ee450f885 Merge "dt-bindings: iio: qcom,spmi-vadc: Add SW-calibrated ADC bindings" 2023-10-23 19:23:17 -07:00
Minghao Zhang
a91ab8db67 dt-bindings: Add snapshot of sys-pm-violators documentation
Snapshot the sys-pm-violators documentation from
qcom-6.1 'commit <16ac1827ff37> ("bindings: arm: msm:
Add sys-pm-violators bindings for monaco_au")'.

Updates:
	- Add entry to support for sun.

Change-Id: I1a8cd4652b6680ff4b87199a6fc22b1ddbcd9614
Signed-off-by: Minghao Zhang <quic_minghao@quicinc.com>
2023-10-23 15:41:21 +08:00
Anil Veshala Veshala
2e6858f742 dt-bindings: platform: msm: Add i3c msm geni bindings for Sun
Add i3c msm geni driver binding for Sun device.

Change-Id: I3bb5c66bd182fe8d527c72c95aa88ee746ce4127
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2023-10-18 23:02:55 -07:00
Anil Veshala Veshala
7f491b9af4 dt-bindings: platform: msm: Add gpi bindings for Sun
Add gpi driver binding for Sun device.

Change-Id: I6667f73eb4258b107eb0a5060efeffd55a9075a6
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2023-10-18 22:59:54 -07:00
Unnathi Chalicheemala
9b576e5ddb dt-bindings: soc: qcom: Add documentation for SHM
Add documentation for System Helath Monitor driver.

Change-Id: Id91b9144b56dc18612626ba39d504faba002b20c
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-10-18 22:16:13 -07:00
Xubin Bai
b535b64615 dt-bindings: clock: Add rpmh-clk bindings for Sun
Add rpmh clock bindings for Sun.

Change-Id: Ib49451eebb4d9959375b55570b4bd4893401d3ec
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
Signed-off-by: Vivek Aknurwar <quic_viveka@quicinc.com>
2023-10-17 23:59:46 -07:00
Po-Jung Lai
fe2d0076e8 ARM: dts: msm: gunyah: Add qtmr binding
Add qtmr binding description and example.

Change-Id: Ifbfcfc86931b38d08f6edec87d7c7983122d051c
Signed-off-by: Po-Jung Lai <quic_pojulai@quicinc.com>
2023-10-17 15:42:13 -07:00
Po-Jung Lai
22c0c71a7c ARM: dts: msm: gunyah: Add gh-msgq-test binding
Add gh-msgq-test binding description and requirements which include
compatible, label and optional properties.

Change-Id: Ie894c1ca2179c9fed9b066893de03eff60749c81
Signed-off-by: Po-Jung Lai <quic_pojulai@quicinc.com>
2023-10-17 15:37:49 -07:00
Jyothi Kumar Seerapu
8894c3d7b3 dt-bindings: platform: msm: Add SPI msm geni bindings for Sun
Add DT bindings for SPI which provides the resource management details
for the SPI geni msm driver.

Change-Id: Ifcaccf747ee2efe41fba6d77660456916dcc099b
Signed-off-by: Jyothi Kumar Seerapu <quic_jseerapu@quicinc.com>
2023-10-17 14:54:41 +05:30
Prasanna S
94118e5df4 dt-bindings: buses: Add MSM geni serial bindings for Sun
Add msm geni serial binding for Sun device.

Change-Id: Ibe60f9ce579c8ed46ad542d265ca4b8164f9101e
Signed-off-by: Prasanna S <quic_prass@quicinc.com>
2023-10-17 14:10:00 +05:30
Ronak Vijay Raheja
b6bedcf437 dt-bindings: Add USB typeC and DP redriver bindings
Add ON Semiconductor USB Type-C and display port 10Gbps Linear Re-Driver
bindings used on MSM platforms.

Change-Id: Ia333a63a958a5a890f2743a3ec6dc51d7053b720
Signed-off-by: Ronak Vijay Raheja <quic_rraheja@quicinc.com>
2023-10-16 12:47:27 -07:00
Jyothi Kumar Seerapu
49f893e582 dt-bindings: platform: msm: Add I2C msm geni bindings for Sun
Add DT bindings for I2C which provides the resource management details
for the I2C geni msm driver.

Change-Id: I2bc39bf86e0760db595cd2a17e7c1fc6ee1f98cf
Signed-off-by: Jyothi Kumar Seerapu <quic_jseerapu@quicinc.com>
2023-10-16 16:46:53 +05:30
Satya Durga Srinivasu Prabhala
b38d73258d dt-bindings: msm: Add snapshot of IMEM document
This snapshot is taken from qcom-6.1 commit 5e1de6591957
("dt-bindings: IMEM: add binding for Modem DSM region").

Change-Id: Ie0af47ef3d0957ae3537a3b97912eaa85275bd86
Signed-off-by: Satya Durga Srinivasu Prabhala <quic_satyap@quicinc.com>
2023-10-15 13:01:32 -07:00
Yuanfang Zhang
970fa586c4 dt-bindings: add dt-binding for qcom coresight qmi and uetm
Add devicetree bindings for qcom coresight qmi and uetm.

Change-Id: I35a08db4398dd63dfbd9867a502995cb7e90b8f5
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2023-10-13 13:34:13 +08:00
qctecmdr
234066ce47 Merge "dt-bindings: Add snapshot of virtio-mem documentation" 2023-10-12 22:21:40 -07:00
Jishnu Prakash
f3901bee1b dt-bindings: iio: qcom,spmi-vadc: Add SW-calibrated ADC bindings
Add bindings for SW-calibrated ADC used on PMR735A/PMR735B on
targets which don't have PMK8350 running in master mode.

Change-Id: I753b3caf1e52ac9920a9df32cbef465277409700
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
[quic_amelende@quicinc.com: Converted binding change from .txt to .yaml]
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-10-12 17:07:37 -07:00
Bao D. Nguyen
72179f28c0 dt-bindings: soc: qcom: Add documentation for ufs-phy-qmp-v4-sun
Add documentation for ufs-phy-qmp-v4-sun phy driver.

Change-Id: I5238ad385f7833e9de3a4c85a9a2936d3dc6a8f4
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
2023-10-11 17:08:43 -07:00
qctecmdr
6136a71333 Merge "ARM: dts: qcom: add PMIC devices for Sun" 2023-10-11 09:33:38 -07:00
qctecmdr
361bdc7c67 Merge "dt-bindings: thermal: Update dt-binding for spmi-adc-tm5" 2023-10-10 10:25:56 -07:00
qctecmdr
d52db63aaf Merge "dt-bindings: iio: qcom,spmi-vadc: update prescale ratios" 2023-10-10 10:25:56 -07:00
qctecmdr
c163efff9f Merge "ARM: dts: msm: sun: Add remoteproc node" 2023-10-10 10:25:56 -07:00
Hrishabh Rajput
da4b2e9e0b dt-bindings: Add TLMM VM test driver documentation
The driver provides the framework to test memory lend to VM.

Change-Id: I90c2b17181ce9e50c037fa4997f8f9a5f6b9154b
Signed-off-by: Hrishabh Rajput <quic_hrishabh@quicinc.com>
2023-10-10 20:29:53 +05:30
Patrick Daly
1b27f103d6 dt-bindings: Add snapshot of virtio-mem documentation
Snapshot the virtio-mem documentation from
qcom-6.1 commit a495f33fe39b ("ARM: dts: msm: Add ipcc_mproc_ns1 for
cliffs TUIVM").

Change-Id: I86b8c4c06d7c5c9ab2110b31f673f7414c43c66b
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
2023-10-09 12:11:22 -07:00
Gokul krishna Krishnakumar
640a1cbc33 ARM: dts: msm: bindings: Add cdsprm bindings
Add bingings for cdsprm.

Change-Id: I2507e176a38249e8e5da453a980f69e667166e63
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2023-10-05 10:35:58 -07:00
Gokul krishna Krishnakumar
87d73e7338 ARM: dts: msm: bindings: Add the fastrpc node and child nodes
Bindings for fastrpc nodes and the child nodes.

Change-Id: Ic967b92d2324d5f9671614f62973c5f9820d6b4b
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
2023-10-05 10:34:04 -07:00
Jishnu Prakash
9b823442e4 dt-bindings: iio: adc: qcom,spmi-vadc: Add scale function property
Update qcom,spmi-vadc bindings to include "qcom,scale-fn-type"
property for ADC7.

Change-Id: Ieb8ad5779b078dd77838c498b3a4e0bbcf907df8
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
[quic_amelende@quicinc.com: Converted binding change from .txt to .yaml
 and removed changes already captured in yaml]
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-10-04 10:54:49 -07:00
Unnathi Chalicheemala
8199522ad8 dt-bindings: msm: Change LLCC bindings for Pineapple and Sun
Following device tree register addresses change from upstream commit
ee13b50 ("qcom: llcc/edac: Fix the base address used for accessing LLCC
banks").
Change LLCC bindings for Pineapple and Sun SoC.

Change-Id: I60bdfd7e4bc19343a3eb6a1c0c597523f1c30963
Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
2023-10-04 10:36:14 -07:00
Anjelique Melendez
1f53824ca5 dt-bindings: pinctrl: qcom,pmic-gpio: Add PMIH010x and PMD802x bindings
Update the Qualcomm Technologies, INC. PMIC GPIO binding documentation
to include compatible strings for PMIH010x and PMD802x PMICs.

Change-Id: Icf07b2f657d0e6fd104ae36553d1631caadcdb70
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-09-27 16:54:19 -07:00
Jishnu Prakash
17533b38e2 dt-bindings: iio: qcom,spmi-vadc: update prescale ratios
Update prescale ratios to support the new channels.

Change-Id: I4d37e9653962954e856f464df32297d9aa90757a
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
[quic_amelende@quicinc.com: Converted binding change from .txt to .yaml]
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-09-27 10:37:41 -07:00
Jishnu Prakash
ff8af86c1e dt-bindings: iio: qcom,spmi-vadc: Add compatible string for ADC lite driver
Add the compatible string for ADC-lite driver for
reading parallel charger current channel.

Change-Id: Ie0d3f90d06be4bf28661736058c5d1fb2af1ac8f
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
[quic_amelende@quicinc.com: converted binding change from .txt to .yaml]
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2023-09-27 10:32:36 -07:00
qctecmdr
8dcf3ae18d Merge "dt-bindings: Add snapshot of gic interrupt router documentation" 2023-09-27 02:27:00 -07:00