Skip to contentSkip to conversation

Compatibles for SM6115

PATCH Applied Adam Skladowski 5 participants 15 messages Aug 15, 2022 – Aug 29, 2022

Subsystems (8)
lore
Share & tools
lore
#0 lore raw

cover Compatibles for SM6115

This patch series add bunch of compatibles in preparation for sending device tree patches for Snapdragon 662 SoC

Adam Skladowski (7):
dt-bindings: dmaengine: qcom: gpi: add compatible for SM6115
dmaengine: qcom: gpi: Add SM6115 support
dt-bindings: mmc: sdhci-msm: Document the SM6115 compatible
cpufreq: Add SM6115 to cpufreq-dt-platdev blocklist
dt-bindings: arm-smmu: Add compatible for Qualcomm SM6115 iommu/arm-smmu-qcom: Add SM6115 support
dt-bindings: firmware: document Qualcomm SM6115 SCM

 Documentation/devicetree/bindings/dma/qcom,gpi.yaml     | 1 +
 Documentation/devicetree/bindings/firmware/qcom,scm.txt | 1 +
 Documentation/devicetree/bindings/iommu/arm,smmu.yaml   | 1 +
 Documentation/devicetree/bindings/mmc/sdhci-msm.yaml    | 1 +
 drivers/cpufreq/cpufreq-dt-platdev.c                    | 1 +
 drivers/dma/qcom/gpi.c                                  | 1 +
 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c              | 2 ++
 7 files changed, 8 insertions(+)
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/7 dt-bindings: dmaengine: qcom: gpi: add compatible for SM6115

Document the compatible for GPI DMA controller on SM6115 SoC.

---
 Documentation/devicetree/bindings/dma/qcom,gpi.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/dma/qcom,gpi.yaml +1 -0
index 7d2fc4eb5530..fcfe8a373a16 100644
@@ -21,6 +21,7 @@ properties:
     enum:
       - qcom,sc7280-gpi-dma
       - qcom,sdm845-gpi-dma
+      - qcom,sm6115-gpi-dma
       - qcom,sm8150-gpi-dma
       - qcom,sm8250-gpi-dma
       - qcom,sm8350-gpi-dma
Signature · 1 line
2.25.1
#3 lore raw

PATCH 2/7 dmaengine: qcom: gpi: Add SM6115 support

In reply to Adam Skladowski

Add GPI compatible for SM6115 ee-offset is set to 0x10000 on downstream.

---
 drivers/dma/qcom/gpi.c | 1 +
 1 file changed, 1 insertion(+)
