Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp993010ybk; Sun, 10 May 2020 03:04:11 -0700 (PDT) X-Google-Smtp-Source: APiQypLSQ/YINRlsYBo3qYTL91Y6mjzMu5vVS+kWZvFVeTx4MJ4DjhrTTf5pr+IIc5vGE9HoT0Vz X-Received: by 2002:a17:906:11c9:: with SMTP id o9mr9154807eja.64.1589105050917; Sun, 10 May 2020 03:04:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589105050; cv=none; d=google.com; s=arc-20160816; b=exCRHg6R81mCBlUmYzfToOCIwVAq1lQ54ezMqCmfuwlcecchuF8WeXuCWshh52Frli YGKdGY5Wn5oDxQGFtTel5e0YsQ/cG082iy8er/SQF10Pq+lbilWSZbtqfJ2fYWkR6j+0 EgvDbcbSASzWiFt9nfevXidIAV8Sl0zDyfiam62i+5myr3Jur32yBa6lp9AXd389Z63i 7Yvvs0UhrppuF+RP5pCoqO75qYG6LANoaOLG8DxnzE3hODcBgYgvpdolOUEVeVkKxpMQ j8YR7Xjkx7ODpYTDy5nAmNOKFa4zG2BbKVAwut5I26giFctXRHKiHtpMnSCFSUoetAWk NXHA== 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; bh=uhGhXkwAnudsO1fllJWrpsXdeLLIzy97nFY9CXO1+nw=; b=MX3AlcgI3XAjyZciUe7ma+2lLbt5tnOjr83e7U8ewPEeTwMmtUAf2p3O1fmynP+jml /cm/4UZQ6rEI8RP+Qawk7oZt8t66mHd9jGg31OAuIfcY07YQQprND35U9xZMUc55yhnT braNszPdF9LA/dm0HmoGf8JxDNuROCK33AsNdpZOov3vGQtoSh9TITENlg05sk4IoUVT BVS7OECR6doy5SIRtcmcfGhE5Ewx9e6sAH/+TRjQfQh2HuU/v8trHBclFpE7y3/2QbMh Z5sxi+tRwq92VVDBYoev9VcxuEOOdGtmNDe16wQZHXbpx9aoTtJHocjYKiuR7WV6SBly rxGw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cw10si4249284edb.54.2020.05.10.03.03.47; Sun, 10 May 2020 03:04:10 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728348AbgEJKCb (ORCPT + 99 others); Sun, 10 May 2020 06:02:31 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:36215 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725994AbgEJKCa (ORCPT ); Sun, 10 May 2020 06:02:30 -0400 Received: by mail-oi1-f195.google.com with SMTP id x7so11643762oic.3; Sun, 10 May 2020 03:02:30 -0700 (PDT) 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=uhGhXkwAnudsO1fllJWrpsXdeLLIzy97nFY9CXO1+nw=; b=OAy+hG6hd1y/HtIUzzOIJQb//g+Wr30ddCKZCigY4tdApsP2QaIQJ6TBMGfmxfCpN4 /XqvJOq8MOcxe8UxdBFK01i1GNVvzkMU8Q5TMMghiQucz5HBUjyLlp9G9UoklVBREgjg 21tB/qoUDm6nhWOVFLhrHj7SdOBqeQLAd1qTFmoqxcJt7AavXWjSN2SBGvxFus7UMj4o H0d8iOuEPRob8IIWRudRH+ocAzHcpbWWyYBn/MkoIisX4N5ypThQXnY9Q+oTCeXHID6g gpZfZ2sQUsFFoG2ZuEBBzvXWf2nY/ovztUKo2Hhxe4eTg6EfJVtTRU9q+e8JzX6JimYc fgKg== X-Gm-Message-State: AGi0PuZYYUYxFH4eNTCjyZ+tVWncrvKXElB8uFTsAKD+/JBsqjAfbn2L l23it4TPdZe4U6Oj/f5EIQBKAcszswgcoLske9w= X-Received: by 2002:aca:f541:: with SMTP id t62mr15608111oih.148.1589104949874; Sun, 10 May 2020 03:02:29 -0700 (PDT) MIME-Version: 1.0 References: <20200508223216.6611-1-f.fainelli@gmail.com> In-Reply-To: From: Geert Uytterhoeven Date: Sun, 10 May 2020 12:02:18 +0200 Message-ID: Subject: Re: [PATCH net] net: broadcom: Imply BROADCOM_PHY for BCMGENET To: Florian Fainelli Cc: netdev , Nicolas Saenz Julienne , Stefan Wahren , Marek Szyprowski , "David S. Miller" , Thomas Gleixner , Tal Gilboa , Michael Chan , Andy Gospodarek , Randy Dunlap , open list 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 Florian, On Sat, May 9, 2020 at 7:12 PM Florian Fainelli wrote: > On 5/9/2020 12:38 AM, Geert Uytterhoeven wrote: > > On Sat, May 9, 2020 at 12:32 AM Florian Fainelli wrote: > >> The GENET controller on the Raspberry Pi 4 (2711) is typically > >> interfaced with an external Broadcom PHY via a RGMII electrical > >> interface. To make sure that delays are properly configured at the PHY > >> side, ensure that we get a chance to have the dedicated Broadcom PHY > >> driver (CONFIG_BROADCOM_PHY) enabled for this to happen. > > > > I guess it can be interfaced to a different external PHY, too? > > Yes, although this has not happened yet to the best of my knowledge. > > > > >> Fixes: 402482a6a78e ("net: bcmgenet: Clear ID_MODE_DIS in EXT_RGMII_OOB_CTRL when not needed") > >> Reported-by: Marek Szyprowski > >> Signed-off-by: Florian Fainelli > > > >> --- a/drivers/net/ethernet/broadcom/Kconfig > >> +++ b/drivers/net/ethernet/broadcom/Kconfig > >> @@ -69,6 +69,7 @@ config BCMGENET > >> select BCM7XXX_PHY > >> select MDIO_BCM_UNIMAC > >> select DIMLIB > >> + imply BROADCOM_PHY if ARCH_BCM2835 > > > > Which means support for the BROADCOM_PHY is always included > > on ARCH_BCM2835, even if a different PHY is used? > > It is included by default on and can be deselected if needed, which is > exactly what we want here, a sane default, but without the inflexibility > of "select". I stand corrected: I can confirm the "imply" no longer selects the target symbol, but merely changes the default. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds