summaryrefslogtreecommitdiff
path: root/drivers/net/wwan/t7xx/t7xx_port.h
diff options
context:
space:
mode:
authorHaijun Liu <haijun.liu@mediatek.com>2022-08-16 09:53:28 +0530
committerDavid S. Miller <davem@davemloft.net>2022-08-17 11:53:53 +0100
commitd20ef656f9942950d67e29418512a6929682ad60 (patch)
tree7ced4008c7d1f5b1f987b99ad6b69c8edd4b4692 /drivers/net/wwan/t7xx/t7xx_port.h
parent0630f64d25a0f0a8c6a9ce9fde8750b3b561e6f5 (diff)
net: wwan: t7xx: Add AP CLDMA
The t7xx device contains two Cross Layer DMA (CLDMA) interfaces to communicate with AP and Modem processors respectively. So far only MD-CLDMA was being used, this patch enables AP-CLDMA. Rename small Application Processor (sAP) to AP. Signed-off-by: Haijun Liu <haijun.liu@mediatek.com> Co-developed-by: Madhusmita Sahu <madhusmita.sahu@intel.com> Signed-off-by: Madhusmita Sahu <madhusmita.sahu@intel.com> Signed-off-by: Moises Veleta <moises.veleta@linux.intel.com> Signed-off-by: Devegowda Chandrashekar <chandrashekar.devegowda@intel.com> Signed-off-by: M Chetan Kumar <m.chetan.kumar@linux.intel.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wwan/t7xx/t7xx_port.h')
-rw-r--r--drivers/net/wwan/t7xx/t7xx_port.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/net/wwan/t7xx/t7xx_port.h b/drivers/net/wwan/t7xx/t7xx_port.h
index dc4133eb433a..4a29bd04cbe2 100644
--- a/drivers/net/wwan/t7xx/t7xx_port.h
+++ b/drivers/net/wwan/t7xx/t7xx_port.h
@@ -36,9 +36,15 @@
/* Channel ID and Message ID definitions.
* The channel number consists of peer_id(15:12) , channel_id(11:0)
* peer_id:
- * 0:reserved, 1: to sAP, 2: to MD
+ * 0:reserved, 1: to AP, 2: to MD
*/
enum port_ch {
+ /* to AP */
+ PORT_CH_AP_CONTROL_RX = 0x1000,
+ PORT_CH_AP_CONTROL_TX = 0x1001,
+ PORT_CH_AP_LOG_RX = 0x1008,
+ PORT_CH_AP_LOG_TX = 0x1009,
+
/* to MD */
PORT_CH_CONTROL_RX = 0x2000,
PORT_CH_CONTROL_TX = 0x2001,