Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3972276ybe; Mon, 9 Sep 2019 02:02:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqwvhtyWFFhmbPxX9R5uayWb7XFu0FqzIvdVv/ihgf7FQymUCJ+oFpnJfTDyODza+/m7iFfM X-Received: by 2002:aa7:d40d:: with SMTP id z13mr22509409edq.229.1568019773220; Mon, 09 Sep 2019 02:02:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568019773; cv=none; d=google.com; s=arc-20160816; b=a0zzQ3URLv9fAVrtNweYMIcNpPhFz4EMi5xzHSkfbHY65H1ItiE0YVCqAxLwadmt7X YHhtDPSMyH9AHR0FcDLr9qBPgJXTxmDIeI1m7QpeR3YwuIdhJzX2PUOSE+0EDHPZZfxk S+Vd20Qep2Xd+kHC47If2mtSS9/2H+n+TVH1G+QIkqUOdr+fJGmF6kXFczYTChLNw6RZ S8cIKN+L2sqoXnabJ6+RWmX59XcZbVrn/vYeTA/YqlT9rOSPwXcYA0jzU1x/ghuJPKu7 KyzkrGeHi4j6tTMcOeyOLe9DdE+Sr69PqFUGHMpvSDAfF5AvitQw3rbyg5nwQS7r+D+w iEBQ== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8MiUPlhtzPdP7++tuRHoQSctPszJcQsc3WCeGa9AaEU=; b=Asb2lxdkKYcp9tsSgk0S8L8XO0gVYdQD6LlauSlEogel73I5Xuga1DBRyADpN0zy4u JzwD10IfYyAVGH/vSWaf6MJ/4i1WXlqjxNMtjDDaizhVv0/NPVRNLet7ihQW6L2t98Gg fOPWvcXRJJtilcge2HILugm+duRLsuDTf0QtcjM4DjhsfLWXFXXfHoO0z14Wg0lcMQyA xNztwRJYEEAjZHFUpJBB/80lrrdNvntclYTYqqPesCz9yt42TfF+9PRnWv1M8uzaN0+/ /vVD2/lyuXHJvaKJYmbTndQxYlxmE/UyFtFfTJHKa/DUAaPcw9eXkB81itSs8G5U9Hdv oChg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=d03zQhpQ; 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 g27si7100600ejb.265.2019.09.09.02.02.28; Mon, 09 Sep 2019 02:02:53 -0700 (PDT) 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=d03zQhpQ; 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 S1727674AbfIHIy3 (ORCPT + 99 others); Sun, 8 Sep 2019 04:54:29 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:34380 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727312AbfIHIy3 (ORCPT ); Sun, 8 Sep 2019 04:54:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: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=8MiUPlhtzPdP7++tuRHoQSctPszJcQsc3WCeGa9AaEU=; b=d03zQhpQmDFSPjhUb2/9/79IQP UYf8/RWDS4BF53TskUruVNUrJQ27U0ubN9PbDZGBquczqaTeP+iGsyL5DnQQFukDuQRprkclUjY9Y oghrO6sJDBRCotthUA2CE5puTJ+F5uT8hiPwhbX7SKOap3UllAKoure5V2NIj1UFBY4E=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1i6sxd-0007SP-74; Sun, 08 Sep 2019 10:54:17 +0200 Date: Sun, 8 Sep 2019 10:54:17 +0200 From: Andrew Lunn To: Vitaly Gaiduk Cc: "davem@davemloft.net" , "robh+dt@kernel.org" , "f.fainelli@gmail.com" , Mark Rutland , "netdev@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Trent Piepho Subject: Re: [PATCH 1/2] net: phy: dp83867: Add documentation for SGMII mode type Message-ID: <20190908085417.GA28580@lunn.ch> References: <20190907153919.GC21922@lunn.ch> <1567700761-14195-1-git-send-email-vitaly.gaiduk@cloudbear.ru> <1567700761-14195-2-git-send-email-vitaly.gaiduk@cloudbear.ru> <2894361567896439@iva5-be053096037b.qloud-c.yandex.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <2894361567896439@iva5-be053096037b.qloud-c.yandex.net> 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 On Sun, Sep 08, 2019 at 01:47:19AM +0300, Vitaly Gaiduk wrote: > Hi, Andrew.
I=E2=80=99m ready to do this property with such name but = is it good practice to do such long names? :)
Also, Trent Piepho = wrote about sgmii-clk and merged all ideas we have =E2=80=9Cti,sgmii-ref-cl= k=E2=80=9D.
It=E2=80=99s better, isn=E2=80=99t it?
Vita= ly.

07.09.2019, 18:39, "Andrew Lunn" <andrew@lunn.c= h>:

On Thu, Sep 05, 2019 at 07:26:00PM +0300, Vitaly= Gaiduk wrote:

=C2=A0Add documentation of ti,sgmii-type which can be used to = select
=C2=A0SGMII mode type (4 or 6-wire).

=C2=A0Signed-of= f-by: Vitaly Gaiduk <vital= y.gaiduk@cloudbear.ru>
=C2=A0---
=C2=A0=C2=A0Documentation= /devicetree/bindings/net/ti,dp83867.txt | 1 +
=C2=A0=C2=A01 file chang= ed, 1 insertion(+)

=C2=A0diff --git a/Documentation/devicetree/b= indings/net/ti,dp83867.txt b/Documentation/devicetree/bindings/net/ti,dp838= 67.txt
=C2=A0index db6aa3f2215b..18e7fd52897f 100644
=C2=A0--- a/= Documentation/devicetree/bindings/net/ti,dp83867.txt
=C2=A0+++ b/Docum= entation/devicetree/bindings/net/ti,dp83867.txt
=C2=A0@@ -37,6 +37,7 @= @ Optional property:
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0for ap= plicable values. The CLK_OUT pin can also
=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0be disabled by this property. When omitted, the
=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0PHY's default will be left as is.
= =C2=A0+ - ti,sgmii-type - This denotes the fact which SGMII mode is used (4= or 6-wire).


Hi Vitaly

You probably w= ant to make this a Boolean. I don't think SGMII type is
a good idea. T= his is about enabling the receive clock to be passed to
the MAC. So ho= w about ti,sgmii-ref-clock-output-enable.

=C2=A0=C2=A0=C2=A0=C2= =A0Andrew

Hi Vitaly Please reconfigure your mail client to not obfuscate with HTML. The length should be O.K. For a PHY node, it should not be too deeply indented, unless it happens to be part of an Ethernet switch. Andrew