From patchwork Fri May 18 02:12:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 136222 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp657736lji; Thu, 17 May 2018 19:12:27 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrh3+hRZ8k9jePop/9yO8Y5e2VmWKo0IYRbY4Q03aYw6O+KNPyB1Nqm3YxdwJXNYeNvVlRE X-Received: by 2002:a50:f742:: with SMTP id j2-v6mr9631225edn.37.1526609547516; Thu, 17 May 2018 19:12:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526609547; cv=none; d=google.com; s=arc-20160816; b=Vrhu9Gwj8TmBCe1m0SaSoBPur3UPrrF7zEekDDiQZpwScbJKLsEWQoRGDM4HzRMUze JNjr5AHNSoC3PfuGgn3tkUZ1iHVxE4QLBJsB5pugXh7rPWwXRxPavbAIFCcdNHiTzTb8 7kyMWu3g3BB8+Ni2AgrXMF7E/AJhhkfzQvjJw1t8QLcYpKnbLpM8cNHNgVpo4RkJX1gc 3D8gvMzJL6dDAVXZ9CQy7NPgvNBKvxUpPo6odPi2RIWhyWJTOi9P/kQsnr9AbyqVfXe+ jZ51YRIYilIZCONZJSHHoRo1JT+3KeOmSyeLr2mQtGLA1VeYdzPmpXPSngosAhCT2+FY dy/A== 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:cc:message-id:date:to:from :arc-authentication-results; bh=cSExViGT4m2L8mLZNmWfWQsFxZm1GOjSMj66cY3Rh2k=; b=ZP8NH9ZVDyWeDDmBdZEb3kz4ydnQcoIuUXce/VLdg76wkZcxwmzSPoijlZMF05RBcT +nVCeZeoPwWPUOJ7XtwuDiEaMeC5K3dkLOG7d8p/fTuiTmvHBhtDhGlk6v2KOcRSRUIg pSNrelC+CT3CS94kEb/QLH5npScs4IKsoxCKCkbJgUAT0OlRoJjpT/PKHmojnYC/GTcO nrwVfs0EX4z6+5eOL9eH/5/Fk+t1rX0/E6Ez7b+vrp+C0SX8RQYvxazLw6hsap1f0ZoP FfVCUbX8n1hL42FpNL9742Dwuu0pPZjJYYUsNNnsAv5WND3X7xOqwbNHY+OSLcJQK0Ok CBeg== 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 d18-v6si5641333eds.170.2018.05.17.19.12.27; Thu, 17 May 2018 19:12:27 -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 DA416C21E38; Fri, 18 May 2018 02:12: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 905D8C21DB3; Fri, 18 May 2018 02:12:23 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id EF29CC21DB3; Fri, 18 May 2018 02:12:21 +0000 (UTC) Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lists.denx.de (Postfix) with ESMTP id EFA5FC21C29 for ; Fri, 18 May 2018 02:12:20 +0000 (UTC) Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 18 May 2018 11:12:18 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 7A793180B6D; Fri, 18 May 2018 11:12:18 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Fri, 18 May 2018 11:12:18 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id CA9DC1A01CB; Fri, 18 May 2018 11:12:17 +0900 (JST) From: Kunihiko Hayashi To: u-boot@lists.denx.de Date: Fri, 18 May 2018 11:12:04 +0900 Message-Id: <1526609524-30418-1-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 Cc: joe.hershberger@ni.com Subject: [U-Boot] [PATCH v2] 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 --- Changes since v1: - add Reviewed-by and Acked-by tags include/phy.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/phy.h b/include/phy.h index 52bf997..3b34504 100644 --- a/include/phy.h +++ b/include/phy.h @@ -65,6 +65,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, @@ -87,6 +88,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] = "", };