Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp3426825rdb; Thu, 16 Nov 2023 09:09:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IEntPr01lN4fLJiEK858DrLZAEV6uN6ZAuON0LTVaWTp1Ouf9TQOGENsJI29uACI+6oUSX/ X-Received: by 2002:a17:902:d505:b0:1ce:1892:2fa6 with SMTP id b5-20020a170902d50500b001ce18922fa6mr10814633plg.0.1700154565767; Thu, 16 Nov 2023 09:09:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700154565; cv=none; d=google.com; s=arc-20160816; b=XfqW1xs6sG5GxAYvVfmGtp2v0k1Vhy9C2DMa7tmgYmSYGho9E0Ir+7tPje2avBE1Wl 2Xvj+ea5Sh84ZwOsXd/I4nGVuFT9SQOcQQqcbtN5qePOVT9kl4pjFqT351cw0ZYkZjkG xbSIMa+fLtzEMVS3zbSe+6KtPmuwaAaCO9QBlR0ISpBE5YWiA7W/FyFcJ94L7SxtQZ+0 S7N9pVdcvij4DskmhqXDePfyYeiewcGYWLMO7gHREGOme8SFk9Ft1y/iqo9/TlHYJNMm umhq4cX2ozA2SHE2Q+HWkyu6kzrfDOocbW4Y7delXHjBMCZP4t8CPZOKoy/3Gre33+lx OryA== 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=c8vB4X1wS0Xik8ZCY6EIC5iiaJP9c/o2MyPjwsHoYSU=; fh=fuNDtgG/fqLZSa/Mkk35wjkFTk9K4KobgjG3IjTKOa4=; b=ae2oOafS2hGFeSw7maHK60JTb1NeS6AdJ+RRXCqErvQa8LZeWFyOF9OKbaDIlOSSVY g1QGoE4laXG33hz70pP/X2DHLR20copRx/4/NvtRbAJgKxupPnbWnaAwl0GIvOFOT21E XvA/ss3wCneogZiJCQKDr7fKdNVPAw1bGykBpj2G05EDlvFOX/0hwS+wE2fn4UouekcI LPBNafDizyIdfG7nVbCR3/2xFR82CoAr2Qh5hwIPuAkJZ5PD342URpbGb8bTGeAhJfmp 3yPLqzHkM99W8q8ohiMcCw/THUoPjPjASbax2QEfcaSQtm1gwhUX2KeH5Fw1JzFUSjZ0 nhxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=un0jR6kz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id h13-20020a170902f7cd00b001b8039317cesi12239298plw.301.2023.11.16.09.09.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 09:09:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=un0jR6kz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 8361681972F9; Thu, 16 Nov 2023 09:08:58 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231135AbjKPRIw (ORCPT + 99 others); Thu, 16 Nov 2023 12:08:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbjKPRIv (ORCPT ); Thu, 16 Nov 2023 12:08:51 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03E011A5; Thu, 16 Nov 2023 09:08:47 -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=c8vB4X1wS0Xik8ZCY6EIC5iiaJP9c/o2MyPjwsHoYSU=; b=un0jR6kzNLHN8HHHdXQQeRZPJc ClsrvgXKK6nD+STDPtgygS+Fw3HzGDg+li6J3zv2FChj1AyP6jb9SUiKx1p/8FkAB9WNlWpIcO8b4 7wMi4VjrWyfMwdVuwQ5X4zPlCWWjCm7y6tuGic/z305JaUFfmSYBv6fPCa+GJZ7cdNIk=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1r3fqy-000NGp-TN; Thu, 16 Nov 2023 18:08:32 +0100 Date: Thu, 16 Nov 2023 18:08:32 +0100 From: Andrew Lunn To: Jie Luo Cc: Robert Marko , Konrad Dybcio , agross@kernel.org, andersson@kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, hkallweit1@gmail.com, linux@armlinux.org.uk, linux-arm-msm@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, quic_srichara@quicinc.com Subject: Re: [PATCH 8/9] net: mdio: ipq4019: add qca8084 configurations Message-ID: References: <20231115032515.4249-1-quic_luoj@quicinc.com> <20231115032515.4249-9-quic_luoj@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 16 Nov 2023 09:08:58 -0800 (PST) > Yes, the clock driver of qca8084 is probed as the MDIO device, the > configuration sequence here to lighten the qca8084 PHY need to > be completed before the clock APIs available to call. Please cleanly separate clock from MDIO. The MDIO driver should only use the common clock framework API calls. If the clock driver is not loaded yet, trying to get a clock should return -EPROBE_DEFER. The MDIO driver should return that from its probe function. The driver core will then try to probe the MDIO driver later, by which time the clock driver should of loaded. Andrew