From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756571AbcIVMWx (ORCPT ); Thu, 22 Sep 2016 08:22:53 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:60032 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752016AbcIVMWw (ORCPT ); Thu, 22 Sep 2016 08:22:52 -0400 Date: Thu, 22 Sep 2016 08:22:47 -0400 (EDT) Message-Id: <20160922.082247.198689057396545219.davem@davemloft.net> To: sean.wang@mediatek.com Cc: john@phrozen.org, nbd@openwrt.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, andrew@lunn.ch, f.fainelli@gmail.com, keyhaede@gmail.com, objelf@gmail.com Subject: Re: [PATCH net-next v2 0/3] add support for RGMII on GMAC0 through TRGMII hardware module From: David Miller In-Reply-To: <1474511636-11644-1-git-send-email-sean.wang@mediatek.com> References: <1474511636-11644-1-git-send-email-sean.wang@mediatek.com> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 22 Sep 2016 05:22:51 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Date: Thu, 22 Sep 2016 10:33:53 +0800 > By default, GMAC0 is connected to built-in switch called > MT7530 through the proprietary interface called Turbo RGMII > (TRGMII). TRGMII also supports well for RGMII as generic external > PHY uses but requires some slight changes to the setup of TRGMII > and doesn't have well support on current driver. > > So this patchset > 1) provides the slight changes of the setup for RGMII can work > through TRGMII > 2) adds additional setting "trgmii" as PHY_INTERFACE_MODE_TRGMII > about phy-mode on device tree to make GMAC0 distinguish which > mode it runs > 3) changes dynamically source clock, TX/RX delay and interface > mode on TRGMII for adapting various link > > Changes since v1: > - fixed the style of comment which doesn't have a space at > the beginning and end of comment lines > - add support for phy-mode "trgmii" as PHY_INTERFACE_MODE_TRGMII > into linux/phy.h > - enhance the Documentation about device tree binding for trgmii > which is applicable only for GMAC0 which uses fixed-link Series applied.