From patchwork Tue Jul 27 13:41:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Codrin Ciubotariu X-Patchwork-Id: 12402753 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 819FBC4338F for ; Tue, 27 Jul 2021 13:44:43 +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 44A1161A80 for ; Tue, 27 Jul 2021 13:44:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 44A1161A80 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: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:In-Reply-To:References: List-Owner; bh=n6Ls+kSyj2ep40J875BqCI2NHgDlodR3+nHRQz+cx3Y=; b=pJm1NP/y88anUG Ig+EFm3dEJPr6Ul2Izvxa4YFBgP57lyJCcB6dVuoytSEu1FC1uamku8hCnQb9JzMOPq0DqQcQO2XD ic5B7WoDJmhRrvaotvRKUlhnr3DDZHgxWfGToH6NuSSoQHz5hy7K4+V3nRtY+PLnusLdfqYW6bCmO K0yYS9ok1WzPhWVfvro3c+eZi4VA+O5RPcn48afpQsG2fVkRdtPUemVlEf5PStNZCp/sZaphu47cn 5uK55DYAFP4Ll6IaqRR33FWaPA1a1GwYCsXBo1t9D79/FrNEjuuJEzR5Ns5G+lLSQwlVLdPsa9qCo HR8UqmscSNChl/Eps41A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m8NM1-00ExLd-0t; Tue, 27 Jul 2021 13:42:41 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m8NLw-00ExKn-AT for linux-arm-kernel@lists.infradead.org; Tue, 27 Jul 2021 13:42:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1627393356; x=1658929356; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=cCss9beJLyEtVeQKdKDLue42w59nZdJ3lRfZf8HdINI=; b=fSsEmy8PssV/C9kLP3kHcOF6IJ3EOF0fU7ywohIpRA3Kgq9TMWyCjwZV JoLTWRQM28lJDXZovvCxobVhY0pfNnJyNwaO9clX5id4DfEm/yHBg7bET nS6UJNgKsNrD0NujRbVdx06qwAfNPKU3fqsmh1uoAl14wHVGNJALdjd4s 2y9BKKPpX6wu8GNJZ3R1VGodGei3Jy+Yio5dDJ6z4ujy9vN3XTkko/A05 Ln5r6pwR7YTCGRf0cHkvwjLjQf3zYwHbT7SmqF0JnGt7ig1GkyeRYDMKJ CscE1QamTHblfYxG+VQHPVN73wzUejCpPtT+3me/JgUX0hBTJbi0aB3g9 g==; IronPort-SDR: pf7le8cEtxSJRm95epm1GUFFAcZ5INH/UVHm+xAeXarcsYJqlT4IYoYNZZ/PC4qkJc+AkG1wbq gcT2gK1+WDCOeMdHYgYIc/a0lA45Oto8RWnBLjd1lgWpaTDJMIJUEmQRr9QhowQKUQikbwAJyI YCCBNhxVWKjDdJe8g6145ZR7QnbRZdhV7z2/eX+FfpF79m3buvcCSTpFmFbtf1lvpOQ2dwJEed P0HmKAkz+K9jsl03PtIYg2ASv6W1jHCUSDWSgbYYpEjfqkXbd+nEYQ7pNoZdvrH1dEC52rRXYH MgGooFn6LYg6ywm2XvUE6lUm X-IronPort-AV: E=Sophos;i="5.84,273,1620716400"; d="scan'208";a="63745506" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 27 Jul 2021 06:41:25 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) 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 06:41:25 -0700 Received: from rob-ult-m19940.amer.actel.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Tue, 27 Jul 2021 06:41:22 -0700 From: Codrin Ciubotariu To: , , Subject: [PATCH v2] ARM: dts: at91: sama5d2_icp: enable digital filter for I2C nodes Date: Tue, 27 Jul 2021 16:41:15 +0300 Message-ID: <20210727134115.1353494-1-codrin.ciubotariu@microchip.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210727_064236_494676_61AD7529 X-CRM114-Status: UNSURE ( 8.26 ) 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: ludovic.desroches@microchip.com, Codrin Ciubotariu , alexandre.belloni@bootlin.com, robh+dt@kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org SAMA5D2's I2C controller supports digital filter, so let's enable it. Signed-off-by: Codrin Ciubotariu Acked-by: Nicolas Ferre --- Changes in v2: - removed Acked-by tag arch/arm/boot/dts/at91-sama5d2_icp.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d2_icp.dts b/arch/arm/boot/dts/at91-sama5d2_icp.dts index bd64721fa23c..1c235fc5f788 100644 --- a/arch/arm/boot/dts/at91-sama5d2_icp.dts +++ b/arch/arm/boot/dts/at91-sama5d2_icp.dts @@ -184,6 +184,8 @@ i2c6: i2c@600 { dmas = <0>, <0>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_flx4_default>; + i2c-digital-filter; + i2c-digital-filter-width-ns = <35>; status = "okay"; mcp16502@5b { @@ -307,6 +309,8 @@ regulator-state-mem { &i2c0 { /* mikrobus i2c */ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_mikrobus_i2c>; + i2c-digital-filter; + i2c-digital-filter-width-ns = <35>; status = "okay"; }; @@ -314,6 +318,8 @@ &i2c1 { dmas = <0>, <0>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c1_default>; + i2c-digital-filter; + i2c-digital-filter-width-ns = <35>; status = "okay"; eeprom@50 {