Skip to contentSkip to conversation

dt-bindings: PCI: layerscape-pci: Add deprecated property 'num-viewport'

PATCH Applied Frank Li 3 participants 4 messages Aug 23, 2024 – Sep 4, 2024

Subsystems (4)
lore
Share & tools
lore

Frank Li

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: PCI: layerscape-pci: Add deprecated property 'num-viewport'

Copy the 'num-viewport' property from snps,dw-pcie-common.yaml to fsl,layerscape-pcie.yaml to address the below warning. This is necessary due to historical reasons where fsl,layerscape-pcie.yaml does not directly reference snps,dw-pcie-common.yaml.

/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dtb: pcie@3400000: Unevaluated properties are not allowed ('num-viewport' was unexpected)

---
 .../devicetree/bindings/pci/fsl,layerscape-pcie.yaml      | 8 ++++++++
 1 file changed, 8 insertions(+)
Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml +8 -0
index 2f79551f6083c..ea7aa8c83a553 100644
@@ -71,6 +71,14 @@ properties:
     minItems: 1
     maxItems: 2
 
+  num-viewport:
+    $ref: /schemas/types.yaml#/definitions/uint32
+    deprecated: true
+    description:
+      Number of outbound view ports configured in hardware. It's the same as
+      the number of outbound AT windows.
+    maximum: 256
+
 required:
   - compatible
   - reg

--
2.34.1

maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Frank Li

Copy the 'num-viewport' property from snps,dw-pcie-common.yaml to fsl,layerscape-pcie.yaml to address the below warning. This is necessary due to historical reasons where fsl,layerscape-pcie.yaml does not directly reference snps,dw-pcie-common.yaml.

Quoted 7 lines

/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dtb: pcie@3400000: Unevaluated properties are not allowed ('num-viewport' was unexpected)

---
 .../devicetree/bindings/pci/fsl,layerscape-pcie.yaml      | 8 ++++++++
 1 file changed, 8 insertions(+)
author maintainer
#2 lore raw
Quoted 9 lines · Rob Herring (Arm)
Quoted 7 lines · Frank Li

Copy the 'num-viewport' property from snps,dw-pcie-common.yaml to fsl,layerscape-pcie.yaml to address the below warning. This is necessary due to historical reasons where fsl,layerscape-pcie.yaml does not directly reference snps,dw-pcie-common.yaml.

/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dtb: pcie@3400000: Unevaluated properties are not allowed ('num-viewport' was unexpected)

Quoted 7 lines
Quoted 5 lines
---
 .../devicetree/bindings/pci/fsl,layerscape-pcie.yaml      | 8 ++++++++
 1 file changed, 8 insertions(+)

Bjorn and krzysztof wilczynaski

Could you pick this trivial binding doc change patch, which acked
by Rob, I don't want to miss this merge windows. It help reduce CHECK_DTBS warnings.

Frank

Quoted 1 line
#3 lore raw
In reply to Frank Li

Hello,

Quoted 6 lines

Copy the 'num-viewport' property from snps,dw-pcie-common.yaml to fsl,layerscape-pcie.yaml to address the below warning. This is necessary due to historical reasons where fsl,layerscape-pcie.yaml does not directly reference snps,dw-pcie-common.yaml.

/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dtb: pcie@3400000: Unevaluated properties are not allowed ('num-viewport' was unexpected)

Applied to dt-bindings, thank you!

[1/1] dt-bindings: PCI: layerscape-pci: Add deprecated property 'num-viewport'

      https://git.kernel.org/pci/pci/c/b9fe09a1b293

	Krzysztof