Re: [PATCH v3 1/3] dt-bindings: PCI: dwc: Add AMD Versal2 mdb slcr support

From: Conor Dooley
Date: Wed Dec 04 2024 - 13:04:31 EST


On Wed, Dec 04, 2024 at 05:20:24PM +0530, Thippeswamy Havalige wrote:
> Add support for mdb slcr aperture that is only supported for AMD Versal2
> devices.
>
> Signed-off-by: Thippeswamy Havalige <thippeswamy.havalige@xxxxxxx>
> ---
> Changes in v3:
> -------------
> - Introduced below changes in dwc yaml schema.
> ---
> Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml b/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml
> index 548f59d76ef2..02cc04339d75 100644
> --- a/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml
> +++ b/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml
> @@ -113,6 +113,8 @@ properties:
> enum: [ smu, mpu ]
> - description: Tegra234 aperture
> enum: [ ecam ]
> + - description: AMD MDB PCIe slcr region
> + enum: [ mdb_pcie_slcr ]

Why's this an enum when it has a single value? Shouldn't it be a const?

Attachment: signature.asc
Description: PGP signature