-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: pcie: add brcmstb pcie controller driver
Add PCIe controller driver for brcmstb, required by Raspberry Pi 5. Signed-off-by: Junho Lee <[email protected]>
- Loading branch information
Showing
7 changed files
with
673 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
add_subdirectory_ifdef(CONFIG_PCIE host) | ||
add_subdirectory_ifdef(CONFIG_PCIE_ENDPOINT endpoint) | ||
add_subdirectory_ifdef(CONFIG_PCIE_CONTROLLER controller) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
zephyr_library() | ||
|
||
zephyr_library_sources_ifdef(CONFIG_PCIE_BRCMSTB pcie_brcmstb.c) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# PCIe controller configuration options | ||
|
||
# Copyright 2024 TSN Lab, Inc. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
if PCIE_CONTROLLER | ||
|
||
source "drivers/pcie/controller/Kconfig.brcmstb" | ||
|
||
endif # PCIE_CONTROLLER |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Copyright (c) 2024 Junho Lee <[email protected]> | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config PCIE_BRCMSTB | ||
bool "Broadcom Set-top box SoC PCIe Driver" | ||
default y | ||
depends on DT_HAS_BRCM_BRCMSTB_PCIE_ENABLED | ||
help | ||
Enable Driver for Broadcom Set-top box SoC PCIe controllers. |
Oops, something went wrong.