Konrad Dybcio
4fff78dc24
dt-bindings: arm-smmu: Document SM8[45]50 GPU SMMU
...
SM8450 and SM8550 both use a Qualcomm-modified MMU500 for their GPU.
In both cases, it requires a set of clocks to be enabled. Describe that.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20231127-topic-a7xx_dt-v2-1-2a437588e563@linaro.org
Signed-off-by: Will Deacon <will@kernel.org >
2023-12-12 12:26:20 +00:00
Rajendra Nayak
fa27b35c91
dt-bindings: arm-smmu: Add compatible for X1E80100 SoC
...
Add the SoC specific compatible for X1E80100 implementing arm,mmu-500.
Signed-off-by: Rajendra Nayak <quic_rjendra@quicinc.com >
Co-developed-by: Sibi Sankar <quic_sibis@quicinc.com >
Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20231124100608.29964-3-quic_sibis@quicinc.com
Signed-off-by: Will Deacon <will@kernel.org >
2023-12-12 12:11:39 +00:00
Neil Armstrong
61683b47df
dt-bindings: iommu: arm,smmu: document the SM8650 System MMU
...
Document the System MMU on the SM8650 Platform.
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org >
Link: https://lore.kernel.org/r/20231128-topic-sm8650-upstream-bindings-smmu-v2-1-d3fbcaf1ea92@linaro.org
Signed-off-by: Will Deacon <will@kernel.org >
2023-12-12 12:09:01 +00:00
Krzysztof Kozlowski
54dae6d5d3
dt-bindings: iommu: arm,smmu: document clocks for the SM8350 GPU SMMU
...
Document the clocks for Qualcomm SM8350 Adreno GPU SMMU, already used in
DTS:
sm8350-hdk.dtb: iommu@3da0000: clock-names: False schema does not allow ['bus', 'iface', 'ahb', 'hlos1_vote_gpu_smmu', 'cx_gmu', 'hub_cx_int', 'hub_aon']
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20231112184522.3759-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Will Deacon <will@kernel.org >
2023-12-12 12:05:44 +00:00
Danila Tikhonov
c53cdc0291
dt-bindings: arm-smmu: Add SM7150 GPU SMMUv2
...
SM7150 has a qcom,smmu-v2-style SMMU just for Adreno and friends.
Document it.
Signed-off-by: Danila Tikhonov <danila@jiaxyga.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230913184526.20016-2-danila@jiaxyga.com
Signed-off-by: Will Deacon <will@kernel.org >
2023-10-12 13:48:28 +01:00
Konrad Dybcio
938ba2f252
dt-bindings: arm-smmu: Fix SDM630 clocks description
...
SDM630 was abusingly referencing one of the internal bus clocks, that
were recently dropped from Linux (because the original implementation
did not make much sense), circumventing the interconnect framework.
Fix it by dropping the bus-mm clock (which requires separating 630 from
similar entries) and keeping the rest as-is.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20230721-topic-rpm_clk_cleanup-v2-4-1e506593b1bd@linaro.org
Signed-off-by: Will Deacon <will@kernel.org >
2023-09-18 10:17:35 +01:00
Konrad Dybcio
b606e2e8ed
dt-bindings: arm-smmu: Fix MSM8998 clocks description
...
MSM8998 was abusingly referencing one of the internal bus clocks, that
were recently dropped from Linux (because the original implementation
did not make much sense), circumventing the interconnect framework.
Fix it by dropping the bus-mm clock (which requires separating 8998 from
similar entries) and keeping the rest as-is.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20230531-topic-8998_mmssclk-v3-6-ba1b1fd9ee75@linaro.org
Signed-off-by: Will Deacon <will@kernel.org >
2023-08-11 12:33:26 +01:00
Rohit Agarwal
48989c0b25
dt-bindings: arm-smmu: Add SDX75 SMMU compatible
...
Add devicetree binding for Qualcomm SDX75 SMMU.
Signed-off-by: Rohit Agarwal <quic_rohiagar@quicinc.com >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/1684487350-30476-5-git-send-email-quic_rohiagar@quicinc.com
Signed-off-by: Will Deacon <will@kernel.org >
2023-06-05 16:47:14 +01:00
Konrad Dybcio
44984d56e0
dt-bindings: arm-smmu: Add SM6375 GPU SMMU
...
SM6375 has a "Qualcomm SMMU V2" implementation for its GPU SMMU. It
does not however qualify for the qcom,adreno-smmu compatible, as it can
not do split pagetables. It consumes a single clock and a single genpd.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230531-topic-sm6375_gpusmmu-v1-1-860943894c71@linaro.org
Signed-off-by: Will Deacon <will@kernel.org >
2023-06-05 16:40:55 +01:00
Bartosz Golaszewski
387a80a741
dt-bindings: iommu: arm,smmu: enable clocks for sa8775p Adreno SMMU
...
The GPU SMMU will require the clocks property to be set so put the
relevant compatible into the adreno if-then block.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230417125844.400782-5-brgl@bgdev.pl
[will: Fixed conflict with 'qcom,sc8280xp-smmu-500' entry]
Signed-off-by: Will Deacon <will@kernel.org >
2023-06-05 16:36:21 +01:00
Bjorn Andersson
84b8a7fe29
dt-bindings: arm-smmu: Fix SC8280XP Adreno binding
...
The qcom,sc8280xp-smmu-500 Adreno SMMU binding has clocks, so fix up the
binding to allow this.
Fixes: 38db6b41b2 ("dt-bindings: arm-smmu: Add compatible for Qualcomm SC8280XP")
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20230523010441.63236-1-quic_bjorande@quicinc.com
Signed-off-by: Will Deacon <will@kernel.org >
2023-06-05 16:28:16 +01:00
Konrad Dybcio
3ad6585509
dt-bindings: arm-smmu: Document SM61[12]5 GPU SMMU
...
Both of these SoCs have a Qualcomm MMU500 implementation of SMMU
in front of their GPUs that expect 3 clocks. Both of them also have
an APPS SMMU that expects no clocks. Remove qcom,sm61[12]5-smmu-500
from the "no clocks" list (intentionally 'breaking' the schema checks
of APPS SMMU, as now it *can* accept clocks - with the current
structure of this file it would have taken a wastefully-long time to
sort this out properly..) and add necessary yaml to describe the
clocks required by the GPU SMMUs.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230315-topic-kamorta_adrsmmu-v1-1-d1c0dea90bd9@linaro.org
Signed-off-by: Will Deacon <will@kernel.org >
2023-03-27 12:37:01 +01:00
Konrad Dybcio
16d1646871
dt-bindings: arm-smmu: Add SM8350 Adreno SMMU
...
Document the Adreno SMMU present on SM8350.
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20230313-topic-gpu_smmu_bindings-v3-2-66ab655fbfd5@linaro.org
Signed-off-by: Will Deacon <will@kernel.org >
2023-03-27 12:31:15 +01:00
Konrad Dybcio
5c3686616b
dt-bindings: arm-smmu: Use qcom,smmu compatible for MMU500 adreno SMMUs
...
qcom,smmu-500 was introduced to prevent people from adding new
compatibles for what seems to roughly be the same hardware. Use it for
qcom,adreno-smmu-compatible targets as well.
While at it, fix the "arm,smmu-500" -> "arm,mmu-500" typo in the comment.
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Link: https://lore.kernel.org/r/20230313-topic-gpu_smmu_bindings-v3-1-66ab655fbfd5@linaro.org
Signed-off-by: Will Deacon <will@kernel.org >
2023-03-27 12:31:14 +01:00
Abel Vesa
7f061c19f6
dt-bindings: arm-smmu: Add compatible for SM8550 SoC
...
Add the SoC specific compatible for SM8550 implementing
arm,mmu-500.
Signed-off-by: Abel Vesa <abel.vesa@linaro.org >
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230207-topic-sm8550-upstream-smmu-bindings-v3-1-cb15a7123cfe@linaro.org
Signed-off-by: Will Deacon <will@kernel.org >
2023-03-27 12:28:18 +01:00
Manivannan Sadhasivam
eb9181a3ae
dt-bindings: arm-smmu: Fix binding for SDX55 and SDX65
...
Both SDX55 and SDX66 SoCs are using the Qualcomm version of the SMMU-500
IP. But the binding lists them under the non-qcom implementation which is
not correct.
So fix the binding by moving these two SoCs under "qcom,smmu-500"
implementation.
Fixes: 6c84bbd103 ("dt-bindings: arm-smmu: Add generic qcom,smmu-500 bindings")
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230123131931.263024-2-manivannan.sadhasivam@linaro.org
Signed-off-by: Will Deacon <will@kernel.org >
2023-01-24 11:43:56 +00:00
Martin Botka
822765f44e
dt-bindings: arm-smmu: Document smmu-500 binding for SM6125
...
Document smmu-500 compatibility with the SM6125 SoC.
Signed-off-by: Martin Botka <martin.botka@somainline.org >
[Marijn: Move compatible to the new, generic, qcom,smmu-500 list]
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20221222193254.126925-2-marijn.suijten@somainline.org
Signed-off-by: Will Deacon <will@kernel.org >
2023-01-24 11:35:53 +00:00
Bartosz Golaszewski
0802999c9b
dt-bindings: arm-smmu: document the smmu on Qualcomm SA8775P
...
Document the qcom,smmu-500 SMMU on SA8775P platforms.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230112154554.442808-1-brgl@bgdev.pl
Signed-off-by: Will Deacon <will@kernel.org >
2023-01-24 11:35:53 +00:00
Krzysztof Kozlowski
d565d60d3d
dt-bindings: arm-smmu: disallow clocks when not used
...
Disallow clocks for variants other than:
1. SMMUs with platform-specific compatibles which list explicit clocks
and clock-names,
2. SMMUs using only generic compatibles, e.g. arm,mmu-500, which have a
variable clocks on different implementations.
This requires such variants with platform-specific compatible, to
explicitly list the clocks or omit them, making the binding more
constraint.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221222092355.74586-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Will Deacon <will@kernel.org >
2023-01-24 11:35:53 +00:00
Marijn Suijten
11321f7763
dt-bindings: arm-smmu: Add sm8150-smmu-500 to the list of Adreno smmus
...
sm8150 has an smmu-500 specifically for Adreno, where the GPU is allowed
to switch pagetables. Document the allowed 3-compatibles for this,
similar to sc7280 and sm8250.
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org >
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20221213002626.260267-1-konrad.dybcio@linaro.org
Signed-off-by: Will Deacon <will@kernel.org >
2023-01-24 11:35:52 +00:00
Konrad Dybcio
6bc6af375c
dt-bindings: arm-smmu: Allow 3 power domains on SM6375 MMU500
...
The SMMU on SM6375 requires 3 power domains to be active. Add an
appropriate description of that.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Will Deacon <will@kernel.org >
Link: https://lore.kernel.org/r/20221115152727.9736-2-konrad.dybcio@linaro.org
Signed-off-by: Will Deacon <will@kernel.org >
2023-01-24 11:35:52 +00:00
Konrad Dybcio
5a47cb4df3
dt-bindings: arm-smmu: Add SM6350 GPU SMMUv2
...
SM6350 has a qcom,smmu-v2-style SMMU just for Adreno and friends.
Document it.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20221117094422.11000-2-konrad.dybcio@linaro.org
Signed-off-by: Will Deacon <will@kernel.org >
2022-11-18 14:16:39 +00:00
Dmitry Baryshkov
6c84bbd103
dt-bindings: arm-smmu: Add generic qcom,smmu-500 bindings
...
Add generic bindings for the Qualcomm variant of the ARM MMU-500. It is
expected that all future platforms will use the generic qcom,smmu-500
compat string in addition to SoC-specific and the generic arm,mmu-500
ones. Older bindings are now described as deprecated.
Note: I have split the sdx55 and sdx65 from the legacy bindings. They
are not supported by the qcom SMMU implementation. I can suppose that
they are using the generic implementation rather than the
Qualcomm-speicific one.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Link: https://lore.kernel.org/r/20221114170635.1406534-5-dmitry.baryshkov@linaro.org
Signed-off-by: Will Deacon <will@kernel.org >
2022-11-14 18:09:38 +00:00
Dmitry Baryshkov
3a12e8c065
dt-bindings: arm-smmu: add special case for Google Cheza platform
...
Cheza fw does not properly program the GPU aperture to allow the
GPU to update the SMMU pagetables for context switches. The board file
works around this by dropping the "qcom,adreno-smmu" compat string.
Add this usecase to arm,smmu.yaml schema.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Link: https://lore.kernel.org/r/20221114170635.1406534-4-dmitry.baryshkov@linaro.org
Signed-off-by: Will Deacon <will@kernel.org >
2022-11-14 18:09:38 +00:00
Dmitry Baryshkov
982295bfe3
dt-bindings: arm-smmu: fix clocks/clock-names schema
...
Rework clocks/clock-names properties schema to properly describe
possible usage cases.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Link: https://lore.kernel.org/r/20221114170635.1406534-3-dmitry.baryshkov@linaro.org
Signed-off-by: Will Deacon <will@kernel.org >
2022-11-14 18:09:38 +00:00
Dmitry Baryshkov
dbf88f7435
dt-bindings: arm-smmu: Add missing Qualcomm SMMU compatibles
...
Add missing compatibles used for Adreno SMMU on sc7280 and sm8450
platforms and for the Qualcomm v2 SMMU used on SDM630 platform.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Link: https://lore.kernel.org/r/20221114170635.1406534-2-dmitry.baryshkov@linaro.org
Signed-off-by: Will Deacon <will@kernel.org >
2022-11-14 18:09:38 +00:00
Richard Acayan
8d3a9ec6ae
dt-bindings: iommu: arm-smmu: add sdm670 compatible
...
The Snapdragon 670 needs the IOMMU for GENI I2C. Add a compatible string in
the documentation to represent its support.
Signed-off-by: Richard Acayan <mailingradian@gmail.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20221111003606.126795-2-mailingradian@gmail.com
Signed-off-by: Will Deacon <will@kernel.org >
2022-11-14 14:13:28 +00:00
Adam Skladowski
728b22a572
dt-bindings: arm-smmu: Add compatible for Qualcomm SM6115
...
Add compatible for the Qualcomm SM6115 platform to the ARM SMMU
DeviceTree binding.
Signed-off-by: Adam Skladowski <a39.skl@gmail.com >
Signed-off-by: Iskren Chernev <iskren.chernev@gmail.com >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20221030094258.486428-5-iskren.chernev@gmail.com
Signed-off-by: Will Deacon <will@kernel.org >
2022-11-14 13:42:31 +00:00
Melody Olvera
6313f4b5a4
dt-bindings: arm-smmu: Add 'compatible' for QDU1000 and QRU1000
...
Add compatible bindings for Qualcomm QDU1000 and QRU1000 platforms.
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com >
Link: https://lore.kernel.org/r/20221026190534.4004945-2-quic_molvera@quicinc.com
Signed-off-by: Will Deacon <will@kernel.org >
2022-11-14 13:39:05 +00:00
Konrad Dybcio
743302d4ad
dt-bindings: arm-smmu: Add compatible for Qualcomm SM6375
...
Add a compatible for Qualcomm SM6375's broken-as-usual MMU500 impl.
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Link: https://lore.kernel.org/r/20220716193223.455859-1-konrad.dybcio@somainline.org
Signed-off-by: Will Deacon <will@kernel.org >
2022-07-19 18:24:28 +01:00
Thierry Reding
95d5aeabda
dt-bindings: arm-smmu: Add compatible for Tegra234 SOC
...
The NVIDIA Tegra234 SoC comes with one single-instance ARM SMMU used by
isochronous memory clients and two dual-instance ARM SMMUs used by non-
isochronous memory clients.
Reviewed-by: Rob Herring <robh@kernel.org >
Acked-by: Will Deacon <will@kernel.org >
Signed-off-by: Thierry Reding <treding@nvidia.com >
Link: https://lore.kernel.org/r/20220429082243.496000-3-thierry.reding@gmail.com
Signed-off-by: Will Deacon <will@kernel.org >
2022-05-06 16:29:27 +01:00
Thierry Reding
c02bda09f9
dt-bindings: arm-smmu: Document nvidia,memory-controller property
...
On NVIDIA SoC's the ARM SMMU needs to interact with the memory
controller in order to map memory clients to the corresponding stream
IDs. Document how the nvidia,memory-controller property can be used to
achieve this.
Note that this is a backwards-incompatible change that is, however,
necessary to ensure correctness. Without the new property, most of the
devices would still work but it is not guaranteed that all will.
Reviewed-by: Rob Herring <robh@kernel.org >
Acked-by: Will Deacon <will@kernel.org >
Signed-off-by: Thierry Reding <treding@nvidia.com >
Link: https://lore.kernel.org/r/20220429082243.496000-2-thierry.reding@gmail.com
Signed-off-by: Will Deacon <will@kernel.org >
2022-05-06 16:29:27 +01:00
Bjorn Andersson
38db6b41b2
dt-bindings: arm-smmu: Add compatible for Qualcomm SC8280XP
...
Add compatible for the Qualcomm SC8280XP platform to the ARM SMMU
DeviceTree binding.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20220503163429.960998-2-bjorn.andersson@linaro.org
Signed-off-by: Will Deacon <will@kernel.org >
2022-05-06 16:27:59 +01:00
Rohit Agarwal
5a4eb91634
dt-bindings: arm-smmu: Add binding for SDX65 SMMU
...
Add devicetree binding for Qualcomm SDX65 SMMU.
Signed-off-by: Rohit Agarwal <quic_rohiagar@quicinc.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/1649670615-21268-5-git-send-email-quic_rohiagar@quicinc.com
Signed-off-by: Will Deacon <will@kernel.org >
2022-05-06 16:22:05 +01:00
Vinod Koul
810d8cabaa
dt-bindings: arm-smmu: Add compatible for SM8450 SoC
...
Add the SoC specific compatible for SM8450 implementing
arm,mmu-500.
Signed-off-by: Vinod Koul <vkoul@kernel.org >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20211201073943.3969549-2-vkoul@kernel.org
Signed-off-by: Will Deacon <will@kernel.org >
2021-12-14 14:43:57 +00:00
David Heidelberg
ae377d3420
dt-bindings: arm-smmu: Add compatible for the SDX55 SoC
...
Add missing compatible for the SDX55 SoC.
Signed-off-by: David Heidelberg <david@ixit.cz >
Link: https://lore.kernel.org/r/20211020231701.278846-1-david@ixit.cz
Signed-off-by: Will Deacon <will@kernel.org >
2021-12-14 14:41:53 +00:00
Loic Poulain
f1edce3db5
dt-bindings: arm-smmu: Add compatible for QCM2290 SoC
...
Add the SoC specific compatible for QCM2290 implementing arm,mmu-500.
Signed-off-by: Loic Poulain <loic.poulain@linaro.org >
Link: https://lore.kernel.org/r/1633096832-7762-2-git-send-email-loic.poulain@linaro.org
[will: Sort by alphabetical order, rewrite commit message]
Signed-off-by: Will Deacon <will@kernel.org >
2021-10-04 12:58:24 +01:00
Konrad Dybcio
e4a40f15b0
dt-bindings: arm-smmu: Add compatible for SM6350 SoC
...
Add the SoC specific compatible for SM6350 implementing
arm,mmu-500.
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20210820202906.229292-1-konrad.dybcio@somainline.org
Signed-off-by: Will Deacon <will@kernel.org >
2021-10-04 12:48:47 +01:00
Thierry Reding
bf3ec9deaa
dt-bindings: arm-smmu: Fix json-schema syntax
...
Commit 4287861dca ("dt-bindings: arm-smmu: Add Tegra186 compatible
string") introduced a jsonschema syntax error as a result of a rebase
gone wrong. Fix it.
Fixes: 4287861dca ("dt-bindings: arm-smmu: Add Tegra186 compatible string")
Reported-by: Rob Herring <robh@kernel.org >
Signed-off-by: Thierry Reding <treding@nvidia.com >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20210621140036.2879563-1-thierry.reding@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
2021-06-23 07:55:10 +02:00
Thierry Reding
4287861dca
dt-bindings: arm-smmu: Add Tegra186 compatible string
...
The ARM SMMU instantiations found on Tegra186 and later need inter-
operation with the memory controller in order to correctly program
stream ID overrides.
Furthermore, on Tegra194 multiple instances of the SMMU can gang up
to achieve higher throughput. In order to do this, they have to be
programmed identically so that the memory controller can interleave
memory accesses between them.
Add the Tegra186 compatible string to make sure the interoperation
with the memory controller can be enabled on that SoC generation.
Signed-off-by: Thierry Reding <treding@nvidia.com >
Link: https://lore.kernel.org/r/20210603164632.1000458-3-thierry.reding@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
2021-06-11 08:44:51 +02:00
Sai Prakash Ranjan
a9aa2bb18e
dt-bindings: arm-smmu: Add compatible for SC7280 SoC
...
Add the SoC specific compatible for SC7280 implementing
arm,mmu-500.
Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org >
Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org >
Reviewed-by: Stephen Boyd <swboyd@chromium.org >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/1615788144-29508-1-git-send-email-rnayak@codeaurora.org
Signed-off-by: Will Deacon <will@kernel.org >
2021-03-25 15:07:04 +00:00
Vinod Koul
70b5b6a6da
dt-bindings: arm-smmu: Add sm8350 compatible string
...
Add compatible string for sm8350 iommu to documentation.
Signed-off-by: Vinod Koul <vkoul@kernel.org >
Link: https://lore.kernel.org/r/20210115090322.2287538-1-vkoul@kernel.org
Signed-off-by: Will Deacon <will@kernel.org >
2021-01-22 13:17:08 +00:00
Bjorn Andersson
9cde12ba07
dt-bindings: arm-smmu-qcom: Add Qualcomm SC8180X compatible
...
Add compatible for the ARM SMMU found in the Qualcomm SC8180x platform.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20210121014005.1612382-1-bjorn.andersson@linaro.org
Signed-off-by: Will Deacon <will@kernel.org >
2021-01-22 13:12:29 +00:00
Jordan Crouse
a29bbb0861
dt-bindings: arm-smmu: Add compatible string for Adreno GPU SMMU
...
Every Qcom Adreno GPU has an embedded SMMU for its own use. These
devices depend on unique features such as split pagetables,
different stall/halt requirements and other settings. Identify them
with a compatible string so that they can be identified in the
arm-smmu implementation specific code.
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org >
Signed-off-by: Rob Clark <robdclark@chromium.org >
Reviewed-by: Rob Herring <robh@kernel.org >
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org >
Link: https://lore.kernel.org/r/20201109184728.2463097-4-jcrouse@codeaurora.org
Signed-off-by: Will Deacon <will@kernel.org >
2020-11-10 12:25:49 +00:00
Krishna Reddy
3d2deb0cdb
dt-bindings: arm-smmu: add binding for Tegra194 SMMU
...
Add binding for NVIDIA's Tegra194 SoC SMMU.
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com >
Reviewed-by: Jon Hunter <jonathanh@nvidia.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Reviewed-by: Robin Murphy <robin.murphy@arm.com >
Link: https://lore.kernel.org/r/20200718193457.30046-5-vdumpa@nvidia.com
Signed-off-by: Will Deacon <will@kernel.org >
2020-07-20 09:30:50 +01:00
Tomasz Nowicki
e85e84d19b
dt-bindings: arm-smmu: add compatible string for Marvell Armada-AP806 SMMU-500
...
Add specific compatible string for Marvell usage due to errata of
accessing 64bits registers of ARM SMMU, in AP806.
AP806 SoC uses the generic ARM-MMU500, and there's no specific
implementation of Marvell, this compatible is used for errata only.
Signed-off-by: Hanna Hawa <hannah@marvell.com >
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com >
Signed-off-by: Tomasz Nowicki <tn@semihalf.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Reviewed-by: Robin Murphy <robin.murphy@arm.com >
Link: https://lore.kernel.org/r/20200715070649.18733-4-tn@semihalf.com
Signed-off-by: Will Deacon <will@kernel.org >
2020-07-16 09:29:22 +01:00
Jonathan Marek
7b6b70d88b
dt-bindings: arm-smmu: Add sm8150 and sm8250 compatible strings
...
Add compatible strings for sm8150 and sm8250 iommus to documentation.
Signed-off-by: Jonathan Marek <jonathan@marek.ca >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20200609194030.17756-2-jonathan@marek.ca
Signed-off-by: Will Deacon <will@kernel.org >
2020-07-09 09:55:25 +01:00
Linus Torvalds
4e3a16ee91
Merge tag 'iommu-updates-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu
...
Pull iommu updates from Joerg Roedel:
"A big part of this is a change in how devices get connected to IOMMUs
in the core code. It contains the change from the old add_device() /
remove_device() to the new probe_device() / release_device()
call-backs.
As a result functionality that was previously in the IOMMU drivers has
been moved to the IOMMU core code, including IOMMU group allocation
for each device. The reason for this change was to get more robust
allocation of default domains for the iommu groups.
A couple of fixes were necessary after this was merged into the IOMMU
tree, but there are no known bugs left. The last fix is applied on-top
of the merge commit for the topic branches.
Other than that change, we have:
- Removal of the driver private domain handling in the Intel VT-d
driver. This was fragile code and I am glad it is gone now.
- More Intel VT-d updates from Lu Baolu:
- Nested Shared Virtual Addressing (SVA) support to the Intel VT-d
driver
- Replacement of the Intel SVM interfaces to the common IOMMU SVA
API
- SVA Page Request draining support
- ARM-SMMU Updates from Will:
- Avoid mapping reserved MMIO space on SMMUv3, so that it can be
claimed by the PMU driver
- Use xarray to manage ASIDs on SMMUv3
- Reword confusing shutdown message
- DT compatible string updates
- Allow implementations to override the default domain type
- A new IOMMU driver for the Allwinner Sun50i platform
- Support for ATS gets disabled for untrusted devices (like
Thunderbolt devices). This includes a PCI patch, acked by Bjorn.
- Some cleanups to the AMD IOMMU driver to make more use of IOMMU
core features.
- Unification of some printk formats in the Intel and AMD IOMMU
drivers and in the IOVA code.
- Updates for DT bindings
- A number of smaller fixes and cleanups.
* tag 'iommu-updates-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (109 commits)
iommu: Check for deferred attach in iommu_group_do_dma_attach()
iommu/amd: Remove redundant devid checks
iommu/amd: Store dev_data as device iommu private data
iommu/amd: Merge private header files
iommu/amd: Remove PD_DMA_OPS_MASK
iommu/amd: Consolidate domain allocation/freeing
iommu/amd: Free page-table in protection_domain_free()
iommu/amd: Allocate page-table in protection_domain_init()
iommu/amd: Let free_pagetable() not rely on domain->pt_root
iommu/amd: Unexport get_dev_data()
iommu/vt-d: Fix compile warning
iommu/vt-d: Remove real DMA lookup in find_domain
iommu/vt-d: Allocate domain info for real DMA sub-devices
iommu/vt-d: Only clear real DMA device's context entries
iommu: Remove iommu_sva_ops::mm_exit()
uacce: Remove mm_exit() op
iommu/sun50i: Constify sun50i_iommu_ops
iommu/hyper-v: Constify hyperv_ir_domain_ops
iommu/vt-d: Use pci_ats_supported()
iommu/arm-smmu-v3: Use pci_ats_supported()
...
2020-06-08 11:42:23 -07:00
Linus Torvalds
571d54ed91
Merge tag 'devicetree-for-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
...
Pull devicetree updates from Rob Herring:
- Convert various DT (non-binding) doc files to ReST
- Various improvements to device link code
- Fix __of_attach_node_sysfs refcounting bug
- Add support for 'memory-region-names' with reserved-memory binding
- Vendor prefixes for Protonic Holland, BeagleBoard.org, Alps, Check
Point, Würth Elektronik, U-Boot, Vaisala, Baikal Electronics,
Shanghai Awinic Technology Co., MikroTik, Silex Insight
- A bunch more binding conversions to DT schema. Only 3K to go.
- Add a minimum version check for schema tools
- Treewide dropping of 'allOf' usage with schema references. Not needed
in new json-schema spec.
- Some formatting clean-ups of schemas
* tag 'devicetree-for-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (194 commits)
dt-bindings: clock: Add documentation for X1830 bindings.
dt-bindings: mailbox: Convert imx mu to json-schema
dt-bindings: power: Convert imx gpcv2 to json-schema
dt-bindings: power: Convert imx gpc to json-schema
dt-bindings: Merge gpio-usb-b-connector with usb-connector
dt-bindings: timer: renesas: cmt: Convert to json-schema
dt-bindings: clock: Convert i.MX8QXP LPCG to json-schema
dt-bindings: timer: Convert i.MX GPT to json-schema
dt-bindings: thermal: rcar-thermal: Add device tree support for r8a7742
dt-bindings: serial: Add binding for UART pin swap
dt-bindings: geni-se: Add interconnect binding for GENI QUP
dt-bindings: geni-se: Convert QUP geni-se bindings to YAML
dt-bindings: vendor-prefixes: Add Silex Insight vendor prefix
dt-bindings: input: touchscreen: edt-ft5x06: change reg property
dt-bindings: usb: qcom,dwc3: Introduce interconnect properties for Qualcomm DWC3 driver
dt-bindings: timer: renesas: mtu2: Convert to json-schema
of/fdt: Remove redundant kbasename function call
dt-bindings: clock: Convert i.MX1 clock to json-schema
dt-bindings: clock: Convert i.MX21 clock to json-schema
dt-bindings: clock: Convert i.MX25 clock to json-schema
...
2020-06-04 20:11:25 -07:00
Sharat Masetty
13c7a1683e
dt-bindings: arm-smmu: Add sc7180 compatible string
...
This patch simply adds a new compatible string for SC7180 platform.
Reviewed-by: Douglas Anderson <dianders@chromium.org >
Signed-off-by: Sharat Masetty <smasetty@codeaurora.org >
Link: https://lore.kernel.org/r/1588329036-18732-2-git-send-email-smasetty@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org >
2020-05-15 12:03:49 -07:00