Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1863148ybt; Mon, 15 Jun 2020 11:19:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrWaOaQYOYlzID7g61Gd1k1zWW8aYtZCo02qCkk5j30fbT/fAMk3lq7oJZQd4R3u9XnVrR X-Received: by 2002:a17:906:1e95:: with SMTP id e21mr14760820ejj.240.1592245182060; Mon, 15 Jun 2020 11:19:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592245182; cv=none; d=google.com; s=arc-20160816; b=CjKIMaxnTrYzqN1S+tSql5V21LW5FtK2TMzwhPZRh21YPYe9OI7ALtiw2XWgOGZn7p 4OAl1QY77qa22ZCpETTJrMf6MZYG/RBtU55CF2DPq6n6EBPAf7R8CvdlEst3eLsz9oaJ CGDHG8BJ1PvjeIY0zJY5+ZKz35paFHtjtEiWhIpr4Ci0501FyhTKAba212HMDBKdqr86 hErpoHZvZumHLChmQEJCibQeQ9oJVE0YQB5fmry2etgrEVdYIXr+i2XgHxbCGeRaMtU3 GLCwhdg6X5Hn8gq5Rbl/nNobKhXWR3/+8fj5n0oZC5c1mxtjBOF8JAZJG0fauEpWEbeX 38eA== 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=zvkQuGM3IsR34BEyAX62BLAfdrNM9I5xmocgMbFO1Lg=; b=TcokNIlPm4AXi7jr9q5L6iD4r4nq39hO1uqGmcrz8dQZ6JmBdYFmf+q9NW965DGTna Jv+raXfAQr91/gCNxKEGNDozOkRU/vZLKp2Oe2l0RmU9iazYwwMlai+rQ1Ay5cEOy/MT ubJ+qEsh9V00y3Ibeq1bdgyCqaOOKIQN+MlX9AJYb8Ur8Qou3831NOwQcdrDi5L9cZ+S Ua5wOEF8I+yg9maeL6mftR/lW+AD27PM80enrSF8UjeGmbC7qic3Fut0r/lWucDVBR6a KOaJJ/XYt8EGrie9Q2Q/bwCOXjQ5rayWymXGAZd8uVRYEYNS8blDoZl7rWvgp/TNw4xh zGJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@earth.li header.s=the header.b=i38VihqN; 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 y6si8950310edo.114.2020.06.15.11.19.19; Mon, 15 Jun 2020 11:19:42 -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=@earth.li header.s=the header.b=i38VihqN; 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 S1731279AbgFOSPW (ORCPT + 99 others); Mon, 15 Jun 2020 14:15:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728585AbgFOSPW (ORCPT ); Mon, 15 Jun 2020 14:15:22 -0400 Received: from the.earth.li (the.earth.li [IPv6:2a00:1098:86:4d:c0ff:ee:15:900d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF4CCC061A0E; Mon, 15 Jun 2020 11:15:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=earth.li; s=the; 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=zvkQuGM3IsR34BEyAX62BLAfdrNM9I5xmocgMbFO1Lg=; b=i38VihqNIvcpDPK1HeExRe/m2+ UHuq5PWGHTdI3SFPaRzakWY2nSOelK+Bc8BdqHf7fAZGRboAm0DUkw6Xu2I52d87vvuj+TJud2Kj3 mKdn4WBJmyNv/Q6fL4EJoinAY+UN1C4g3539FV+6p/Mg8eYD4bdrtj4AEVoVwL7U/vEJs7hNznlDa zeD9gS0cOT1KRUvWRwJcoEj4iRKtpN5peCNT6rnrqMBdVzktPdp2Jb9aZQ0hjziQQwHCRtbrcXDrj rOVr06xA1Ueurj4gtsu9RPCbaAv8EG+7DvWiLjxetkU5EGWuxJUUWvAaA2qiqI6xMM3/0aeRHJceE qTwQowNA==; Received: from noodles by the.earth.li with local (Exim 4.92) (envelope-from ) id 1jktdc-0007gZ-0L; Mon, 15 Jun 2020 19:15:16 +0100 Date: Mon, 15 Jun 2020 19:15:15 +0100 From: Jonathan McDowell To: Rob Herring Cc: Andrew Lunn , Vivien Didelot , Florian Fainelli , "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: net: dsa: qca8k: document SGMII properties Message-ID: <20200615181515.GC17897@earth.li> References: <20200615174516.GA2018349@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200615174516.GA2018349@bogus> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 15, 2020 at 11:45:16AM -0600, Rob Herring wrote: > On Fri, Jun 05, 2020 at 07:10:02PM +0100, Jonathan McDowell wrote: > > This patch documents the qca8k's SGMII related properties that allow > > configuration of the SGMII port. > > > > Signed-off-by: Jonathan McDowell > > --- > > Documentation/devicetree/bindings/net/dsa/qca8k.txt | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/net/dsa/qca8k.txt b/Documentation/devicetree/bindings/net/dsa/qca8k.txt > > index ccbc6d89325d..9e7d74a248ad 100644 > > --- a/Documentation/devicetree/bindings/net/dsa/qca8k.txt > > +++ b/Documentation/devicetree/bindings/net/dsa/qca8k.txt > > @@ -11,7 +11,11 @@ Required properties: > > > > Optional properties: > > > > +- disable-serdes-autoneg: Boolean, disables auto-negotiation on the SerDes > > - reset-gpios: GPIO to be used to reset the whole device > > +- sgmii-delay: Boolean, presence delays SGMII clock by 2ns > > +- sgmii-mode: String, operation mode of the SGMII interface. > > + Supported values are: "basex", "mac", "phy". > > Either these should be common properties and documented in a common > spot or they need vendor prefixes. They seem like they former to me > (though 'sgmii-delay' would need to be more general and take a time). I've managed to spin a subsequent revision which avoids the need for a device tree change, based on comments similar to yours. I'll keep them in mind should it become necessary to re-introduce the DT options. J. -- ] https://www.earth.li/~noodles/ [] I'm a creep, I'm a weirdo, what [ ] PGP/GPG Key @ the.earth.li [] the hell am I doing here? [ ] via keyserver, web or email. [] [ ] RSA: 4096/0x94FA372B2DA8B985 [] [