The loop sends either one or two events to the slave driver. If the
state is I2C_SLAVE_READ_REQUESTED, we synthesize the
I2C_SLAVE_READ_PROCESSED event, and then our state becomes
I2C_SLAVE_READ_PROCESSED. In all other states, we transition to
I2C_SLAVE_STOP and exit the loop.
It is not a busy loo
>From feaf638fb9b9a483c0d6090b277f34db21160885 Mon Sep 17 00:00:00 2001
From: Kevin Paul Herbert
Date: Tue, 15 Dec 2020 16:50:34 -0800
Subject: [PATCH] i2c-imx.c: Synthesize end of transaction events without idle
interrupts
Only the Layerscape SoCs have interrupts on bus idle, which facilitate
s
imx_i2c_write_reg(temp, i2c_imx, IMX_I2C_IBIC);
>
> }
>
> }
>
>
>
> Best Regards,
>
> Biwen Li
>
> From: Kevin Herbert
> Sent: 2020年12月10日 1:18
> To: Wolfram Sang ; Kevin Herbert
> ; Biwen Li (OSS) ; Leo Li
> ; li...@remp
3 matches
Mail list logo