From: Helmut Buchsbaum <helmut.buchsbaum@gmail.com>
To: "David S. Miller" <davem@davemloft.net>,
Florian Fainelli <f.fainelli@gmail.com>,
Andrew Lunn <andrew@lunn.ch>,
Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Cc: netdev@vger.kernel.org, Helmut Buchsbaum <helmut.buchsbaum@gmail.com>
Subject: [PATCH v3 6/6] dt-bindings: net: ks8995: add bindings documentation for ks8995
Date: Tue, 9 Feb 2016 20:47:18 +0100 [thread overview]
Message-ID: <1455047238-111358-7-git-send-email-helmut.buchsbaum@gmail.com> (raw)
In-Reply-To: <1455047238-111358-1-git-send-email-helmut.buchsbaum@gmail.com>
Signed-off-by: Helmut Buchsbaum <helmut.buchsbaum@gmail.com>
---
.../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 {
+ ...
+ switch@0 {
+ compatible = "micrel,ksz8795";
+
+ reg = <0>;
+ spi-max-frequency = <50000000>;
+ reset-gpios = <&gpio0 46 GPIO_ACTIVE_LOW>;
+ };
+};
--
2.1.4
next prev parent reply other threads:[~2016-02-09 19:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-09 19:47 [PATCH v3 0/6] Add support for MICREL KSZ8795CLX 5-port switch Helmut Buchsbaum
2016-02-09 19:47 ` [PATCH v3 1/6] net: phy: spi_ks8995: introduce spi_device_id table Helmut Buchsbaum
2016-02-09 19:47 ` [PATCH v3 2/6] net: phy: spi_ks8995: verify chip and determine revision Helmut Buchsbaum
2016-02-09 19:47 ` [PATCH v3 3/6] net: phy: spi_ks8995: add support for resetting switch using GPIO Helmut Buchsbaum
2016-02-09 19:47 ` [PATCH v3 4/6] net: phy: spi_ks8995: generalize creation of SPI commands Helmut Buchsbaum
2016-02-09 19:47 ` [PATCH v3 5/6] net: phy: spi_ks8995: add support for MICREL KSZ8795CLX Helmut Buchsbaum
2016-02-09 19:47 ` Helmut Buchsbaum [this message]
2016-02-11 16:34 ` [PATCH v3 0/6] Add support for MICREL KSZ8795CLX 5-port switch David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1455047238-111358-7-git-send-email-helmut.buchsbaum@gmail.com \
--to=helmut.buchsbaum@gmail.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=sergei.shtylyov@cogentembedded.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).