From patchwork Thu Nov 8 00:36:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 150464 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp195780ljp; Wed, 7 Nov 2018 16:37:30 -0800 (PST) X-Google-Smtp-Source: AJdET5cv5YXEAJi/JWCmOJncxIrFQCsNUcctSsIuwE+vqwnjUzO1Ew2dXK6EsW0zRgf7uleY5QM6 X-Received: by 2002:a17:902:a587:: with SMTP id az7-v6mr2531852plb.151.1541637450550; Wed, 07 Nov 2018 16:37:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541637450; cv=none; d=google.com; s=arc-20160816; b=bELi4NQ1fDw/CnTgg1uuoEMJ7eVUMOuoNgRowQ00NrK2Nje9iqFP4M1e2liRn1P8wB hsTs7SLhHS95ZIENNeFN4SDGdZ6anDbiURy2VJSN88LWNdgvGSc7zIYlhmySnkIuQeD6 9vI4FZkldHywEDXd6Fd6k5t3Q/9MQnZjUsS8rj+NxAH2TcFQbnFJKH1d496eh6fOV9wP 2rDskdDGzKDC2jkN4XymSOmnA/2eyvXWLBLcthLEHxPOBpjZVhbyMlfwrjdaxEWj4ICP eArB1hMuJ1yHn+2pWjW559al58ng1ve0GUrCFrvG0BhRQpAGGIov7g0e8gN9amIuehmg KEnA== 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=enSiPn0BHDhjz/oabZ83EPGGj0XbJPPTFCvQlkGWEUZaW2Uj9u6UCokiXBq7W8tiLu 01S4bSDD/9uWxrnotrXqmRa7HndMCcETmm/6SiFvhf3Q+o+al74w5ovxt3R8zNiq7m9v oZIvfWKav7nLrmBOd1SxS8l2m+VYoEANp1GKNPZOImxI8q3DJMOG9Nw7oshBr8YBGxcd 8YAjhq1ggffFmhqgLobIbGkGZdShWZcFi+3GhRmKvhgvnwJa08uBO4VfMs6zBZxvK+Wp CXyPZ7B8b7QOsm4z0wLRfETKT+QVV3L5dJHPQcc9G9WOloyltd875uV4+q0AeGW1bIeD SfKQ== 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 x124-v6si2404104pfb.154.2018.11.07.16.37.30; Wed, 07 Nov 2018 16:37:30 -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 S1728346AbeKHKKS (ORCPT + 32 others); Thu, 8 Nov 2018 05:10:18 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:48126 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727816AbeKHKKS (ORCPT ); Thu, 8 Nov 2018 05:10:18 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id wA80aKGA109492; Wed, 7 Nov 2018 18:36:20 -0600 Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id wA80aJI8044001 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 7 Nov 2018 18:36:20 -0600 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 7 Nov 2018 18:36:19 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) 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; Wed, 7 Nov 2018 18:36:19 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id wA80aJeJ016984; Wed, 7 Nov 2018 18:36:19 -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 wA80aJx13152; Wed, 7 Nov 2018 18:36:19 -0600 (CST) From: Grygorii Strashko To: "David S. Miller" , Kishon Vijay Abraham I 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 2/5] phy: core: add PHY_MODE_ETHERNET Date: Wed, 7 Nov 2018 18:36:14 -0600 Message-ID: <20181108003617.10334-3-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.10.5 In-Reply-To: <20181108003617.10334-1-grygorii.strashko@ti.com> References: <20181108003617.10334-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, }; /**