CDX controller uses MCDI interface as a protocol to communicate with the RPU firmware and registers the detected CDX devices on the CDX bus. It also uses RPMsg as the communication channel with the Firmware. Signed-off-by: Nipun Gupta <nipun.gupta@amd.com> Signed-off-by: Puneet Gupta <puneet.gupta@amd.com> Signed-off-by: Abhijit Gangurde <abhijit.gangurde@amd.com> Signed-off-by: Nikhil Agarwal <nikhil.agarwal@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-6-nipun.gupta@amd.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
30 lines
597 B
Plaintext
30 lines
597 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# CDX controller configuration
|
|
#
|
|
# Copyright (C) 2022-2023, Advanced Micro Devices, Inc.
|
|
#
|
|
|
|
if CDX_BUS
|
|
|
|
config CDX_CONTROLLER
|
|
tristate "CDX bus controller"
|
|
help
|
|
CDX controller drives the CDX bus. It interacts with
|
|
firmware to get the hardware devices and registers with
|
|
the CDX bus. Say Y to enable the CDX hardware driver.
|
|
|
|
If unsure, say N.
|
|
|
|
config MCDI_LOGGING
|
|
bool "MCDI Logging for the CDX controller"
|
|
depends on CDX_CONTROLLER
|
|
help
|
|
Enable MCDI Logging for
|
|
the CDX Controller for debug
|
|
purpose.
|
|
|
|
If unsure, say N.
|
|
|
|
endif
|