From patchwork Mon Nov 28 15:50:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 9449717 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4096660235 for ; Mon, 28 Nov 2016 15:53:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2EEB127D5D for ; Mon, 28 Nov 2016 15:53:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 23CE127D85; Mon, 28 Nov 2016 15:53:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B42F427D5D for ; Mon, 28 Nov 2016 15:53:14 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cBODb-0006DO-B0; Mon, 28 Nov 2016 15:51:47 +0000 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cBOCw-0005mo-Af for linux-arm-kernel@lists.infradead.org; Mon, 28 Nov 2016 15:51:17 +0000 Received: by mail-wm0-x22d.google.com with SMTP id g23so210021029wme.1 for ; Mon, 28 Nov 2016 07:50:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7ZYzXqiTcSDYNp8NIOY3HySZTSsphOeqxVLycqhAU6U=; b=Kk8pZtWrAtFYlR/1dcxU1Kpg/Lc11JQX86Pv9o+18SCpVmYHnmUhK5XQEr+iKEfsKk mIECZ2A1JSxryUFAfTAvS0vYS3Tu7fJavF7y2PPOw0rcvqI9w4LOPXQ5QsqPG53ddVXS U7Jv0CnOGGX4p1ynqlc4pGbVY/cH69OWV+M+VpQ0eR/MpGttOlmjzBCb6SmTcRFpc0Xn aDyBhSwaP2r7j6o0z0DAojAq2RkLvfYk4VOnidM6fSoTsXC6bHUchXYWA65yrkfBe+RD J6isFqr0ZxtnmFozV/1hA3tkVPexSiYr9DozI82kfxg2/OXxGAQ2dVVlzPLgb2H9QIX1 Wf8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7ZYzXqiTcSDYNp8NIOY3HySZTSsphOeqxVLycqhAU6U=; b=P7kkLExXm1miz9PJ9d1g4RdbMMaOE4jRLST4llPplEYnLZXWjySh42l5Cz6DwA++57 zY/JgYiZgNuXdfUr6nZK7015OcuMZFLuOk4nnOiDy11SGiOF1Xye2AXZ+cFyf0W+mE7l Y4uRYFMBRM+SFxz03+IVxiqam9HH1DcqEyL9j0LIXEdLSkX6k6BU28HAVOu6Hx9FtNCp LYQ+CeMmJJlmIl7bVNm82XFks95axSfT6+YsXmN3gvWFjgAjKMCzx5siOTrduTkz6Jr/ Z5RIT4WWlHNW209BaDu2xFoiQ38NmGBpdfCHO/DNOZDCR07SluXkGDk3neJmMM+f3fQW oi1w== X-Gm-Message-State: AKaTC03YB7Lr3clnQnmHXLLi8C7DlQGwk7wZgRBDODT7vZbitTxz9gatLVBjbdQdn4v394K4 X-Received: by 10.28.163.5 with SMTP id m5mr20704385wme.98.1480348246629; Mon, 28 Nov 2016 07:50:46 -0800 (PST) Received: from boomer.baylibre.com ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id k11sm29465848wmb.18.2016.11.28.07.50.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Nov 2016 07:50:46 -0800 (PST) From: Jerome Brunet To: netdev@vger.kernel.org, devicetree@vger.kernel.org, Florian Fainelli Subject: [PATCH net-next v4 2/4] dt-bindings: net: add EEE capability constants Date: Mon, 28 Nov 2016 16:50:26 +0100 Message-Id: <1480348229-25672-3-git-send-email-jbrunet@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1480348229-25672-1-git-send-email-jbrunet@baylibre.com> References: <1480348229-25672-1-git-send-email-jbrunet@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161128_075106_849841_6604886D X-CRM114-Status: GOOD ( 11.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Lunn , Alexandre TORGUE , Neil Armstrong , Martin Blumenstingl , Kevin Hilman , linux-kernel@vger.kernel.org, Yegor Yefremov , Julia Lawall , Andre Roth , linux-amlogic@lists.infradead.org, Carlo Caione , Giuseppe Cavallaro , =?UTF-8?q?Andreas=20F=C3=A4rber?= , linux-arm-kernel@lists.infradead.org, Jerome Brunet Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Jerome Brunet Tested-by: Yegor Yefremov Tested-by: Andreas Färber Tested-by: Neil Armstrong --- include/dt-bindings/net/mdio.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 include/dt-bindings/net/mdio.h 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