Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751553AbbKIF0H (ORCPT ); Mon, 9 Nov 2015 00:26:07 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:34505 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751369AbbKIF0E (ORCPT ); Mon, 9 Nov 2015 00:26:04 -0500 X-AuditID: cbfee68d-f79ae6d00000149a-18-56402e685a26 From: Alim Akhtar To: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: JBottomley@odin.com, vinholikatti@gmail.com, gautam.vivek@samsung.com, essuuj@gmail.com, devicetree@vger.kernel.org, kishon@ti.com Subject: [PATCH v5 00/11] exynos-ufs: add support for Exynos Date: Mon, 09 Nov 2015 10:56:16 +0530 Message-id: <1447046787-480-1-git-send-email-alim.akhtar@samsung.com> X-Mailer: git-send-email 1.7.10.4 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrBLMWRmVeSWpSXmKPExsWyRsSkVjdDzyHMoGexkcX8I+dYLZZfWMJk 0XblILvF//W3WSwuPO1hs7i8aw6bRff1HWwWOxZWOXB47Jx1l93j8I8fzB59W1Yxehy/sZ3J 4/MmuQDWKC6blNSczLLUIn27BK6Mjyu2sxY0yVWsmtjB1sA4X6yLkZNDQsBEYsK2C0wQtpjE hXvr2boYuTiEBFYwSly80sAIU7T1STsrRGIpo8SP7g4mCOcno8Sa+49ZQarYBLQl7k7fAjZK RMBG4vzNB2BFzAIdjBKd57awgSSEgRJLOiYAjeXgYBFQlejcogMS5hVwlZg87R47xDZFie5n E8DOkBDoZpd4+nIj2FAWAQGJb5MPsYD0SgjISmw6wAxRLylxcMUNlgmMggsYGVYxiqYWJBcU J6UXGeoVJ+YWl+al6yXn525iBAbw6X/Pencw3j5gfYhRgINRiYc3YqZ9mBBrYllxZe4hRlOg DROZpUST84FxklcSb2hsZmRhamJqbGRuaaYkzqso9TNYSCA9sSQ1OzW1ILUovqg0J7X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RqKhFnNRcSIA04lq8agCAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4002 Lines: 90 This patch-set introduces UFS (Universal Flash Storage) host support for Samsung Exynos SoC. Mostly, it consists of UFS PHY and host specific driver. And it also contains some quirks handling for Exynos. NOTE: ** This series has a dependency on [4]. ** -Changes since v4: * Removed platform specific PHY ops as suggested by Kishon * Rebased on the top of Yaniv Gardi's work [4] * make use of newly introduce ufshcd_{get,set}_variant * other small changes and improvements. * rebased on the top of linux next-20151109 -Changes since v3: * Fixed compilation warrings as reported by "Kbuild Test Robot"[5]. * Restructure the driver to make it as a platform driver, rebased on top of [4]. * Addressed review comments from Arnd Bergmann[5]. * Other misc changes and improvements. -Changes since v2: * Addressed review comments from Kishon[1] and Rob Herring [2] * Splited ufs dt binding documetation from ufs driver patch -Changes since v1: * Addressed review comments from Alexey[3] and various review comments from Amit. * Updated email id of Seungwon as his samsung id is void now. * Added ufs platform data [1]-> https://lkml.org/lkml/2015/9/18/29 [2]-> https://lkml.org/lkml/2015/9/21/668 [3]-> https://lkml.org/lkml/2015/8/23/124 [4]-> https://lkml.org/lkml/2015/10/28/271 [5]-> https://lkml.org/lkml/2015/10/1/402 This patch set is tested on exynos7-espresso board. Alim Akhtar (1): Documentation: samsung-phy: Add dt bindings for UFS Seungwon Jeon (10): phy: exynos-ufs: add UFS PHY driver for EXYNOS SoC scsi: ufs: add quirk to contain unconformable utrd field scsi: ufs: add quirk to fix mishandling utrlclr/utmrlclr scsi: ufs: add quirk not to allow reset of interrupt aggregation scsi: ufs: add quirk to enable host controller without hce scsi: ufs: add specific callback for nexus type scsi: ufs: add add specific callback for hibern8 scsi: ufs: make ufshcd_config_pwr_mode of non-static func Documentation: devicetree: ufs: Add DT bindings for exynos UFS host controller scsi: ufs-exynos: add UFS host support for Exynos SoCs .../devicetree/bindings/phy/samsung-phy.txt | 22 + .../devicetree/bindings/ufs/ufs-exynos.txt | 104 ++ drivers/phy/Kconfig | 7 + drivers/phy/Makefile | 1 + drivers/phy/phy-exynos-ufs.c | 241 ++++ drivers/phy/phy-exynos-ufs.h | 85 ++ drivers/phy/phy-exynos7-ufs.h | 89 ++ drivers/scsi/ufs/Kconfig | 12 + drivers/scsi/ufs/Makefile | 1 + drivers/scsi/ufs/ufs-exynos-hw.c | 131 ++ drivers/scsi/ufs/ufs-exynos-hw.h | 43 + drivers/scsi/ufs/ufs-exynos.c | 1304 ++++++++++++++++++++ drivers/scsi/ufs/ufs-exynos.h | 247 ++++ drivers/scsi/ufs/ufshcd.c | 168 ++- drivers/scsi/ufs/ufshcd.h | 54 + drivers/scsi/ufs/ufshci.h | 26 +- drivers/scsi/ufs/unipro.h | 47 + include/linux/phy/phy-exynos-ufs.h | 85 ++ 18 files changed, 2647 insertions(+), 20 deletions(-) create mode 100644 Documentation/devicetree/bindings/ufs/ufs-exynos.txt create mode 100644 drivers/phy/phy-exynos-ufs.c create mode 100644 drivers/phy/phy-exynos-ufs.h create mode 100644 drivers/phy/phy-exynos7-ufs.h create mode 100644 drivers/scsi/ufs/ufs-exynos-hw.c create mode 100644 drivers/scsi/ufs/ufs-exynos-hw.h create mode 100644 drivers/scsi/ufs/ufs-exynos.c create mode 100644 drivers/scsi/ufs/ufs-exynos.h create mode 100644 include/linux/phy/phy-exynos-ufs.h -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/