Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp4820152rwb; Tue, 17 Jan 2023 06:02:46 -0800 (PST) X-Google-Smtp-Source: AMrXdXsWdugqKOmx3g1NnB9HVf3gN5RgfEp4L2marVB9nW/Ho0tY+KdX0/0l65L9BIYXIH4w1m7x X-Received: by 2002:a17:90a:8409:b0:228:de0e:c8af with SMTP id j9-20020a17090a840900b00228de0ec8afmr3584878pjn.16.1673964165753; Tue, 17 Jan 2023 06:02:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673964165; cv=none; d=google.com; s=arc-20160816; b=B00bAmpW6rlUC0sk6qrRKLi3cveUk5No12twfexw/sIanZc9KjsHHos03/yxnNhDLM DydrRP9OB3/J3Qs7twh2Mld8oB/Ik9OMKSPyU34ILa/AjiNlcXwOrm9WCC2avv5UmiuL eoKpagHUVM5VfXuPLbHHdvoQfTrRGmGqpyHFFFazj5f3+OixyY52nXQlJ+5q0CHzRyu6 J6DOlwJEmXb1P01t3zUiuhYI53xusQ396fyHbcDMbw9EHc+LNLLSrWhA1s1Lri0UMLwm lObYYpKmsHBXSf5fcqsaHgeK0JFd0AH4dlzdll8LlVUx5kdBwmU0QJuN/4JLvLTSvnCp +tfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VGaAWzb+vg166BG+ToU6thlaLyp9+9c0uKkVxaL39SY=; b=lWe4yPrtjqBqsOrOvkJoTs8W30PJuLAae4qbLIJz810+RrG9ONlAZLK6BkG1vm8jWx cSbjJUtQYEfM7bYA7VoXr9Xt0nG/Mt9XJr6MuqJnES2d2FMNKLGxahXc/GstAu2YiRXN 7GwtEIWUfsSbLdw4vQ+XygpNHlXVVJQFmwJPC0Mjm8PMoznghGkcN0Lh3oMUwdSyM1L1 emHXWzMZzlUOJglDfX01drTN8WNTIIYZ8gzqU08nGtvpdneDyuvspgptzfaT/e4zV+K1 /COSzRc02owhBgbvSwt9WeE0dmuT0F/39nz+7Hqr4yjBharA6kgID17CveuF5rFYvn5q INQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=cA3LM7qr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pi11-20020a17090b1e4b00b00202c8fa5c54si14472759pjb.95.2023.01.17.06.02.28; Tue, 17 Jan 2023 06:02:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=cA3LM7qr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230426AbjAQNoN (ORCPT + 48 others); Tue, 17 Jan 2023 08:44:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230422AbjAQNng (ORCPT ); Tue, 17 Jan 2023 08:43:36 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14C5435263; Tue, 17 Jan 2023 05:43:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=VGaAWzb+vg166BG+ToU6thlaLyp9+9c0uKkVxaL39SY=; b=cA3LM7qrfWjstNkPnlBYUDMIhx A4XcQsXfVUvPdsDAQvolMZV/slYsq57uS/7bZUB09RPj2mV/+aN0XiESt93fonJiNj4Amo+F2FEl2 25Nj07RrGnWCcFgq0x7gR4J5EB1fJ73o360iXZNgSXyGPHzppqksR9xbAobNrtjJKl0c=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1pHmEx-002KGQ-95; Tue, 17 Jan 2023 14:43:03 +0100 Date: Tue, 17 Jan 2023 14:43:03 +0100 From: Andrew Lunn To: Pierluigi Passaro Cc: Lars-Peter Clausen , Pierluigi Passaro , "hkallweit1@gmail.com" , "linux@armlinux.org.uk" , "davem@davemloft.net" , "edumazet@google.com" , "kuba@kernel.org" , "pabeni@redhat.com" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Eran Matityahu , Nate Drude , Francesco Ferraro Subject: Re: [PATCH] net: mdio: force deassert MDIO reset signal Message-ID: References: <20230115161006.16431-1-pierluigi.p@variscite.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 16, 2023 at 08:39:31AM +0000, Pierluigi Passaro wrote: > On Mon, Jan 16, 2023 at 12:55 AM Andrew Lunn wrote: > > > Specifying the ID as part of the compatible string works for clause 22 PHYs, > > > but for clause 45 PHYs it does not work. The code always wants to read the > > > ID from the PHY itself. But I do not understand things well enough to tell > > > whether that's a fundamental restriction of C45 or just our implementation > > > and the implementation can be changed to fix it. > > > > > > Do you have some thoughts on this? > > > > Do you have more details about what goes wrong? Which PHY driver is > > it? What compatibles do you put into DT for the PHY? > > > We use both AR8033 and ADIN1300: these are 10/100/1000 PHYs. > They are both probed after the MDIO bus, but skipped if the reset was > asserted while probing the MDIO bus. > However, for iMX6UL and iMX7 we use C22, not C45. I never said it did. Please read the actual emails, then you would of noticed we have go off on tangent and are trying to fix another issue. Andrew