Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2310444pxa; Fri, 7 Aug 2020 08:11:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9d3VFzoVocwEnn/mYFa+dd5kQw4SjNZWVVueO+g58XPiRbNQ8H6/Srtc69acGhxTZ3Cjw X-Received: by 2002:a17:906:264d:: with SMTP id i13mr9542100ejc.284.1596813096651; Fri, 07 Aug 2020 08:11:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596813096; cv=none; d=google.com; s=arc-20160816; b=sLHiYDl9A0BgrfrZUbBYfbWIvDaf0VxZTzc+fW+bcvF48AX3NGQ5iL5lCFgGbTB9Sy MpxzPv5oFvR5v9fTGxJI48Fk4Qg9JrXtA8wOVjhChDOWvf9sJoGoq9rqKdO1VFSC7yxw WKTyZZRRcGIWJxvNjU5vFlPZpU8KfsDAih70KYPA0N6ByF3h+xwl+sH56TkZMs3PwB2O 7uK1rN02Rna0XlevREWd8D6tf3wMOY7U4l1j2k6S/MAxj3bioofkFbTSRCSzlHRbrX6w C7PjDF8tDCXT0LFEibE1jGBcxza8JS6qvNLk+qSulzf4E7imwNUIt+wvHsF9Vl2JCzEM msgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=BHpSmEWi5cIqDZ+bbP8G1ufjocXpyvONUoVx2MIZl50=; b=BTmarCqK39HF+1zVYc8wU8h9xsr/Xdx1m1lYV6gnsSkdqbNg+v6oAiFRpQBqd4K+/Y myojO95c8KQq41zqo1whhgKidAMy4TRa2IlxJJItmtXioI8YGzRg/yeWzVM0fzPKw0Gi KXomKHfhYFYHABkypIrGUJhMVbGle0mqec+05l/QlVzWM4eV7WSHZOhJ1k5NONRgvaN/ WNGGIjwMWVsZogTQJhijRSBD5vp3OI4IeXzUm01SeJctH0RYez12jIWKMhOMAiU89c5G 8m2iiEypwrSDywduF9fBbDoZrGQrmuG4gCT91VeloQyUDlw0XV7C59wq7uUQBOtLFtqS 8NZQ== 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 u23si5328101edr.459.2020.08.07.08.11.13; Fri, 07 Aug 2020 08:11:36 -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 S1726123AbgHGPKS (ORCPT + 99 others); Fri, 7 Aug 2020 11:10:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725993AbgHGPKS (ORCPT ); Fri, 7 Aug 2020 11:10:18 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EF9DC061756 for ; Fri, 7 Aug 2020 08:10:18 -0700 (PDT) Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k440Y-0006QD-If; Fri, 07 Aug 2020 17:10:10 +0200 Received: from has by dude02.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1k440W-00039A-Km; Fri, 07 Aug 2020 17:10:08 +0200 From: Holger Assmann To: Rob Herring , Maxime Coquelin , Alexandre Torgue , Ahmad Fatoum Cc: Holger Assmann , devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: dts: stm32: lxa-mc1: Fix kernel warning about PHY delays Date: Fri, 7 Aug 2020 17:03:56 +0200 Message-Id: <20200807150355.6116-1-h.assmann@pengutronix.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::28 X-SA-Exim-Mail-From: has@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The KSZ9031 PHY skew timings for rxc/txc, originally set to achieve the desired phase shift between clock- and data-signal, now trigger a kernel warning when used in rgmii-id mode: *-skew-ps values should be used only with phy-mode = "rgmii" This is because commit bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") now configures own timings when phy-mode = "rgmii-id". Device trees wanting to set their own delays should use phy-mode "rgmii" instead as the warning prescribes. The "standard" timings now used with "rgmii-id" work fine on this board, so drop the explicit timings in the device tree and thereby silence the warning. Fixes: 666b5ca85cd3 ("ARM: dts: stm32: add STM32MP1-based Linux Automation MC-1 board") Signed-off-by: Holger Assmann --- arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts b/arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts index 5700e6b700d3..b85025d00943 100644 --- a/arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts +++ b/arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts @@ -121,8 +121,6 @@ reset-gpios = <&gpiog 0 GPIO_ACTIVE_LOW>; /* ETH_RST# */ interrupt-parent = <&gpioa>; interrupts = <6 IRQ_TYPE_EDGE_FALLING>; /* ETH_MDINT# */ - rxc-skew-ps = <1860>; - txc-skew-ps = <1860>; reset-assert-us = <10000>; reset-deassert-us = <300>; micrel,force-master; -- 2.20.1