Skip to contentSkip to conversation

arm64: dts: qcom: msm8916/8216-samsung-fortuna: Add samsung,fortuna binding

PATCH In review Raymond Hackley 3 participants 5 messages Mar 26, 2024 – Mar 30, 2024

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

cover arm64: dts: qcom: msm8916/8216-samsung-fortuna: Add samsung,fortuna binding

Add common binding samsung,fortuna used by the following Samsung Galaxy Grand Prime devices:
- SM-G530FZ (msm8916-samsung-grandprimelte)
- SM-G530H (msm8216-samsung-fortuna3g)
- SM-G530W (msm8916-gprimeltecan)

#1 lore raw

PATCH 1/2 arm64: dts: qcom: msm8916/8216-samsung-fortuna: Add samsung,fortuna binding

Add common binding samsung,fortuna used by the following Samsung Galaxy Grand Prime devices:
- SM-G530FZ (msm8916-samsung-grandprimelte)
- SM-G530H (msm8216-samsung-fortuna3g)
- SM-G530W (msm8916-gprimeltecan)

---
 arch/arm64/boot/dts/qcom/msm8216-samsung-fortuna3g.dts     | 2 +-
 arch/arm64/boot/dts/qcom/msm8916-samsung-gprimeltecan.dts  | 2 +-
 arch/arm64/boot/dts/qcom/msm8916-samsung-grandprimelte.dts | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/qcom/msm8216-samsung-fortuna3g.dts +1 -1
index 366914be7d53..877fd2d7bb57 100644
@@ -6,6 +6,6 @@
 
 / {
 	model = "Samsung Galaxy Grand Prime (SM-G530H)";
-	compatible = "samsung,fortuna3g", "qcom,msm8916";
+	compatible = "samsung,fortuna3g", "samsung,fortuna", "qcom,msm8916";
 	chassis-type = "handset";
 };
arch/arm64/boot/dts/qcom/msm8916-samsung-gprimeltecan.dts +1 -1
index 9d65fa58ba92..8c7d71e05da3 100644
@@ -6,7 +6,7 @@
 
 / {
 	model = "Samsung Galaxy Grand Prime (SM-G530W)";
-	compatible = "samsung,gprimeltecan", "qcom,msm8916";
+	compatible = "samsung,gprimeltecan", "samsung,fortuna", "qcom,msm8916";
 	chassis-type = "handset";
 
 	reserved-memory {
arch/arm64/boot/dts/qcom/msm8916-samsung-grandprimelte.dts +1 -1
index a66ce4b13547..1781e04a25c9 100644
@@ -6,7 +6,7 @@
 
 / {
 	model = "Samsung Galaxy Grand Prime (SM-G530FZ)";
-	compatible = "samsung,grandprimelte", "qcom,msm8916";
+	compatible = "samsung,grandprimelte", "samsung,fortuna", "qcom,msm8916";
 	chassis-type = "handset";
 };
 
Signature · 1 line
2.39.2
#2 lore raw
Quoted 18 lines · Raymond Hackley

Add common binding samsung,fortuna used by the following Samsung Galaxy Grand Prime devices:
- SM-G530FZ (msm8916-samsung-grandprimelte)
- SM-G530H (msm8216-samsung-fortuna3g)
- SM-G530W (msm8916-gprimeltecan)

---
 arch/arm64/boot/dts/qcom/msm8216-samsung-fortuna3g.dts     | 2 +-
 arch/arm64/boot/dts/qcom/msm8916-samsung-gprimeltecan.dts  | 2 +-
 arch/arm64/boot/dts/qcom/msm8916-samsung-grandprimelte.dts | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/qcom/msm8216-samsung-fortuna3g.dts +0 -0
index 366914be7d53..877fd2d7bb57 100644

arch/arm64/boot/dts/qcom/msm8216-samsung-fortuna3g.dts line 9

Quoted 5 lines
arch/arm64/boot/dts/qcom/msm8216-samsung-fortuna3g.dts +1 -1
@@ -6,6 +6,6 @@
 
 / {
 	model = "Samsung Galaxy Grand Prime (SM-G530H)";
-	compatible = "samsung,fortuna3g", "qcom,msm8916";
+	compatible = "samsung,fortuna3g", "samsung,fortuna", "qcom,msm8916";

It does not look like you tested the DTS against bindings. Please run make dtbs_check W=1 (see Documentation/devicetree/bindings/writing-schema.rst or
https://www.linaro.org/blog/tips-and-tricks-for-validating-devicetree-sources-with-the-devicetree-schema/
for instructions).

Best regards,
Krzysztof

#3 lore raw

PATCH 2/2 dt-bindings: qcom: Document samsung,fortuna

In reply to Raymond Hackley

Document common binding samsung,fortuna used by the following Samsung Galaxy Grand Prime devices below:
- SM-G530FZ (msm8916-samsung-grandprimelte)
- SM-G530H (msm8216-samsung-fortuna3g)
- SM-G530W (msm8916-gprimeltecan)

---
 Documentation/devicetree/bindings/arm/qcom.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
index 66beaac60e1d..2db776d78d22 100644
@@ -204,6 +204,7 @@ properties:
               - samsung,a5u-eur
               - samsung,e5
               - samsung,e7
+              - samsung,fortuna
               - samsung,fortuna3g
               - samsung,gprimeltecan
               - samsung,grandmax
Signature · 1 line
2.39.2
maintainer
#4 lore raw

Re: [PATCH 2/2] dt-bindings: qcom: Document samsung,fortuna

Quoted 5 lines · Raymond Hackley

Document common binding samsung,fortuna used by the following Samsung Galaxy Grand Prime devices below:
- SM-G530FZ (msm8916-samsung-grandprimelte)
- SM-G530H (msm8216-samsung-fortuna3g)
- SM-G530W (msm8916-gprimeltecan)

Commit messages should answer "why?". Why do you need this?

Please test this binding change against your dts changes. I think you will find it fails.

Quoted 22 lines
---
 Documentation/devicetree/bindings/arm/qcom.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
index 66beaac60e1d..2db776d78d22 100644
@@ -204,6 +204,7 @@ properties:
               - samsung,a5u-eur
               - samsung,e5
               - samsung,e7
+              - samsung,fortuna
               - samsung,fortuna3g
               - samsung,gprimeltecan
               - samsung,grandmax
Signature · 1 line
2.39.2