{"id":811177,"url":"http://patchwork.ozlabs.org/api/patches/811177/?format=json","web_url":"http://patchwork.ozlabs.org/project/netdev/patch/93AF473E2DA327428DE3D46B72B1E9FD41121A5B@CHN-SV-EXMX02.mchp-main.com/","project":{"id":7,"url":"http://patchwork.ozlabs.org/api/projects/7/?format=json","name":"Linux network development","link_name":"netdev","list_id":"netdev.vger.kernel.org","list_email":"netdev@vger.kernel.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<93AF473E2DA327428DE3D46B72B1E9FD41121A5B@CHN-SV-EXMX02.mchp-main.com>","list_archive_url":null,"date":"2017-09-07T21:11:45","name":"[RFC] Update documentation for KSZ DSA drivers so that new drivers can be added","commit_ref":null,"pull_url":null,"state":"rfc","archived":true,"hash":"272f0abf7d831184ebd1be1d8605e4b149b0b565","submitter":{"id":72262,"url":"http://patchwork.ozlabs.org/api/people/72262/?format=json","name":"","email":"Tristram.Ha@microchip.com"},"delegate":{"id":34,"url":"http://patchwork.ozlabs.org/api/users/34/?format=json","username":"davem","first_name":"David","last_name":"Miller","email":"davem@davemloft.net"},"mbox":"http://patchwork.ozlabs.org/project/netdev/patch/93AF473E2DA327428DE3D46B72B1E9FD41121A5B@CHN-SV-EXMX02.mchp-main.com/mbox/","series":[{"id":2064,"url":"http://patchwork.ozlabs.org/api/series/2064/?format=json","web_url":"http://patchwork.ozlabs.org/project/netdev/list/?series=2064","date":"2017-09-07T21:11:45","name":"[RFC] Update documentation for KSZ DSA drivers so that new drivers can be added","version":1,"mbox":"http://patchwork.ozlabs.org/series/2064/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/811177/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/811177/checks/","tags":{},"related":[],"headers":{"Return-Path":"<netdev-owner@vger.kernel.org>","X-Original-To":"patchwork-incoming@ozlabs.org","Delivered-To":"patchwork-incoming@ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xpCnm42Ctz9rxj\n\tfor <patchwork-incoming@ozlabs.org>;\n\tFri,  8 Sep 2017 07:12:12 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1756084AbdIGVMC convert rfc822-to-8bit (ORCPT\n\t<rfc822;patchwork-incoming@ozlabs.org>);\n\tThu, 7 Sep 2017 17:12:02 -0400","from esa1.microchip.iphmx.com ([68.232.147.91]:61053 \"EHLO\n\tesa1.microchip.iphmx.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751884AbdIGVMA (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Thu, 7 Sep 2017 17:12:00 -0400","from smtpout.microchip.com (HELO email.microchip.com)\n\t([198.175.253.82])\n\tby esa1.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA;\n\t07 Sep 2017 14:11:46 -0700","from CHN-SV-EXMX02.mchp-main.com ([fe80::7dfe:3761:863e:3963]) by\n\tCHN-SV-EXCH07.mchp-main.com ([fe80::ad3d:8f75:7e60:e60f%15]) with\n\tmapi id 14.03.0352.000; Thu, 7 Sep 2017 14:11:46 -0700"],"X-IronPort-AV":"E=Sophos;i=\"5.42,360,1500966000\"; d=\"scan'208\";a=\"7203309\"","From":"<Tristram.Ha@microchip.com>","To":"<andrew@lunn.ch>, <muvarov@gmail.com>, <pavel@ucw.cz>,\n\t<nathan.leigh.conrad@gmail.com>,\n\t<vivien.didelot@savoirfairelinux.com>, <f.fainelli@gmail.com>,\n\t<netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>,\n\t<Woojung.Huh@microchip.com>","Subject":"[PATCH RFC] Update documentation for KSZ DSA drivers so that new\n\tdrivers can be added","Thread-Topic":"[PATCH RFC] Update documentation for KSZ DSA drivers so that\n\tnew drivers can be added","Thread-Index":"AdMoG1vQCaYOqKwvR0emAIo585WtYwAAm6rg","Date":"Thu, 7 Sep 2017 21:11:45 +0000","Message-ID":"<93AF473E2DA327428DE3D46B72B1E9FD41121A5B@CHN-SV-EXMX02.mchp-main.com>","Accept-Language":"en-US","Content-Language":"en-US","X-MS-Has-Attach":"","X-MS-TNEF-Correlator":"","x-originating-ip":"[10.10.76.4]","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"8BIT","MIME-Version":"1.0","Sender":"netdev-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<netdev.vger.kernel.org>","X-Mailing-List":"netdev@vger.kernel.org"},"content":"From: Tristram Ha <Tristram.Ha@microchip.com>\n\nAdd other KSZ switches support so that patch check does not complain.\n\nSigned-off-by: Tristram Ha <Tristram.Ha@microchip.com>\n---\n Documentation/devicetree/bindings/net/dsa/ksz.txt | 117 ++++++++++++----------\n 1 file changed, 62 insertions(+), 55 deletions(-)\n\n \n Ethernet switch connected via SPI to the host, CPU port wired to eth0:\n \n-                             eth0: ethernet@10001000 {\n-                                             fixed-link {\n-                                                             speed = <1000>;\n-                                                             full-duplex;\n-                                             };\n-                             };\n+\teth0: ethernet@10001000 {\n+\t\tfixed-link {\n+\t\t\tspeed = <1000>;\n+\t\t\tfull-duplex;\n+\t\t};\n+\t};\n \n-                             spi1: spi@f8008000 {\n-                                             pinctrl-0 = <&pinctrl_spi_ksz>;\n-                                             cs-gpios = <&pioC 25 0>;\n-                                             id = <1>;\n-                                             status = \"okay\";\n+\tspi1: spi@f8008000 {\n+\t\tcs-gpios = <&pioC 25 0>;\n+\t\tid = <1>;\n+\t\tstatus = \"okay\";\n \n-                                             ksz9477: ksz9477@0 {\n-                                                             compatible = \"microchip,ksz9477\";\n-                                                             reg = <0>;\n+\t\tksz9477: ksz9477@0 {\n+\t\t\tcompatible = \"microchip,ksz9477\";\n+\t\t\treg = <0>;\n \n-                                                             spi-max-frequency = <44000000>;\n-                                                             spi-cpha;\n-                                                             spi-cpol;\n+\t\t\tspi-max-frequency = <44000000>;\n+\t\t\tspi-cpha;\n+\t\t\tspi-cpol;\n+\n+\t\t\tstatus = \"okay\";\n+\t\t\tports {\n+\t\t\t\t#address-cells = <1>;\n+\t\t\t\t#size-cells = <0>;\n+\t\t\t\tport@0 {\n+\t\t\t\t\treg = <0>;\n+\t\t\t\t\tlabel = \"lan1\";\n+\t\t\t\t};\n+\t\t\t\tport@1 {\n+\t\t\t\t\treg = <1>;\n+\t\t\t\t\tlabel = \"lan2\";\n+\t\t\t\t};\n+\t\t\t\tport@2 {\n+\t\t\t\t\treg = <2>;\n+\t\t\t\t\tlabel = \"lan3\";\n+\t\t\t\t};\n+\t\t\t\tport@3 {\n+\t\t\t\t\treg = <3>;\n+\t\t\t\t\tlabel = \"lan4\";\n+\t\t\t\t};\n+\t\t\t\tport@4 {\n+\t\t\t\t\treg = <4>;\n+\t\t\t\t\tlabel = \"lan5\";\n+\t\t\t\t};\n+\t\t\t\tport@5 {\n+\t\t\t\t\treg = <5>;\n+\t\t\t\t\tlabel = \"cpu\";\n+\t\t\t\t\tethernet = <&eth0>;\n+\t\t\t\t\tfixed-link {\n+\t\t\t\t\t\tspeed = <1000>;\n+\t\t\t\t\t\tfull-duplex;\n+\t\t\t\t\t};\n+\t\t\t\t};\n+\t\t\t};\n+\t\t};\n+\t};\n \n-                                                             status = \"okay\";\n-                                                             ports {\n-                                                                             #address-cells = <1>;\n-                                                                             #size-cells = <0>;\n-                                                                             port@0 {\n-                                                                                             reg = <0>;\n-                                                                                             label = \"lan1\";\n-                                                                             };\n-                                                                             port@1 {\n-                                                                                             reg = <1>;\n-                                                                                             label = \"lan2\";\n-                                                                             };\n-                                                                             port@2 {\n-                                                                                             reg = <2>;\n-                                                                                             label = \"lan3\";\n-                                                                             };\n-                                                                             port@3 {\n-                                                                                             reg = <3>;\n-                                                                                             label = \"lan4\";\n-                                                                             };\n-                                                                             port@4 {\n-                                                                                             reg = <4>;\n-                                                                                             label = \"lan5\";\n-                                                                             };\n-                                                                             port@5 {\n-                                                                                             reg = <5>;\n-                                                                                             label = \"cpu\";\n-                                                                                             ethernet = <&eth0>;\n-                                                                                             fixed-link {\n-                                                                                                             speed = <1000>;\n-                                                                                                             full-duplex;\n-                                                                                             };\n-                                                                             };\n-                                                             };\n-                                             };\n-                             };","diff":"diff --git a/Documentation/devicetree/bindings/net/dsa/ksz.txt b/Documentation/devicetree/bindings/net/dsa/ksz.txt\nindex 0ab8b39..34af0e0 100644\n--- a/Documentation/devicetree/bindings/net/dsa/ksz.txt\n+++ b/Documentation/devicetree/bindings/net/dsa/ksz.txt\n@@ -3,8 +3,15 @@ Microchip KSZ Series Ethernet switches\n \n Required properties:\n \n-- compatible: For external switch chips, compatible string must be exactly one\n-  of: \"microchip,ksz9477\"\n+- compatible: Should be \"microchip,ksz9477\" for KSZ9477 chip,\n+\t      \"microchip,ksz8795\" for KSZ8795 chip,\n+\t      \"microchip,ksz8794\" for KSZ8794 chip,\n+\t      \"microchip,ksz8765\" for KSZ8765 chip,\n+\t      \"microchip,ksz8895\" for KSZ8895 chip,\n+\t      \"microchip,ksz8864\" for KSZ8864 chip,\n+\t      \"microchip,ksz8873\" for KSZ8873 chip,\n+\t      \"microchip,ksz8863\" for KSZ8863 chip,\n+\t      \"microchip,ksz8463\" for KSZ8463 chip\n \n See Documentation/devicetree/bindings/dsa/dsa.txt for a list of additional  required and optional properties.\n@@ -13,60 +20,60 @@ Examples:\n","prefixes":["RFC"]}