Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1333741pxv; Fri, 23 Jul 2021 06:01:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFLMcwZenCqMZ5wjGw0sJwnNUal+I131mkCCt+y4v7XTq1eqVgsIB/I9gIFw3xYAbJAQLP X-Received: by 2002:a50:b412:: with SMTP id b18mr5535911edh.103.1627045299333; Fri, 23 Jul 2021 06:01:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627045299; cv=none; d=google.com; s=arc-20160816; b=x25vpyvtXjF4TmmlQFMRUqA4hQ5xoeMob4ov5unUq0KJ6nZyovE3eL6gVl3gNeE6os ohrisysZrNWoNCeQuqiuuyDV2z7dYrIQGl+sHkF5ZxKYEG3FtKvnQN/zawfxwXL8WJEi lrrE4eoE431PVIyDfH7N23HTLlqQHzLdie0gsMQWKKdS6m76mQLwq5l1WblbLuEW6a3c Yq2uHa/FZeYsJ10xk3NrvJM26Nt6qacH+51PhGiTS8QuegqS+4vvM5Yba6sQuhYCj+qg h8HJRqDmTEsBbs6zDr6OgALepwMMHOySaZ6fL6+msr5UVNQk9lnhS3A2EA65tgYlhAlF eP2w== 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 :message-id:date:references:in-reply-to:subject:cc:to:from; bh=LHhjdlcj83TZLweJon0skZ0w6zTHOtX7XGkGFoIcdtM=; b=sJ7JK4BLJWW8eWAAI1xqdPJnuslzqCHOBDSC7I0i5BUsB4bgBbVUWNXTGIUEif4rEK 2D554s52+wmf9u5du5IhQlvjfgHMMpgxEr7CwuFMHejSFQ05V1DE95R1M7R86wu0ogXm 9nETdxS5iSUJ0jQHdzPhvOI4jgLKqJBTYMEwcQMNn9cuZQePYG/bznCjAJ/OqNvqyOOy UJ3JfGg7CuDSs/zCIslBCiQHqsZD4e0wMzBkNok/OKCLvpkcvgG06BK10F478YjKi6dF t0pj800ApGNE2w390G/uZW2zRV+2PQ15qz1joOYNXQzCXOr9Fpczwp7Hki7aixeKU/Qs Rgug== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 21si23116185ejz.246.2021.07.23.06.01.14; Fri, 23 Jul 2021 06:01:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235277AbhGWMQV convert rfc822-to-8bit (ORCPT + 99 others); Fri, 23 Jul 2021 08:16:21 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:44479 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235336AbhGWMQT (ORCPT ); Fri, 23 Jul 2021 08:16:19 -0400 Received: (Authenticated sender: gregory.clement@bootlin.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 786BDC000C; Fri, 23 Jul 2021 12:56:50 +0000 (UTC) From: Gregory CLEMENT To: Pali =?utf-8?Q?Roh=C3=A1r?= , Andrew Lunn , Sebastian Hesselbarth , Rob Herring , Marek =?utf-8?Q?Beh=C3=BAn?= , Russell King Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] arm64: dts: armada-3720-turris-mox: remove mrvl,i2c-fast-mode In-Reply-To: <20210628151229.25214-1-pali@kernel.org> References: <20210628121015.22660-1-pali@kernel.org> <20210628151229.25214-1-pali@kernel.org> Date: Fri, 23 Jul 2021 14:56:50 +0200 Message-ID: <87lf5x194d.fsf@BL-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Pali, > 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 Applied on mvebu/fixes Thanks, Gregory > --- > 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 { > -- > 2.20.1 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com