From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754911AbcGTPe3 (ORCPT ); Wed, 20 Jul 2016 11:34:29 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:49921 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754882AbcGTPeW (ORCPT ); Wed, 20 Jul 2016 11:34:22 -0400 Subject: Re: [net-next PATCH 1/3] net: phy: dp83867: Add documentation for optional impedance control To: Mugunthan V N , , Rob Herring References: <20160720145614.13132-1-mugunthanvnm@ti.com> <20160720145614.13132-2-mugunthanvnm@ti.com> CC: Mark Rutland , Tony Lindgren , Russell King , Florian Fainelli , "David S . Miller" , Sekhar Nori , , , , From: Nishanth Menon Message-ID: <578F99D3.9090601@ti.com> Date: Wed, 20 Jul 2016 10:33:39 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <20160720145614.13132-2-mugunthanvnm@ti.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/20/2016 09:56 AM, Mugunthan V N wrote: > Add documention of ti,impedance-control which can be used to > correct MAC impedance mismatch using phy extended registers. > > Signed-off-by: Mugunthan V N > --- > Documentation/devicetree/bindings/net/ti,dp83867.txt | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/ti,dp83867.txt b/Documentation/devicetree/bindings/net/ti,dp83867.txt > index 5d21141..531ea3c5 100644 > --- a/Documentation/devicetree/bindings/net/ti,dp83867.txt > +++ b/Documentation/devicetree/bindings/net/ti,dp83867.txt > @@ -9,6 +9,13 @@ Required properties: > - ti,fifo-depth - Transmitt FIFO depth- see dt-bindings/net/ti-dp83867.h > for applicable values > > +Optional property: > + - ti,impedance-control - MAC Interface Impedance control to vary the > + output impedance with an approximate range > + from 35-70 ohms in 32 steps. Value range can > + be 0x0 to 0x1f. Lowest impedance value is > + 0x1f and highest impedance being 0x0. > + Should'nt you be using the impedance values of 35 to 70 as the valid values here? that would be the hardware description, and the values to program corresponding to those are 0x00 to 0x1f. Right? Rob: is'nt that the right way to do it? > Default child nodes are standard Ethernet PHY device > nodes as described in Documentation/devicetree/bindings/net/phy.txt > > -- Regards, Nishanth Menon