[PATCH 01/10] phy: exynos-ufs: add UFS PHY driver for EXYNOS SoC

2015-08-21 Thread Alim Akhtar
From: Seungwon Jeon tgih@samsung.com This patch introduces Exynos UFS PHY driver. This driver supports to deal with phy calibration and power control according to UFS host driver's behavior. Signed-off-by: Seungwon Jeon tgih@samsung.com Signed-off-by: Alim Akhtar alim.akh...@samsung.com

[PATCH 05/10] scsi: ufs: add quirk to enable host controller without hce

2015-08-21 Thread Alim Akhtar
From: Seungwon Jeon tgih@samsung.com Some host controller doesn't support host controller enable via HCE. Signed-off-by: Seungwon Jeon tgih@samsung.com Signed-off-by: Alim Akhtar alim.akh...@samsung.com --- drivers/scsi/ufs/ufshcd.c | 76

[PATCH 09/10] scsi: ufs: return value of pwr_change_notify

2015-08-21 Thread Alim Akhtar
From: Seungwon Jeon tgih@samsung.com Behavior of the powwer mode change contains vendor specific operation known as pwr_change_notify. This change adds return for pwr_change_notify to find success or failure. Signed-off-by: Seungwon Jeon tgih@samsung.com Signed-off-by: Alim Akhtar

[PATCH 06/10] scsi: ufs: add specific callback for nexus type

2015-08-21 Thread Alim Akhtar
From: Seungwon Jeon tgih@samsung.com Some host controller needs nexus type information for handling command. This change adds specific callback function to support vendor's implementation. Signed-off-by: Seungwon Jeon tgih@samsung.com Signed-off-by: Alim Akhtar alim.akh...@samsung.com

[PATCH 03/10] scsi: ufs: add quirk to fix mishandling utrlclr/utmrlclr

2015-08-21 Thread Alim Akhtar
From: Seungwon Jeon tgih@samsung.com In the right behavior, setting the bit to '0' indicates clear and '1' indicates no change. If host contoller handles this the other way, UFSHCI_QUIRK_BROKEN_REQ_LIST_CLR can be used. Signed-off-by: Seungwon Jeon tgih@samsung.com Signed-off-by: Alim

[PATCH 04/10] scsi: ufs: add quirk not to allow reset of interrupt aggregation

2015-08-21 Thread Alim Akhtar
From: Seungwon Jeon tgih@samsung.com Some host controller supports interrupt aggregation, but doesn't allow to reset counter and timer by s/w. Signed-off-by: Seungwon Jeon tgih@samsung.com Signed-off-by: Alim Akhtar alim.akh...@samsung.com --- drivers/scsi/ufs/ufshcd.c |3

[PATCH 10/10] scsi: ufs-exynos: add UFS host support for Exynos SoCs

2015-08-21 Thread Alim Akhtar
From: Seungwon Jeon tgih@samsung.com This patch introduces Exynos UFS host controller driver, which mainly handles vendor-specific operations including link startup, power mode change and hibernation/unhibernation. Signed-off-by: Seungwon Jeon tgih@samsung.com Signed-off-by: Alim Akhtar

[PATCH 00/10] exynos-ufs: add support for Exynos

2015-08-21 Thread Alim Akhtar
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. Seungwon Jeon (10): phy: exynos-ufs: add UFS PHY driver for EXYNOS SoC scsi: ufs: add

[PATCH 02/10] scsi: ufs: add quirk to contain unconformable utrd field

2015-08-21 Thread Alim Akhtar
From: Seungwon Jeon tgih@samsung.com UTRD(UTP Transfer Request Descriptor)'s field such as offset/length, especially response's has DWORD expression. This quirk can be specified for host controller not to conform standard. Signed-off-by: Seungwon Jeon tgih@samsung.com Signed-off-by: Alim

[PATCH 07/10] scsi: ufs: add add specific callback for hibern8

2015-08-21 Thread Alim Akhtar
From: Seungwon Jeon tgih@samsung.com Some host controller needs specific handling before/after (un)hibernation, This change adds specific callback function to support vendor's implementation. Signed-off-by: Seungwon Jeon tgih@samsung.com Signed-off-by: Alim Akhtar alim.akh...@samsung.com

[PATCH 08/10] scsi: ufs: make ufshcd_config_pwr_mode of non-static func

2015-08-21 Thread Alim Akhtar
From: Seungwon Jeon tgih@samsung.com It can be used in the vendor's driver for the specific purpose. Signed-off-by: Seungwon Jeon tgih@samsung.com Signed-off-by: Alim Akhtar alim.akh...@samsung.com --- drivers/scsi/ufs/ufshcd.c |5 ++--- drivers/scsi/ufs/ufshcd.h |2 ++ 2 files

