Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E6DADC433EF for ; Wed, 6 Apr 2022 18:43:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=t6QXfPikaUiBf9e4kL6HDImN1No1096FokH+GPc3MMY=; b=tO8XJWCePR++pE AD6UzAOxeebPG0EEK8yOzXwFeiJ5+R2wn6boHxYB6gO/sgfx2JDxknrwhOBSV563IG/k6KdvVlIMH kFJEANV/qF1oQsyB+66cLHy//8UqgXJq0v8Irs0NFslL1tz4QKPbyJAui8fiiq9dFmwmUDX0XFrQ7 ci0Ij6LfWbMrjovC4ltcQ8/h9R+iRd5xcjky3O0/cOagwSOK10YIYqBL6Si3NXh9a1A0/8/E7PVU8 LvRLtXuewNBnVI8BIYdvhMVYB3+Q7ETRa6xfQPzXSl9DeDe4JXTvO5cyalzr4LcGvmP5wMcAA0Pih mOL82ijcdxqbRb6N7jGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncAc7-007bRa-Mm; Wed, 06 Apr 2022 18:42:43 +0000 Received: from vps0.lunn.ch ([185.16.172.187]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncAc4-007bQl-Ks for linux-arm-kernel@lists.infradead.org; Wed, 06 Apr 2022 18:42:41 +0000 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 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-Disposition: inline In-Reply-To: <20220406094358.7895-14-p-mohan@ti.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220406_114240_718074_7FA35CA7 X-CRM114-Status: UNSURE ( 7.44 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: nm@ti.com, devicetree@vger.kernel.org, vigneshr@ti.com, mathieu.poirier@linaro.org, kishon@ti.com, netdev@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, bjorn.andersson@linaro.org, krzysztof.kozlowski+dt@linaro.org, ssantosh@kernel.org, kuba@kernel.org, davem@davemloft.net, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel