Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2368811imm; Tue, 4 Sep 2018 03:19:32 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYSD/+G0JUOsMqUhnWJYHcPIilS0Isme+kHTmPX/wPjSawRFHndCcw6bBCMiBGLHfRoDbnZ X-Received: by 2002:a17:902:4d46:: with SMTP id o6-v6mr32571461plh.59.1536056372488; Tue, 04 Sep 2018 03:19:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536056372; cv=none; d=google.com; s=arc-20160816; b=wIMs58GIApjDxoprg9p5e6ofwPK5qBQTg3HhhgT5aAZgxiRU4R1b7UmTAJE6QV0ssA jeHU3Y5ChxURbTgGTD5OCHtQuOvAeySzHLh4+chVZIjZS6Qezxb4U4/PAZ3DzwPzu5uU QWjkgApQyE02VJnDuvi+puDk0SMmGNzgGLTWQryQzE27aMRd9kXt3t6RGBLc+mdXbIfa kBMBL8efSLULho7DB/hTUAU3pfmChNKXFovu4vlbjhCnPTD1QAXSjJV99shyE3mQ2Gsx ATV38QogKxMKh7dp2GgGd1RkgGkv6UZLBIygZaNcV8p9OwL3BniC0ceqFtf9Y+KzpN8z BPtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=YbvqMNkatQcteimG671l1B8DJXp9zDmAHcFGYN1KNzs=; b=KdOWbCeQoqW7s2Rx5AWe6MBDaJg1wInl+GTi1/zKJBUKwR9c6teAwJjDl+1OnJiz7/ 8mBCGQjCDXxtEWHmOpGIAaZNdSEzbTLICDmLTExiFB97u7duDaTtjOxjtARi7G7j5xiz Ou0Yr0yQI2ZKLT3vtFz0M+CtVj4zIv3v3q2UJOCXS6XyNAyiQDnmVfCI3Sse46wHWCQk OuTPIrWxF0m8in8o0jR3yaDnyC/NB5kUaT+7hyhm78RB0FYRq3GhA6vtUuzB59ONoUAf g4XvBTMfsbI86MKxxaMSxL02nRLwPcOFPSCy8SUb+ZHHZw2zONDMwmgDucmy2VW6gqaF sXjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=Qc20k0HO; dkim=pass header.i=@codeaurora.org header.s=default header.b=Y3tx4ZTP; 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 r17-v6si20050833pgo.606.2018.09.04.03.19.17; Tue, 04 Sep 2018 03:19:32 -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=Qc20k0HO; dkim=pass header.i=@codeaurora.org header.s=default header.b=Y3tx4ZTP; 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 S1727527AbeIDOmP (ORCPT + 99 others); Tue, 4 Sep 2018 10:42:15 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:40152 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726208AbeIDOmO (ORCPT ); Tue, 4 Sep 2018 10:42:14 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 0E926605BD; Tue, 4 Sep 2018 10:17:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1536056267; bh=vcwJKc6DIeKDKAzOSUSJjXPsxjhl65GIRbKNIBnDBNs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Qc20k0HOLlL5Arxe2j2yQgH7gPs1/QZpFxzcDfvhTQpERGtYWTUvLZVJfFidJu3EP 94Y1A3PJdsF8imik3+HtSItk8NF4eXiry98P0KbgxwCg3Bwlc85c4J1zIjfQGH8ND0 UVCBQQQZx5xDy2OHo71KpyqCX+2ADeZ6zhDqMYvI= 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 DC26D607B9; Tue, 4 Sep 2018 10:17:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1536056264; bh=vcwJKc6DIeKDKAzOSUSJjXPsxjhl65GIRbKNIBnDBNs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y3tx4ZTP3LNxHEIhGC14XSD6ziIkpZoH1TMA/DzdG3Ve3Fct0CxeuCepGVBFASShY 1w7tmhu6KIT2N/LrRAjK2vvkfkZJRPuRVOyV396iDNbCU7xbYKhTAPtfbCiXkIc1RA saPuKsSOCmmgRq+jeUwFAHK3jpTLr5HWlO3Ca/yU= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org DC26D607B9 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 3/3] phy: qcom-ufs: Declare 20nm qcom ufs qmp phy as Broken Date: Tue, 4 Sep 2018 15:47:19 +0530 Message-Id: <20180904101719.18049-4-vivek.gautam@codeaurora.org> X-Mailer: git-send-email 2.16.1.72.g5be1f00a9a70 In-Reply-To: <20180904101719.18049-1-vivek.gautam@codeaurora.org> References: <20180904101719.18049-1-vivek.gautam@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fork out separate configs for 14nm and 20nm qcom ufs qmp phys to declare the 20nm phy as broken. Signed-off-by: Vivek Gautam --- drivers/phy/qualcomm/Kconfig | 17 +++++++++++++++++ drivers/phy/qualcomm/Makefile | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/drivers/phy/qualcomm/Kconfig b/drivers/phy/qualcomm/Kconfig index 632a0e73ee10..32f7d34eb784 100644 --- a/drivers/phy/qualcomm/Kconfig +++ b/drivers/phy/qualcomm/Kconfig @@ -50,6 +50,23 @@ config PHY_QCOM_UFS help Support for UFS PHY on QCOM chipsets. +if PHY_QCOM_UFS + +config PHY_QCOM_UFS_14NM + tristate + default PHY_QCOM_UFS + help + Support for 14nm UFS QMP phy present on QCOM chipsets. + +config PHY_QCOM_UFS_20NM + tristate + default PHY_QCOM_UFS + depends on BROKEN + help + Support for 20nm UFS QMP phy present on QCOM chipsets. + +endif + config PHY_QCOM_USB_HS tristate "Qualcomm USB HS PHY module" depends on USB_ULPI_BUS diff --git a/drivers/phy/qualcomm/Makefile b/drivers/phy/qualcomm/Makefile index deb831f453ae..c56efd3af205 100644 --- a/drivers/phy/qualcomm/Makefile +++ b/drivers/phy/qualcomm/Makefile @@ -5,7 +5,7 @@ obj-$(CONFIG_PHY_QCOM_IPQ806X_SATA) += phy-qcom-ipq806x-sata.o obj-$(CONFIG_PHY_QCOM_QMP) += phy-qcom-qmp.o obj-$(CONFIG_PHY_QCOM_QUSB2) += phy-qcom-qusb2.o obj-$(CONFIG_PHY_QCOM_UFS) += phy-qcom-ufs.o -obj-$(CONFIG_PHY_QCOM_UFS) += phy-qcom-ufs-qmp-14nm.o -obj-$(CONFIG_PHY_QCOM_UFS) += phy-qcom-ufs-qmp-20nm.o +obj-$(CONFIG_PHY_QCOM_UFS_14NM) += phy-qcom-ufs-qmp-14nm.o +obj-$(CONFIG_PHY_QCOM_UFS_20NM) += phy-qcom-ufs-qmp-20nm.o obj-$(CONFIG_PHY_QCOM_USB_HS) += phy-qcom-usb-hs.o obj-$(CONFIG_PHY_QCOM_USB_HSIC) += phy-qcom-usb-hsic.o -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation