Skip to contentSkip to conversation

dt-binding patches for sm6350

PATCH Applied Luca Weiss 5 participants 25 messages Dec 13, 2021 – Apr 8, 2022

Subsystems (13)
lore
Share & tools
lore

Luca Weiss

author
#0 lore raw

cover dt-binding patches for sm6350

This series adds compatibles to the dt-bindings documentation where it was missed before.

Finally, the last patch solves some further dtbs_check errors by modifying the sm6350.dtsi to match the binding docs more closely.

Please note, that the first patch from Konrad is a resend that wasn't picked up when sent to the lists in August 2021.

Konrad Dybcio (1):
dt-bindings: arm: msm: Add LLCC for SM6350

Luca Weiss (9):
dt-bindings: firmware: scm: Add SM6350 compatible
dt-bindings: qcom,pdc: Add SM6350 compatible
dt-bindings: phy: qcom,qusb2: Add SM6350 compatible
dt-bindings: thermal: tsens: Add SM6350 compatible
dt-bindings: usb: qcom,dwc3: Add SM6350 compatible
dt-bindings: watchdog: Add SM6350 and SM8250 compatible
dt-bindings: arm: msm: Don't mark LLCC interrupt as required
dt-bindings: simple-framebuffer: allow standalone compatible
arm64: dts: qcom: sm6350: Fix validation errors

 .../devicetree/bindings/arm/msm/qcom,llcc.yaml   |  2 +-
 .../bindings/display/simple-framebuffer.yaml     | 12 +++++++-----
 .../devicetree/bindings/firmware/qcom,scm.txt    |  1 +
 .../bindings/interrupt-controller/qcom,pdc.txt   |  5 +++--
 .../devicetree/bindings/phy/qcom,qusb2-phy.yaml  |  1 +
 .../devicetree/bindings/thermal/qcom-tsens.yaml  |  1 +
 .../devicetree/bindings/usb/qcom,dwc3.yaml       |  1 +
 .../devicetree/bindings/watchdog/qcom-wdt.yaml   |  2 ++
 arch/arm64/boot/dts/qcom/sm6350.dtsi             | 16 ++++++++--------
 9 files changed, 25 insertions(+), 16 deletions(-)
Signature · 1 line
2.34.1
author
#1 lore raw

PATCH 1/10 dt-bindings: arm: msm: Add LLCC for SM6350

From: Konrad Dybcio <[email protected]>

Add LLCC compatible for SM6350 SoC.

---
Please note, that this patch is a resend that wasn't picked up when sent to the lists in August 2021.

 Documentation/devicetree/bindings/arm/msm/qcom,llcc.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/msm/qcom,llcc.yaml +1 -0
index 62fcbd883392..e12fc7999356 100644
@@ -24,6 +24,7 @@ properties:
       - qcom,sc7180-llcc
       - qcom,sc7280-llcc
       - qcom,sdm845-llcc
+      - qcom,sm6350-llcc
       - qcom,sm8150-llcc
       - qcom,sm8250-llcc
 
Signature · 1 line
2.34.1
author
#2 lore raw

PATCH 2/10 dt-bindings: firmware: scm: Add SM6350 compatible

In reply to Luca Weiss

Add devicetree compatible for SCM on SM6350 SoC.

---
 Documentation/devicetree/bindings/firmware/qcom,scm.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/firmware/qcom,scm.txt +1 -0
index d7e3cda8924e..1fc14f64e318 100644
@@ -26,6 +26,7 @@ Required properties:
  * "qcom,scm-sc7280"
  * "qcom,scm-sdm845"
  * "qcom,scm-sdx55"
+ * "qcom,scm-sm6350"
  * "qcom,scm-sm8150"
  * "qcom,scm-sm8250"
  * "qcom,scm-sm8350"
Signature · 1 line
2.34.1
author
#4 lore raw

PATCH 3/10 dt-bindings: qcom,pdc: Add SM6350 compatible

In reply to Luca Weiss

Add devicetree compatible for pdc on SM6350 SoC.

Also correct the compatibles for sm8250 and sm8350.

---
I do have the .txt -> .yaml conversion ready for this but will send as a separate patch.

 .../devicetree/bindings/interrupt-controller/qcom,pdc.txt    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.txt +3 -2
