From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Subject: Re: [PATCH v2 6/6] dt-bindings: net: ks8995: add bindings documentation for ks8995 Date: Tue, 9 Feb 2016 13:43:58 +0300 Message-ID: <56B9C2EE.6060105@cogentembedded.com> References: <1454952937-19428-1-git-send-email-helmut.buchsbaum@gmail.com> <1454952937-19428-7-git-send-email-helmut.buchsbaum@gmail.com> <56B8E205.1010807@cogentembedded.com> <56B99E39.1000207@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org To: Helmut Buchsbaum , "David S. Miller" , Florian Fainelli , Andrew Lunn Return-path: Received: from mail-lf0-f54.google.com ([209.85.215.54]:34111 "EHLO mail-lf0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753302AbcBIKoB (ORCPT ); Tue, 9 Feb 2016 05:44:01 -0500 Received: by mail-lf0-f54.google.com with SMTP id j78so112919578lfb.1 for ; Tue, 09 Feb 2016 02:44:01 -0800 (PST) In-Reply-To: <56B99E39.1000207@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: On 2/9/2016 11:07 AM, Helmut Buchsbaum wrote: >>> Signed-off-by: Helmut Buchsbaum >>> --- >>> .../devicetree/bindings/net/micrel-ks8995.txt | 20 >>> ++++++++++++++++++++ >>> 1 file changed, 20 insertions(+) >>> create mode 100644 >>> Documentation/devicetree/bindings/net/micrel-ks8995.txt >>> >>> diff --git a/Documentation/devicetree/bindings/net/micrel-ks8995.txt >>> b/Documentation/devicetree/bindings/net/micrel-ks8995.txt >>> new file mode 100644 >>> index 0000000..7f11ca6 >>> --- /dev/null >>> +++ b/Documentation/devicetree/bindings/net/micrel-ks8995.txt >>> @@ -0,0 +1,20 @@ >>> +Micrel KS8995 SPI controlled Ethernet Switch families >>> + >>> +Required properties (according to spi-bus.txt): >>> +- compatible: either "micrel,ks8995", "micrel,ksz8864" or >>> "micrel,ksz8795" >>> + >>> +Optional properties: >>> +- reset-gpios : phandle of gpio that will be used to reset chip >>> during probe >>> + >>> +Example: >>> + >>> +spi-master { >>> + ... >>> + ksz8795 { >> >> ePAPR tells to name the nodes generically, according to their function. >> >>> + compatible = "micrel,ksz8795"; >>> + >>> + reg = <0>; >>> + spi-max-frequency = <50000000>; >>> + reset-gpios = <&gpio0 46 1>; >>> + }; >>> +}; >> >> MBR, Sergei >> > Hello Sergei, > > just to avoid any misunderstandings: you refer to ePAPR, ch. 2.2.1 Node Names. "2.2.2, Generic Names Recommendation", actually. :-) > Your definitely right, I'll correct the naming in my example! TIA. > Thanks, > Helmut MBR, Sergei