diff mbox series

[v3,1/6] dt-bindings: pci: cadence: Extend compatible for new RP configuration

Message ID 20250411103656.2740517-2-hans.zhang@cixtech.com (mailing list archive)
State New
Delegated to: Krzysztof WilczyƄski
Headers show
Series Enhance the PCIe controller driver | expand

Commit Message

Hans Zhang April 11, 2025, 10:36 a.m. UTC
From: Manikandan K Pillai <mpillai@cadence.com>

Document the compatible property for HPA (High Performance Architecture)
PCIe controller RP configuration.

Signed-off-by: Manikandan K Pillai <mpillai@cadence.com>
Signed-off-by: Hans Zhang <hans.zhang@cixtech.com>
---
 .../devicetree/bindings/pci/cdns,cdns-pcie-host.yaml        | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Comments

Rob Herring April 11, 2025, 7:56 p.m. UTC | #1
On Fri, Apr 11, 2025 at 06:36:51PM +0800, hans.zhang@cixtech.com wrote:
> From: Manikandan K Pillai <mpillai@cadence.com>
> 
> Document the compatible property for HPA (High Performance Architecture)
> PCIe controller RP configuration.
> 
> Signed-off-by: Manikandan K Pillai <mpillai@cadence.com>
> Signed-off-by: Hans Zhang <hans.zhang@cixtech.com>
> ---
>  .../devicetree/bindings/pci/cdns,cdns-pcie-host.yaml        | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml
> index a8190d9b100f..83a33c4c008f 100644
> --- a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml
> +++ b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml
> @@ -7,14 +7,16 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
>  title: Cadence PCIe host controller
>  
>  maintainers:
> -  - Tom Joseph <tjoseph@cadence.com>

Why removing? What about all the other Cadence PCIe files?

> +  - Manikandan K Pillai <mpillai@cadence.com>
>  
>  allOf:
>    - $ref: cdns-pcie-host.yaml#
>  
>  properties:
>    compatible:
> -    const: cdns,cdns-pcie-host
> +    enum:
> +      - cdns,cdns-pcie-host
> +      - cdns,cdns-pcie-hpa-host
>  
>    reg:
>      maxItems: 2
> -- 
> 2.47.1
>
Manikandan Karunakaran Pillai April 14, 2025, 3:05 a.m. UTC | #2
>
>On Fri, Apr 11, 2025 at 06:36:51PM +0800, hans.zhang@cixtech.com wrote:
>> From: Manikandan K Pillai <mpillai@cadence.com>
>>
>> Document the compatible property for HPA (High Performance Architecture)
>> PCIe controller RP configuration.
>>
>> Signed-off-by: Manikandan K Pillai <mpillai@cadence.com>
>> Signed-off-by: Hans Zhang <hans.zhang@cixtech.com>
>> ---
>>  .../devicetree/bindings/pci/cdns,cdns-pcie-host.yaml        | 6 ++++--
>>  1 file changed, 4 insertions(+), 2 deletions(-)
>>
>> diff --git a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml
>b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml
>> index a8190d9b100f..83a33c4c008f 100644
>> --- a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml
>> +++ b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml
>> @@ -7,14 +7,16 @@ $schema:
>https://urldefense.com/v3/__http://devicetree.org/meta-
>schemas/core.yaml*__;Iw!!EHscmS1ygiU1lA!GUdVym9DUn88yPquZ-
>jhRAWxXdadkOpGE7fasG33EWZ0zULMY3fQe_xbMFKTh33x577gU6FU-Ko$
>>  title: Cadence PCIe host controller
>>
>>  maintainers:
>> -  - Tom Joseph <tjoseph@cadence.com>
>
>Why removing? What about all the other Cadence PCIe files?
>

Tom is not longer with Cadence and hence this change.  Will submit a separate patch for other files

>> +  - Manikandan K Pillai <mpillai@cadence.com>
>>
>>  allOf:
>>    - $ref: cdns-pcie-host.yaml#
>>
>>  properties:
>>    compatible:
>> -    const: cdns,cdns-pcie-host
>> +    enum:
>> +      - cdns,cdns-pcie-host
>> +      - cdns,cdns-pcie-hpa-host
>>
>>    reg:
>>      maxItems: 2
>> --
>> 2.47.1
>>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml
index a8190d9b100f..83a33c4c008f 100644
--- a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml
+++ b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.yaml
@@ -7,14 +7,16 @@  $schema: http://devicetree.org/meta-schemas/core.yaml#
 title: Cadence PCIe host controller
 
 maintainers:
-  - Tom Joseph <tjoseph@cadence.com>
+  - Manikandan K Pillai <mpillai@cadence.com>
 
 allOf:
   - $ref: cdns-pcie-host.yaml#
 
 properties:
   compatible:
-    const: cdns,cdns-pcie-host
+    enum:
+      - cdns,cdns-pcie-host
+      - cdns,cdns-pcie-hpa-host
 
   reg:
     maxItems: 2