From patchwork Mon Nov 28 09:46:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 9449247 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 894FF6071C for ; Mon, 28 Nov 2016 09:49:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8787F26242 for ; Mon, 28 Nov 2016 09:49:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7C23326419; Mon, 28 Nov 2016 09:49:27 +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 43E4826242 for ; Mon, 28 Nov 2016 09:49:27 +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 1cBIXc-0001H1-Cr; Mon, 28 Nov 2016 09:48:04 +0000 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cBIX0-0000sF-02 for linux-arm-kernel@lists.infradead.org; Mon, 28 Nov 2016 09:47:27 +0000 Received: by mail-wm0-x231.google.com with SMTP id f82so148992509wmf.1 for ; Mon, 28 Nov 2016 01:47:05 -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; bh=Nr2TBP98IssCEEzZXwS5BS/1DvxkvKhvzU0hewaFdqo=; b=JQFgpts9iHrbf2qo+g90aLj1s4NWQukYy1UaijUqQpWYXQyJzyCkRTqDwIROHLdvS7 1Vh4DAmFhOhq5XkbY/ZtsuSAVG9AHdwvwqnd/nChyqUtLrxn4/GvRvYJuQSJo3pCoRpB WmOSHIuf/aJrsdoRDmKvLin5oqjXbYUpNe5LdJSATu+bTiX+b7PhoVdvp6XNPCckV2MS 3i4zD1B/p07w2rxuQQQT2gMNlS3/P/jrdzWdrIpNKqRIlM05RHfuyAHK2J9rqYd6MO6W zvAdCV+JFJX/wQpzrpguJiJ5HD5yrtsdsWp/YbdeCO8A2i1G4jRtIX3EckF1B1RqqZ0l FsBw== 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; bh=Nr2TBP98IssCEEzZXwS5BS/1DvxkvKhvzU0hewaFdqo=; b=l9d6X9vl+D8pXhPDGn76MVivS1Xh8CdhCe9ojy8Q4EUvOu0oR1oEpTahXTtAgnlBOj 7DIUeQdm6GU/69J01p0F8iQ5EKUEwWzMs7cqkcH8ZLaK9965MqvnpGd78prV7c8NbPtt 8C69rh9R/kGJnOGxPZFl9ttro30WKAXcUawSa62yF+PGHJMJuQATuqszUWBCDV0TIQqf p1+4+Yr7/vHQ509MraVFGx+DGImpO2JTyh1zvKQ8ahMv8hrer8chL+589LRsWDeIShOH iG0ViUkMqE6h/OSAAgeNl8yfQsF+pV0uMwF9Zzugs/tMBxje4f+GcXpnFNUDK0Dl1FF2 6ebA== X-Gm-Message-State: AKaTC00VE/ri8L/fOUHUtJ1q3OLfW9fjKCHx5VRXXYDt5yBk7CpogIuxkWKIMr5moZ61IcNN X-Received: by 10.28.18.129 with SMTP id 123mr17203468wms.2.1480326424314; Mon, 28 Nov 2016 01:47:04 -0800 (PST) Received: from boomer.baylibre.com ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id b7sm61635558wjm.39.2016.11.28.01.47.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Nov 2016 01:47:03 -0800 (PST) From: Jerome Brunet To: netdev@vger.kernel.org, devicetree@vger.kernel.org, Florian Fainelli Subject: [PATCH net-next v3 2/4] dt-bindings: net: add EEE capability constants Date: Mon, 28 Nov 2016 10:46:47 +0100 Message-Id: <1480326409-25419-3-git-send-email-jbrunet@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1480326409-25419-1-git-send-email-jbrunet@baylibre.com> References: <1480326409-25419-1-git-send-email-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161128_014726_273116_2411B2F5 X-CRM114-Status: GOOD ( 11.21 ) 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, Andre Roth , linux-amlogic@lists.infradead.org, Carlo Caione , Giuseppe Cavallaro , linux-arm-kernel@lists.infradead.org, Jerome Brunet MIME-Version: 1.0 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 --- 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