Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp725128ybh; Wed, 15 Jul 2020 13:31:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQ2op6fHF/bdRUZbqolvVGg/+DKDInCw6qr5D+h4vC0kNfefIw1xdHqYDB171DTUumPFpV X-Received: by 2002:a17:907:2105:: with SMTP id qn5mr693534ejb.308.1594845094490; Wed, 15 Jul 2020 13:31:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594845094; cv=none; d=google.com; s=arc-20160816; b=YgM+IHtOaEo9UbTFjOJFbsg3VH57SX+HvgqkkUF3B0MZjYMJsddQ46wIvVBY0x9v54 KTI46fiArEzqUmxqb5ydgh0PM9AztOKFK1p4yeBz6kE3D6Kio77hcAO3xcOv/DoUal6S vVNlQDa6JjvNOUmKL1clhAuxB1tSG2xq/+/QsQA6fLwlJ85RPobmAlw+5ba6j033pOds P7LQyDEBcHkH7l26Qv7RtCItrCN5mmxbUQp4NNHbN1ZXagXsjZibbdiWmw0vpwZw/7ch /kAnA/KYLqXmA2KzxcaGo5feD029e1y5Me06YWAkdleW+IQsEEDnkKxERP+KshhcNYfU 4OKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=OG18IIAWdYGY1ved21uUkHlDS0zbB3xs5Z/Iss2A2zY=; b=AtH011CyjpTkDAOvF5o08xlp68VAzoLCBSbFrphSbblEpldQGuP0ZSDGGFExT2YLJv PmlKj5djZtzhrMdlO/O/qlcRNd3cnnzKBWqo0x6pa31UF8HHlJJ+xMIJ/kEGd1c+VrP4 XGUs8cD2uPF8vm1Yz2x9faolCcbn3rD1cxsqIuXM7JOhT0j6V6vSS27GgyhHScNRr1Ed 2Q+5b1jwIVQ0F0+hI/XE68MtHcE52A9pRkvLAfTZ6dawKAbzxom+tSqCTpgjcJQcibYp AqlV37ByEsuEo2fB03OwfAwhgQzbIa38PqXv3c7zvEVRTqz/s7QQlyDGE0+d4vHuHNiG VcvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fc+A99XT; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ov7si1716030ejb.224.2020.07.15.13.31.10; Wed, 15 Jul 2020 13:31:34 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fc+A99XT; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726715AbgGOU3L (ORCPT + 99 others); Wed, 15 Jul 2020 16:29:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725917AbgGOU3K (ORCPT ); Wed, 15 Jul 2020 16:29:10 -0400 Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DE90C061755; Wed, 15 Jul 2020 13:29:10 -0700 (PDT) Received: by mail-lf1-x142.google.com with SMTP id g139so1816974lfd.10; Wed, 15 Jul 2020 13:29:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OG18IIAWdYGY1ved21uUkHlDS0zbB3xs5Z/Iss2A2zY=; b=fc+A99XTLJkECSeMIWGgcJvL4X6HZopt8KlhrC+jkKqzA5VNkINaoY9IahPyYSFHNx h/FlZ6frj1CnqnUB15AyywUig907vkEcyDbfJAtitC9GylaKvGQ/07hJyxZxBR5wjgV5 OM1YtvgoPeq7fSCt7vSSsUdgWURkpNW8w/WR0rnv3eGNuCIokKAIPqFGG0zSOJczjE42 nfvzy08UhB5OAN14gSYM6xI8Yo0EmnHjR8LsVIy55OfBRG5WmCf6Y068oBbNeTW2ZOiO 5MY1lN9dbfev0+mMn6TLKdXhA44QA5hyrE9ZWSvFzGnmPeia4A2ozvfz+81ySrNv5txK Rngg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OG18IIAWdYGY1ved21uUkHlDS0zbB3xs5Z/Iss2A2zY=; b=rL7IhOIHnpSagpr+Hegjaa207Zqrz8bxD0vThcJ6nh4+oDhQN48xUNeElspueWm+TD Kzxlj/2L1aBLO/ibu2NNPVmMjYEGLwsEbTP4Ns4c92AVU5CMYS8s63Lsg0CVxE/XiEoA FO4q0EJz8SUDjN9X2Oyx1XK9tePzoHXFhkcNvK0kWveG0kjeAz/AyC5+ET6zWQYeiHKU faUwP76OY7DUVPLi1fEOkvwJ7iJK9Ffp9dyjbxlMEQcZV1GVTTSFgK36WpSIDNzx2x6J CcF0inrBudHAdOg86eaJHrBta65lJPchNMabomRZxIkhTHyaf6oTzzKRxezXRil87oDA e+gw== X-Gm-Message-State: AOAM531nnXwt+EsbH4sby0yBwdy1yTP6mddANFQlI9DEKtzUbOkp8eMU vOkTm0oTXvcEmtZvoAMvk1mEbg0Mf3rPtEwRKtA= X-Received: by 2002:a19:7e09:: with SMTP id z9mr368732lfc.69.1594844948607; Wed, 15 Jul 2020 13:29:08 -0700 (PDT) MIME-Version: 1.0 References: <20200629114927.17379-1-bruno.thomsen@gmail.com> <20200629114927.17379-2-bruno.thomsen@gmail.com> <20200713025246.GY21277@dragon> In-Reply-To: From: Fabio Estevam Date: Wed, 15 Jul 2020 17:28:57 -0300 Message-ID: Subject: Re: [PATCH 2/3] ARM: dts: imx7: add support for kamstrup flex concentrator To: Bruno Thomsen Cc: Shawn Guo , open list , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Rob Herring , Pengutronix Kernel Team , NXP Linux Team , Bruno Thomsen , Mauro Carvalho Chehab Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bruno, On Wed, Jul 15, 2020 at 11:22 AM Bruno Thomsen wrote: > Thanks for the hints. > > Yes, the address is correct and configured with external resistors, > but just realised that I wrote the wrong device name in the comment, > it's actually KSZ8081RNB. > > Ethernet has been working with multiple mainline kernel versions > (latest being 5.7.8) > for the last year or so when using the DTS in patch. So I am pretty sure > hardware and setup of mux is correct'ish. > > Kernel trace from patch version: > kernel: Micrel KSZ8081 or KSZ8091 30be0000.ethernet-1:01: attached PHY driver > [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=30be0000.ethernet-1:01, irq=POLL) > > Error first occurs when switching from fec phy reset to mdio phy reset > code path, > I understand that the fec phy reset is obsolete as phy properties was wrongly > added to the mac and of course should be part of the phy (separate chip). > > When debugging it I end up with the get_phy_device() call not working > inside of_mdiobus_register_phy(). It would be nice if you could report this to the Ethernet PHY folks at netdev@vger.kernel.org