From patchwork Thu Mar 9 20:46:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kepplinger X-Patchwork-Id: 13168324 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id F1930C64EC4 for ; Thu, 9 Mar 2023 20:51:44 +0000 (UTC) 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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jCeFJHs5F+onHDB+o4b8maupQL5LmisVDQdeGBH7g6g=; b=A8jOUi9o5Vp4lo W480uf58vryJe0sRYxDLGQHGUSkX2bLuejzXrx4cLIkUC0XtoMKY9MoVr34SHbTRaKLgybNoyofDW QUfOv0UdsVb2nqUR7E/e6V8ZMQdDLWgp/6Y6FSEK5qSMOkoZuwlbHfA46Nbp8NBeXaQO7xOSjxqqU 47M0XFxEdI3fmdwOk6zz1eUyX4/bCIYK4sDKoxw+4nS62nkSE7UJNXtxB0gdvB7wKuriqyv6xqvBh fZotON4Dz+oqORXfpHDeCydA63q3ASFPRqDf5BAYkxldRLtVdpOk+pNSlfyU4yd0p/yJ692YEfAkH BfYFGJqHb899llLLd1Yg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paNDr-00BqeG-Ev; Thu, 09 Mar 2023 20:50:48 +0000 Received: from comms.puri.sm ([159.203.221.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paNAs-00BopT-D5 for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 20:47:43 +0000 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 32E0FE9C7A; Thu, 9 Mar 2023 12:47:12 -0800 (PST) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DOtsMJA8AAFH; Thu, 9 Mar 2023 12:47:11 -0800 (PST) From: Martin Kepplinger DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=puri.sm; s=comms; t=1678394831; bh=pCDAsfR2lOaVwFkXT961/Eh2p4yd/S/PGbqe0bqp1GU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Mzsvwsz9LjjAKTjdAHjea0ymln2b0zSpNVG0Rf0444tZ93ZfSERfnh8RahYEY2B/b tEfSPSDynNm75aHogoCoBdMvgJzT2sCD7E9fXM+FKLcjQ5aNSCyXz0+b6qgWiAxR9K 8Ou05VWtG8WhB/1xA83tUZVZ8Q7Y2gkcwa7frEpfZddcPLSOFwZCft3B1bQKm2ld1v Ul4xop5IrnCDMOXa+j5htagsasE43Lw+Z5Zvr44iOb8nFjSwLT4sgf8mWCM7tUlPpt egi7aCq1O3I44zhRXB+KQSzj4TPaScmWz/kJB/5FSQk24VDm6nO25vHPo0yGRbvhan +GlJVjeiuzPNQ== To: robh@kernel.org, krzysztof.kozlowski@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: kernel@puri.sm, linux-imx@nxp.com, devicetree@vger.kernel.org, phone-devel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sebastian Krzyszkowiak , Martin Kepplinger Subject: [PATCH v1 13/14] arm64: dts: imx8mq-librem5: Reduce I2C frequency to 384kHz Date: Thu, 9 Mar 2023 21:46:07 +0100 Message-Id: <20230309204608.237605-14-martin.kepplinger@puri.sm> In-Reply-To: <20230309204608.237605-1-martin.kepplinger@puri.sm> References: <20230309204608.237605-1-martin.kepplinger@puri.sm> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_124742_496641_89395003 X-CRM114-Status: UNSURE ( 9.62 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Sebastian Krzyszkowiak According to imx8mq errata (ERR007805): > To meet the clock low period requirement in fast speed mode, > SCL must be configured to 384KHz or less. Note that the imx i2c driver already implements this erratum and works around it. This is only for the description to reflect reality. Signed-off-by: Sebastian Krzyszkowiak Signed-off-by: Martin Kepplinger --- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi index 7e70663cffa30..35bde8d41e8e7 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi @@ -778,7 +778,7 @@ MX8MQ_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0x1f }; &i2c1 { - clock-frequency = <387000>; + clock-frequency = <384000>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c1>; status = "okay"; @@ -976,7 +976,7 @@ rtc@68 { }; &i2c2 { - clock-frequency = <387000>; + clock-frequency = <384000>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c2>; status = "okay"; @@ -1025,7 +1025,7 @@ accel_gyro: accel-gyro@6a { }; &i2c3 { - clock-frequency = <387000>; + clock-frequency = <384000>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c3>; status = "okay"; @@ -1115,7 +1115,7 @@ touchscreen@38 { }; &i2c4 { - clock-frequency = <387000>; + clock-frequency = <384000>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c4>; status = "okay";