Ling Xu
8de0848447
dt-bindings: misc: qcom,fastrpc: Add GDSP label
...
There are some products which support GDSP remoteprocs. GDSP is General
Purpose DSP where tasks can be offloaded. There are 2 GDSPs named gdsp0
and gdsp1. Add "gdsp0" and "gdsp1" as the new supported labels for GDSP
fastrpc domains.
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Ekansh Gupta <ekansh.gupta@oss.qualcomm.com >
Signed-off-by: Ling Xu <quic_lxu5@quicinc.com >
Signed-off-by: Srinivas Kandagatla <srini@kernel.org >
Link: https://lore.kernel.org/r/20250912131302.303199-2-srini@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2025-09-12 15:48:45 +02:00
Bartosz Golaszewski
24d85d971b
dt-bindings: misc: qcom,fastrpc: document new domain ID
...
Add "cdsp1" as the new supported label for the CDSP1 fastrpc domain.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org >
Link: https://lore.kernel.org/r/20240902141821.70656-4-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-09-03 12:11:05 +02:00
Bartosz Golaszewski
9eb2c5faaa
dt-bindings: misc: qcom,fastrpc: increase the max number of iommus
...
The fastrpc components on the SA8775P SoC can require up to 10 IOMMU
entries. Bump the maxItems.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org >
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Link: https://lore.kernel.org/r/20240902141821.70656-2-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-09-03 12:11:05 +02:00
Krzysztof Kozlowski
14354fc38a
dt-bindings: misc: qcom,fastrpc: Compute callbacks can be DMA coherent
...
Apparently on Qualcomm SM8550 and SM8650 the FastRPC compute callbacks
are DMA coherent:
sm8650-qrd.dtb: fastrpc: compute-cb@2: 'dma-coherent' does not match any of the regexes: 'pinctrl-[0-9]+'
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20240212110827.59302-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2024-02-13 12:12:28 -06:00
Krzysztof Kozlowski
2b544ec6a1
dt-bindings: misc: qcom,fastrpc: drop unneeded quotes
...
Cleanup bindings dropping unneeded quotes. Once all these are fixed,
checking for this can be enabled in yamllint.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20230607184147.420352-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-06-12 13:31:21 -06:00
Abel Vesa
70aa0a5551
dt-bindings: misc: qcom,fastrpc: increase allowed iommus entries
...
The fastrpc components on the SM8550 SoC can require up to 3 IOMMU
entries, this bumps the maxItems to 3 for this purpose.
Signed-off-by: Abel Vesa <abel.vesa@linaro.org >
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org >
Link: https://lore.kernel.org/r/20221125071405.148786-2-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-11-25 18:45:33 +01:00
Abel Vesa
68df591380
dt-bindings: misc: fastrpc: Document memory-region property
...
Add memory-region property to the list of optional properties, specify
the value type and a definition. This property is used to specify the
memory region which should be used for remote heap CMA.
Signed-off-by: Abel Vesa <abel.vesa@linaro.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20220909133938.3518520-4-abel.vesa@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2022-09-12 12:09:51 -05:00
Krzysztof Kozlowski
af82840328
dt-bindings: misc: qcom,fastrpc: correct example for GLINK edge
...
The parent of FastRPC node is GLINK edge, so the properties should be
matching GLINK, not SMD. Correct the example and extend it based on
SM8350.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20220909125403.803158-5-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2022-09-09 11:23:30 -05:00
Krzysztof Kozlowski
94f1f366ca
dt-bindings: misc: qcom,fastrpc: restrict channel names
...
The Qualcomm FastRPC is expected to in GLINK or SMD edge node and its
channel name is always the same.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20220909125403.803158-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2022-09-09 11:23:30 -05:00
Krzysztof Kozlowski
6eada2efd4
dt-bindings: misc: qcom,fastrpc: add compute iommus
...
The children of FastRPC have either one or two IOMMUs in existing DTS
(SM8150, SM8450 and others).
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20220909125403.803158-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2022-09-09 11:23:30 -05:00
Krzysztof Kozlowski
a44b80926b
dt-bindings: misc: qcom,fastrpc: correct qcom,nsessions name
...
The property in old TXT bindings, in Linux driver and in DTS is
qcom,nsessions.
Fixes: ed18a9b140 ("dt-bindings: misc: fastrpc convert bindings to yaml")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20220909125403.803158-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2022-09-09 11:23:30 -05:00
Abel Vesa
ed18a9b140
dt-bindings: misc: fastrpc convert bindings to yaml
...
Convert Qualcomm FastRPC bindings to yaml format, so that we could validate
dt-entries correctly and any future additions can go into yaml format.
Use compute-cb@ subnodes instead of just cb@. Add qcom,glink-channels and
qcom,smd-channels missing properties to make sure dtbs_check doesn't fail
right off the bat. Correct the name of the parent node in the example from
smd-edge to glink-edge.
Since now the qcom,fastrpc bindings document is yaml, update the
reference to it in qcom,glink-edge and also use $ref.
Also update the MAINTAINERS file to point to the yaml version.
Co-developed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org >
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org >
Co-developed-by: David Heidelberg <david@ixit.cz >
Signed-off-by: David Heidelberg <david@ixit.cz >
Signed-off-by: Abel Vesa <abel.vesa@linaro.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20220907074301.3996021-1-abel.vesa@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2022-09-07 10:42:24 -05:00