Received: by 2002:a05:6a10:5594:0:0:0:0 with SMTP id ee20csp540840pxb; Mon, 25 Apr 2022 16:02:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/bYWV480XD/7OwMdyz2Kij5lC09dou74ShNqCsxczh5hPdM46FjtVevZvkk3fP/+Qz5ii X-Received: by 2002:a17:902:b212:b0:158:f491:8618 with SMTP id t18-20020a170902b21200b00158f4918618mr20603393plr.36.1650927724938; Mon, 25 Apr 2022 16:02:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650927724; cv=none; d=google.com; s=arc-20160816; b=MCzup+ZJ7QHzcokP7f2QptZuBaB2ZDPrCaT9tLrKp1CQshrx2FXFf7SiH6G8yoRUbK mu3GkNPF4TY3rgCrXyD27DcPMHxTLMI7u3ecBNoK/SSCw0dI1dBIuNhE2OoWl0QhRV4s 9Ocz2xDk3R6QlOlK2qu/UVM3qcAe7XWwUAup509YzbuvNBUWUPp7Ylu8immACNoumaTd GpmYOEBxTKS1gLC6seI1On4fvaD/hBNOdcYvM9JgS6yFjU9rnXaa5bSkgItx0j/Hl26Q MaQUkOai0S7ZwhSKd3bKuWbkPIH4zBlf/PJx43dY9rxIPOOYZukIZssnTjwRKJJQNKMj Ja5A== 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=J6mPCtUXj5KoG1XhCWbCph7Cw4mtUUorROyoXB/OaG0=; b=SROvlPjQZvTxblWGse1tLOeBJf6labr5ztSCQq4meM6TFt0nUlgpPAnl/mhRe4zpEw CIyrOAXs1piraSA15Jq5zt8oQifLPpNjG92BmmqSE3MB5g2UyerKz8uOQy8dQC3XwxNR O2f239vmlLIp38i4NY2K11B2uHI9ojMGSfx0xn9qhyv4Kvj9jd3jGiPaPaK6gi9HoTUS A+lZ7zb1w+RlxNjHZYhaS4+QKyjlZvW21rGs6gbcltJTvpruM1QuusLsPfEaiXd2lwez BdwT4lzsdzPhbcNg/zh6JFfAc6KkytvojkZpe43VucATVjs4Zfh01BFgkFTzVKR2Kl+x E3sA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n18-20020a63ee52000000b003ab018efbe3si7650713pgk.433.2022.04.25.16.01.47; Mon, 25 Apr 2022 16:02:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243565AbiDYQ3Y (ORCPT + 99 others); Mon, 25 Apr 2022 12:29:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243451AbiDYQ1d (ORCPT ); Mon, 25 Apr 2022 12:27:33 -0400 Received: from mout.perfora.net (mout.perfora.net [74.208.4.196]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6576411F96E; Mon, 25 Apr 2022 09:24:28 -0700 (PDT) Received: from toolbox.int.toradex.com ([81.221.85.15]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0MOPlT-1nmcPZ3bu9-005rtl; Mon, 25 Apr 2022 18:24:13 +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 v2 02/14] ARM: dts: imx6ull-colibri: change touch i2c parameters Date: Mon, 25 Apr 2022 18:23:44 +0200 Message-Id: <20220425162356.176665-3-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220425162356.176665-1-marcel@ziswiler.com> References: <20220425162356.176665-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:ADHj/TGDKswkLg5a89IKMUfylJ4N+jPV7Tu6xHT0qRHr/R0TXFx yXx2j7uUeU9/KFV0gw/rpjK+HhW2pOmGnpqLnNnzZ8dM1jQjEhSOrNvQlqBcpUYC7dVz+Lg XBmJ3MCtQphX2Xl0VSu5ecnivlqEFScqIt52yZAUZlJOl5/J5rDCCidWN9sz/CJjiqYYuQx /kZapW8bgFwpgGX6trR1A== X-UI-Out-Filterresults: notjunk:1;V03:K0:BYdktJvC4Zg=:mtLyBkNgwc/nC3nHd9KkWh FtcoQDWnTUQZzvK3zLPlaEM/G+e8ikGFTFVERlJnl6dIwAxrUTRqGQHVYmfM8EMa/r9kB+5/8 kkU1IjcmJtAaTBj0yNsHMraF8E1JSEZpgXx04grgxQA6CfRkFDfRLJaeaVwWfeqQHN2afFeYS vxAyXLK9Nk68jFvENjQQjkQ4JxW0nimcXxJLUa6Sog4W92eTCPcW/qW4RFsTAn9Li74b5ccxR Im82qS51lkvValY3WGzG++U8Mh7Xf7YcVlihFEtTdUfmQtlaJjtIzLxELjoj62jn6wVxoZY1E kxKwS6rPCyvxb6jkFn2Qbo/en/RuThoDIkRdYP+AfM7DAXdNY+wEMn+g+0yN93hBz+eVD5fdJ lkbGCmzHqMMegMpbJHn/PG6EuYt/eJB569tzcbeEWuzRQ+OqT5S0u5Mnl+zOlDwLEwfwsK+Ny 9qiqr3AVHaRZIpKDz963M/rXWdT27rJxeBS4IRWzOS9Jz217+zIEX9XxPXT4EmLcv9UcLgVL8 3Gb8HQtaMKGZP+jN2YXG5DQs1aHwx3RQGbCcNWZ+NY9h3YFsjUF/JkfOiTKoJAWRQpNAlrRQX 8gwIi5PS416hsWXXmdeSv59VYW6Ejw6VjB7Gr209FBfgTGP8tqJYtfuD2SRX9TIy9g3ntGl2G /o1WD0FK/BH7V0Ahu6WJGJmJ3tc4YFTa+egK7Aoens9QzcUFWiW09XIRZsigxsTiiLzQ= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_NONE autolearn=ham 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 eb13ed60d2e4..bea00cfaa820 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