From patchwork Fri May 11 09:51:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 135518 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp644370lji; Fri, 11 May 2018 02:52:38 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp8ok6WKGvVoaL83xfPT5h+ig9QcW+Hyhyf7lbEKwlzaivx2/n8tIlivqilraeefYuk9DRi X-Received: by 2002:a50:a743:: with SMTP id h61-v6mr6678645edc.80.1526032358927; Fri, 11 May 2018 02:52:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526032358; cv=none; d=google.com; s=arc-20160816; b=oZgcq7KTU6d+bVth3BiDC1OxX98raR9VmuQHRzNNDs4MwZa8smFCHAOZ5a5CMmvOIG jy+JB7iLLkSTozDPC1nUiGijKikddQL8NJZmwfkoN7DsKcnapyD6+PJOoalWAVzXbCVM j8K9zzEDIQVTzJExHnn6d9V9JgZnShrgUrwPgwY8r3f8wNEoOucseuCwHGCeE8/43JDS tgCforKkYQw2TVGOqQiVkw7OWg7rbWGD+EfsD8p0tErXneQ4yeFBipwrsoaEI9Hz0pyo JgTRxdppiKREtw/mn451dNzdMT8ifo4wLpDtqiQy71l0KNIYt9M+9ET4pVLCR3gWBtY9 KhEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from :arc-authentication-results; bh=dgCu8zAVDeNL8qQam8LIolwdh9f/XPo7NR+wrGbmCvk=; b=px97fO8OCgZ3PR2xDp625elWtLLz6jnlAKjfXAvEwuKC056GGs59+kgqOjCQ7tY+8S bFaV0YYtpTdt24kvef+L5/iliuaBNEGIICg6Gek67MYepN+JFPSrRJ9cPQ5gL8M4vtwE aEhP30usFjrCxAi/0OumWd0ob177uei9UPGDiHK4JIUb1+j70r4ffAlkZW3P7fijxAhM BJyvHVIuNCpQhc9TWvBOIdIiXX5VXyOiFgknNFKrFsaGU0z3EWMc1tYXCL5sMfIajxNt QARyrFypYTi0TN+XjpYCW0z/UrsRy/zq/kc4BZCyyWT98OgEBtjfMIOuyMjfBqWCuqb1 Y5XQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id c14-v6si1779377eda.386.2018.05.11.02.52.38; Fri, 11 May 2018 02:52:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 692CAC22336; Fri, 11 May 2018 09:52:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 7E01EC22359; Fri, 11 May 2018 09:52:24 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 5D853C22250; Fri, 11 May 2018 09:51:28 +0000 (UTC) Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lists.denx.de (Postfix) with ESMTP id B7082C22360 for ; Fri, 11 May 2018 09:51:27 +0000 (UTC) Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 11 May 2018 18:51:26 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id 7CCB4603B5 for ; Fri, 11 May 2018 18:51:26 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Fri, 11 May 2018 18:51:26 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id CF9541A01BD; Fri, 11 May 2018 18:51:25 +0900 (JST) From: Kunihiko Hayashi To: u-boot@lists.denx.de Date: Fri, 11 May 2018 18:51:19 +0900 Message-Id: <1526032279-21721-1-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 Subject: [U-Boot] [PATCH] net: include/phy.h: add new mode for internal phy X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Add the new mode to indicate a built-in PHY. This will be used by UniPhier AVE ethernet driver. Signed-off-by: Kunihiko Hayashi Reviewed-by: Marek Vasut Acked-by: Joe Hershberger --- include/phy.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/phy.h b/include/phy.h index 0543ec1..d0f60d1 100644 --- a/include/phy.h +++ b/include/phy.h @@ -66,6 +66,7 @@ typedef enum { PHY_INTERFACE_MODE_XAUI, PHY_INTERFACE_MODE_RXAUI, PHY_INTERFACE_MODE_SFI, + PHY_INTERFACE_MODE_INTERNAL, PHY_INTERFACE_MODE_NONE, /* Must be last */ PHY_INTERFACE_MODE_COUNT, @@ -88,6 +89,7 @@ static const char *phy_interface_strings[] = { [PHY_INTERFACE_MODE_XAUI] = "xaui", [PHY_INTERFACE_MODE_RXAUI] = "rxaui", [PHY_INTERFACE_MODE_SFI] = "sfi", + [PHY_INTERFACE_MODE_INTERNAL] = "internal", [PHY_INTERFACE_MODE_NONE] = "", };