From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752443AbcEQSsm (ORCPT ); Tue, 17 May 2016 14:48:42 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:49524 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751775AbcEQSsl (ORCPT ); Tue, 17 May 2016 14:48:41 -0400 Date: Tue, 17 May 2016 14:48:38 -0400 (EDT) Message-Id: <20160517.144838.81367550225777134.davem@davemloft.net> To: dmurphy@ti.com Cc: agraf@suse.de, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, michal.simek@xilinx.com, andrew@lunn.ch Subject: Re: [PATCH v2 2/2] phy dp83867: Make rgmii parameters optional From: David Miller In-Reply-To: <573B643A.9060700@ti.com> References: <1463424763-58807-2-git-send-email-agraf@suse.de> <20160517.142224.1322153249705614542.davem@davemloft.net> <573B643A.9060700@ti.com> X-Mailer: Mew version 6.6 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]); Tue, 17 May 2016 11:48:40 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dan Murphy Date: Tue, 17 May 2016 13:34:34 -0500 > David > > On 05/17/2016 01:22 PM, David Miller wrote: >> From: Alexander Graf >> Date: Mon, 16 May 2016 20:52:43 +0200 >> >>> If you compile without OF_MDIO support in an RGMII configuration, we fail >>> to configure the dp83867 phy today by writing garbage into its configuration >>> registers. >>> >>> On the other hand if you do compile with OF_MDIO and the phy gets loaded via >>> device tree, you have to have the properties set in the device tree, otherwise >>> we fail to load the driver and don't even attach the generic phy driver to >>> the interface anymore. >>> >>> To make things slightly more consistent, make the rgmii configuration properties >>> optional and allow a user to omit them in their device tree. >>> >>> Signed-off-by: Alexander Graf >> Applied. > > This patch should not have been applied. > > I did not believe the implementation was proper for that driver. > > It seems my objection to the code was not seen. Nor was Andrew's point about the DT bindings document > > https://patchwork.kernel.org/patch/9105371/ The discussions around the recent phy patches have been a labrynth that I've found hard to follow, sorry. I'll revert these two, sigh....