Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2368207imm; Tue, 4 Sep 2018 03:18:52 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbOYAaSCpUiuAKmiam/V0XFlVM1GgOZX7xu+TB8kIk3exX7/Vw5+21glqdPrWTp0doSHAdd X-Received: by 2002:a17:902:6f10:: with SMTP id w16-v6mr32366928plk.216.1536056332595; Tue, 04 Sep 2018 03:18:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536056332; cv=none; d=google.com; s=arc-20160816; b=Kw1KnQvTN9RzoIPq2M+4nTBKbwUCxXvZGz3uaQvYOaDhySrmPa6kcMOQ9ReCcFaSC2 I5n5gcw/jcaYDfv4tWpMSbaWMc+X6iJtFUGoXD2Eky/qdMikwlW2tvYeMi8yJdk2cxsQ GjzNUok1XBL+luBN5RNf1ofDwKsZgILgwqIQfRbSoTcsuwAWcu5AABCjipv7xKcvZ/UE IAbYOLE6Gs8V8/Ox32Jj1+6b4lrCRzO2+d3aI6OXHN3MzL0uEwK4DQStDGTdk+m3Zrzr vBvA7rBv/TQybm+Eu7THUo9pxhNDSPAc1ETLrZqIdwlDi8Ik66nqJuC4DPJwdLhvr9j0 c4/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=6Ta8M14ZXiQ4PYSacKcP3BYKeloxL4phvyJ0v6FwC8A=; b=cft2CNIkIMZUDCysTeFbXZEJCgvKyev6LiX/qmMdph/O+J2uptlujaO1hTqLUVcgSV ZYX5w8mE9Q81vZgzT+JAj+K5MVa26/nxtQx7ER2jPtDXFrCXHvD6/OAuTV+h+fUyp5w9 bSt6sJukZgXs7hNhNp9sYInP50tML5Lkqhrcu+2bypT0G5iTAtEs/L2ytWtA1yixpL8o EkDSC9E4mH2OzpnCa7Y201klld0B/OHOLkqnt06oTLU/CeMhKuKKrmD3XiGE1zTnkr3C lJkO9zKO0SmDXxes6MIecj4FZoWh7b/VZoI/VLayXUOHNipbRBINvB6mBI1H6W+G1hB4 V0mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=MD40LeiA; dkim=pass header.i=@codeaurora.org header.s=default header.b=OVOep1Rb; 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 p2-v6si21844047pfd.76.2018.09.04.03.18.37; Tue, 04 Sep 2018 03:18:52 -0700 (PDT) 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; dkim=pass header.i=@codeaurora.org header.s=default header.b=MD40LeiA; dkim=pass header.i=@codeaurora.org header.s=default header.b=OVOep1Rb; 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 S1727330AbeIDOl7 (ORCPT + 99 others); Tue, 4 Sep 2018 10:41:59 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:39474 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726208AbeIDOl6 (ORCPT ); Tue, 4 Sep 2018 10:41:58 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 7ACF06044E; Tue, 4 Sep 2018 10:17:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1536056252; bh=ybPaYb6viRqHXKsITq3uaIQ4LY8IOiS0SN0fq/Jo8kE=; h=From:To:Cc:Subject:Date:From; b=MD40LeiAGeh6fro4SQDpqr2behs1oun4jr3JwDRCjzJoz4huUmTxZ8I+FI7bnzD/B MRDbbVSoTiwlO3wDFNOcJhsCRW1iP9g8UvEqFAmuD7+Hzf75hC2k48eOTptAPIp5VG 2TZOM/DeqRftSYwkxF4ZHGA59r9x/CEALfvtiVcI= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from blr-ubuntu-41.ap.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: vivek.gautam@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 6BB0E6044E; Tue, 4 Sep 2018 10:17:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1536056251; bh=ybPaYb6viRqHXKsITq3uaIQ4LY8IOiS0SN0fq/Jo8kE=; h=From:To:Cc:Subject:Date:From; b=OVOep1RbCjIqz8gxXHICh9gBxQnp1W4OdK8B/Ka60Cl+PiOwUdThRvhdlNDhv3d4X axKpJ0e7Xpdt840w+xB1KUOKXltFcw477V7q9V6rvLoZtksscPmPfH2ygbxUzisNt/ VIOYUO9eLnsY2OamCZZV6IZq/R/nNyfI4aAyK1X0= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 6BB0E6044E 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, vinholikatti@gmail.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Cc: subhashj@codeaurora.org, bjorn.andersson@linaro.org, evgreen@chromium.org, linux-arm-msm@vger.kernel.org, Vivek Gautam Subject: [PATCH 0/3] scsi: ufs-qcom: Remove all direct calls to qcom-ufs phy Date: Tue, 4 Sep 2018 15:47:16 +0530 Message-Id: <20180904101719.18049-1-vivek.gautam@codeaurora.org> X-Mailer: git-send-email 2.16.1.72.g5be1f00a9a70 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Cleaning up the ufs-qcom host further to remove all direct calls into qcom-ufs driver. Only phy-qcom-ufs-qmp-20nm phy handles these direct calls from ufs host and this phy is not used in any supported qcom platform in current kernel. So, while we free up the host from all the ufs_qcom_phy_*() API calls we should declare 20nm phy as broken. For this we fork out couple of configs from PHY_QCOM_UFS - PHY_QCOM_UFS_14NM and PHY_QCOM_UFS_20NM out of which we declare PHY_QCOM_UFS_20NM as 'broken'. This series helps in a clean use of ufs phy support for sdm845 and further SoCs that will also use phy-qcom-qmp phy driver. Vivek Gautam (3): phy: qcom-ufs: Remove stale methods that handle ref clk scsi/ufs: qcom: Remove ufs_qcom_phy_*() calls from host phy: qcom-ufs: Declare 20nm qcom ufs qmp phy as Broken drivers/phy/qualcomm/Kconfig | 17 ++++++++++++ drivers/phy/qualcomm/Makefile | 4 +-- drivers/phy/qualcomm/phy-qcom-ufs-i.h | 2 +- drivers/phy/qualcomm/phy-qcom-ufs.c | 50 ----------------------------------- drivers/scsi/ufs/ufs-qcom.c | 28 +------------------- drivers/scsi/ufs/ufs-qcom.h | 5 ---- include/linux/phy/phy-qcom-ufs.h | 38 -------------------------- 7 files changed, 21 insertions(+), 123 deletions(-) delete mode 100644 include/linux/phy/phy-qcom-ufs.h -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation