Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp591859imu; Thu, 13 Dec 2018 00:40:30 -0800 (PST) X-Google-Smtp-Source: AFSGD/V78m62Pqyyae9tyNRo92SfGQ4NxWoDxZia+i5yX20BpPdpX/gLh49NIdFQsPkfbEnZ8Hf0 X-Received: by 2002:a17:902:298a:: with SMTP id h10mr23113002plb.312.1544690430203; Thu, 13 Dec 2018 00:40:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544690430; cv=none; d=google.com; s=arc-20160816; b=LrZig193nThleiwAKQNkoCfQhel2tDe/DvY4/rOCrQ3GTLANKrtHa2Lc28/4flql7c eKbns484RcRs3OA55Y/q6Wy71Qe73iOodfDv+4itYfRj/YGpbi4G5xQkplxFVazOv0eZ fBOCbCj5RG0TTctDXdYk9zkz7o/XyHHbAAOEHK2waB5ZeJbcnBem7i/dN6zGRVEf+u1c N644HKnFqVyx3Kv326KdlueSIJcql7i5VYo+5CT6B9kIrs/0WkeRgDO2X1ePQU1jB+xD 3pxTo3sD6SbhUOa4w42L+JlFtDLmnVgB1Tbg1eo++c2gjX8CZBRgSTGzLX98iL3kBt+i g2zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=agCtsqQwmY10oShq/fYZ0bUg4zh/ht34Cwjq05FHbxs=; b=qQcjbfzGPJvQs5I+ZKoGp7HSD9c9dSg809JvDRPP9DYgoLjqiinG8ekEcw+Hnf7Gpo Nyv209mSJAbTDTOn+KJWEao4e7xaob0Lg82QEIV7GbRH81Ik2EzJ5jUf1i8w3PzToUxE Vm1m48j4SzFJojeV9f2IAQQqXK3Oa5BLBduUldCFmpCD2VqUJdEwUzD+ibaBfVGNIcK6 nzvVrxUbuhB9KqpQgBlT7Pbmc/I7shkaPYMeJdsBmNsgGuFGH0VXeH9kbDZ7gSnA1O3S c6wRKyB9hZZGNJHAI1o9R93wuKjwwRkc4OoBWVJBoQ8+0ZkNqn72A3y+vtXDUG/Eu7Yh 5H7A== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l124si1126853pfl.284.2018.12.13.00.40.15; Thu, 13 Dec 2018 00:40: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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727501AbeLMIjR (ORCPT + 99 others); Thu, 13 Dec 2018 03:39:17 -0500 Received: from mail.bootlin.com ([62.4.15.54]:38649 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727397AbeLMIjO (ORCPT ); Thu, 13 Dec 2018 03:39:14 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id D5BBC20BC1; Thu, 13 Dec 2018 09:39:12 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.2 Received: from localhost.localdomain (unknown [91.224.148.103]) by mail.bootlin.com (Postfix) with ESMTPSA id EA8EA206FF; Thu, 13 Dec 2018 09:39:11 +0100 (CET) From: Miquel Raynal To: Gregory Clement , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Kishon Vijay Abraham I Cc: , , linux-kernel@vger.kernel.org, Rob Herring , Mark Rutland , Thomas Petazzoni , Antoine Tenart , Maxime Chevallier , Nadav Haklai , Marcin Wojtas , Grzegorz Jaszczyk , Miquel Raynal Subject: [PATCH v4 2/7] phy: enumerate SATA PHY mode Date: Thu, 13 Dec 2018 09:39:03 +0100 Message-Id: <20181213083908.14180-3-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181213083908.14180-1-miquel.raynal@bootlin.com> References: <20181213083908.14180-1-miquel.raynal@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Grzegorz Jaszczyk Add SATA mode to the PHY framework in preparation of upcoming PHYs that will handle it. For instance, SATA mode will be used by the Armada3700 COMPHY driver, which supports configuring SERDES lanes to be used by various controllers: Ethernet, USB3, SATA and PCIe. Signed-off-by: Grzegorz Jaszczyk Signed-off-by: Miquel Raynal --- include/linux/phy/phy.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index 1fdefadf150a..7fa18b684a7d 100644 --- a/include/linux/phy/phy.h +++ b/include/linux/phy/phy.h @@ -42,6 +42,7 @@ enum phy_mode { PHY_MODE_PCIE, PHY_MODE_ETHERNET, PHY_MODE_MIPI_DPHY, + PHY_MODE_SATA, }; /** -- 2.19.1