drivers/dma/qcom/gpi.c +1 -0
index 8f0c9c4e2efd..b7fc6e0168f3 100644
@@ -2288,6 +2288,7 @@ static int gpi_probe(struct platform_device *pdev)
 static const struct of_device_id gpi_of_match[] = {
 	{ .compatible = "qcom,sc7280-gpi-dma", .data = (void *)0x10000 },
 	{ .compatible = "qcom,sdm845-gpi-dma", .data = (void *)0x0 },
+	{ .compatible = "qcom,sm6115-gpi-dma", .data = (void *)0x10000 },
 	{ .compatible = "qcom,sm8150-gpi-dma", .data = (void *)0x0 },
 	{ .compatible = "qcom,sm8250-gpi-dma", .data = (void *)0x0 },
 	{ .compatible = "qcom,sm8350-gpi-dma", .data = (void *)0x10000 },
Signature · 1 line
2.25.1
#4 lore raw

PATCH 3/7 dt-bindings: mmc: sdhci-msm: Document the SM6115 compatible

In reply to Adam Skladowski

Document the compatible for SDHCI on SM6115.

---
 Documentation/devicetree/bindings/mmc/sdhci-msm.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/mmc/sdhci-msm.yaml +1 -0
index fc0e81c2066c..a792fa5574a0 100644
@@ -41,6 +41,7 @@ properties:
               - qcom,sdm845-sdhci
               - qcom,sdx55-sdhci
               - qcom,sdx65-sdhci
+              - qcom,sm6115-sdhci
               - qcom,sm6125-sdhci
               - qcom,sm6350-sdhci
               - qcom,sm8150-sdhci
Signature · 1 line
2.25.1
#6 lore raw

Re: [PATCH 3/7] dt-bindings: mmc: sdhci-msm: Document the SM6115 compatible

In reply to Adam Skladowski
Quoted 4 lines · Adam Skladowski

Document the compatible for SDHCI on SM6115.

Applied for next, thanks!

Kind regards
Uffe

Quoted 19 lines
---
 Documentation/devicetree/bindings/mmc/sdhci-msm.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/mmc/sdhci-msm.yaml +1 -1
index fc0e81c2066c..a792fa5574a0 100644
@@ -41,6 +41,7 @@ properties:
               - qcom,sdm845-sdhci
               - qcom,sdx55-sdhci
               - qcom,sdx65-sdhci
+              - qcom,sm6115-sdhci
               - qcom,sm6125-sdhci
               - qcom,sm6350-sdhci
               - qcom,sm8150-sdhci
--

2.25.1

#7 lore raw

PATCH 4/7 cpufreq: Add SM6115 to cpufreq-dt-platdev blocklist

In reply to Adam Skladowski

The Qualcomm SM6115 platform uses the
qcom-cpufreq-hw driver, so add it to the cpufreq-dt-platdev driver's blocklist.

---
 drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
 1 file changed, 1 insertion(+)
drivers/cpufreq/cpufreq-dt-platdev.c +1 -0
index 2c96de3f2d83..6ac3800db450 100644
@@ -146,6 +146,7 @@ static const struct of_device_id blocklist[] __initconst = {
 	{ .compatible = "qcom,sc8180x", },
 	{ .compatible = "qcom,sc8280xp", },
 	{ .compatible = "qcom,sdm845", },
+	{ .compatible = "qcom,sm6115", },
 	{ .compatible = "qcom,sm6350", },
 	{ .compatible = "qcom,sm8150", },
 	{ .compatible = "qcom,sm8250", },
Signature · 1 line
2.25.1
maintainer Applied
#8 lore raw

Re: [PATCH 4/7] cpufreq: Add SM6115 to cpufreq-dt-platdev blocklist

Quoted 14 lines · Adam Skladowski

The Qualcomm SM6115 platform uses the
qcom-cpufreq-hw driver, so add it to the cpufreq-dt-platdev driver's blocklist.

---
 drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
 1 file changed, 1 insertion(+)
drivers/cpufreq/cpufreq-dt-platdev.c +0 -0
index 2c96de3f2d83..6ac3800db450 100644

drivers/cpufreq/cpufreq-dt-platdev.c static const struct of_device_id blocklist[] __initconst = { · line 152

Quoted 7 lines
drivers/cpufreq/cpufreq-dt-platdev.c +1 -0
@@ -146,6 +146,7 @@ static const struct of_device_id blocklist[] __initconst = {
 	{ .compatible = "qcom,sc8180x", },
 	{ .compatible = "qcom,sc8280xp", },
 	{ .compatible = "qcom,sdm845", },
+	{ .compatible = "qcom,sm6115", },
 	{ .compatible = "qcom,sm6350", },
 	{ .compatible = "qcom,sm8150", },
 	{ .compatible = "qcom,sm8250", },

Applied. Thanks.

Signature · 1 line
viresh
#9 lore raw

PATCH 5/7 dt-bindings: arm-smmu: Add compatible for Qualcomm SM6115

In reply to Adam Skladowski

Add compatible for the Qualcomm SM6115 platform to the ARM SMMU DeviceTree binding.

---
 Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/iommu/arm,smmu.yaml +1 -0
index 9066e6df1ba1..71f8f638a1f8 100644
@@ -41,6 +41,7 @@ properties:
               - qcom,sdm845-smmu-500
               - qcom,sdx55-smmu-500
               - qcom,sdx65-smmu-500
+              - qcom,sm6115-smmu-500
               - qcom,sm6350-smmu-500
               - qcom,sm6375-smmu-500
               - qcom,sm8150-smmu-500
Signature · 1 line
2.25.1
#11 lore raw

PATCH 6/7 iommu/arm-smmu-qcom: Add SM6115 support

In reply to Adam Skladowski

Add the Qualcomm SM6115 platform to the list of compatible, this target uses MMU500 for both APSS and GPU.

---
 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 +
 1 file changed, 1 insertion(+)
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +1 -0
index b2708de25ea3..526fec79b4fe 100644
@@ -432,6 +432,7 @@ static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = {
 	{ .compatible = "qcom,sc8280xp-smmu-500" },
 	{ .compatible = "qcom,sdm630-smmu-v2" },
 	{ .compatible = "qcom,sdm845-smmu-500" },
+	{ .compatible = "qcom,sm6115-smmu-500" },
 	{ .compatible = "qcom,sm6125-smmu-500" },
 	{ .compatible = "qcom,sm6350-smmu-500" },
 	{ .compatible = "qcom,sm6375-smmu-500" },
Signature · 1 line
2.25.1
#12 lore raw

PATCH 7/7 dt-bindings: firmware: document Qualcomm SM6115 SCM

In reply to Adam Skladowski

Document the compatible for Qualcomm SM6115 SCM.

---
 Documentation/devicetree/bindings/firmware/qcom,scm.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/firmware/qcom,scm.txt +1 -0
index b3f702cbed87..f6b95d86efc6 100644
@@ -26,6 +26,7 @@ Required properties:
  * "qcom,scm-qcs404"
  * "qcom,scm-sc7180"
  * "qcom,scm-sc7280"
+ * "qcom,scm-sm6115"
  * "qcom,scm-sm6125"
  * "qcom,scm-sdm845"
  * "qcom,scm-sdx55"
Signature · 1 line
2.25.1
#14 lore raw

Re: (subset) [PATCH 0/7] Compatibles for SM6115

In reply to Adam Skladowski
Quoted 12 lines · Adam Skladowski

This patch series add bunch of compatibles in preparation for sending device tree patches for Snapdragon 662 SoC

Adam Skladowski (7):
dt-bindings: dmaengine: qcom: gpi: add compatible for SM6115
dmaengine: qcom: gpi: Add SM6115 support
dt-bindings: mmc: sdhci-msm: Document the SM6115 compatible
cpufreq: Add SM6115 to cpufreq-dt-platdev blocklist
dt-bindings: arm-smmu: Add compatible for Qualcomm SM6115 iommu/arm-smmu-qcom: Add SM6115 support
dt-bindings: firmware: document Qualcomm SM6115 SCM

Quoted 1 line

[...]

Applied, thanks!

[7/7] dt-bindings: firmware: document Qualcomm SM6115 SCM

      commit: f2567b732b0aa2160228a956e0c2007feaeb4b64

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>