index 98d89e53013d..3b7b1134dea9 100644
@@ -21,8 +21,9 @@ Properties:
 		    - "qcom,sc7180-pdc": For SC7180
 		    - "qcom,sc7280-pdc": For SC7280
 		    - "qcom,sdm845-pdc": For SDM845
-		    - "qcom,sdm8250-pdc": For SM8250
-		    - "qcom,sdm8350-pdc": For SM8350
+		    - "qcom,sm6350-pdc": For SM6350
+		    - "qcom,sm8250-pdc": For SM8250
+		    - "qcom,sm8350-pdc": For SM8350
 
 - reg:
 	Usage: required
Signature · 1 line
2.34.1
maintainer Acked-by on v1 3/10
#5 lore raw

Re: [PATCH 03/10] dt-bindings: qcom,pdc: Add SM6350 compatible

Quoted 4 lines · Luca Weiss

Add devicetree compatible for pdc on SM6350 SoC.

Also correct the compatibles for sm8250 and sm8350.

Quoted 8 lines

---
I do have the .txt -> .yaml conversion ready for this but will send as a separate patch.

 .../devicetree/bindings/interrupt-controller/qcom,pdc.txt    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
author
#6 lore raw

Re: [PATCH 03/10] dt-bindings: qcom,pdc: Add SM6350 compatible

Hi all,

Quoted 10 lines · Rob Herring
Quoted 9 lines · Luca Weiss

Add devicetree compatible for pdc on SM6350 SoC.

Also correct the compatibles for sm8250 and sm8350.

---
I do have the .txt -> .yaml conversion ready for this but will send as a separate patch.

Quoted 5 lines
Quoted 3 lines
 .../devicetree/bindings/interrupt-controller/qcom,pdc.txt    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

It looks like this patch hasn't been applied yet. Could the responsible maintainer please pick it up?

Regards
Luca

maintainer Applied
#7 lore raw

Re: [PATCH 03/10] dt-bindings: qcom,pdc: Add SM6350 compatible

Quoted 13 lines · Luca Weiss

Hi all,

Quoted 10 lines · Rob Herring
Quoted 9 lines · Luca Weiss

Add devicetree compatible for pdc on SM6350 SoC.

Also correct the compatibles for sm8250 and sm8350.

---
I do have the .txt -> .yaml conversion ready for this but will send as a separate patch.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
 .../devicetree/bindings/interrupt-controller/qcom,pdc.txt    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

It looks like this patch hasn't been applied yet. Could the responsible maintainer please pick it up?

Applied.

Rob

author
#8 lore raw

PATCH 4/10 dt-bindings: phy: qcom,qusb2: Add SM6350 compatible

In reply to Luca Weiss

Add devicetree compatible for the usb phy on SM6350 SoC.

---
 Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml +1 -0
index aa2e409a1a09..e651a63a4be3 100644
@@ -30,6 +30,7 @@ properties:
           - enum:
               - qcom,sc7180-qusb2-phy
               - qcom,sdm845-qusb2-phy
+              - qcom,sm6350-qusb2-phy
           - const: qcom,qusb2-v2-phy
   reg:
     maxItems: 1
Signature · 7 lines
2.34.1


-- 
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
maintainer Applied
#9 lore raw

Re: [PATCH 04/10] dt-bindings: phy: qcom,qusb2: Add SM6350 compatible

Quoted 1 line · Luca Weiss

Add devicetree compatible for the usb phy on SM6350 SoC.

Applied to phy-next, thanks

Signature · 1 line
~Vinod
author
#10 lore raw

PATCH 5/10 dt-bindings: thermal: tsens: Add SM6350 compatible

In reply to Luca Weiss

Add devicetree compatible for tsens on SM6350 SoC.

---
 Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/thermal/qcom-tsens.yaml +1 -0
index d3b9e9b600a2..6d48c5ff6bda 100644
@@ -50,6 +50,7 @@ properties:
               - qcom,sc8180x-tsens
               - qcom,sdm630-tsens
               - qcom,sdm845-tsens
+              - qcom,sm6350-tsens
               - qcom,sm8150-tsens
               - qcom,sm8250-tsens
               - qcom,sm8350-tsens
