Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp888424imj; Fri, 15 Feb 2019 08:25:45 -0800 (PST) X-Google-Smtp-Source: AHgI3Ibvy0+swTQ6sTiusGQRpJM9s5EPcd61ad+sCGSI++g3Hl06bl2umgMhrOxfNoj0wpWFxrbs X-Received: by 2002:a62:6dc7:: with SMTP id i190mr10610887pfc.166.1550247945068; Fri, 15 Feb 2019 08:25:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550247945; cv=none; d=google.com; s=arc-20160816; b=F+HNf90MISewvm+WgLafsYFRHo7xwgSg2WSwKMrUIoP3Ax/DpxWC6s2lgETm2MEBun DH84rtsalmKSA5tVIPYlL2KA/8di396ILfXVXaeakguJM3pifJa5cp2tN6KFWd7DO3cg k6qWDKZeeSa+elNM73MfMaeyh0ruGBBgOP4n3Nz5S9h/gWqNQRK3AritryO8X5jOTYRC +ttWj4AdGolUUeFaKgnh+TZv3bZaCi6TNq8bjp2QSNHviSoa5nD9b9Ygq7y52U1WWJaw /9gwOnvNlcWXQ5hkeGh/nLGQTnALkC7o8W+pyLivdeILqenzPS1RY0PKmqBK+XJNfa9z oAlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=dldtYif/dX4XCSUDkPWXBJDWGjlPLsUwDCWthZFiG6Y=; b=e1fMt4jkqgk/cREMQMEhJY3nd0eE5QM/aR+yaRrYwMQUPc35XgK1RT0X5gApD5KUhG CoHTWtLsQjVTHkRCtsxzfR+VsNXRzRx4MUf3ccItme4xV18LgLDfCvIVEocBpZQxofmy nlqRlE/ICAOHLWtmYZLPDWUXZBkY+Jap+/8DWMo760if37TkeJ9wibmNIzmhJbvzcgeP 0wvKlfBJCWzPJEilygZq6pY+w7cZx8em27iEfjFTB17gKDna8XHx4m6F2v+FSWhjDmjT h+7i66RlIl6krI6wVa7nvaSxPrTQuXEkX5dJvRrTHGUUoFgS/TgfYw135szmR6TNHFSO qyZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=JlHCeoes; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p9si6045684pgc.448.2019.02.15.08.25.28; Fri, 15 Feb 2019 08:25:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=JlHCeoes; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729932AbfBOO42 (ORCPT + 99 others); Fri, 15 Feb 2019 09:56:28 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:53833 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726139AbfBOO42 (ORCPT ); Fri, 15 Feb 2019 09:56:28 -0500 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=dldtYif/dX4XCSUDkPWXBJDWGjlPLsUwDCWthZFiG6Y=; b=JlHCeoespOqqUOfLvCEu1kKpkX 05Mc1JrJoCAjbdk8EYDIM4NJRC1OOH7/RWihzOaqM96/zV1qvnnLqm5Nir4n6T9poZJLCuj0qn7/o MlPPOpFT/Q2QoXFBUOuTNMdAiiUV3pHbxJ/r6tGxs0eSij890yLAf+L7pH25D05iikRw=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1gueub-0006YJ-FN; Fri, 15 Feb 2019 15:56:21 +0100 Date: Fri, 15 Feb 2019 15:56:21 +0100 From: Andrew Lunn To: Claudiu Manoil Cc: Shawn Guo , Leo Li , "David S . Miller" , Alexandru Marginean , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH net-next v2 3/3] enetc: Add ENETC PF level external MDIO support Message-ID: <20190215145621.GO708@lunn.ch> References: <1550225414-12125-1-git-send-email-claudiu.manoil@nxp.com> <1550225414-12125-4-git-send-email-claudiu.manoil@nxp.com> <20190215133459.GH5699@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Hi, > I don't really see what bindings would need to be documented, as the node > names and properties used so far are common. Like, the "mdio" node name > is common, the enetc ports are "pci" nodes, nothing special for these. > What's missing? Hi Claudiu It is not well defined where to put phy nodes. Some drivers do allow them directly in the MAC node, some drivers optionally allow an mdio sub-node, others enforce an mdio sub-node. The name of the sub-node is also not well defined. So just documenting that the mdio sub-node is mandatory will help people writing device trees for their boards. Andrew