Skip to content
Snippets Groups Projects
Commit 605bddf9 authored by Myron Stowe's avatar Myron Stowe
Browse files

PCI: xilinx-cpm: Add support for Versal CPM5 Root Port Controller 1

JIRA: https://issues.redhat.com/browse/RHEL-83611
Upstream Status: 4eea7596b8fb5c204f7a454a5166ebdcb6b6c72a

commit 4eea7596b8fb5c204f7a454a5166ebdcb6b6c72a
Author: Thippeswamy Havalige <thippesw@amd.com>
Date:   Sun Sep 22 11:43:18 2024 +0530

    PCI: xilinx-cpm: Add support for Versal CPM5 Root Port Controller 1

    Add support for the Xilinx Versal CPM5 Root Port Controller 1. The key
    difference between Controller 0 and Controller 1 lies in the
    platform-specific error interrupt bits, which are located at different
    register offsets.

    To handle these differences, updated variant structure to hold the
    following platform-specific details:

    - Interrupt status register offset (ir_status)
    - Interrupt enable register offset (ir_enable)
    - Miscellaneous interrupt values (ir_misc_value)

    The driver differentiates between Controller 0 and Controller 1 using the
    compatible string in the device tree. This ensures that the appropriate
    register offsets are used for each controller, allowing for correct
    handling of platform-specific interrupts and initialization.

    Link: https://lore.kernel.org/r/20240922061318.2653503-3-thippesw@amd.com


Signed-off-by: default avatarThippeswamy Havalige <thippesw@amd.com>
Signed-off-by: default avatarKrzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

Signed-off-by: default avatarMyron Stowe <mstowe@redhat.com>
parent 60209e0b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment