From patchwork Thu Oct 12 06:19:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 10001089 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DF03660216 for ; Thu, 12 Oct 2017 06:20:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D44DB28CEF for ; Thu, 12 Oct 2017 06:20:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C47CB28CF4; Thu, 12 Oct 2017 06:20:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 630E528CF0 for ; Thu, 12 Oct 2017 06:20:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752519AbdJLGUK (ORCPT ); Thu, 12 Oct 2017 02:20:10 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:58306 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752539AbdJLGUE (ORCPT ); Thu, 12 Oct 2017 02:20:04 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id DBCEC60724; Thu, 12 Oct 2017 06:20:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1507789203; bh=eJduMhn5kvPk/FVZ3SyWyAWtTojrtZ9JyJLNH2L1pWE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TXezXgFyFwBQpULDRh+acde+TbSXAjMcLwyWX6gV8SL4kbqseoz+ibY2Iv6F+xD10 O2BYAefJxDuLmq+SBcZl8rDEj3ZsOMwUBT1DgX8kMJnPW3hFWK6lMLybYJX/TPOFQT XNhraeTJy9/T/JxFWuzXXpHBndUQMF6YEm6q5UWc= Received: from blr-ubuntu-41.ap.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: vivek.gautam@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 68705607EF; Thu, 12 Oct 2017 06:20:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1507789203; bh=eJduMhn5kvPk/FVZ3SyWyAWtTojrtZ9JyJLNH2L1pWE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TXezXgFyFwBQpULDRh+acde+TbSXAjMcLwyWX6gV8SL4kbqseoz+ibY2Iv6F+xD10 O2BYAefJxDuLmq+SBcZl8rDEj3ZsOMwUBT1DgX8kMJnPW3hFWK6lMLybYJX/TPOFQT XNhraeTJy9/T/JxFWuzXXpHBndUQMF6YEm6q5UWc= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 68705607EF Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=vivek.gautam@codeaurora.org From: Vivek Gautam To: kishon@ti.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: subhashj@codeaurora.org, robh+dt@kernel.org, bjorn.andersson@linaro.org, devicetree@vger.kernel.org, Vivek Gautam Subject: [PATCH v2 2/5] phy: Add UFS PHY modes Date: Thu, 12 Oct 2017 11:49:33 +0530 Message-Id: <1507789176-2760-3-git-send-email-vivek.gautam@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1507789176-2760-1-git-send-email-vivek.gautam@codeaurora.org> References: <1507789176-2760-1-git-send-email-vivek.gautam@codeaurora.org> Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP UFS phy has two modes for each High speed generation. These modes are identified by two rates of operations - Rate A, and Rate B. Add these UFS phy modes to phy framework. Signed-off-by: Vivek Gautam --- Changes since v1: - Rebased on linux-phy/next. include/linux/phy/phy.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index e694d4008c4a..79c341da1b8c 100644 --- a/include/linux/phy/phy.h +++ b/include/linux/phy/phy.h @@ -29,6 +29,8 @@ enum phy_mode { PHY_MODE_USB_OTG, PHY_MODE_SGMII, PHY_MODE_10GKR, + PHY_MODE_UFS_HS_A, + PHY_MODE_UFS_HS_B, }; /**