From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2640C433DB for ; Mon, 15 Feb 2021 09:23:57 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8E7E164DEE for ; Mon, 15 Feb 2021 09:23:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8E7E164DEE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; 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=lFWXyNyrPThChg5cW9mpg6id2AVNYqCQzy42s5qES3g=; b=x4YKo1A8FjTu6Jt8TzewzqZLu ij6UprPimPalHQJKWRaJfg5uJg9JqKm7G9vCdf8+bIDzNAj1nJ4WSbeT+8HPhq+7HV1mJs9l50qh4 ZLp9b+lIeDMJ9PW3nFfdcM2oDE2G2H2+dw0CH4rD/EMrUNHj6ttTsqnQT/qHj2ncWtgi0xxsgAT72 YEOg7iXkQb/VejLI9gy4ls588ULkCK+JKqBa1DfySvt0IsYYp+9hcL/7huNxuBSvQ7EzuqEsHY8kq lAyF53rCxeGIhdug/0pxMdVppktzYcnUgjLzSN9gPzULLOo5yW1ML7eqePiRCtNBJ5hQoKarv/Vao t/wsT5+ew==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lBa5a-0007b1-Tj; Mon, 15 Feb 2021 09:22:43 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lBa5X-0007ad-Ad for linux-arm-kernel@lists.infradead.org; Mon, 15 Feb 2021 09:22:40 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 07AE364E02; Mon, 15 Feb 2021 09:22:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613380957; bh=xd8bZcaDbO5f52i56dPShfWe0KatiGLNJgnknX+pjYY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DXDLCGaUD+eHBlXw3jpImAWESxqz+GW25G/L1KTcErrsJ05Mr3vNnQUoTwcFRpFN8 IhFv9Gu9Nk7GUGaD3gT8JU3rhuuSCSds1EnPCnjIsGISPsGGs18+jjx6cPvAZmZrSm qTXDTQzjlGcFolDd+8yI/BeucmgrspgHEZkhpkPK6oq8QR9W6j5/UUv/Nso9VszZYS ep1kT8I1LC6+HzCPedCLJw0KRiOYnEWDo2iS805a0I2/5+POJ/hbExstsuXaRg5ZPG x1c6Ro/1Vdm/ZQ/qhrcysbc72nYb3BPFUJzdhzkaZzQfgf+xnMv57QCAM3Zea/SoB1 XW0opUOYxxLsw== Date: Mon, 15 Feb 2021 11:22:33 +0200 From: Leon Romanovsky To: Nobuhiro Iwamatsu Subject: Re: [PATCH 2/4] net: stmmac: Add Toshiba Visconti SoCs glue driver Message-ID: References: <20210215050655.2532-1-nobuhiro1.iwamatsu@toshiba.co.jp> <20210215050655.2532-3-nobuhiro1.iwamatsu@toshiba.co.jp> <20210215072809.n3r5rdswookzri6j@toshiba.co.jp> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210215072809.n3r5rdswookzri6j@toshiba.co.jp> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210215_042239_534469_FE1480DE X-CRM114-Status: GOOD ( 32.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jose Abreu , punit1.agrawal@toshiba.co.jp, Alexandre Torgue , arnd@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Giuseppe Cavallaro , Jakub Kicinski , yuji2.ishikawa@toshiba.co.jp, "David S . Miller" , 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 On Mon, Feb 15, 2021 at 04:28:09PM +0900, Nobuhiro Iwamatsu wrote: > Hi, > > Thanks for your review. > > On Mon, Feb 15, 2021 at 08:07:21AM +0200, Leon Romanovsky wrote: > > On Mon, Feb 15, 2021 at 02:06:53PM +0900, Nobuhiro Iwamatsu wrote: > > > Add dwmac-visconti to the stmmac driver in Toshiba Visconti ARM SoCs. > > > This patch contains only the basic function of the device. There is no > > > clock control, PM, etc. yet. These will be added in the future. > > > > > > Signed-off-by: Nobuhiro Iwamatsu > > > --- > > > drivers/net/ethernet/stmicro/stmmac/Kconfig | 8 + > > > drivers/net/ethernet/stmicro/stmmac/Makefile | 1 + > > > .../ethernet/stmicro/stmmac/dwmac-visconti.c | 285 ++++++++++++++++++ > > > 3 files changed, 294 insertions(+) > > > create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-visconti.c > > > > > > diff --git a/drivers/net/ethernet/stmicro/stmmac/Kconfig b/drivers/net/ethernet/stmicro/stmmac/Kconfig > > > index 53f14c5a9e02..55ba67a550b9 100644 > > > --- a/drivers/net/ethernet/stmicro/stmmac/Kconfig > > > +++ b/drivers/net/ethernet/stmicro/stmmac/Kconfig > > > @@ -219,6 +219,14 @@ config DWMAC_INTEL_PLAT > > > This selects the Intel platform specific glue layer support for > > > the stmmac device driver. This driver is used for the Intel Keem Bay > > > SoC. > > > + > > > +config DWMAC_VISCONTI > > > + bool "Toshiba Visconti DWMAC support" > > > + def_bool y > > > > Sorry, I sent the wrong patchset that didn't fix this point out. > > > I asked it before, but never received an answer. > > I have received your point out and have sent an email with the content > to remove this line. But it may not have arrived yet... > > > Why did you use "def_bool y" and not "default y"? Isn't it supposed to be > > "depends on STMMAC_ETH"? And probably it shouldn't be set as a default as "y". > > > > The reason why "def_bool y" was set is that the wrong fix was left when > debugging. Also, I don't think it is necessary to set "default y". > This is also incorrect because it says "bool" Toshiba Visconti DWMAC > support "". I change it to trustate in the new patch. > > And this driver is enabled when STMMAC_PLATFORM was Y. And STMMAC_PLATFORM > depends on STMMAC_ETH. > So I understand that STMMAC_ETH does not need to be dependents. Is this > understanding wrong? This is correct understanding, just need to clean other entries in that Kconfig that depends on STMMAC_ETH. Thanks > > > Thanks > > > > Best regards, > Nobuhiro _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel