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=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no 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 DBEA0C433DF for ; Mon, 25 May 2020 16:05:53 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id AD5922073B for ; Mon, 25 May 2020 16:05:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="o46l5mBk"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="YnWReJ+p" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AD5922073B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lunn.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-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=bombadil.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=JzyOikiEErUgwMKuz9fP/nr3hXClVLmLaAa1JD4+xhc=; b=o46l5mBkAzHKkj aOjYgqhhGmaZePd2l7eEjwB4/bnCu5nRplgHq3XV2p3CS28UuP5RiJZ3oNaUlcO/r4q7MYOUWV52E hrMmdElmnuLVYR+ko8y8bzxZ8yNQVd7uToMkaA9tuKREpAdU3KsE2rKSMYLmcntNNK0ao+A6nYEEw GbvPgE4dgVO0VfEiTWbwGYJp8hs1IBpX3+yo63mZytqMb/KeCFrMGdz4SMUX8saDaxlUaAlvEa9v1 BYSttR2/+51A0tNJ7g59jLmq+UFfxRGMMO5CC/t0iOoAWTL2BBf38qJUYEmiCMq5JmxNUwR4T+eDe 1sAvbblprx1DpOfOiMYw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jdFbt-0004fv-64; Mon, 25 May 2020 16:05:53 +0000 Received: from vps0.lunn.ch ([185.16.172.187]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jdFbp-0004eL-LF for linux-arm-kernel@lists.infradead.org; Mon, 25 May 2020 16:05:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=YzvAZSrosvDChzEiaS5Q8/ZPHohPgNhgyWrALTj4cbk=; b=YnWReJ+pz5Wv+yAdbJI1vI/HIt zmFOj2+wvqxTgmTWj0O3+YcLkAjXAY7sBcMqVSsHrlhJmTBssvpAtH5nT22YR1jChwCqNCex1xO+F TwBWtUCF+tlOl/FAWZG3LzhUs3lb1PpbB4ib+2ml/1osHSqh4368Ic/zuphKIfx0hljU=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1jdFbd-003CcN-Co; Mon, 25 May 2020 18:05:37 +0200 Date: Mon, 25 May 2020 18:05:37 +0200 From: Andrew Lunn To: Andy Duan Subject: Re: [EXT] Re: [PATCH] stmmac: platform: add "snps,dwmac-5.10a" IP compatible string Message-ID: <20200525160537.GD762220@lunn.ch> References: <1590394945-5571-1-git-send-email-fugang.duan@nxp.com> <20200525141048.GF752669@lunn.ch> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200525_090549_696733_01C45DE2 X-CRM114-Status: GOOD ( 10.39 ) 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: "p.zabel@pengutronix.de" , "alexandre.torgue@st.com" , "netdev@vger.kernel.org" , "linux-stm32@st-md-mailman.stormreply.com" , "joabreu@synopsys.com" , "mcoquelin.stm32@gmail.com" , "kuba@kernel.org" , "peppe.cavallaro@st.com" , "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+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, May 25, 2020 at 04:00:29PM +0000, Andy Duan wrote: > From: Andrew Lunn Sent: Monday, May 25, 2020 10:11 PM > > On Mon, May 25, 2020 at 04:22:25PM +0800, Fugang Duan wrote: > > > Add "snps,dwmac-5.10a" compatible string for 5.10a version that can > > > avoid to define some plat data in glue layer. > > > > Documentation/devicetree/bindings/net/snps,dwmac.yaml ? > > > > Andrew > > Here, we don't want to use generic driver "dwmac-generic.c" for 5.10a version > since it requires platform specific code to be functional, like the we implement > glue layer driver "dwmac-imx.c" to support 5.10a on i.MX platform. > > So I think it doesn't require to add the compatible string into dwmac.yaml. Hi Andy It needs to be documented somewhere. If not Documentation/devicetree/bindings/net/snps,dwmac.yaml it needs to be in an NXP specific document. Andrew _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 182DCC433DF for ; Mon, 25 May 2020 16:05:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E76EB2071A for ; Mon, 25 May 2020 16:05:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="YnWReJ+p" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391178AbgEYQFr (ORCPT ); Mon, 25 May 2020 12:05:47 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:48324 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388432AbgEYQFq (ORCPT ); Mon, 25 May 2020 12:05:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=YzvAZSrosvDChzEiaS5Q8/ZPHohPgNhgyWrALTj4cbk=; b=YnWReJ+pz5Wv+yAdbJI1vI/HIt zmFOj2+wvqxTgmTWj0O3+YcLkAjXAY7sBcMqVSsHrlhJmTBssvpAtH5nT22YR1jChwCqNCex1xO+F TwBWtUCF+tlOl/FAWZG3LzhUs3lb1PpbB4ib+2ml/1osHSqh4368Ic/zuphKIfx0hljU=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1jdFbd-003CcN-Co; Mon, 25 May 2020 18:05:37 +0200 Date: Mon, 25 May 2020 18:05:37 +0200 From: Andrew Lunn To: Andy Duan Cc: "peppe.cavallaro@st.com" , "alexandre.torgue@st.com" , "joabreu@synopsys.com" , "kuba@kernel.org" , "davem@davemloft.net" , "netdev@vger.kernel.org" , "mcoquelin.stm32@gmail.com" , "p.zabel@pengutronix.de" , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [EXT] Re: [PATCH] stmmac: platform: add "snps,dwmac-5.10a" IP compatible string Message-ID: <20200525160537.GD762220@lunn.ch> References: <1590394945-5571-1-git-send-email-fugang.duan@nxp.com> <20200525141048.GF752669@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Mon, May 25, 2020 at 04:00:29PM +0000, Andy Duan wrote: > From: Andrew Lunn Sent: Monday, May 25, 2020 10:11 PM > > On Mon, May 25, 2020 at 04:22:25PM +0800, Fugang Duan wrote: > > > Add "snps,dwmac-5.10a" compatible string for 5.10a version that can > > > avoid to define some plat data in glue layer. > > > > Documentation/devicetree/bindings/net/snps,dwmac.yaml ? > > > > Andrew > > Here, we don't want to use generic driver "dwmac-generic.c" for 5.10a version > since it requires platform specific code to be functional, like the we implement > glue layer driver "dwmac-imx.c" to support 5.10a on i.MX platform. > > So I think it doesn't require to add the compatible string into dwmac.yaml. Hi Andy It needs to be documented somewhere. If not Documentation/devicetree/bindings/net/snps,dwmac.yaml it needs to be in an NXP specific document. Andrew