* [PATCH 1/1] dt-bindings: PCI: layerscape-pci: Add deprecated property 'num-viewport'
@ 2024-08-23 18:58 Frank Li
2024-08-26 14:04 ` Rob Herring (Arm)
2024-09-04 14:50 ` Krzysztof Wilczyński
0 siblings, 2 replies; 4+ messages in thread
From: Frank Li @ 2024-08-23 18:58 UTC (permalink / raw)
To: Lorenzo Pieralisi, Krzysztof Wilczyński,
Manivannan Sadhasivam, Rob Herring, Bjorn Helgaas,
Krzysztof Kozlowski, Conor Dooley,
open list:PCI NATIVE HOST BRIDGE AND ENDPOINT DRIVERS,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list
Cc: imx
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)
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
.../devicetree/bindings/pci/fsl,layerscape-pcie.yaml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml b/Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml
index 2f79551f6083c..ea7aa8c83a553 100644
--- a/Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml
+++ b/Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml
@@ -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
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH 1/1] dt-bindings: PCI: layerscape-pci: Add deprecated property 'num-viewport'
2024-08-23 18:58 [PATCH 1/1] dt-bindings: PCI: layerscape-pci: Add deprecated property 'num-viewport' Frank Li
@ 2024-08-26 14:04 ` Rob Herring (Arm)
2024-09-04 13:59 ` Frank Li
2024-09-04 14:50 ` Krzysztof Wilczyński
1 sibling, 1 reply; 4+ messages in thread
From: Rob Herring (Arm) @ 2024-08-26 14:04 UTC (permalink / raw)
To: Frank Li
Cc: Lorenzo Pieralisi, devicetree, Krzysztof Wilczyński, imx,
linux-pci, Krzysztof Kozlowski, Conor Dooley, Bjorn Helgaas,
linux-kernel, Manivannan Sadhasivam
On Fri, 23 Aug 2024 14:58:54 -0400, Frank Li wrote:
> 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)
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> .../devicetree/bindings/pci/fsl,layerscape-pcie.yaml | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH 1/1] dt-bindings: PCI: layerscape-pci: Add deprecated property 'num-viewport'
2024-08-26 14:04 ` Rob Herring (Arm)
@ 2024-09-04 13:59 ` Frank Li
0 siblings, 0 replies; 4+ messages in thread
From: Frank Li @ 2024-09-04 13:59 UTC (permalink / raw)
To: Rob Herring (Arm),
Bjorn Helgaas <bhelgaas@google.com>;Krzysztof Wilczyński
Cc: Lorenzo Pieralisi, devicetree, Krzysztof Wilczyński, imx,
linux-pci, Krzysztof Kozlowski, Conor Dooley, Bjorn Helgaas,
linux-kernel, Manivannan Sadhasivam
On Mon, Aug 26, 2024 at 09:04:53AM -0500, Rob Herring (Arm) wrote:
>
> On Fri, 23 Aug 2024 14:58:54 -0400, Frank Li wrote:
> > 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)
> >
> > Signed-off-by: Frank Li <Frank.Li@nxp.com>
> > ---
> > .../devicetree/bindings/pci/fsl,layerscape-pcie.yaml | 8 ++++++++
> > 1 file changed, 8 insertions(+)
> >
>
> Acked-by: Rob Herring (Arm) <robh@kernel.org>
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
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/1] dt-bindings: PCI: layerscape-pci: Add deprecated property 'num-viewport'
2024-08-23 18:58 [PATCH 1/1] dt-bindings: PCI: layerscape-pci: Add deprecated property 'num-viewport' Frank Li
2024-08-26 14:04 ` Rob Herring (Arm)
@ 2024-09-04 14:50 ` Krzysztof Wilczyński
1 sibling, 0 replies; 4+ messages in thread
From: Krzysztof Wilczyński @ 2024-09-04 14:50 UTC (permalink / raw)
To: Frank Li
Cc: Lorenzo Pieralisi, Manivannan Sadhasivam, Rob Herring,
Bjorn Helgaas, Krzysztof Kozlowski, Conor Dooley,
open list:PCI NATIVE HOST BRIDGE AND ENDPOINT DRIVERS,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, imx
Hello,
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-09-04 14:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-23 18:58 [PATCH 1/1] dt-bindings: PCI: layerscape-pci: Add deprecated property 'num-viewport' Frank Li
2024-08-26 14:04 ` Rob Herring (Arm)
2024-09-04 13:59 ` Frank Li
2024-09-04 14:50 ` Krzysztof Wilczyński
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox