From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, UNWANTED_LANGUAGE_BODY,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3A37AC4338F for ; Tue, 27 Jul 2021 11:18:28 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F4141619E5 for ; Tue, 27 Jul 2021 11:18:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org F4141619E5 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+GjObL/39djNXR6nTveT+gxJGyMaT30noFdb0hUkXs4=; b=3ZybhWIphFWN7R C7U+V/9fKKKtvVH4RMDKArFc7SFbjm6WsqnT5eZpAJ0rMMvd3/us16/jABhKXYCtRkjoENU74hLTw 8DexhR5NGI9hFsuqUvEhxvOqzWWB8F2SwDKCjZCLBFdVCPMWnj9uxIApI/C+1r2NpJZVPRk+Z4qvO 3mN+ZT/0QWDYlMAwbo8uUaGBD4397bivAUUQLnSq2qBKEJmlumrG9+pQNTDrGcK5+1HV4xvYPF3Ra TK/QJ6PtGMoY7P+DXXAITmaVUcVz+O5d+gg+i4HDyv8O8lDhRrlzInv6iBF/xr4V5cV3qu+QmcRX1 H7RI5ZtO4KffQTsLGKeA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m8L4w-00EajK-Lu; Tue, 27 Jul 2021 11:16:54 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m8L4O-00EaaM-Bf for linux-arm-kernel@lists.infradead.org; Tue, 27 Jul 2021 11:16:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1627384580; x=1658920580; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=DIHrC52ww/DFXbYGSa4kH26VQ4Zgajs7K4hwctr/DEM=; b=zegWKPFMTpG+ijmr+n46UP39/VlRbJzNFEx9heeTMlsm5Qh5bHUAHLK2 ZFEXRbKN9pj7p7i0xeMEhlnsgEoY4GJR3cxIQN+YhmAH5OK+Nl4hNMYBY hH7u7oQsW+yTCjG97IxQB/OxbUWxyg3+bcnS2OzNuHxHCtM3WDuwenoRZ XV0lT9a/cOy+jj4ng+826pxDUbDv9QGMgLmInqPLmbcbf2GUC3/K2ww2O dZjTunA5T1reV5xdmpdePi2LxqnRdpuzSJVnCZ0wrYtkMXe7xBNSbB/p4 SLb0qzmLyyRHdH9DAm5ZcDcRNLrY6J4T+538yMK7EnDtUx//s0PSGdAG0 w==; IronPort-SDR: ifQlh4pBZHI41bhmt8tMXvi0NBnr4VsspB5x0GdhvjKO47O70GfBV1URXo/Dda992r2XhSTQtE DjF5hC30TgkR7T9RDzAMSdmq7bQRKGWiGeT3uZxi5LxFmH0rmovoDqkX7yqKAuQOFbYhiLqsro 2LYf7qd2CRPgAtjY0V318wtgTbvMEYmyXPuFHitx8JsX1IHoZpeX7dmIHpb0QhQ3H9hM7Dwh6s NfHSd1e6hXCWF/pSErKfVkOT4GVyKJ0cyJ4mb4zZYorrYJzrOPdBOKeqj5k7lpy4mEvzEPs7vB H6K06Eo2i++hiRKmwVDgLECj X-IronPort-AV: E=Sophos;i="5.84,273,1620716400"; d="scan'208";a="130528394" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 27 Jul 2021 04:16:19 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 27 Jul 2021 04:16:19 -0700 Received: from rob-ult-m19940.amer.actel.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Tue, 27 Jul 2021 04:16:15 -0700 From: Codrin Ciubotariu To: , , Subject: [PATCH 3/3] i2c: at91: add advanced digital filtering support for SAMA5D4 Date: Tue, 27 Jul 2021 14:15:54 +0300 Message-ID: <20210727111554.1338832-4-codrin.ciubotariu@microchip.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210727111554.1338832-1-codrin.ciubotariu@microchip.com> References: <20210727111554.1338832-1-codrin.ciubotariu@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210727_041620_448997_29A7EF31 X-CRM114-Status: UNSURE ( 9.08 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alexandre.belloni@bootlin.com, wsa@kernel.org, mhoffman@lightlink.com, ludovic.desroches@microchip.com, khali@linux-fr.org, andrew@sanpeople.com, Codrin Ciubotariu Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- drivers/i2c/busses/i2c-at91-core.c | 1 + 1 file changed, 1 insertion(+) 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 = { -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel