On Thu, 2022-11-24 at 12:06 +0100, AngeloGioacchino Del Regno wrote:
Il 22/11/22 12:11, Yanchao Yang ha scritto:
From: MediaTek Corporation <linuxwwan@xxxxxxxxxxxx>
Registers the TMI device driver with the kernel. Set up all the
fundamental
configurations for the device: PCIe layer, Modem Host Cross Core
Interface
(MHCCIF), Reset Generation Unit (RGU), modem common control
operations and
build infrastructure.
* PCIe layer code implements driver probe and removal, MSI-X
interrupt
initialization and de-initialization, and the way of resetting the
device.
* MHCCIF provides interrupt channels to communicate events such as
handshake,
PM and port enumeration.
* RGU provides interrupt channels to generate notifications from
the device
so that the TMI driver could get the device reset.
* Modem common control operations provide the basic read/write
functions of
the device's hardware registers, mask/unmask/get/clear functions of
the
device's interrupt registers and inquiry functions of the device's
status.
Signed-off-by: Ting Wang <ting.wang@xxxxxxxxxxxx>
Signed-off-by: MediaTek Corporation <linuxwwan@xxxxxxxxxxxx>
Hello Angelo,
Hello Yanchao,
thanks for the patch! However, there are some things to improve...
First of all, you have to signoff (in your name) all patches that you
send.
Thank your suggestion. Fix it next version (add Signed-off-by: Yanchao
Yang <yanchao.yang@xxxxxxxxxxxx> for all patches)
Check below for more comments...
---
+ u32 (*read32)(struct mtk_md_dev *mdev, u64 addr);
..snip..
do you mean we should remove read function wrapper?