Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2785906ybk; Mon, 18 May 2020 07:54:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzz1sDnfiBA9imOWRUnblUMZZxVhEdj5RjtaJG5QC+v4Hwip4Y35sJj9zDPXSbseYnANiBg X-Received: by 2002:a50:9e2c:: with SMTP id z41mr13341572ede.193.1589813698292; Mon, 18 May 2020 07:54:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589813698; cv=none; d=google.com; s=arc-20160816; b=X3jgDFdScUEd+JIfE1jcIjfbHUV+xvDcHy7JTC7zJk0JPv937OFJUEK0vo9DAqTL2T DJcKJux/t5IPRudj83x0bCEqSskZp2hJllCYZPNwOQEmTXjwvVXLRBDTES5+8pNOqZWN tP/n7KrJeJ4+y5y9nFeEnsY1APZfoZEm6wJE/wUX/lzMurwYU4NGz2ncd248fyeXPv9X +LLHuJVJg/JjgsWpNnJoue4IsyRnUxb3bUlgiX1v/jxow1uY2/Hn+eSbaqjD4X0qADgM wSux5mqG3ZxYtRxIXI8MToUMVQBYF0nv+QMf088fUr6gG0g0050RWlpJ0Pukz4naFR0U +ubA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=g/tUXb4ly8xE4Vp3fNrWElVjFfmCixuKmriyRVpDO58=; b=T1UlphiidYBNLgWGi4fqTyZpoHq4VLgvX1m1Eki9P7XyLmEQp+5hDB6yjGzgYUqJr/ EG0D/SBAMrO5GliwnlrLBx8aQMQQ5iqYUVM0vgo/Hpdmr30nCJhtBIUnmzM2X0QtW/Ug YmkurtIfO3VpD3vy2gc7faTFupgN0q8r+kmkwLE+d5ltfoae7NqXaa67/MsNzR4ySdNX B570ra4SKWi0CwZGFyZpVnFm7+DI3LnjoMHr2zQjjF/P2MBa2OpIqO5E+fB2IvVXlQkY 6s9V/UvJdCv/ln1/RK2AY4VviP/e4BOFi004hVcm7eIWyNl5nHnjIHBg0E2L8GdoWld9 NZIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=Dg9vVUjd; 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 q6si6731850edb.561.2020.05.18.07.54.34; Mon, 18 May 2020 07:54:58 -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; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=Dg9vVUjd; 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 S1728053AbgEROuz (ORCPT + 99 others); Mon, 18 May 2020 10:50:55 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:37228 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726918AbgEROuz (ORCPT ); Mon, 18 May 2020 10:50:55 -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=g/tUXb4ly8xE4Vp3fNrWElVjFfmCixuKmriyRVpDO58=; b=Dg9vVUjdtMK1CDdz60T2BkGs2s +Cio0LxX9eTLHhU6dIUIxajJSHd4x2QUYvm4NUwlJzZiomu7JnkSark9Flube+92vtx86die1Bf0f lAcMlNM33JuaeaghBm5S+XAbrzHf1jGQ/kPoNVqRkDPzbjc6klBoTNTKGPu7CxpWbubg=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1jah6F-002cQU-Eu; Mon, 18 May 2020 16:50:39 +0200 Date: Mon, 18 May 2020 16:50:39 +0200 From: Andrew Lunn To: tanhuazhong Cc: f.fainelli@gmail.com, hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linuxarm@huawei.com, kuba@kernel.org, Yufeng Mo , Jian Shen Subject: Re: [PATCH net-next] net: phy: realtek: add loopback support for RTL8211F Message-ID: <20200518145039.GA624248@lunn.ch> References: <1589358344-14009-1-git-send-email-tanhuazhong@huawei.com> <20200513131226.GA499265@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Hi, Andrew. > > There are two type of phys we are using, rtl8211f and "Marvell 88E1512". > "Marvell 88E1512" has already supported loopback > (f0f9b4ed2338 ("net: phy: Add phy loopback support in net phy framework")). > So now we adds loopback support to the rtl8211f. > From the data sheet other phys should support this loopback as well, but > we have no way to verify it. What's your suggestion? So you checked the datasheets for the RTL8201CP, RTL8201F, RTL8208, RTL8211B, RTL8211DN, etc? For all those you have datasheets for, please also add loopback support. I'm just trying to avoid one PHY from twelve in that driver having loopback support, when they all probably can. Andrew