Signature · 1 line
2.34.1
author
#12 lore raw

Re: [PATCH 05/10] dt-bindings: thermal: tsens: Add SM6350 compatible

Hi all,

Quoted 11 lines · Rob Herring
Quoted 8 lines · Luca Weiss

Add devicetree compatible for tsens on SM6350 SoC.

---
 Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 1 +
 1 file changed, 1 insertion(+)

It looks like this patch hasn't been applied yet. Could the responsible maintainer please pick it up?

Regards
Luca

maintainer
#13 lore raw

Re: [PATCH 05/10] dt-bindings: thermal: tsens: Add SM6350 compatible

Quoted 13 lines · Luca Weiss

Hi all,

Quoted 10 lines · Rob Herring
Quoted 8 lines · Luca Weiss

Add devicetree compatible for tsens on SM6350 SoC.

---
 Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 1 +
 1 file changed, 1 insertion(+)
Quoted 4 lines
Quoted 1 line

It looks like this patch hasn't been applied yet. Could the responsible maintainer please pick it up?

Normally that should be the thermal maintainers, but I've applied this.

Rob

#14 lore raw

Re: [PATCH 05/10] dt-bindings: thermal: tsens: Add SM6350 compatible

Quoted 14 lines · Rob Herring
Quoted 13 lines · Luca Weiss

Hi all,

Quoted 10 lines · Rob Herring
Quoted 8 lines · Luca Weiss

Add devicetree compatible for tsens on SM6350 SoC.

---
  Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 1 +
  1 file changed, 1 insertion(+)
Quoted 6 lines
Quoted 4 lines
Quoted 1 line

It looks like this patch hasn't been applied yet. Could the responsible maintainer please pick it up?

Normally that should be the thermal maintainers, but I've applied this.

Right, I missed it, thanks for taking care of the patch.

Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
author
#15 lore raw

PATCH 6/10 dt-bindings: usb: qcom,dwc3: Add SM6350 compatible

In reply to Luca Weiss

Add devicetree compatible for dwc3 on SM6350 SoC.

---
 Documentation/devicetree/bindings/usb/qcom,dwc3.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/usb/qcom,dwc3.yaml +1 -0
index 2bdaba023c01..fb79ea518696 100644
@@ -23,6 +23,7 @@ properties:
           - qcom,sdx55-dwc3
           - qcom,sm4250-dwc3
           - qcom,sm6115-dwc3
+          - qcom,sm6350-dwc3
           - qcom,sm8150-dwc3
           - qcom,sm8250-dwc3
           - qcom,sm8350-dwc3
Signature · 1 line
2.34.1
author
#17 lore raw

PATCH 7/10 dt-bindings: watchdog: Add SM6350 and SM8250 compatible

In reply to Luca Weiss

Add devicetree compatible for the watchdog on SM6350 and SM8250 SoC.

---
 Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml +2 -0
index ba60bdf1fecc..16c6f82a13ca 100644
@@ -20,7 +20,9 @@ properties:
       - qcom,apss-wdt-sc7280
       - qcom,apss-wdt-sdm845
       - qcom,apss-wdt-sdx55
+      - qcom,apss-wdt-sm6350
       - qcom,apss-wdt-sm8150
+      - qcom,apss-wdt-sm8250
       - qcom,kpss-timer
       - qcom,kpss-wdt
       - qcom,kpss-wdt-apq8064
Signature · 1 line
2.34.1
author
#19 lore raw

PATCH 8/10 dt-bindings: arm: msm: Don't mark LLCC interrupt as required

In reply to Luca Weiss

Newer SoCs like SM6350 or SM8250 don't provide an interrupt for LLCC.

---
 Documentation/devicetree/bindings/arm/msm/qcom,llcc.yaml | 1 -
 1 file changed, 1 deletion(-)
Documentation/devicetree/bindings/arm/msm/qcom,llcc.yaml +0 -1
index e12fc7999356..03882aac8d2d 100644
@@ -45,7 +45,6 @@ required:
   - compatible
   - reg
   - reg-names
-  - interrupts
 
 additionalProperties: false
 
Signature · 1 line
2.34.1
author
#21 lore raw

PATCH 9/10 dt-bindings: simple-framebuffer: allow standalone compatible

