pci: Add support for p2sb uclass
The Primary-to-Sideband bus (P2SB) is used to access various peripherals through memory-mapped I/O in a large chunk of PCI space. The space is segmented into different channels and peripherals are accessed by device-specific means within those channels. Devices should be added in the device tree as subnodes of the p2sb. This adds a uclass and enables it for sandbox. Signed-off-by:Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
Showing
- drivers/misc/Kconfig 33 additions, 0 deletionsdrivers/misc/Kconfig
- drivers/misc/Makefile 1 addition, 0 deletionsdrivers/misc/Makefile
- drivers/misc/p2sb-uclass.c 216 additions, 0 deletionsdrivers/misc/p2sb-uclass.c
- include/dm/uclass-id.h 1 addition, 0 deletionsinclude/dm/uclass-id.h
- include/p2sb.h 135 additions, 0 deletionsinclude/p2sb.h
Loading
Please register or sign in to comment