refactor(ti): add top level ti_sci transport layer

The TI SCI transport header will allow us to abstract all transport
related calls from the actual medium of transport which can vary
from device to device.
For eg. it is sec proxy for current TI K3 devices, but in future it
maybe mailbox like in the TI AM62L.
With this change, we no longer need to include anything from the IPC
folder, so drop it from plat_common.mk

Change-Id: Ic99209688cf69f20e694e31e553ce4ec74254669
Signed-off-by: Dhruva Gole <d-gole@ti.com>
diff --git a/drivers/ti/ipc/sec_proxy.c b/drivers/ti/ipc/sec_proxy.c
index fb27336..30c7ced 100644
--- a/drivers/ti/ipc/sec_proxy.c
+++ b/drivers/ti/ipc/sec_proxy.c
@@ -2,7 +2,7 @@
  * Texas Instruments K3 Secure Proxy Driver
  *   Based on Linux and U-Boot implementation
  *
- * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2018-2025 Texas Instruments Incorporated - http://www.ti.com/
  *
  * SPDX-License-Identifier: BSD-3-Clause
  */
@@ -18,7 +18,7 @@
 #include <lib/utils.h>
 #include <lib/utils_def.h>
 
-#include "sec_proxy.h"
+#include <ti_sci_transport.h>
 
 /* SEC PROXY RT THREAD STATUS */
 #define RT_THREAD_STATUS			(0x0)
diff --git a/drivers/ti/ti_sci/ti_sci.c b/drivers/ti/ti_sci/ti_sci.c
index 5c6ba6b..06c8ff3 100644
--- a/drivers/ti/ti_sci/ti_sci.c
+++ b/drivers/ti/ti_sci/ti_sci.c
@@ -16,7 +16,7 @@
 #include <lib/bakery_lock.h>
 
 #include <common/debug.h>
-#include <sec_proxy.h>
+#include <ti_sci_transport.h>
 
 #include "ti_sci_protocol.h"
 #include "ti_sci.h"
diff --git a/drivers/ti/ipc/sec_proxy.h b/drivers/ti/ti_sci/ti_sci_transport.h
similarity index 88%
rename from drivers/ti/ipc/sec_proxy.h
rename to drivers/ti/ti_sci/ti_sci_transport.h
index 4005102..0c47275 100644
--- a/drivers/ti/ipc/sec_proxy.h
+++ b/drivers/ti/ti_sci/ti_sci_transport.h
@@ -1,14 +1,13 @@
 /*
- * Texas Instruments K3 Secure Proxy Driver
- *   Based on Linux and U-Boot implementation
+ * Texas Instruments SCI Transport Protocol Header
  *
- * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2018-2025 Texas Instruments Incorporated - http://www.ti.com/
  *
  * SPDX-License-Identifier: BSD-3-Clause
  */
 
-#ifndef SEC_PROXY_H
-#define SEC_PROXY_H
+#ifndef TI_SCI_TRANSPORT_H
+#define TI_SCI_TRANSPORT_H
 
 #include <stdint.h>
 
@@ -79,4 +78,4 @@
  */
 int k3_sec_proxy_recv(enum k3_sec_proxy_chan_id id, struct k3_sec_proxy_msg *msg);
 
-#endif /* SEC_PROXY_H */
+#endif /* TI_SCI_TRANSPORT_H */
diff --git a/plat/ti/k3/common/plat_common.mk b/plat/ti/k3/common/plat_common.mk
index 20ad478..c246aa7 100644
--- a/plat/ti/k3/common/plat_common.mk
+++ b/plat/ti/k3/common/plat_common.mk
@@ -51,7 +51,6 @@
 
 PLAT_INCLUDES		+=	\
 				-I${PLAT_PATH}/include			\
-				-Idrivers/ti/ipc			\
 				-Idrivers/ti/ti_sci			\
 
 K3_CONSOLE_SOURCES	+=	\
@@ -70,7 +69,7 @@
 				plat/common/plat_psci_common.c		\
 				${PLAT_PATH}/common/k3_psci.c		\
 
-K3_SEC_PROXY_SOURCES	+=	\
+K3_TI_SCI_TRANSPORT	+=	\
 				drivers/ti/ipc/sec_proxy.c		\
 
 K3_TI_SCI_SOURCES	+=	\
@@ -88,5 +87,5 @@
 				${PLAT_PATH}/common/k3_topology.c	\
 				${K3_GIC_SOURCES}			\
 				${K3_PSCI_SOURCES}			\
-				${K3_SEC_PROXY_SOURCES}			\
 				${K3_TI_SCI_SOURCES}			\
+				${K3_TI_SCI_TRANSPORT}			\