In reply to Luca Weiss

Qualcomm platforms use "simple-framebuffer" without a more specific compatible. Allow that in the binding doc.

---
 .../bindings/display/simple-framebuffer.yaml         | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
Documentation/devicetree/bindings/display/simple-framebuffer.yaml +7 -5
index c2499a7906f5..2d82d0ce4a34 100644
@@ -52,11 +52,13 @@ description: |+
 
 properties:
   compatible:
-    items:
-      - enum:
-          - apple,simple-framebuffer
-          - allwinner,simple-framebuffer
-          - amlogic,simple-framebuffer
+    oneOf:
+      - items:
+          - enum:
+              - apple,simple-framebuffer
+              - allwinner,simple-framebuffer
+              - amlogic,simple-framebuffer
+          - const: simple-framebuffer
       - const: simple-framebuffer
 
   reg:
Signature · 1 line
2.34.1
maintainer Acked-by on v1 9/10
#22 lore raw

Re: [PATCH 09/10] dt-bindings: simple-framebuffer: allow standalone compatible

Quoted 8 lines · Luca Weiss

Qualcomm platforms use "simple-framebuffer" without a more specific compatible. Allow that in the binding doc.

---
 .../bindings/display/simple-framebuffer.yaml         | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
author
#23 lore raw

PATCH 10/10 arm64: dts: qcom: sm6350: Fix validation errors

In reply to Luca Weiss

Sort clocks and interrupts as specified in the docs and remove the stray property #power-domain-cells from aoss_qmp to solve dtbs_check validation errors.

---
 arch/arm64/boot/dts/qcom/sm6350.dtsi | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
arch/arm64/boot/dts/qcom/sm6350.dtsi +8 -8
index a7158fe9e192..8322a981cdfc 100644
@@ -810,10 +810,10 @@ usb_1_qmpphy: phy@88e9000 {
 			ranges;
 
 			clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
+				 <&xo_board>,
 				 <&rpmhcc RPMH_QLINK_CLK>,
-				 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>,
-				 <&xo_board>;
-			clock-names = "aux", "ref", "com_aux", "cfg_ahb";
+				 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
+			clock-names = "aux", "cfg_ahb", "ref", "com_aux";
 
 			resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
 				 <&gcc GCC_USB3_PHY_PRIM_BCR>;
@@ -871,11 +871,12 @@ usb_1: usb@a6f8800 {
 				      "sleep";
 
 			interrupts-extended = <&intc GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
-					      <&pdc 14 IRQ_TYPE_EDGE_BOTH>,
+					      <&pdc 17 IRQ_TYPE_LEVEL_HIGH>,
 					      <&pdc 15 IRQ_TYPE_EDGE_BOTH>,
-					      <&pdc 17 IRQ_TYPE_LEVEL_HIGH>;
-			interrupt-names = "hs_phy_irq", "dp_hs_phy_irq",
-					  "dm_hs_phy_irq", "ss_phy_irq";
+					      <&pdc 14 IRQ_TYPE_EDGE_BOTH>;
+
+			interrupt-names = "hs_phy_irq", "ss_phy_irq",
+					  "dm_hs_phy_irq", "dp_hs_phy_irq";
 
 			power-domains = <&gcc USB30_PRIM_GDSC>;
 
@@ -935,7 +936,6 @@ aoss_qmp: power-controller@c300000 {
 			mboxes = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP>;
 
 			#clock-cells = <0>;
-			#power-domain-cells = <1>;
 		};
 
 		spmi_bus: spmi@c440000 {
Signature · 1 line
2.34.1
#24 lore raw

Re: (subset) [PATCH 00/10] dt-binding patches for sm6350

In reply to Luca Weiss
Quoted 10 lines · Luca Weiss

This series adds compatibles to the dt-bindings documentation where it was missed before.

Finally, the last patch solves some further dtbs_check errors by modifying the sm6350.dtsi to match the binding docs more closely.

Please note, that the first patch from Konrad is a resend that wasn't picked up when sent to the lists in August 2021.

[...]

Applied, thanks!

[10/10] arm64: dts: qcom: sm6350: Fix validation errors

        commit: f56498fc6a9364a35dd74af791bd1251467e9cc1

Best regards,

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