Message ID | 1480348229-25672-3-git-send-email-jbrunet@baylibre.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
On Mon, Nov 28, 2016 at 04:50:26PM +0100, Jerome Brunet wrote: > Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> > Tested-by: Yegor Yefremov <yegorslists@googlemail.com> > Tested-by: Andreas Färber <afaerber@suse.de> > Tested-by: Neil Armstrong <narmstrong@baylibre.com> > --- > include/dt-bindings/net/mdio.h | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > create mode 100644 include/dt-bindings/net/mdio.h Seems changes are wanted on this, but patches 2 and 3 should be combined. The header is part of the binding doc. Rob
Hi Rob, First, Thx for this information and sorry for this late reply As you may have seen yourself, there was little bit of confusion while discussing this patch series. The point is the v3 was applied before your reply (patches 2 and 3 not combined unfortunately). Because of this confusion, the series needed a few fixes witch removes the previously added bindings [0]. This time, I made sure to modify (remove) the bindings along with the documentation. [0]: http://lkml.kernel.org/r/1482159938-13239-1-git-send-email-jbrunet @baylibre.com Cheers Jerome On Mon, 2016-12-05 at 08:39 -0600, Rob Herring wrote: > On Mon, Nov 28, 2016 at 04:50:26PM +0100, Jerome Brunet wrote: > > > > Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> > > Tested-by: Yegor Yefremov <yegorslists@googlemail.com> > > Tested-by: Andreas Färber <afaerber@suse.de> > > Tested-by: Neil Armstrong <narmstrong@baylibre.com> > > --- > > include/dt-bindings/net/mdio.h | 19 +++++++++++++++++++ > > 1 file changed, 19 insertions(+) > > create mode 100644 include/dt-bindings/net/mdio.h > > Seems changes are wanted on this, but patches 2 and 3 should be > combined. The header is part of the binding doc. > > Rob
diff --git a/include/dt-bindings/net/mdio.h b/include/dt-bindings/net/mdio.h new file mode 100644 index 000000000000..99c6d903d439 --- /dev/null +++ b/include/dt-bindings/net/mdio.h @@ -0,0 +1,19 @@ +/* + * This header provides generic constants for ethernet MDIO bindings + */ + +#ifndef _DT_BINDINGS_NET_MDIO_H +#define _DT_BINDINGS_NET_MDIO_H + +/* + * EEE capability Advertisement + */ + +#define MDIO_EEE_100TX 0x0002 /* 100TX EEE cap */ +#define MDIO_EEE_1000T 0x0004 /* 1000T EEE cap */ +#define MDIO_EEE_10GT 0x0008 /* 10GT EEE cap */ +#define MDIO_EEE_1000KX 0x0010 /* 1000KX EEE cap */ +#define MDIO_EEE_10GKX4 0x0020 /* 10G KX4 EEE cap */ +#define MDIO_EEE_10GKR 0x0040 /* 10G KR EEE cap */ + +#endif