]> git.baikalelectronics.ru Git - kernel.git/commit
net: wwan: t7xx: Add port proxy infrastructure
authorHaijun Liu <haijun.liu@mediatek.com>
Fri, 6 May 2022 18:13:01 +0000 (11:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 May 2022 09:51:59 +0000 (10:51 +0100)
commita6dd5a161caaec92eba15e09101d6e27afec4ec8
treef1e8b9222eafb61e5c8c852bbefa898ccc68d36c
parenta2c1a6c4e82ec3ad3484479c2e36ecf8411ae7ee
net: wwan: t7xx: Add port proxy infrastructure

Port-proxy provides a common interface to interact with different types
of ports. Ports export their configuration via `struct t7xx_port` and
operate as defined by `struct port_ops`.

Signed-off-by: Haijun Liu <haijun.liu@mediatek.com>
Co-developed-by: Chandrashekar Devegowda <chandrashekar.devegowda@intel.com>
Signed-off-by: Chandrashekar Devegowda <chandrashekar.devegowda@intel.com>
Co-developed-by: Ricardo Martinez <ricardo.martinez@linux.intel.com>
Signed-off-by: Ricardo Martinez <ricardo.martinez@linux.intel.com>
Reviewed-by: Loic Poulain <loic.poulain@linaro.org>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wwan/t7xx/Makefile
drivers/net/wwan/t7xx/t7xx_hif_cldma.c
drivers/net/wwan/t7xx/t7xx_modem_ops.c
drivers/net/wwan/t7xx/t7xx_port.h [new file with mode: 0644]
drivers/net/wwan/t7xx/t7xx_port_proxy.c [new file with mode: 0644]
drivers/net/wwan/t7xx/t7xx_port_proxy.h [new file with mode: 0644]
drivers/net/wwan/t7xx/t7xx_state_monitor.c