[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210727111554.1338832-1-codrin.ciubotariu@microchip.com>
Date: Tue, 27 Jul 2021 14:15:51 +0300
From: Codrin Ciubotariu <codrin.ciubotariu@...rochip.com>
To: <linux-i2c@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
CC: <nicolas.ferre@...rochip.com>, <alexandre.belloni@...tlin.com>,
<ludovic.desroches@...rochip.com>, <andrew@...people.com>,
<mhoffman@...htlink.com>, <khali@...ux-fr.org>, <wsa@...nel.org>,
"Codrin Ciubotariu" <codrin.ciubotariu@...rochip.com>
Subject: [PATCH 0/3] i2c: at91: Fixes and updates
This patchset adds some fixes and updates, mostly for SAMA5D4, but other
platforms will still benefit.
The first patch is mostly a prerequisite for the second one. It only
moves the i2c_recover_bus() out of the actual transfer function. This
helps the second patch disable the controller before using GPIO
recovery. The second patch will keep the controller enabled when a
transfer occurs. Before using GPIO recovery, the controller must be
disabled, to ignore potential glitches. However, the controller must be
enabled for HW recovery (bus CLEAR command). The third and last patch
adds advanced digital filtering support for SAMA5D4. The TWI IP found in
SAMA5D4 supports advanced digital filtering, even if, at the moment of
this patch, the SAMA5D4 datasheet does not mention it.
Codrin Ciubotariu (3):
i2c: at91: move i2c_recover_bus() outside of at91_do_twi_transfer()
i2c: at91: keep the controller disabled when it is not used
i2c: at91: add advanced digital filtering support for SAMA5D4
drivers/i2c/busses/i2c-at91-core.c | 1 +
drivers/i2c/busses/i2c-at91-master.c | 53 ++++++++++++++++++++++------
2 files changed, 44 insertions(+), 10 deletions(-)
--
2.30.2
Powered by blists - more mailing lists