From mboxrd@z Thu Jan 1 00:00:00 1970 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=-6.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 88A70C2BB1D for ; Fri, 13 Mar 2020 09:56:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 57634206EB for ; Fri, 13 Mar 2020 09:56:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="pJqmMLtz" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726676AbgCMJz7 (ORCPT ); Fri, 13 Mar 2020 05:55:59 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:33188 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726055AbgCMJz7 (ORCPT ); Fri, 13 Mar 2020 05:55:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=y5jMrVQ1rAmzFXJgVqMw4/HO7DqIcglA8Q3MOxQde5c=; b=pJqmMLtzgUNGpjUJSu2CBoZO+H 35G+hZ9wBhF01fL7YN2ghhtcenyHC4VjrRk/Zq6tnoEVKr1/LLSw4/SSfuayre8E+a34p2NjGFp05 6t16FcATEI6wA7e54dEMMdfZz1FJSrcgNqY2m+2Yd6oMfqHD+AByv9xrcYLwZVNs4ys0=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1jCh2f-00045u-0c; Fri, 13 Mar 2020 10:55:45 +0100 Date: Fri, 13 Mar 2020 10:55:45 +0100 From: Andrew Lunn To: Oleksij Rempel Cc: Florian Fainelli , Heiner Kallweit , Mark Rutland , Rob Herring , Sascha Hauer , Shawn Guo , "David S. Miller" , devicetree@vger.kernel.org, Fabio Estevam , Liam Girdwood , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mark Brown , netdev@vger.kernel.org, NXP Linux Team , Pengutronix Kernel Team , Russell King Subject: Re: [PATCH v2 2/2] ARM: dts: imx6q-marsboard: properly define rgmii PHY Message-ID: <20200313095545.GD14553@lunn.ch> References: <20200313053224.8172-1-o.rempel@pengutronix.de> <20200313053224.8172-3-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200313053224.8172-3-o.rempel@pengutronix.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 13, 2020 at 06:32:24AM +0100, Oleksij Rempel wrote: > The Atheros AR8035 PHY can be autodetected but can't use interrupt > support provided on this board. Define MDIO bus and the PHY node to make > it work properly. > > Signed-off-by: Oleksij Rempel > --- > arch/arm/boot/dts/imx6q-marsboard.dts | 15 ++++++++++++++- > 1 file changed, 14 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/imx6q-marsboard.dts b/arch/arm/boot/dts/imx6q-marsboard.dts > index 84b30bd6908f..1f31d86a217b 100644 > --- a/arch/arm/boot/dts/imx6q-marsboard.dts > +++ b/arch/arm/boot/dts/imx6q-marsboard.dts > @@ -111,8 +111,21 @@ &fec { > pinctrl-names = "default"; > pinctrl-0 = <&pinctrl_enet>; > phy-mode = "rgmii-id"; > - phy-reset-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>; > status = "okay"; Hi Oleksij I don't see a phy-handle here. So is it still using phy_find_first()? Andrew