From patchwork Mon Jun 28 15:12:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 12348205 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=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT 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 A78F4C2B9F4 for ; Mon, 28 Jun 2021 15:14:03 +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 764FB61459 for ; Mon, 28 Jun 2021 15:14:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 764FB61459 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@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-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=4X4No9gA08LRz5w6gcvGxs85WyVu0NKQaYyYS9taGQ4=; b=NKcl/lK/Gnw6/X xTWeOZaPTDsSjm9+bZsg7z1+J1gwVF+vYd1fXJqExMmlABl/UlhDOXUmtcp1PEo7+X87RLvksPTej 0cL8pOgYbRNvroFp6C3ieDA70+trhZ3P9ldPosnWytXADRgXSwzpeBCAJf02HKQKXxr5LVoVb6Hxq NCSttq+Lx7IY5guc2u/XXYZ7s4lCqTGnBLBSD0N4xrowhUum465DlyAEHL2zjHRV4S2UC8gqBew2X DheKPaFdT9BGcY0VL1Idz27rbabVAHtSpMX2shdBuu5zOoMJneuhDLHqAFQmW1oD3AgEvi1R3iwBC E5JAPpG8HMXo3Hn4WcXg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lxswP-008PTL-HT; Mon, 28 Jun 2021 15:12:53 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lxswL-008PSS-R8 for linux-arm-kernel@lists.infradead.org; Mon, 28 Jun 2021 15:12:51 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5548661206; Mon, 28 Jun 2021 15:12:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624893169; bh=mKc+DGVUwwP3w69Df4E2RuWvYSvZU8sQpDkg3+zmHdQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Mj02hJ2U7DYOg1g9bW0KTyxbl1p3cDsRZs+m9IJNiri7W3tj2aDZhHBBtma9t5Knb wIHyLhtsOHvdFjr18q0P7VNAucSu68J9B0Ml5R0XNMMiYPJN67xN16QTOTqzd4babm 53h2k2waAxLt3pciV5PyVhTekkQofqaOLRZ9VSd7iwo6+A7s52wWQg+l5doQWj7/wD L88K/Be8vmXy8XM6X7f9/O+x9OO4Xd+bBuaT7ukFUcA/Myc56dvFxMhOzrJWdPDPJd smAnU3PhpVWCgFiD3PHPV9yadjSFaGXp58StngFGRBPmTEwKK+Zioyh0DLyBA2oAnY uBA+sSOKC3ikQ== Received: by pali.im (Postfix) id 43D0070A; Mon, 28 Jun 2021 17:12:47 +0200 (CEST) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , =?utf-8?q?Marek_Beh=C3=BAn?= , Russell King Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] arm64: dts: armada-3720-turris-mox: remove mrvl, i2c-fast-mode Date: Mon, 28 Jun 2021 17:12:29 +0200 Message-Id: <20210628151229.25214-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210628121015.22660-1-pali@kernel.org> References: <20210628121015.22660-1-pali@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210628_081249_932119_BF439D4B X-CRM114-Status: GOOD ( 10.84 ) 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 Some SFP modules are not detected when i2c-fast-mode is enabled even when clock-frequency is already set to 100000. The I2C bus violates the timing specifications when run in fast mode. So disable fast mode on Turris Mox. Same change was already applied for uDPU (also Armada 3720 board with SFP) in commit fe3ec631a77d ("arm64: dts: uDPU: remove i2c-fast-mode"). Fixes: 7109d817db2e ("arm64: dts: marvell: add DTS for Turris Mox") Signed-off-by: Pali Rohár Reviewed-by: Marek Behún Acked-by: Russell King (Oracle) --- arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts index 6bcc319a0161..85f15f2a4740 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts @@ -119,6 +119,7 @@ pinctrl-names = "default"; pinctrl-0 = <&i2c1_pins>; clock-frequency = <100000>; + /delete-property/ mrvl,i2c-fast-mode; status = "okay"; rtc@6f {