Message ID | 1479220154-25851-3-git-send-email-jbrunet@baylibre.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tue, Nov 15, 2016 at 03:29:13PM +0100, Jerome Brunet wrote: > Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> > Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> > --- > .../devicetree/bindings/net/realtek-phy.txt | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/realtek-phy.txt > > diff --git a/Documentation/devicetree/bindings/net/realtek-phy.txt b/Documentation/devicetree/bindings/net/realtek-phy.txt > new file mode 100644 > index 000000000000..dc2845a6b387 > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/realtek-phy.txt > @@ -0,0 +1,20 @@ > +Realtek Ethernet PHY > + > +Some boards require special tuning values of the phy. > + > +Optional properties: > + > +realtek,disable-eee-1000t: > +realtek,disable-eee-100tx: Make these generic/common. > + If set, respectively disable 1000-BaseT and 100-BaseTx energy efficient > + ethernet capabilty advertisement > + default: Leave the phy default settings unchanged (capabilities advertised) > + > +Example: > + > +&mdio0 { > + ethernetphy0: ethernet-phy@0 { > + reg = <0>; > + realtek,disable-eee-1000t; > + }; > +}; > -- > 2.7.4 > > -- > To unsubscribe from this list: send the line "unsubscribe devicetree" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, 2016-11-16 at 09:11 -0600, Rob Herring wrote: > On Tue, Nov 15, 2016 at 03:29:13PM +0100, Jerome Brunet wrote: > > > > Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> > > Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> > > --- > > .../devicetree/bindings/net/realtek-phy.txt | 20 > > ++++++++++++++++++++ > > 1 file changed, 20 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/net/realtek- > > phy.txt > > > > diff --git a/Documentation/devicetree/bindings/net/realtek-phy.txt > > b/Documentation/devicetree/bindings/net/realtek-phy.txt > > new file mode 100644 > > index 000000000000..dc2845a6b387 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/net/realtek-phy.txt > > @@ -0,0 +1,20 @@ > > +Realtek Ethernet PHY > > + > > +Some boards require special tuning values of the phy. > > + > > +Optional properties: > > + > > +realtek,disable-eee-1000t: > > +realtek,disable-eee-100tx: > > Make these generic/common. Same feedback from the net folks. Will do. Thx Rob > > > > > + If set, respectively disable 1000-BaseT and 100-BaseTx energy > > efficient > > + ethernet capabilty advertisement > > + default: Leave the phy default settings unchanged (capabilities > > advertised) > > + > > +Example: > > + > > +&mdio0 { > > + ethernetphy0: ethernet-phy@0 { > > + reg = <0>; > > + realtek,disable-eee-1000t; > > + }; > > +}; > > -- > > 2.7.4 > > > > -- > > To unsubscribe from this list: send the line "unsubscribe > > devicetree" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/Documentation/devicetree/bindings/net/realtek-phy.txt b/Documentation/devicetree/bindings/net/realtek-phy.txt new file mode 100644 index 000000000000..dc2845a6b387 --- /dev/null +++ b/Documentation/devicetree/bindings/net/realtek-phy.txt @@ -0,0 +1,20 @@ +Realtek Ethernet PHY + +Some boards require special tuning values of the phy. + +Optional properties: + +realtek,disable-eee-1000t: +realtek,disable-eee-100tx: + If set, respectively disable 1000-BaseT and 100-BaseTx energy efficient + ethernet capabilty advertisement + default: Leave the phy default settings unchanged (capabilities advertised) + +Example: + +&mdio0 { + ethernetphy0: ethernet-phy@0 { + reg = <0>; + realtek,disable-eee-1000t; + }; +};