Re: [PATCH v4 11/11] scsi: ufs-exynos: add UFS host support for Exynos SoCs

2015-10-25 Thread Alim Akhtar
Hi Kishon Thanks again for you review. On Fri, Oct 23, 2015 at 8:48 PM, Kishon Vijay Abraham I <kis...@ti.com> wrote: > Hi, > > On Thursday 15 October 2015 08:38 AM, Alim Akhtar wrote: >> +CCing kishon Vijay, >> >> On 10/14/2015 06:25 PM, Alim Akhtar wr

Re: [PATCH v4 00/11] exynos-ufs: add support for Exynos

2015-10-21 Thread Alim Akhtar
A Gentle Reminder !! On 10/14/2015 06:25 PM, Alim Akhtar wrote: 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

[PATCH v5 11/11] scsi: ufs-exynos: add UFS host support for Exynos SoCs

2015-11-08 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> This patch introduces Exynos UFS host controller driver, which mainly handles vendor-specific operations including link startup, power mode change and hibernation/unhibernation. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by:

[PATCH v5 07/11] scsi: ufs: add specific callback for nexus type

2015-11-08 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> Some host controller needs nexus type information for handling command. This change adds specific callback function to support vendor's implementation. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh

[PATCH v5 06/11] scsi: ufs: add quirk to enable host controller without hce

2015-11-08 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> Some host controller doesn't support host controller enable via HCE. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- drivers/scsi/u

[PATCH v5 09/11] scsi: ufs: make ufshcd_config_pwr_mode of non-static func

2015-11-08 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> This makes ufshcd_config_pwr_mode non-static so that other vendors like exynos can use the same. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- drivers/scsi/ufs/ufshcd.c |5 +

[PATCH v5 02/11] phy: exynos-ufs: add UFS PHY driver for EXYNOS SoC

2015-11-08 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> This patch introduces Exynos UFS PHY driver. This driver supports to deal with phy calibration and power control according to UFS host driver's behavior. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh...@

[PATCH v5 01/11] Documentation: samsung-phy: Add dt bindings for UFS

2015-11-08 Thread Alim Akhtar
Adds exynos UFS PHY device tree bindings information. Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- .../devicetree/bindings/phy/samsung-phy.txt| 22 1 file changed, 22 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/samsung-phy.

[PATCH v5 00/11] exynos-ufs: add support for Exynos

2015-11-08 Thread Alim Akhtar
.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 Jeo

[PATCH v5 03/11] scsi: ufs: add quirk to contain unconformable utrd field

2015-11-08 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> UTRD(UTP Transfer Request Descriptor)'s field such as offset/length, especially response's has DWORD expression. This quirk can be specified for host controller not to conform standard. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-

[PATCH v5 04/11] scsi: ufs: add quirk to fix mishandling utrlclr/utmrlclr

2015-11-08 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> In the right behavior, setting the bit to '0' indicates clear and '1' indicates no change. If host contoller handles this the other way, UFSHCI_QUIRK_BROKEN_REQ_LIST_CLR can be used. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by:

[PATCH v5 05/11] scsi: ufs: add quirk not to allow reset of interrupt aggregation

2015-11-08 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> Some host controller supports interrupt aggregation, but doesn't allow to reset counter and timer by s/w. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- drivers/scsi/ufs/ufshcd.c |

[PATCH v5 08/11] scsi: ufs: add add specific callback for hibern8

2015-11-08 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> Some host controller needs specific handling before/after (un)hibernation, This change adds specific callback function to support vendor's implementation. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh

[PATCH v5 10/11] Documentation: devicetree: ufs: Add DT bindings for exynos UFS host controller

2015-11-08 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> This adds Exynos Universal Flash Storage (UFS) Host Controller DT bindings. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- .../devicetree/bindings/ufs/ufs-exynos.

Re: [PATCH v5 10/11] Documentation: devicetree: ufs: Add DT bindings for exynos UFS host controller

2015-11-10 Thread Alim Akhtar
Hi Rob, On 11/09/2015 09:53 PM, Rob Herring wrote: On Mon, Nov 09, 2015 at 10:56:26AM +0530, Alim Akhtar wrote: From: Seungwon Jeon <ess...@gmail.com> This adds Exynos Universal Flash Storage (UFS) Host Controller DT bindings. Signed-off-by: Seungwon Jeon <ess...@gmail.com>

Re: [PATCH v5 00/11] exynos-ufs: add support for Exynos

