diff mbox series

[3/3] i2c: at91: add advanced digital filtering support for SAMA5D4

Message ID 20210727111554.1338832-4-codrin.ciubotariu@microchip.com (mailing list archive)
State New, archived
Headers show
Series i2c: at91: Fixes and updates | expand

Commit Message

Codrin Ciubotariu July 27, 2021, 11:15 a.m. UTC
I2C/TWI IP variant found in SAMA5D4 supports advanced digital filtering,
even though, at the time of this patch, it is not present in Datasheet.

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
---
 drivers/i2c/busses/i2c-at91-core.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Wolfram Sang Nov. 29, 2021, 10:41 a.m. UTC | #1
On Tue, Jul 27, 2021 at 02:15:54PM +0300, Codrin Ciubotariu wrote:
> I2C/TWI IP variant found in SAMA5D4 supports advanced digital filtering,
> even though, at the time of this patch, it is not present in Datasheet.

Is it meanwhile? If not, can you add a comment, please?
diff mbox series

Patch

diff --git a/drivers/i2c/busses/i2c-at91-core.c b/drivers/i2c/busses/i2c-at91-core.c
index e14edd236108..7b6dc56d8c1c 100644
--- a/drivers/i2c/busses/i2c-at91-core.c
+++ b/drivers/i2c/busses/i2c-at91-core.c
@@ -120,6 +120,7 @@  static struct at91_twi_pdata sama5d4_config = {
 	.clk_offset = 4,
 	.has_hold_field = true,
 	.has_dig_filtr = true,
+	.has_adv_dig_filtr = true,
 };
 
 static struct at91_twi_pdata sama5d2_config = {