[PATCH v6 3/7] i2c: mediatek: Dump i2c/dma register when a timeout occurs

Qii Wang qii.wang at mediatek.com
Wed Sep 1 02:31:41 PDT 2021


On Sat, 2021-08-28 at 18:50 +0800, Kewei Xu wrote:
> When a timeout error occurs in i2c transter, it is usually related
> to the i2c/dma IP hardware configuration. Therefore, the purpose of
> this patch is to dump the key register values of i2c/dma when a
> timeout occurs in i2c for debugging.
> 
> Signed-off-by: Kewei Xu <kewei.xu at mediatek.com>
> ---
>  drivers/i2c/busses/i2c-mt65xx.c | 56 ++++++++++++++++++++++++++++++++++++++++-
>  1 file changed, 55 insertions(+), 1 deletion(-)
> 

Reviewed-by: Qii Wang <qii.wang at mediatek.com>



More information about the linux-arm-kernel mailing list