aboutsummaryrefslogtreecommitdiff
path: root/drivers/cdx/Kconfig
diff options
context:
space:
mode:
authorGravatar Nipun Gupta <nipun.gupta@amd.com> 2023-03-13 18:56:30 +0530
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2023-03-29 12:26:32 +0200
commit2959ab247061e67485d83b6af8feb3761ec08cb9 (patch)
tree833d78510e724d5e12d96aa72fb9ce0409a030f5 /drivers/cdx/Kconfig
parentmisc: alcor_pci: remove unused alcor functions (diff)
downloadlinux-2959ab247061e67485d83b6af8feb3761ec08cb9.tar.gz
linux-2959ab247061e67485d83b6af8feb3761ec08cb9.tar.bz2
linux-2959ab247061e67485d83b6af8feb3761ec08cb9.zip
cdx: add the cdx bus driver
Introduce AMD CDX bus, which provides a mechanism for scanning and probing CDX devices. These devices are memory mapped on system bus for Application Processors(APUs). CDX devices can be changed dynamically in the Fabric and CDX bus interacts with CDX controller to rescan the bus and rediscover the devices. Signed-off-by: Nipun Gupta <nipun.gupta@amd.com> Reviewed-by: Pieter Jansen van Vuuren <pieter.jansen-van-vuuren@amd.com> Tested-by: Nikhil Agarwal <nikhil.agarwal@amd.com> Link: https://lore.kernel.org/r/20230313132636.31850-2-nipun.gupta@amd.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/cdx/Kconfig')
-rw-r--r--drivers/cdx/Kconfig17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/cdx/Kconfig b/drivers/cdx/Kconfig
new file mode 100644
index 000000000000..1aaee0ec5bd9
--- /dev/null
+++ b/drivers/cdx/Kconfig
@@ -0,0 +1,17 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# CDX bus configuration
+#
+# Copyright (C) 2022-2023, Advanced Micro Devices, Inc.
+#
+
+config CDX_BUS
+ bool "CDX Bus driver"
+ depends on OF && ARM64
+ help
+ Driver to enable Composable DMA Transfer(CDX) Bus. CDX bus
+ exposes Fabric devices which uses composable DMA IP to the
+ APU. CDX bus provides a mechanism for scanning and probing
+ of CDX devices. CDX devices are memory mapped on system bus
+ for embedded CPUs. CDX bus uses CDX controller and firmware
+ to scan these CDX devices.