Commit 512dc8fe authored by Russell King's avatar Russell King Committed by David S. Miller
Browse files

dt-bindings: add sff,sff binding for SFP support



Add "sff,sff" for SFF module support with SFP.  These have a different
phys_id value, and also have the present and rate select signals omitted
compared with their socketed counter-parts.

Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b4cf6a0a
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -3,7 +3,9 @@ Transceiver

Required properties:

- compatible : must be "sff,sfp"
- compatible : must be one of
  "sff,sfp" for SFP modules
  "sff,sff" for soldered down SFF modules

Optional Properties:

@@ -11,7 +13,8 @@ Optional Properties:
  interface

- mod-def0-gpios : GPIO phandle and a specifier of the MOD-DEF0 (AKA Mod_ABS)
  module presence input gpio signal, active (module absent) high
  module presence input gpio signal, active (module absent) high. Must
  not be present for SFF modules

- los-gpios : GPIO phandle and a specifier of the Receiver Loss of Signal
  Indication input gpio signal, active (signal lost) high
@@ -24,10 +27,11 @@ Optional Properties:

- rate-select0-gpios : GPIO phandle and a specifier of the Rx Signaling Rate
  Select (AKA RS0) output gpio signal, low: low Rx rate, high: high Rx rate
  Must not be present for SFF modules

- rate-select1-gpios : GPIO phandle and a specifier of the Tx Signaling Rate
  Select (AKA RS1) output gpio signal (SFP+ only), low: low Tx rate, high:
  high Tx rate
  high Tx rate. Must not be present for SFF modules

Example #1: Direct serdes to SFP connection