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=-15.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=unavailable 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 B6AD7C4338F for ; Tue, 27 Jul 2021 14:45:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9C47C61AFD for ; Tue, 27 Jul 2021 14:45:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236835AbhG0Opl (ORCPT ); Tue, 27 Jul 2021 10:45:41 -0400 Received: from esa.microchip.iphmx.com ([68.232.154.123]:37829 "EHLO esa.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232419AbhG0Opc (ORCPT ); Tue, 27 Jul 2021 10:45:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1627397132; x=1658933132; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=zxGFIXNqkxZz4/b5iPvdXFv0dc3fQevhmYiTcgs0RGI=; b=CunhGqW+mUlmbFv3D5TO1Wu2xNTgWU7hy2YJ1o/NToJ9xMpwJDi1hYkg 5sqNNyZePrGQ8HR6meN5Bs9x14/7/2PaaY2mNMSdfnfXS67PKow5Om4cM vQyjAIJ/DO22s2U/BVL1cUt8aVuLq3i1xdT+MuQMha00mJ1ZXBcBuq4WQ IM/NL5jiSrGSqBcDwZWKMNUsXu8XrAzGxbqBeExeZExb3R33YY4gJuO9P Py0oKWWoaAnSEmMdyrcSfPB5LieMU2Q+MlrP2v49Hwqgj4zwqUfqexsq6 1i2mtOkUZLalmU/Nx/60FoEn5rjJWTvcMzmsIQPY8QzPU7H2mLFpWO5OV w==; IronPort-SDR: nm4pwU5L5A36wt1jUIp9yVXQLq7Py4z3MEIrWtAI48HAKvTb7fx422vtF19/ecHXryrZTLAnD8 brIyuosOgxMJQ2ywDy1tupxnGbWbGG1T+EH4J3T09xSRdcvql9FOwuXHVJRtNIePCsnMDqdClz BKTCTi9SBbxlnoJrfAN1VByh+s/JaoQ6T6VAToVo5VW1QO4GzmUBfLGQz4DxuKSNp2NBbdKTPM /s85vNiESzWbX3+nhhFZtuEgXVwEm0Hi/AZT6ovVU26nz10cD6jECsqOrtYGHhi3VbTXFQGp/i peosrn3nfHNv5NT77h65Ds/h X-IronPort-AV: E=Sophos;i="5.84,273,1620716400"; d="scan'208";a="63755044" 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 07:45:31 -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 07:45:31 -0700 Received: from [10.171.246.86] (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 07:45:29 -0700 Subject: Re: [PATCH v2] ARM: dts: at91: sama5d2_icp: enable digital filter for I2C nodes To: Codrin Ciubotariu , , , CC: , , References: <20210727134115.1353494-1-codrin.ciubotariu@microchip.com> From: Nicolas Ferre Organization: microchip Message-ID: <1444f480-be56-02a8-152e-8b6d0a94a0a9@microchip.com> Date: Tue, 27 Jul 2021 16:45:28 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210727134115.1353494-1-codrin.ciubotariu@microchip.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27/07/2021 at 15:41, Codrin Ciubotariu wrote: > SAMA5D2's I2C controller supports digital filter, so let's enable it. > > Signed-off-by: Codrin Ciubotariu > --- > > Changes in v2: > - removed Acked-by tag And I add it back here ;-) : Acked-by: Nicolas Ferre I queue the patch in at91-dt for 5.15. Thanks Codrin, best regards, Nicolas > > 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 { > -- Nicolas Ferre 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=-16.4 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,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 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 4D5B6C4338F for ; Tue, 27 Jul 2021 14:47:32 +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 0BBD961A84 for ; Tue, 27 Jul 2021 14:47:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0BBD961A84 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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:CC:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=dmtLfaaSzdhyIUzyg8Sl4SaPdmuLZS/bYTECu2Ga1lM=; b=2DllMaAfS/R9zdvpWDwtvk5uJj uIhB4nKzcBsnWyehXGRvYCGIFN5iBZduSn9hNJPpHOeP65BtMnR5Oao2Gf3kSsrY3cK31yNS0+VaV WJagL5p7FVKx2T8W81tQBGw2mHoTmDT+QXKRubRNJ90ByZh1t90ZNTLJqLFI8OeHxU+np1lEbm21/ CUBg88u2VLo5L/TXaCA4CcBk/f/F6LfJm9GLd3equk7/XZW6VqJ/+riLkhSBcn9eKPDgdv1rhX4AA Lw+rIpS6gOeC3YkZgT91w5RgSEhcjc0PhVm868Jlk0ImFOfFtzoZTfh+oagpav7kI1Rzt2XwEzFUQ /iJ9YSHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m8OKu-00F57i-TK; Tue, 27 Jul 2021 14:45:37 +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 1m8OKr-00F575-0n for linux-arm-kernel@lists.infradead.org; Tue, 27 Jul 2021 14:45:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1627397132; x=1658933132; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=zxGFIXNqkxZz4/b5iPvdXFv0dc3fQevhmYiTcgs0RGI=; b=CunhGqW+mUlmbFv3D5TO1Wu2xNTgWU7hy2YJ1o/NToJ9xMpwJDi1hYkg 5sqNNyZePrGQ8HR6meN5Bs9x14/7/2PaaY2mNMSdfnfXS67PKow5Om4cM vQyjAIJ/DO22s2U/BVL1cUt8aVuLq3i1xdT+MuQMha00mJ1ZXBcBuq4WQ IM/NL5jiSrGSqBcDwZWKMNUsXu8XrAzGxbqBeExeZExb3R33YY4gJuO9P Py0oKWWoaAnSEmMdyrcSfPB5LieMU2Q+MlrP2v49Hwqgj4zwqUfqexsq6 1i2mtOkUZLalmU/Nx/60FoEn5rjJWTvcMzmsIQPY8QzPU7H2mLFpWO5OV w==; IronPort-SDR: nm4pwU5L5A36wt1jUIp9yVXQLq7Py4z3MEIrWtAI48HAKvTb7fx422vtF19/ecHXryrZTLAnD8 brIyuosOgxMJQ2ywDy1tupxnGbWbGG1T+EH4J3T09xSRdcvql9FOwuXHVJRtNIePCsnMDqdClz BKTCTi9SBbxlnoJrfAN1VByh+s/JaoQ6T6VAToVo5VW1QO4GzmUBfLGQz4DxuKSNp2NBbdKTPM /s85vNiESzWbX3+nhhFZtuEgXVwEm0Hi/AZT6ovVU26nz10cD6jECsqOrtYGHhi3VbTXFQGp/i peosrn3nfHNv5NT77h65Ds/h X-IronPort-AV: E=Sophos;i="5.84,273,1620716400"; d="scan'208";a="63755044" 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 07:45:31 -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 07:45:31 -0700 Received: from [10.171.246.86] (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 07:45:29 -0700 Subject: Re: [PATCH v2] ARM: dts: at91: sama5d2_icp: enable digital filter for I2C nodes To: Codrin Ciubotariu , , , CC: , , References: <20210727134115.1353494-1-codrin.ciubotariu@microchip.com> From: Nicolas Ferre Organization: microchip Message-ID: <1444f480-be56-02a8-152e-8b6d0a94a0a9@microchip.com> Date: Tue, 27 Jul 2021 16:45:28 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210727134115.1353494-1-codrin.ciubotariu@microchip.com> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210727_074533_201416_85954720 X-CRM114-Status: GOOD ( 16.37 ) 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 27/07/2021 at 15:41, Codrin Ciubotariu wrote: > SAMA5D2's I2C controller supports digital filter, so let's enable it. > > Signed-off-by: Codrin Ciubotariu > --- > > Changes in v2: > - removed Acked-by tag And I add it back here ;-) : Acked-by: Nicolas Ferre I queue the patch in at91-dt for 5.15. Thanks Codrin, best regards, Nicolas > > 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 { > -- Nicolas Ferre _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel