From patchwork Fri Nov 9 23:47:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 150704 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp473199ljp; Fri, 9 Nov 2018 15:49:08 -0800 (PST) X-Google-Smtp-Source: AJdET5dxWpNBWyer9XTgP5F8ZXV2/9IATGibXmemSZrqBD/eLDC+PVr3A7B7yWsMtN90DNVfyYEK X-Received: by 2002:a63:ef0b:: with SMTP id u11-v6mr9289273pgh.283.1541807348436; Fri, 09 Nov 2018 15:49:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541807348; cv=none; d=google.com; s=arc-20160816; b=GxVZnnCrtYMHyiytXE1g+PbTLolTQzU+Y4EodA/zGMqNWqW+oECkepmndTlnMU8PIT Xf//hjDP6ulhlb00qXm0sZ3mseGoD7iN825y/8ZdNc5k0tw9AaoHIFKPAIiPumd54DZ7 WXVyQAOnfY643muePlr4Pqzw0B91LHYem7Wmpl+MeaQb6nzUPUd9OCzURkSoUwdDsW+U DIVCvNvirf50K0lPlpLLvN8BmqEdH8CIkZFWfnwx7ntZxAn4LksUkBHP8ZCzUit56f87 tDXHMEZNn5itNT5OaRGd1JLMjECyUqPxBw0QKWqdaDcd/kIlMQtYRif5KcUYGzn+qJMR 0klw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=2cBefVa6ZPSBSGddKWWYOf5UXwbM+Z6xVucXubHZ2QQ=; b=WkWL4+aodO9WRnGV/nz+g40kDXEjIwRnkOBOOW6eu/jMiUso/y/1j98oimPy25A+9X FPHlkNHbNqQseRpzGp5y3UEJVyY2ySioHtMS0fN7h0VzQHHhanXMoJ2WrI87/omjWmNu lh4+HF6HhxTgbiGr5/FW0lh3TNXujJskDyRYipa5VkGVe0trPWah7wP3y5zSyp9pLyxu IHEJNMOAnb708KRoviAc9JSWsJ41VxY4WG5Z39OjS/rafMiqJhAXaDSLcX0x+D8s4mnI PSlYmzmQN/Y60eeTgHX/+EAi3oJWg+aiHQKgMAMd/vm79GCO+8+ncOR/qqEdCYO1qGy/ VXlQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v1-v6si8773263plp.85.2018.11.09.15.49.07; Fri, 09 Nov 2018 15:49:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728776AbeKJJb6 (ORCPT + 32 others); Sat, 10 Nov 2018 04:31:58 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:60328 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727210AbeKJJb6 (ORCPT ); Sat, 10 Nov 2018 04:31:58 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id wA9NlwB8010910; Fri, 9 Nov 2018 17:47:58 -0600 Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id wA9NlwR4032113 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 9 Nov 2018 17:47:58 -0600 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 9 Nov 2018 17:47:57 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Fri, 9 Nov 2018 17:47:57 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id wA9Nlvpo012819; Fri, 9 Nov 2018 17:47:57 -0600 Received: from localhost (uda0226610.dhcp.ti.com [128.247.59.147]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id wA9Nlvx26440; Fri, 9 Nov 2018 17:47:57 -0600 (CST) From: Grygorii Strashko To: "David S. Miller" , Kishon Vijay Abraham I , Russell King - ARM Linux CC: , Sekhar Nori , , , Tony Lindgren , , , Alexandre Belloni , Antoine Tenart , Quentin Schulz , Vivek Gautam , Maxime Ripard , Chen-Yu Tsai , Carlo Caione , Chunfeng Yun , Matthias Brugger , Manu Gautam , Grygorii Strashko Subject: [PATCH v2 2/5] phy: core: add PHY_MODE_ETHERNET Date: Fri, 9 Nov 2018 17:47:52 -0600 Message-ID: <20181109234755.21687-3-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.10.5 In-Reply-To: <20181109234755.21687-1-grygorii.strashko@ti.com> References: <20181109234755.21687-1-grygorii.strashko@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add new PHY's mode to be used by Ethernet PHY interface drivers or multipurpose PHYs like serdes. It will be reused in further changes. Signed-off-by: Grygorii Strashko --- include/linux/phy/phy.h | 1 + 1 file changed, 1 insertion(+) -- 2.10.5 diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index b17e770..02c9ef0 100644 --- a/include/linux/phy/phy.h +++ b/include/linux/phy/phy.h @@ -42,6 +42,7 @@ enum phy_mode { PHY_MODE_UFS_HS_A, PHY_MODE_UFS_HS_B, PHY_MODE_PCIE, + PHY_MODE_ETHERNET, }; /**