Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2351528ybi; Mon, 17 Jun 2019 03:23:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqzQp7jRPlUIN9CPIYbzPqnBIEpRA6s2lIx2ARDu/t3ghmmeUAAmhVs6s9Ld9cw8Rg3x28p0 X-Received: by 2002:a65:6104:: with SMTP id z4mr48535069pgu.319.1560767004761; Mon, 17 Jun 2019 03:23:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560767004; cv=none; d=google.com; s=arc-20160816; b=lfplAwTH7oOydtEidchSw6Qix0/ycIGP7kCuUKapdbpMztVwaGyXdCPA5X0Ku77Coq u+WSyV+Xd4+smDREI6BA8ViUJGgdq+dAj/gOAZknEj9pDcn16jEHXaOQrouwIbodddvb fq18GUsJqNJ7KkiCK2XBc+splZ2t9fpJV+bKQlPU78U+FGb1kgsZZGO4MiS9daUI3dqY D/GuPpmhv97mk9zG/HMoSqOo3QVu4f/CW7bvU5Ja+vHb1lDn7UeVAJfPcjv4FhaLrXYk jsKeJqbHQnnqh7Nn4dTxAqksfF94X8fYmaMQCetwWAAE8ugsaXt0YeWcGySRp7xfUahr 288w== 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:dkim-signature; bh=g2oUEZzHP2whF33vnG7n908pNLNyu4ePU235OE7To5w=; b=IHTv9I4mZo6Oh3761xBo6876qcKSxFliYM+Qe0PRu+vbN+KZyTCLzlaXqCfsqnPaLP GCV9b+hENAVxdT1zHTVpX7IpsuReoUToKIP+sCRK2OqosrVEYzkwnFX+cbmbRyLLxxS4 tVtdZXvRo2M7JsmmbEsaNhBZmogoszDWHsixVUjdnbbSOkNdvNy0rGQMn77DTgGKppCi kC5VKRCoU2p1pvmx3SP3BzjVq7YY7DdoJv/u6NcR79d/3G2fbeN+dpDgtZpjOq9k2Kvi SCWuOeIS0o7NxB7PaPwFVP8YRlMo7O1z2NvaK4LxAmJYVDAoEhbgBJH80ZQinA8xUIpw Un/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=g+ByyIO8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cg6si10541873plb.350.2019.06.17.03.23.09; Mon, 17 Jun 2019 03:23:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=g+ByyIO8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726781AbfFQKWy (ORCPT + 99 others); Mon, 17 Jun 2019 06:22:54 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:43661 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726960AbfFQKWy (ORCPT ); Mon, 17 Jun 2019 06:22:54 -0400 Received: by mail-lj1-f194.google.com with SMTP id 16so8707765ljv.10 for ; Mon, 17 Jun 2019 03:22:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=g2oUEZzHP2whF33vnG7n908pNLNyu4ePU235OE7To5w=; b=g+ByyIO85CiT/cyls2vY5BdJ8YR5+16TYt0U66RxbYBWithsj4AA58h393JNAXdY00 5Eu2+TraYBbgESsrbtnwSAr9vFoLM6ZFcexKX8MswlFpuScPljErsERZ9c6PSxbGP5d2 YN04GWhsvjiSFSKzdmUrEyUE12f07l0nsGALcV7pct9cBoGBneYdcFHxos1w4RcvnMi2 USPzjMwlPVjdt+YML47NYRfUR+ZsmupQwS1XVHT4um5f8eLihBmDK6aL31q+Lr9CxboB zsvqEQ35rA7zBApMEiu+KkaRannwbR0Ag778K4XtCk4mc6CzmtKAhJxxyXY0riSaFlnf XYVw== 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=g2oUEZzHP2whF33vnG7n908pNLNyu4ePU235OE7To5w=; b=g3VnMxsey1ZXmf3RHIsKh1hrzQoBynNVQK0yNH77IorQG7fEDhsy/r4dKqbTIcDdfq /4yso035EFiNLCDgqbTd1zwMvBzvHXeMwwkfA86eS6wMwNb7z8Va1jLLXrFAa11jAPWP +jN+peL/WVosu7XL9ztICEuGyblq/y1D3druOEhG/vuCjLuxhNdwvjyzi8BX/ZrcUcga bg+jMEmF6EJi++hl+hTlrZtBTTpbVla6Ae7BXuNbLDwrK9cNzSvOrHtZm5IfDovMc7mf XTF/1LHhSEnQPb3jk+u33Q7dzB1ot0EWfUULxaaFfuzGJxLOJagQqhyJ9LfgZd4X7Jr6 OGHg== X-Gm-Message-State: APjAAAWmQiZjobARLqBGNLNAisJrhckvuI+krPxhL2/9havH0v7xPbDE GMyC/IyXrdRj4cvxSwkDSXUqBNb2jdqB5paQJVo3Dg== X-Received: by 2002:a2e:9c03:: with SMTP id s3mr43444283lji.209.1560766972421; Mon, 17 Jun 2019 03:22:52 -0700 (PDT) MIME-Version: 1.0 References: <1560745167-9866-1-git-send-email-yash.shah@sifive.com> In-Reply-To: From: Yash Shah Date: Mon, 17 Jun 2019 15:52:16 +0530 Message-ID: Subject: Re: [PATCH v2 0/2] Add macb support for SiFive FU540-C000 To: Paul Walmsley Cc: Andreas Schwab , David Miller , devicetree@vger.kernel.org, netdev , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Rob Herring , Mark Rutland , Nicolas Ferre , Palmer Dabbelt , Albert Ou , =?UTF-8?Q?Petr_=C5=A0tetiar?= , Sachin Ghadi 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 On Mon, Jun 17, 2019 at 3:28 PM Paul Walmsley wrote: > > Hi Yash, > > On Mon, 17 Jun 2019, Andreas Schwab wrote: > > > On Jun 17 2019, Yash Shah wrote: > > > > > - Add "MACB_SIFIVE_FU540" in Kconfig to support SiFive FU540 in macb > > > driver. This is needed because on FU540, the macb driver depends on > > > SiFive GPIO driver. > > > > This of course requires that the GPIO driver is upstreamed first. > > What's the impact of enabling CONFIG_MACB_SIFIVE_FU540 when the GPIO > driver isn't present? (After modifying the Kconfig "depends" line > appropriately.) > > Looks to me that it shouldn't have an impact unless the DT string is > present, and even then, the impact might simply be that the MACB driver > may not work? Yes, there won't be an impact other than MACB driver not working. In any case, without GPIO driver, PHY won't get reset and the network interface won't come up. > > > - Paul