From patchwork Tue Jul 27 11:02:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Codrin Ciubotariu X-Patchwork-Id: 12402531 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=-17.5 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,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 B9100C4338F for ; Tue, 27 Jul 2021 11:05:13 +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 81BA1619E5 for ; Tue, 27 Jul 2021 11:05:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 81BA1619E5 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=tJgEqzdFIU5WIjyob1nr6KGuT1J6nzaKbj9Ovt1EVlA=; b=vIbqjVQAQVBVNv Z9i8ZMZcMPOf9cZkf6/IxgWZN4HvCj1ZZmf/0eK0TqOzghO+njFUd0ZmBHEsoD5lGLKFa4/DTQDuK hyI4RKh8iJF/QhgqQSUJVTE8d7wyTGDpnjaXyuOQAiiLzWmaSfKp/J0keZ78rFCmUrOdmLx07JRb/ WNaHLGVW9V5SJW3V7O1HcPxzXynKv1ILzCOHow+08oUyXA4fq53ppdiTbWrN15GiXcEyUUnaiTFpY iyu5gPPmap8c6TIJI1R5Dkz7yxvsc8CNuXqzJjuDNvc84Tr8FfSmj5JisVEdkffKLv9DtFEWuTihn 2Fur5BirMRrhQ9LPkwvw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m8Kqv-00EXca-81; Tue, 27 Jul 2021 11:02:25 +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 1m8Kqq-00EXbh-0W for linux-arm-kernel@lists.infradead.org; Tue, 27 Jul 2021 11:02:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1627383738; x=1658919738; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Y8+DswQOgqJ+Z109s5uZ3P5QjJf+XnVxLaqAzGjFO8A=; b=f3fppecgU6t+eGuDMLdxeSrAPQC6O4ZeOnb9Vh9R2rp8Y/2ah9G8itMK SgfG/3F1ByotcN9EekvzA1hKrZAUfCaUZrg+yNtkqKfRqq0ZL/V6X545R 4AMXnrube6f2wAfI8+bIW8O8friMX0fOaKjoDPHhpxyQ57U+9mZkr3rs1 htsN3m5y988aTsmpz9seUQYHpzk+bLobf8IhUpuYTCqqQo2ULvdM7cPne FtLYjPz22uVRZeG4OBqv3spNfxMACclhuM88fhDGsypRDKV7Bflg1NIB8 Oe6DAXSJn2m6FE2KlFdcvomJPv0JqCCTM/WGSU2P9ubn6lJuOncHH+dpa g==; IronPort-SDR: TKnfswii3JJzbTcQowpZ3Bac84fFpMTjol9FvslS1IjTvjUAsSyJhPz6DaH68FRoWBfChsT3ju e00vr2/9xK2FKd8FIYdN5/GFxR00tPpnIeM0MHAR9tcWvAJLL2b9oNpSHtwqROLdKELvm1hpwg vFKvmnsAljJDwWyiRRxL6KQ44986W32HIUEq4kTt9P7QyVc6pLPyVPgyJLlPOkajOY10nFIGv4 XQ3K9bZ6dyUxV8ip3OkHLTrjl6oh/o/9UFsrR8Y+K4kEp/Ugi+0iS/fc+8Tu9IczME+girhoFj GWy98HT/mIiF2zIJoeCTnlO4 X-IronPort-AV: E=Sophos;i="5.84,273,1620716400"; d="scan'208";a="123596040" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 27 Jul 2021 04:02:16 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex01.mchp-main.com (10.10.85.143) 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:02:17 -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 04:02:13 -0700 From: Codrin Ciubotariu To: , , Subject: [PATCH] ARM: dts: at91: sama5d2_icp: enable digital filter for I2C nodes Date: Tue, 27 Jul 2021 14:02:06 +0300 Message-ID: <20210727110206.1336773-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_040220_183484_F2C7A6B0 X-CRM114-Status: UNSURE ( 8.13 ) 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 --- 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 {