Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1341578pxb; Wed, 6 Apr 2022 15:39:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyELYqn4C8TtFWh34iaQa3WwBhL3lYEvWsdHuZF9f//cN0wfMW3NTBuLYRrFs90f+iqzp32 X-Received: by 2002:a17:90b:33c8:b0:1c7:443:3fcc with SMTP id lk8-20020a17090b33c800b001c704433fccmr12573933pjb.109.1649284744287; Wed, 06 Apr 2022 15:39:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649284744; cv=none; d=google.com; s=arc-20160816; b=ELI+hfYMgDhloOP1CAZgrY+hqP56mjrmlWYVjxGxb6Ptkt4JHRVXqC7eTAX47dSxQ/ 0VkMQ3w8kOa20i+t485uWw8l+X2Ju+5hp14MS7WI0ovfQ/gCWjDYJ4LeLTgdMxxFWnRZ k6x31+tqoeHPHg7gH9FbbsQshERbsazU5KVazCzru0pvSvzBYPKDPcCyx6ZU8eF4lC8k cEDMxeLNVEJe8pZ5mdvUJAHrEDusHwMdAGErU3mBgn5tjfl1QWu1CeZnxAUPVMAdBTnd ueHCGOIM+WFwQoBiQPZxGr6pgxJcr/Uoaeyin2aYSiUL3Z8jegK8vZjk2EsOgGgKjLmj GOQQ== 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=PYVHqwQP9zUY5QYwTSBSr5XJSO70ZDvgRQzi+eB230o=; b=JRzeAZ9fxth5hquodbQfvW0gkgKmIWxDMq4MMEuUu5LiTce7/yDknqv22nVVt9fDE0 R/nUOdukxhktzokoiJzXdCsnjVE/LR/dYfjxTmLO9/uHekigrEvEjDMCl/wTmCB8Uyu5 nsN3FjFJRn4uy9tvrtWy3H4ZXTwW/9V4e6G9wHKkbxHvJcBEpMEkgvS0Eb1Ezt6a4LOb ISldsB0Ub51McWDK4A54hof0brJBKzt+SSKD6IU+NRM1ApVuEEfEle9Ccta3DSRYswwB VqY5XPpSQVFwtHpwd5SG0J8KtwZG0Y3TvXf2TSgSGn2dRqnTU+cP28DmhNjjBUTUml7J HxJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=Uf7ow8gd; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u191-20020a6379c8000000b003816043f0adsi17587490pgc.674.2022.04.06.15.38.44; Wed, 06 Apr 2022 15:39:04 -0700 (PDT) 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=Uf7ow8gd; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234272AbiDFUZB (ORCPT + 99 others); Wed, 6 Apr 2022 16:25:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236453AbiDFUYG (ORCPT ); Wed, 6 Apr 2022 16:24:06 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49FCD23FF30; Wed, 6 Apr 2022 11:42:44 -0700 (PDT) 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=PYVHqwQP9zUY5QYwTSBSr5XJSO70ZDvgRQzi+eB230o=; b=Uf7ow8gdHmT8OrN4RZLA/xb9C9 ykoP89LtoLUuyFpyNKNZur3AX6xAIEjEjlKnSI0NGaFcdUjD0vLnf3MvpM3PwrrUOXZdya4sTI60K 1VRfjYQD7+A+zhXiXBOdpgCohsP+Wpx1JA+FKAxe1NNz5fm6Q4TsnJo0/ZFUNju2V3FM=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1ncAc3-00EVPB-8c; Wed, 06 Apr 2022 20:42:39 +0200 Date: Wed, 6 Apr 2022 20:42:39 +0200 From: Andrew Lunn To: Puranjay Mohan Cc: linux-kernel@vger.kernel.org, bjorn.andersson@linaro.org, mathieu.poirier@linaro.org, krzysztof.kozlowski+dt@linaro.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, nm@ti.com, ssantosh@kernel.org, s-anna@ti.com, linux-arm-kernel@lists.infradead.org, davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, vigneshr@ti.com, kishon@ti.com Subject: Re: [RFC 13/13] net: ti: icssg-prueth: Add ICSSG ethernet driver Message-ID: References: <20220406094358.7895-1-p-mohan@ti.com> <20220406094358.7895-14-p-mohan@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220406094358.7895-14-p-mohan@ti.com> 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, T_SCC_BODY_TEXT_LINE 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 > +config TI_ICSSG_PRUETH > + tristate "TI Gigabit PRU Ethernet driver" > + select TI_DAVINCI_MDIO > + I don't see a dependency on TI_DAVINCI_MDIO in the code. All you need is an MDIO bus so that your phy-handle has somewhere to point. But that could be a GPIO bit banger. What i do think is missing here is a dependency on PHYLIB. If possible, it would be good to also have it compile when COMPILE_TEST is set. Andrew