cdx: add cdx controller
authorNipun Gupta <nipun.gupta@amd.com>
Mon, 13 Mar 2023 13:26:34 +0000 (18:56 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Mar 2023 10:26:32 +0000 (12:26 +0200)
commit8a7923df35d3a0fa44985148cee5b7fde4a370ba
treeb9a12cc70426dde15f0b585b43913563e55ca483
parenteb96b740192b2a09720aaed8a8c132e6a29d5bdb
cdx: add cdx controller

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>
drivers/cdx/controller/Kconfig
drivers/cdx/controller/Makefile
drivers/cdx/controller/cdx_controller.c [new file with mode: 0644]
drivers/cdx/controller/mcdi_functions.c [new file with mode: 0644]
drivers/cdx/controller/mcdi_functions.h [new file with mode: 0644]