2015-11-15 Thread Alim Akhtar
Hi Kishon, Any more concern on the PHY part of this series? Thanks! On Mon, Nov 9, 2015 at 10:56 AM, Alim Akhtar <alim.akh...@samsung.com> wrote: > This patch-set introduces UFS (Universal Flash Storage) host support > for Samsung Exynos SoC. Mostly, it consists of UFS PHY and h

Re: [PATCH v4 11/11] scsi: ufs-exynos: add UFS host support for Exynos SoCs

2015-11-03 Thread Alim Akhtar
Hi Kishon, Thanks for your time. On 10/28/2015 06:23 PM, Kishon Vijay Abraham I wrote: Hi, On Sunday 25 October 2015 05:34 PM, Alim Akhtar wrote: Hi Kishon Thanks again for you review. On Fri, Oct 23, 2015 at 8:48 PM, Kishon Vijay Abraham I <kis...@ti.com> wrote: Hi, On Thursday 15 O

Re: [PATCH v9 0/8] Fix error message and present UFS variant

2015-11-02 Thread Alim Akhtar
scsi: ufs: add ufshcd_get_variant ufshcd_set_variant > scsi: ufs: creates wrapper functions for vops > scsi: ufs: make the UFS variant a platform device for patch 4 ~ 6, ufshcd bits, have tested on a exynos variant, so feel free to add Tested-by: Alim Akhtar <alim.akh...@samsung

Re: [PATCH v4 02/11] phy: exynos-ufs: add UFS PHY driver for EXYNOS SoC

2015-10-14 Thread Alim Akhtar
Hi, On Wed, Oct 14, 2015 at 9:31 PM, Kishon Vijay Abraham I <kis...@ti.com> wrote: > Hi, > > On Wednesday 14 October 2015 06:25 PM, Alim Akhtar wrote: >> From: Seungwon Jeon <ess...@gmail.com> >> >> This patch introduces Exynos UFS PHY driver. This driver &

[PATCH v4 00/11] exynos-ufs: add support for Exynos

