2020-11-06 15:13:42

by Kishon Vijay Abraham I

[permalink] [raw]
Subject: [PATCH 1/2] dt-bindings: PCI: Make "cdns,max-outbound-regions" optional property

Make "cdns,max-outbound-regions" optional property with the default
being 32.

Link: http://lore.kernel.org/r/20201105165331.GA55814@bogus
Signed-off-by: Kishon Vijay Abraham I <[email protected]>
---
Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml | 3 ---
Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml | 2 --
2 files changed, 5 deletions(-)

diff --git a/Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml b/Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml
index 60b8baf299bb..21e8a8849076 100644
--- a/Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml
+++ b/Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml
@@ -20,7 +20,4 @@ properties:
maximum: 32
default: 32

-required:
- - cdns,max-outbound-regions
-
additionalProperties: true
diff --git a/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml b/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml
index 3ae3e1a2d4b0..aae07b723fb5 100644
--- a/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml
+++ b/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml
@@ -57,7 +57,6 @@ required:
- power-domains
- clocks
- clock-names
- - cdns,max-outbound-regions
- dma-coherent
- max-functions
- phys
@@ -86,7 +85,6 @@ examples:
power-domains = <&k3_pds 239 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 239 1>;
clock-names = "fck";
- cdns,max-outbound-regions = <16>;
max-functions = /bits/ 8 <6>;
dma-coherent;
phys = <&serdes0_pcie_link>;
--
2.17.1


2020-11-09 21:46:11

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH 1/2] dt-bindings: PCI: Make "cdns,max-outbound-regions" optional property

On Fri, 06 Nov 2020 20:41:06 +0530, Kishon Vijay Abraham I wrote:
> Make "cdns,max-outbound-regions" optional property with the default
> being 32.
>
> Link: http://lore.kernel.org/r/20201105165331.GA55814@bogus
> Signed-off-by: Kishon Vijay Abraham I <[email protected]>
> ---
> Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml | 3 ---
> Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml | 2 --
> 2 files changed, 5 deletions(-)
>

Reviewed-by: Rob Herring <[email protected]>