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: 9449707 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 8EE4C60235 for ; Mon, 28 Nov 2016 15:51:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E0A827CEA for ; Mon, 28 Nov 2016 15:51:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 72B6B27DA4; Mon, 28 Nov 2016 15:51:44 +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 755BF27CEA for ; Mon, 28 Nov 2016 15:51:42 +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 1cBODP-00067l-9s; Mon, 28 Nov 2016 15:51:35 +0000 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cBOCy-0005mn-IS for linux-amlogic@lists.infradead.org; Mon, 28 Nov 2016 15:51:15 +0000 Received: by mail-wm0-x22c.google.com with SMTP id c184so41696860wmd.0 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=g3kJgjzdBbdShO/Rtx99Ca1gRIUHiRU6RD/QswentoB9zgtpMa5zC1mX3KcYIXM2YZ mwlwv4fZcNWNFoSbm72hI/2DPM1kszawBo8ewQk73dlil2pdASCh10mMAsqkJ8ET+0Lt 939CUKg+v/X8snHCjFs9TwAtd0AEYz6JRXmS/h28/84yW5WnpHyF9shVueGEaxcYtXTv NzXVW/LziyMFXDJg2CPcaVBSQWJHDU90iin1C9av8qOQfacBllamRTXO8AVopuPIy04d ExWiIQhELpL89m+e4kUsR+wGzKkL/QNGAglvXHrxEMEplvE65DwY7ITrJA9rhVaxIfs0 tboQ== X-Gm-Message-State: AKaTC001mBmSRRzePyhatEXuB7vdh27MMjMoqxcbmxsbP3tyEqJyfcmhYbj5RV8rVQUAz+iN 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_075109_052867_E47F5B0A X-CRM114-Status: GOOD ( 10.20 ) X-BeenThere: linux-amlogic@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-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=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