Received: by 2002:a19:651b:0:0:0:0:0 with SMTP id z27csp3657620lfb; Mon, 9 May 2022 01:00:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3dMFQzNCkxDnJ3d2giJZ8zX0hDIo6GkvrcU3XPuOiOVo7Y3zawOIR32tIwc69rob3BGJj X-Received: by 2002:a17:903:248:b0:155:ecb7:dfaf with SMTP id j8-20020a170903024800b00155ecb7dfafmr15174423plh.84.1652083220771; Mon, 09 May 2022 01:00:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652083220; cv=none; d=google.com; s=arc-20160816; b=Tcgg3wArHJJJxM+zaYcKR2RbWWHlo5wxhsfU+JRFBgGtCZDiTl6iw0kCx/NIiAIF8h +GrsZjP0lL0NoxHcS4iV/lnYDZ68IhrVpj2iO3NuAcGosYyu4Suy/WV2jTFnr9jkDMln qIQKQtWjGCBJDHjJ8jkvXej9iwbin2Or8onLeAGD9AtBhaXjK0HwMLHg2BWpYINB6Lp1 82lyb9vvAs2miQCD44T7O2ghvT8w2Go9KSsVXri/8ssOzOWXgYLvljrb1iH3MEa4jHbA yzAPZN75dMdDyRzlH0a/XiwSQ67OQsad9jrsiO6lNWv0eft6J2X7K8go3HpywOLCKRxC AzbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=zf1VxcAqrysVPBdGh+VueaiOFeXeU00yrZ0RPlZsPIw=; b=dbAxOL7m6ZgNVJBzQnzGlC+P/0kc2H8xL5XXNBsMeuihxFpEp385A0u/58boKzaLW+ z6XoJlXrACFxVOCigdSLoFcwfk0BTDyWiAOLwVkIRHdW52p5wSu0nNXG063BFN6sz02a u/fdeeMOv5YxcdlAuRa17SEgrbyFp65gnvKqG/DUnPjlAm9nUvAncLWolWFbCvk7zR0/ 2zv9sH4KlclE9wxE8Xup/A8EVrH3DAhsIYfac/0DZooHRfq3iH+0bawSlxtoNE2yR0uW YEcXFaMGNd1UFlg5J5isMTl3dL5T614GXtwjlh+yPqCe28C/A1hTLD5gEIHcLuPBxEtz WBlQ== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id ng8-20020a17090b1a8800b001dcbf73882bsi14312783pjb.16.2022.05.09.01.00.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 01:00:20 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9F3CC14AA72; Mon, 9 May 2022 00:51:08 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1392491AbiEFN2e (ORCPT + 99 others); Fri, 6 May 2022 09:28:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1391600AbiEFN2c (ORCPT ); Fri, 6 May 2022 09:28:32 -0400 Received: from mout.perfora.net (mout.perfora.net [74.208.4.196]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C06DD6971F; Fri, 6 May 2022 06:24:49 -0700 (PDT) Received: from toolbox.int.toradex.com ([81.221.85.15]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0MQPne-1nNiP60Wzc-00TlRH; Fri, 06 May 2022 15:24:32 +0200 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Max Krummenacher , Denys Drozdov , Marcel Ziswiler , Fabio Estevam , Frank Rowand , Krzysztof Kozlowski , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , Russell King , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 02/13] ARM: dts: imx6ull-colibri: change touch i2c parameters Date: Fri, 6 May 2022 15:24:05 +0200 Message-Id: <20220506132416.273965-3-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220506132416.273965-1-marcel@ziswiler.com> References: <20220506132416.273965-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:NglH/itG/phwz6Aw3Z4/JVnrTYv8/PuNhHZ8qeCtohqdIXjDyjT IXT2ee0yiOtX+G9p8BjW6C/9YPPrNKJHBI9Td6mKXCH9snmrdhctTyxXJsHtmUIcevmIxqo KjWku2O3whwH9P/c67ROKAQylx/QLHwjbb4lGuoGIFYZwXlaTkLe+vVG2F3q0qQ/7CNfrrr KPkBhYaBoI3yT7r+LPcRw== X-UI-Out-Filterresults: notjunk:1;V03:K0:1VxgiRBNDP0=:g3Ba5THtk/zXQP/xbUkU9+ ErgHYf4mFEJxeYPMBVpSJckNwZteB/FQ/zv0iLf8xWXTCzSMYw+ulAyfcJMR5YmPY9lCf1Bm6 CcIHOw5lxEUjtVK91llvgXkBG5HUxJTNKf0mka/qDyuVMq56agZE4S+qLbFXHWRsSUU9xgKZV lXG2SFrW5+KEiMieap0bvArsPCkyz8Y9JVJIwqzqLjcMGH2eWpYZaP4DXwr0I9P4Yvb3n36iz 9jvoyyFeh8BpbQpwThRLRKqm8wLJOdbf7Hjv8+hvmZW+8DbdZiVvym1oGzXrfWVhL5QrcCan4 SBx+K5Ccin7nU4wKdtPs2QzYQWd2ZjvIw/qXl9RbfhVWX5Pfq0BN5D+sSNcclum7fDzZrDj6i 4tEV+4qTIrniwwZ4i+AZdz0VuQ/6aZIyXyiT2Epp0JelgMZia9AZ9YAz2qN/ZQIyV5Jj+f+Vs OC+g7h43/vSX6TYj2l+zenkiH2cL/qhVnR81lvbMEbXo1iNBLtTlrf0viNyy/J/y43ZTDwJKy /mj2FJ1/Q0amHj3r5Qth9eHAYmnkoTBMFON4Ba/+gxVXXolYx5+2bTIqtQyOklzqf35uSIPee 51s/KaG6xEcFT4B3uyl67+paplKgZ3cVBn+ILuU059cPeG6gRZneOc1XUM/UVCF5A9l1Gb9L+ ADXglGsDIIJl4CL2IdTgP3cDQQXrHuNxSNxiKfWn/3lSepvZJj8NQ3r2XlgEJEKQvVJE= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Max Krummenacher Switch on 22 kOhm pull-ups and lower the I2C frequency to around 40 kHz to get more reliable communication. Signed-off-by: Max Krummenacher Signed-off-by: Denys Drozdov Signed-off-by: Marcel Ziswiler --- (no changes since v1) arch/arm/boot/dts/imx6ull-colibri.dtsi | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx6ull-colibri.dtsi b/arch/arm/boot/dts/imx6ull-colibri.dtsi index 84bb7574d211..dc947035495b 100644 --- a/arch/arm/boot/dts/imx6ull-colibri.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri.dtsi @@ -114,6 +114,8 @@ &i2c1 { }; &i2c2 { + /* Use low frequency to compensate for the high pull-up values. */ + clock-frequency = <40000>; pinctrl-names = "default", "gpio"; pinctrl-0 = <&pinctrl_i2c2>; pinctrl-1 = <&pinctrl_i2c2_gpio>; @@ -405,15 +407,15 @@ MX6UL_PAD_UART4_RX_DATA__GPIO1_IO29 0x4001b8b0 /* SODIMM 194 */ pinctrl_i2c2: i2c2-grp { fsl,pins = < - MX6UL_PAD_UART5_TX_DATA__I2C2_SCL 0x4001b8b0 - MX6UL_PAD_UART5_RX_DATA__I2C2_SDA 0x4001b8b0 + MX6UL_PAD_UART5_TX_DATA__I2C2_SCL 0x4001f8b0 + MX6UL_PAD_UART5_RX_DATA__I2C2_SDA 0x4001f8b0 >; }; pinctrl_i2c2_gpio: i2c2-gpio-grp { fsl,pins = < - MX6UL_PAD_UART5_TX_DATA__GPIO1_IO30 0x4001b8b0 - MX6UL_PAD_UART5_RX_DATA__GPIO1_IO31 0x4001b8b0 + MX6UL_PAD_UART5_TX_DATA__GPIO1_IO30 0x4001f8b0 + MX6UL_PAD_UART5_RX_DATA__GPIO1_IO31 0x4001f8b0 >; }; -- 2.35.1