2015-10-14 Thread Alim Akhtar
15/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/9/2/364 [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 bindin

[PATCH v4 03/11] scsi: ufs: add quirk to contain unconformable utrd field

2015-10-14 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> UTRD(UTP Transfer Request Descriptor)'s field such as offset/length, especially response's has DWORD expression. This quirk can be specified for host controller not to conform standard. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-

[PATCH v4 04/11] scsi: ufs: add quirk to fix mishandling utrlclr/utmrlclr

2015-10-14 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> In the right behavior, setting the bit to '0' indicates clear and '1' indicates no change. If host contoller handles this the other way, UFSHCI_QUIRK_BROKEN_REQ_LIST_CLR can be used. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by:

[PATCH v4 02/11] phy: exynos-ufs: add UFS PHY driver for EXYNOS SoC

2015-10-14 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> This patch introduces Exynos UFS PHY driver. This driver supports to deal with phy calibration and power control according to UFS host driver's behavior. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh...@

[PATCH v4 01/11] Documentation: samsung-phy: Add dt bindings for UFS

2015-10-14 Thread Alim Akhtar
Adds exynos UFS PHY device tree bindings information. Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- .../devicetree/bindings/phy/samsung-phy.txt| 22 1 file changed, 22 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/samsung-phy.

[PATCH v4 07/11] scsi: ufs: add specific callback for nexus type

2015-10-14 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> Some host controller needs nexus type information for handling command. This change adds specific callback function to support vendor's implementation. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh

[PATCH v4 06/11] scsi: ufs: add quirk to enable host controller without hce

2015-10-14 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> Some host controller doesn't support host controller enable via HCE. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- drivers/scsi/u

[PATCH v4 05/11] scsi: ufs: add quirk not to allow reset of interrupt aggregation

2015-10-14 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> Some host controller supports interrupt aggregation, but doesn't allow to reset counter and timer by s/w. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- drivers/scsi/ufs/ufshcd.c |

[PATCH v4 08/11] scsi: ufs: add add specific callback for hibern8

2015-10-14 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> Some host controller needs specific handling before/after (un)hibernation, This change adds specific callback function to support vendor's implementation. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh

[PATCH v4 09/11] scsi: ufs: make ufshcd_config_pwr_mode of non-static func

2015-10-14 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> This makes ufshcd_config_pwr_mode non-static so that other vendors like exynos can use the same. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- drivers/scsi/ufs/ufshcd.c |5 +

[PATCH v4 10/11] Documentation: devicetree: ufs: Add DT bindings for exynos UFS host controller

2015-10-14 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> This adds Exynos Universal Flash Storage (UFS) Host Controller DT bindings. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- .../devicetree/bindings/ufs/ufs-exynos.

[PATCH v4 11/11] scsi: ufs-exynos: add UFS host support for Exynos SoCs

2015-10-14 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> This patch introduces Exynos UFS host controller driver, which mainly handles vendor-specific operations including link startup, power mode change and hibernation/unhibernation. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by:

Re: [PATCH v4 11/11] scsi: ufs-exynos: add UFS host support for Exynos SoCs

2015-10-14 Thread Alim Akhtar
+CCing kishon Vijay, On 10/14/2015 06:25 PM, Alim Akhtar wrote: From: Seungwon Jeon <ess...@gmail.com> This patch introduces Exynos UFS host controller driver, which mainly handles vendor-specific operations including link startup, power mode change and hibernation/unhibernation. Sign

Re: [PATCH v3 12/13] scsi: ufs-exynos: add UFS host support for Exynos SoCs

2015-10-13 Thread Alim Akhtar
On 10/13/2015 05:08 PM, Arnd Bergmann wrote: On Tuesday 13 October 2015 16:49:39 Alim Akhtar wrote: diff --git a/drivers/scsi/ufs/ufs-exynos.h b/drivers/scsi/ufs/ufs-exynos.h new file mode 100644 index 000..58aa714 --- /dev/null +++ b/drivers/scsi/ufs/ufs-exynos.h @@ -0,0 +1,463

Re: [PATCH v3 11/13] Documentation: devicetree: ufs: Add DT bindings for exynos UFS host controller

2015-10-13 Thread Alim Akhtar
Hi Arnd, On 10/01/2015 05:07 PM, Arnd Bergmann wrote: On Thursday 01 October 2015 13:39:28 Alim Akhtar wrote: From: Seungwon Jeon <ess...@gmail.com> This adds Exynos Universal Flash Storage (UFS) Host Controller DT bindings. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-

Re: [PATCH v3 12/13] scsi: ufs-exynos: add UFS host support for Exynos SoCs

2015-10-13 Thread Alim Akhtar
Hi Arnd, On 10/01/2015 05:42 PM, Arnd Bergmann wrote: On Thursday 01 October 2015 13:39:29 Alim Akhtar wrote: +static int exynos7_ufs_drv_init(struct device *dev, struct exynos_ufs *ufs) +{ + int ret; + const char *const clks[] = { + "mout_sclk_combo_phy_emb

Re: [RFC PATCH] phy: exynos-ufs: exynos_ufs_phy_calibrate() can be static

2015-10-13 Thread Alim Akhtar
HI How I am support to handle this patch? Should I just fix these warnings in my patch or I just add this as a separate patch on the top of the series? On 10/01/2015 04:34 PM, kbuild test robot wrote: Signed-off-by: Fengguang Wu --- phy-exynos-ufs.c |6 +++---

Re: [PATCH v5 02/11] phy: exynos-ufs: add UFS PHY driver for EXYNOS SoC

2015-11-17 Thread Alim Akhtar
Hi Thanks again for looking into this. On 11/17/2015 11:46 AM, Kishon Vijay Abraham I wrote: Hi, On Monday 09 November 2015 10:56 AM, Alim Akhtar wrote: From: Seungwon Jeon <ess...@gmail.com> This patch introduces Exynos UFS PHY driver. This driver supports to deal with phy calib

Re: [PATCH 02/10] scsi: ufs: add quirk to contain unconformable utrd field

2015-08-28 Thread Alim Akhtar
Hi Amit, Thanks for your review comments. On 08/26/2015 11:43 AM, amit daniel kachhap wrote: Few minor comments below, On Fri, Aug 21, 2015 at 2:57 PM, Alim Akhtar alim.akh...@samsung.com wrote: From: Seungwon Jeon tgih@samsung.com UTRD(UTP Transfer Request Descriptor)'s field

Re: [PATCH 10/10] scsi: ufs-exynos: add UFS host support for Exynos SoCs

2015-09-16 Thread Alim Akhtar
HI Amit, On 08/26/2015 12:12 PM, amit daniel kachhap wrote: On Fri, Aug 21, 2015 at 2:58 PM, Alim Akhtar <alim.akh...@samsung.com> wrote: From: Seungwon Jeon <tgih@samsung.com> This patch introduces Exynos UFS host controller driver, which mainly handles vendor-specifi

Re: [PATCH 04/10] scsi: ufs: add quirk not to allow reset of interrupt aggregation

2015-09-17 Thread Alim Akhtar
Hi Amit On 08/26/2015 11:46 AM, amit daniel kachhap wrote: Few comments below, On Fri, Aug 21, 2015 at 2:57 PM, Alim Akhtar <alim.akh...@samsung.com> wrote: From: Seungwon Jeon <tgih@samsung.com> Some host controller supports interrupt aggregation, but doesn't allow to r

Re: [PATCH 07/10] scsi: ufs: add add specific callback for hibern8

2015-09-17 Thread Alim Akhtar
Hi Amit, On 08/26/2015 11:51 AM, amit daniel kachhap wrote: On Fri, Aug 21, 2015 at 2:57 PM, Alim Akhtar <alim.akh...@samsung.com> wrote: From: Seungwon Jeon <tgih@samsung.com> Some host controller needs specific handling before/after (un)hibernation, This change adds speci

Re: [PATCH 09/10] scsi: ufs: return value of pwr_change_notify

2015-09-17 Thread Alim Akhtar
Hi Amit On 08/26/2015 11:55 AM, amit daniel kachhap wrote: On Fri, Aug 21, 2015 at 2:58 PM, Alim Akhtar <alim.akh...@samsung.com> wrote: From: Seungwon Jeon <tgih@samsung.com> Behavior of the "powwer mode change" contains vendor specific s/powwer/powe

Re: [PATCH 08/10] scsi: ufs: make ufshcd_config_pwr_mode of non-static func

2015-09-17 Thread Alim Akhtar
Hi Amit, On 08/26/2015 11:53 AM, amit daniel kachhap wrote: On Fri, Aug 21, 2015 at 2:57 PM, Alim Akhtar <alim.akh...@samsung.com> wrote: From: Seungwon Jeon <tgih@samsung.com> It can be used in the vendor's driver for the specific purpose. more description of this log wi

[PATCH v2 05/11] scsi: ufs: add quirk to enable host controller without hce

2015-09-17 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> Some host controller doesn't support host controller enable via HCE. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- drivers/scsi/u

[PATCH v2 08/11] scsi: ufs: make ufshcd_config_pwr_mode of non-static func

2015-09-17 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> This makes ufshcd_config_pwr_mode non-static so that other vendors like exynos can use the same. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- drivers/scsi/ufs/ufshcd.c |5 +

[PATCH v2 11/11] scsi: ufs: Add exynos ufs platform data

2015-09-17 Thread Alim Akhtar
This adds ufs_hba_exynos_ops{} to platform data, so that exynos ufs driver can be probed. Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- drivers/scsi/ufs/ufshcd-pltfrm.c |2 ++ drivers/scsi/ufs/ufshcd.h|1 + 2 files changed, 3 insertions(+) diff --git a/driver

[PATCH v2 04/11] scsi: ufs: add quirk not to allow reset of interrupt aggregation

2015-09-17 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> Some host controller supports interrupt aggregation, but doesn't allow to reset counter and timer by s/w. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- drivers/scsi/ufs/ufshcd.c |

[PATCH v2 09/11] scsi: ufs: return value of pwr_change_notify

2015-09-17 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> Behavior of the "power mode change" contains vendor specific operation known as pwr_change_notify. This change adds return for pwr_change_notify to find success or failure. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by:

[PATCH v2 10/11] scsi: ufs-exynos: add UFS host support for Exynos SoCs

2015-09-17 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> This patch introduces Exynos UFS host controller driver, which mainly handles vendor-specific operations including link startup, power mode change and hibernation/unhibernation. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by:

[PATCH v2 03/11] scsi: ufs: add quirk to fix mishandling utrlclr/utmrlclr

2015-09-17 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> In the right behavior, setting the bit to '0' indicates clear and '1' indicates no change. If host contoller handles this the other way, UFSHCI_QUIRK_BROKEN_REQ_LIST_CLR can be used. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by:

[PATCH v2 07/11] scsi: ufs: add add specific callback for hibern8

2015-09-17 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> Some host controller needs specific handling before/after (un)hibernation, This change adds specific callback function to support vendor's implementation. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh

[PATCH v2 06/11] scsi: ufs: add specific callback for nexus type

2015-09-17 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> Some host controller needs nexus type information for handling command. This change adds specific callback function to support vendor's implementation. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh

[PATCH v2 02/11] scsi: ufs: add quirk to contain unconformable utrd field

2015-09-17 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> UTRD(UTP Transfer Request Descriptor)'s field such as offset/length, especially response's has DWORD expression. This quirk can be specified for host controller not to conform standard. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-

[PATCH v2 01/11] phy: exynos-ufs: add UFS PHY driver for EXYNOS SoC

2015-09-17 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> This patch introduces Exynos UFS PHY driver. This driver supports to deal with phy calibration and power control according to UFS host driver's behavior. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh...@

[PATCH v2 00/11] exynos-ufs: add support for Exynos

2015-09-17 Thread Alim Akhtar
from Amit. * Updated email id of Seungwon as his samsung id is void now. * Added ufs platform data [1]-> https://lkml.org/lkml/2015/8/23/124 Alim Akhtar (1): scsi: ufs: Add exynos ufs platform data Seungwon Jeon (10): phy: exynos-ufs: add UFS PHY driver for EXYNOS SoC scsi: ufs: add qu

Re: [PATCH v2 01/11] phy: exynos-ufs: add UFS PHY driver for EXYNOS SoC

2015-09-30 Thread Alim Akhtar
HI Rob, Thanks for your time. On 09/21/2015 08:03 PM, Rob Herring wrote: On 09/17/2015 04:45 AM, Alim Akhtar wrote: From: Seungwon Jeon <ess...@gmail.com> This patch introduces Exynos UFS PHY driver. This driver supports to deal with phy calibration and power control according to UF

Re: [PATCH 01/10] phy: exynos-ufs: add UFS PHY driver for EXYNOS SoC

2015-09-30 Thread Alim Akhtar
Hi Kishon, On 09/18/2015 11:05 AM, Kishon Vijay Abraham I wrote: Hi, On Friday 21 August 2015 02:57 PM, Alim Akhtar wrote: From: Seungwon Jeon <tgih@samsung.com> This patch introduces Exynos UFS PHY driver. This driver supports to deal with phy calibration and power control acc

[PATCH v3 03/13] scsi: ufs: add quirk to contain unconformable utrd field

2015-10-01 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> UTRD(UTP Transfer Request Descriptor)'s field such as offset/length, especially response's has DWORD expression. This quirk can be specified for host controller not to conform standard. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-

[PATCH v3 04/13] scsi: ufs: add quirk to fix mishandling utrlclr/utmrlclr

2015-10-01 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> In the right behavior, setting the bit to '0' indicates clear and '1' indicates no change. If host contoller handles this the other way, UFSHCI_QUIRK_BROKEN_REQ_LIST_CLR can be used. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by:

[PATCH v3 05/13] scsi: ufs: add quirk not to allow reset of interrupt aggregation

2015-10-01 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> Some host controller supports interrupt aggregation, but doesn't allow to reset counter and timer by s/w. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- drivers/scsi/ufs/ufshcd.c |

[PATCH v3 06/13] scsi: ufs: add quirk to enable host controller without hce

2015-10-01 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> Some host controller doesn't support host controller enable via HCE. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- drivers/scsi/u

[PATCH v3 02/13] phy: exynos-ufs: add UFS PHY driver for EXYNOS SoC

2015-10-01 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> This patch introduces Exynos UFS PHY driver. This driver supports to deal with phy calibration and power control according to UFS host driver's behavior. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh...@

[PATCH v3 01/13] Documentation: samsung-phy: Add dt bindings for UFS

2015-10-01 Thread Alim Akhtar
Adds exynos UFS PHY device tree bindings information. Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- .../devicetree/bindings/phy/samsung-phy.txt| 22 1 file changed, 22 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/samsung-phy.

[PATCH v3 00/13] exynos-ufs: add support for Exynos

2015-10-01 Thread Alim Akhtar
https://lkml.org/lkml/2015/9/21/668 [3]-> https://lkml.org/lkml/2015/8/23/124 This patch set is tested on exynos7-espresso board. Alim Akhtar (2): Documentation: samsung-phy: Add dt bindings for UFS scsi: ufs: Add exynos ufs platform data Seungwon Jeon (11): phy: exynos-ufs: add UFS P

[PATCH v3 09/13] scsi: ufs: make ufshcd_config_pwr_mode of non-static func

2015-10-01 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> This makes ufshcd_config_pwr_mode non-static so that other vendors like exynos can use the same. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- drivers/scsi/ufs/ufshcd.c |5 +

[PATCH v3 07/13] scsi: ufs: add specific callback for nexus type

2015-10-01 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> Some host controller needs nexus type information for handling command. This change adds specific callback function to support vendor's implementation. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh

[PATCH v3 08/13] scsi: ufs: add add specific callback for hibern8

2015-10-01 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> Some host controller needs specific handling before/after (un)hibernation, This change adds specific callback function to support vendor's implementation. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh

Re: [PATCH v3 13/13] scsi: ufs: Add exynos ufs platform data

2015-10-05 Thread Alim Akhtar
CCing Rob Herring, Hi Arnd, On 10/01/2015 04:59 PM, Arnd Bergmann wrote: On Thursday 01 October 2015 18:46:34 kbuild test robot wrote: [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] config: x86_64-allmodconfig (attached as .config) reproduce: git

[PATCH v3 12/13] scsi: ufs-exynos: add UFS host support for Exynos SoCs

2015-10-01 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> This patch introduces Exynos UFS host controller driver, which mainly handles vendor-specific operations including link startup, power mode change and hibernation/unhibernation. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by:

[PATCH v3 11/13] Documentation: devicetree: ufs: Add DT bindings for exynos UFS host controller

2015-10-01 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> This adds Exynos Universal Flash Storage (UFS) Host Controller DT bindings. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- .../devicetree/bindings/ufs/ufs-exynos.

[PATCH v3 13/13] scsi: ufs: Add exynos ufs platform data

2015-10-01 Thread Alim Akhtar
This adds ufs_hba_exynos_ops{} to platform data, so that exynos ufs driver can be probed. Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- drivers/scsi/ufs/ufshcd-pltfrm.c |2 ++ drivers/scsi/ufs/ufshcd.h|1 + 2 files changed, 3 insertions(+) diff --git a/driver

[PATCH v3 10/13] scsi: ufs: return value of pwr_change_notify

2015-10-01 Thread Alim Akhtar
From: Seungwon Jeon <ess...@gmail.com> Behavior of the "power mode change" contains vendor specific operation known as pwr_change_notify. This change adds return for pwr_change_notify to find success or failure. Signed-off-by: Seungwon Jeon <ess...@gmail.com> Signed-off-by:

Re: [PATCH v3 13/13] scsi: ufs: Add exynos ufs platform data

2015-10-05 Thread Alim Akhtar
Hi Rob, On Mon, Oct 5, 2015 at 7:41 PM, Rob Herring <r...@kernel.org> wrote: > On Mon, Oct 5, 2015 at 4:06 AM, Arnd Bergmann <a...@arndb.de> wrote: >> On Monday 05 October 2015 13:44:29 Alim Akhtar wrote: >>> CCing Rob Herring, >>> >>> Hi Arnd, >

Re: [PATCH v5 02/11] phy: exynos-ufs: add UFS PHY driver for EXYNOS SoC

2017-02-03 Thread Alim Akhtar
Hi Kishon, On 11/19/2015 07:09 PM, Kishon Vijay Abraham I wrote: Hi, On Tuesday 17 November 2015 01:41 PM, Alim Akhtar wrote: Hi Thanks again for looking into this. On 11/17/2015 11:46 AM, Kishon Vijay Abraham I wrote: Hi, On Monday 09 November 2015 10:56 AM, Alim Akhtar wrote: From

Re: [PATCH v5 02/11] phy: exynos-ufs: add UFS PHY driver for EXYNOS SoC

2017-02-22 Thread Alim Akhtar
On Fri, Feb 3, 2017 at 2:49 PM, Alim Akhtar <alim.akh...@samsung.com> wrote: > Hi Kishon, > > > On 11/19/2015 07:09 PM, Kishon Vijay Abraham I wrote: >> >> Hi, >> >> On Tuesday 17 November 2015 01:41 PM, Alim Akhtar wrote: >>> >>> Hi >

Re: [PATCH v5 02/11] phy: exynos-ufs: add UFS PHY driver for EXYNOS SoC

2017-02-27 Thread Alim Akhtar
Hi Kishon, On 02/27/2017 10:56 AM, Kishon Vijay Abraham I wrote: > Hi, > > On Thursday 23 February 2017 12:20 AM, Alim Akhtar wrote: >> On Fri, Feb 3, 2017 at 2:49 PM, Alim Akhtar <alim.akh...@samsung.com> wrote: >>> Hi Kishon, >>> >>> >>

Re: [PATCH v5 02/11] phy: exynos-ufs: add UFS PHY driver for EXYNOS SoC

2017-02-28 Thread Alim Akhtar
Hi Kishon, On 02/28/2017 09:04 AM, Kishon Vijay Abraham I wrote: > Hi, > > On Monday 27 February 2017 07:40 PM, Alim Akhtar wrote: >> Hi Kishon, >> >> On 02/27/2017 10:56 AM, Kishon Vijay Abraham I wrote: >>> Hi, >>> >>> On Thursday 23 Februar

Re: [PATCH v5 02/11] phy: exynos-ufs: add UFS PHY driver for EXYNOS SoC

2017-03-06 Thread Alim Akhtar
Hi Kishon On 03/01/2017 10:07 AM, Kishon Vijay Abraham I wrote: > Hi, > > On Tuesday 28 February 2017 01:51 PM, Alim Akhtar wrote: >> Hi Kishon, >> >> On 02/28/2017 09:04 AM, Kishon Vijay Abraham I wrote: >>> Hi, >>> >>> On Monday 27 Feb

Re: [PATCH] scsi: ufs: Make use of UFS_BIT macro wherever possible

2017-09-10 Thread Alim Akhtar
Hi, Ping!!! Should I drop this patch and send another one which removes UFS_BIT() macro? On Tue, Aug 29, 2017 at 4:35 PM, Alim Akhtar <alim.akh...@samsung.com> wrote: > Hi Bart, > Thanks for your review. > > On 08/28/2017 09:15 PM, Bart Van Assche wrote: >> On Mon, 2

Re: [PATCH] scsi: ufs: Make use of UFS_BIT macro wherever possible

2017-09-30 Thread Alim Akhtar
Hi Martin, On 09/26/2017 01:01 AM, Martin K. Petersen wrote: > > Alim, > >> Should I drop this patch and send another one which removes UFS_BIT() >> macro? > > I fail to see the point of UFS_BIT(). So yes. > > Please make sure to CC: Subhash on ufs changes. > Thanks for looking into this

[PATCH 1/3] scsi: ufs: Change HCI marco to actual bit position

2017-09-30 Thread Alim Akhtar
Assche <bart.vanass...@wdc.com> Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- This patch is only complied tested, appreciate testing on actual h/w. Please see https://lkml.org/lkml/2017/8/28/786 discussion. drivers/scsi/ufs/ufshcd.h | 14 +- drivers/scsi/ufs/u

[PATCH 3/3] scsi: ufs: Remove unused UFS_BIT() macro

2017-09-30 Thread Alim Akhtar
Since we have coverted all the user of UFS_BIT() macro with the actual bit position, let remove unused UFS_BIT()macro. Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- drivers/scsi/ufs/ufshci.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshci.h b/driver

[PATCH 2/3] scsi: ufs-qcom: Remove uses of UFS_BIT() macro

2017-09-30 Thread Alim Akhtar
Use actaul bit position instead of UFS_BIT() macro. This patch also changes bit-17 to meaningful #define. This change is as per discussion here [1] [1] -> https://lkml.org/lkml/2017/8/28/786 Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> Cc: Subhash Jadavani <subha...@co

Re: [PATCH 1/3] scsi: ufs: Change HCI marco to actual bit position

2017-10-03 Thread Alim Akhtar
Hi Bart, On 10/02/2017 10:11 PM, Bart Van Assche wrote: > On Sat, 2017-09-30 at 11:52 +0530, Alim Akhtar wrote: >> Currently UFS HCI uses UFS_BIT() macro to get various bit >> position for the hardware registers status bits. Which makes >> code longer instead of sho

[PATCH v2 v2 2/4] scsi: ufs-qcom: Remove uses of UFS_BIT() macro

2017-10-03 Thread Alim Akhtar
Use actual bit position instead of UFS_BIT() macro. This patch also changes bit-17 to meaningful #define. This change is as per discussion here [1] [1] -> https://lkml.org/lkml/2017/8/28/786 Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> Cc: Subhash Jadavani <subha...@co

[PATCH v2 1/4] scsi: ufs: Change HCI macro to actual bit position

2017-10-03 Thread Alim Akhtar
Assche <bart.vanass...@wdc.com> Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- * Changes since V1: - addressed review comments from Bart. drivers/scsi/ufs/ufshcd.h | 14 +- drivers/scsi/ufs/ufshci.h | 66 +-- 2 files

[PATCH v2 4/4] scsi: ufs: Remove unused UFS_BIT() macro

2017-10-03 Thread Alim Akhtar
Since we have converted all the user of UFS_BIT() macro with the actual bit position, let remove unused UFS_BIT()macro. Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- drivers/scsi/ufs/ufshci.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/scsi/ufs/ufshci.h b/driver

[PATCH v2 3/4] scsi: ufs: Remove unused #defines

2017-10-03 Thread Alim Akhtar
HOST_ERROR_INDICATOR and DEVICE_ERROR_INDICATOR are not used anywhere. Also as per JESD223C specification, bit[7:4] are reserved. Lets remove these #defines. Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- drivers/scsi/ufs/ufshci.h | 2 -- 1 file changed, 2 deletions(-) diff

[PATCH] scsi: ufs: Make use of UFS_BIT macro wherever possible

2017-08-28 Thread Alim Akhtar
This entire file uses UFS_BIT macro for bits definition, expect for few places. This patch convert those defines to use UFS_BIT macro to be aligned with reset of the file. Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> --- drivers/scsi/ufs/ufshci.h | 6 +++--- 1 file changed, 3 inse

  1   2   >