Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1401683pxb; Thu, 14 Apr 2022 05:31:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHcM6Ijofl9ZjeyPTnOkDuxr4xfJ1LG7wVOiIVahyGhbe4z0oZB4iJWOAOkmJwctl5mtcC X-Received: by 2002:a17:902:8d8b:b0:155:f201:16ad with SMTP id v11-20020a1709028d8b00b00155f20116admr47426032plo.150.1649939517789; Thu, 14 Apr 2022 05:31:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649939517; cv=none; d=google.com; s=arc-20160816; b=XIR8Qr8IGXQ9M2/KIN+hWG9Ca2psGLIwV4JVckXDDxBhXE8VUmFMijmQ1/aI+ooC3f 4q/5UXr404PqCDJKzqZzAVDymr+rznqClJrryJnVu7bkRtBr8aJuZDttzWsj01M4TDL5 SH8sgQleg9zcW7moJfxevYmfwNoQe6ul7K4OsawFzYz3evRR4r0OUO9bFj7Ca/4lVkYu RKwaU5fwGNrvHV5pyMsMVBYNIFBXSD+JT3u1Mqr2Wv8IcwJQrW+MnNijTGchqEOHVU9N yI5qrIMbQ6nn6xbkh16SHFAZri+L+mcH2P4FY7n/Ulwj33uFIKH5HaBlvqcdz5JqLhLv d8iQ== 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=DNGS4ccvJJbewjDmgFLuUsoyWff4PwMK+Z0dXTnAVoo=; b=lqTc0PNc/b3kilVYVnduO8mPGAhINM6edxcRkXJR7f9rcz3+KZLB4foHtEEZJs9pdQ cpganiS+nr7Sq/Xxu2t+wKzt4OE0sLCoX6JIsi6b5XrjrrmlX7kiD3e8qdmZFFOpshB1 d4vUcZKHu/D169QaXWw4zKWT/svEL/b29RbX5Bu9U8qlGO7RL2VcjPrHS2SU8nQNlziT qo4pvJJTmT+r7fXSUtIZNbpsZBuszWjk0dekagMoEX+V2tpWB9G9fNOwn0PadzljEpJe WAAhpuJCKF67Rnqrk5aND7w8T2vAiiaCKdZ3PgPLscWKSAUXXHSsNHKBJV7XoOdwh76J q7rw== 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 q128-20020a632a86000000b0039d20aca785si7848034pgq.732.2022.04.14.05.31.42; Thu, 14 Apr 2022 05:31:57 -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 S240911AbiDNIyI (ORCPT + 99 others); Thu, 14 Apr 2022 04:54:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240271AbiDNIyH (ORCPT ); Thu, 14 Apr 2022 04:54:07 -0400 Received: from mout.perfora.net (mout.perfora.net [74.208.4.196]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 103BF5A0A0; Thu, 14 Apr 2022 01:51:42 -0700 (PDT) Received: from toolbox.toradex.int ([31.10.206.124]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1M2Ohe-1nfUEQ2XEs-003sXi; Thu, 14 Apr 2022 10:51:29 +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 v1 03/14] ARM: dts: imx6ull-colibri: change touch i2c parameters Date: Thu, 14 Apr 2022 10:50:55 +0200 Message-Id: <20220414085106.18621-4-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220414085106.18621-1-marcel@ziswiler.com> References: <20220414085106.18621-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:PrUdRr7lJNylNQs5YAAtcSHGAf2AuFsk+QjxxQZnL4oYz5aYOLt MZw9gTowkY7xk4JAjeKBP6H6CTRvujCq7XExmd+mfHeakqXeVvB+VHt88r3Bxy4zV+qSH7v lBH5jcHNVSqOoFYfN/2rrETdBJOEOzs3qL6qjTGr6K426OiKgWr0EuLU4uiPc+fsrOJ++o8 Jmiw07EyrwlLznwJ7Ufeg== X-UI-Out-Filterresults: notjunk:1;V03:K0:VxVvqScpZWE=:UpENukvdF5ohWHmHhlqcdk fEHKd1197hG+IBTjH3QfG5rQY1rvYhL6a4ERrwANwh9sufmhFtyRvFoKlKgzgYadiFA2Pwl44 9PfDuhetHnBXzYldhUHl6CyUZoyg+00toAIrp2l+J7CSShAQDY1uLPfVexQobhDI2g4hrRgbA guOm2vQfk1LwPnCTsQhEzuWzI81GBXc8FhMXmNg1J+5JUrgmSsVZoNwdTyi5cLlQHQA7tkn+M VEULd/Eb9jvaLcuKA2eBf/PnIRqNFmG5cH05HHV8noHsqalhaHxGzE1wNI3/uO7k+1jzGPcua cKF+i5TlRgs222mZyqOms5vBVQK9P3UL+pUlpt/OwmqJwPV+bwOB50dsoGqWAF34PokjchrBp 92ao28asbYBE2pd7qJ12Hg0F73pRmY7kMYGJk9eYcuiD3Deua4lId8XAPk/paYTesi02KiGbO /i5efA+n8Gk7pyA1yT6Wfhf4IMDn7SYXiOOdSbpgAQckOEGESP8RJvds9EBI7ho2lETRmPmPu 7vxbYFVYfGm1NQO98OH7AUmbteLeY6lv3pNNpWr/F59cTcr7F8Kt7ksDYx23rK0ZA5KLOUsnQ RKnc3W2cyx/z7AJrCLjvs60d+lsvm3wddripzcJ+wVCX+RlLiibw2CQND+1Aixz9uTQtTDiHr AsYvjf3z0ag4/19UjgdwHDBU5DJRJtxxIPGc/Q8KMl2wIBwH/mpjUUMELEQ1kFR8FjCo= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 --- 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