[PATCH RESEND v8 0/3] add support for DWC UFS Controller

2016-02-18 Thread Joao Pinto
glue pci driver - Documentation update Joao Pinto (3): fixed typo in ufshcd-pltfrm added UFS 2.0 capabilities add support for DWC UFS Host Controller Documentation/devicetree/bindings/ufs/ufs-dwc.txt | 19 + .../devicetree/bindings/ufs/ufshcd-pltfrm.txt | 4 +- MAINTAINERS

[PATCH RESEND v9 2/2] pcie-designware platform driver

2016-02-17 Thread Joao Pinto
nware-plat) was created to contain the specific platform init code for pcie-designware. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- Change v8 -> v9 (Bjorn Helgaas and Arnd Bergmann): - wait for link routine was moved to pcie-designware, this implicated an update in ra7xx, exynos, imx6

[PATCH RESEND v9 2/2] pcie-designware platform driver

2016-02-17 Thread Joao Pinto
nware-plat) was created to contain the specific platform init code for pcie-designware. Signed-off-by: Joao Pinto --- Change v8 -> v9 (Bjorn Helgaas and Arnd Bergmann): - wait for link routine was moved to pcie-designware, this implicated an update in ra7xx, exynos, imx6 and spear13xx pcie drivers -

[PATCH RESEND v9 1/2] PCI support added to ARC

2016-02-17 Thread Joao Pinto
This patch adds PCI support to ARC and updates drivers/pci Makefile enabling the ARC arch to use the generic PCI setup functions. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- Change v8 -> v9: - Nothing changed (just to keep up with patch set version). Change v7 -> v8: - Not

[PATCH RESEND v9 1/2] PCI support added to ARC

2016-02-17 Thread Joao Pinto
This patch adds PCI support to ARC and updates drivers/pci Makefile enabling the ARC arch to use the generic PCI setup functions. Signed-off-by: Joao Pinto --- Change v8 -> v9: - Nothing changed (just to keep up with patch set version). Change v7 -> v8: - Nothing changed (just to k

[PATCH RESEND v9 0/2] adding PCI support to AXS10x

2016-02-17 Thread Joao Pinto
and spear13xx drivers to use the centralised code for link wait A simple module was (pcie-designware-plat) was created to contain the specific platform init code. The patches were produced against Bjorn Helgaas' repository. It was properly tested in an IP Prototyping Kit. Joao Pinto (2): PCI support

[PATCH RESEND v9 0/2] adding PCI support to AXS10x

2016-02-17 Thread Joao Pinto
and spear13xx drivers to use the centralised code for link wait A simple module was (pcie-designware-plat) was created to contain the specific platform init code. The patches were produced against Bjorn Helgaas' repository. It was properly tested in an IP Prototyping Kit. Joao Pinto (2): PCI support

Re: [PATCH v9 2/2] pcie-designware platform driver

2016-02-15 Thread Joao Pinto
Hi Bjorn! Did you have opportunity to check the v9 patch set? Thanks. Joao On 2/10/2016 9:48 AM, Joao Pinto wrote: > Hi Bjorn, > > On 2/8/2016 11:28 PM, Bjorn Helgaas wrote: >>> if (!pci_has_flag(PCI_PROBE_ONLY)) { >>>^ >>>dr

Re: [PATCH v9 2/2] pcie-designware platform driver

2016-02-15 Thread Joao Pinto
Hi Bjorn! Did you have opportunity to check the v9 patch set? Thanks. Joao On 2/10/2016 9:48 AM, Joao Pinto wrote: > Hi Bjorn, > > On 2/8/2016 11:28 PM, Bjorn Helgaas wrote: >>> if (!pci_has_flag(PCI_PROBE_ONLY)) { >>>^ >>>dr

[PATCH v8 1/3] fixed typo in ufshcd-pltfrm

2016-02-15 Thread Joao Pinto
Fixed typo in ufshcd-pltfrm. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- Changes v0->v8: - Nothing changed (just to keep up with patch set version). drivers/scsi/ufs/ufshcd-pltfrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd-p

[PATCH v8 1/3] fixed typo in ufshcd-pltfrm

2016-02-15 Thread Joao Pinto
Fixed typo in ufshcd-pltfrm. Signed-off-by: Joao Pinto --- Changes v0->v8: - Nothing changed (just to keep up with patch set version). drivers/scsi/ufs/ufshcd-pltfrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c b/drivers/scsi/ufs/ufs

[PATCH v8 2/3] added UFS 2.0 capabilities

2016-02-15 Thread Joao Pinto
Adding UFS 2.0 support to the UFS core driver. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- Changes v7->v8: - Added "jedec, ufs-2.0" to the ufschd-platform compatibility strings Changes v0->v7: - Nothing changed (just to keep up with patch set version). .../devicetr

[PATCH v8 2/3] added UFS 2.0 capabilities

2016-02-15 Thread Joao Pinto
Adding UFS 2.0 support to the UFS core driver. Signed-off-by: Joao Pinto --- Changes v7->v8: - Added "jedec, ufs-2.0" to the ufschd-platform compatibility strings Changes v0->v7: - Nothing changed (just to keep up with patch set version). .../devicetree/bindings/ufs/ufshcd-pltf

[PATCH v8 3/3] add support for DWC UFS Host Controller

2016-02-15 Thread Joao Pinto
This patch has the goal to add support for DesignWare UFS Controller specific operations and to add specific platform and pci drivers. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- Changes v7->v8 (Akinobu Mita): - DME sets were simplified for easier reading - CLK DIV defau

[PATCH v8 3/3] add support for DWC UFS Host Controller

2016-02-15 Thread Joao Pinto
This patch has the goal to add support for DesignWare UFS Controller specific operations and to add specific platform and pci drivers. Signed-off-by: Joao Pinto --- Changes v7->v8 (Akinobu Mita): - DME sets were simplified for easier reading - CLK DIV default values definitions names w

[PATCH v8 0/3] add support for DWC UFS Controller

2016-02-15 Thread Joao Pinto
glue pci driver - Documentation update Joao Pinto (3): fixed typo in ufshcd-pltfrm added UFS 2.0 capabilities add support for DWC UFS Host Controller Documentation/devicetree/bindings/ufs/ufs-dwc.txt | 19 + .../devicetree/bindings/ufs/ufshcd-pltfrm.txt | 4 +- MAINTAINERS

[PATCH v8 0/3] add support for DWC UFS Controller

2016-02-15 Thread Joao Pinto
glue pci driver - Documentation update Joao Pinto (3): fixed typo in ufshcd-pltfrm added UFS 2.0 capabilities add support for DWC UFS Host Controller Documentation/devicetree/bindings/ufs/ufs-dwc.txt | 19 + .../devicetree/bindings/ufs/ufshcd-pltfrm.txt | 4 +- MAINTAINERS

Re: [PATCH v7 3/3] add support for DWC UFS Host Controller

2016-02-15 Thread Joao Pinto
Hi Akinobu, On 2/13/2016 1:27 PM, Akinobu Mita wrote: > Hi Joao, > > 2016-02-11 21:13 GMT+09:00 Joao Pinto <joao.pi...@synopsys.com>: >> +static int ufshcd_dwc_connection_setup(struct ufs_hba *hba) >> +{ >> + int ret = 0; >> + >> +

Re: [PATCH v7 3/3] add support for DWC UFS Host Controller

2016-02-15 Thread Joao Pinto
Hi Akinobu, On 2/13/2016 1:27 PM, Akinobu Mita wrote: > Hi Joao, > > 2016-02-11 21:13 GMT+09:00 Joao Pinto : >> +static int ufshcd_dwc_connection_setup(struct ufs_hba *hba) >> +{ >> + int ret = 0; >> + >> + /* Local side Configuration

Re: [PATCH v7 3/3] add support for DWC UFS Host Controller

2016-02-12 Thread Joao Pinto
Hi Rob, On 2/12/2016 4:36 PM, Rob Herring wrote: > On Thu, Feb 11, 2016 at 12:13:06PM +0000, Joao Pinto wrote: >> +Required properties: >> +- compatible: compatible string ("snps,ufshcd-1.0", >> "snps,ufshcd-1.1" >> + or "snps,ufshcd

Re: [PATCH v7 3/3] add support for DWC UFS Host Controller

2016-02-12 Thread Joao Pinto
Hi Rob, On 2/12/2016 4:36 PM, Rob Herring wrote: > On Thu, Feb 11, 2016 at 12:13:06PM +0000, Joao Pinto wrote: >> +Required properties: >> +- compatible: compatible string ("snps,ufshcd-1.0", >> "snps,ufshcd-1.1" >> + or "snps,ufshcd

[PATCH v7 1/3] fixed typo in ufshcd-pltfrm

2016-02-11 Thread Joao Pinto
Fixed typo in ufshcd-pltfrm. Signed-off-by: Joao Pinto --- Changes v0->v7: - Nothing changed (just to keep up with patch set version). drivers/scsi/ufs/ufshcd-pltfrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c b/drivers/scsi/ufs/ufs

[PATCH v7 0/3] add support for DWC UFS Controller

2016-02-11 Thread Joao Pinto
glue pci driver Joao Pinto (3): fixed typo in ufshcd-pltfrm added UFS 2.0 capabilities add support for DWC UFS Host Controller Documentation/devicetree/bindings/ufs/ufs-dwc.txt | 17 + MAINTAINERS | 6 + drivers/scsi/ufs/Kconfig

[PATCH v7 2/3] added UFS 2.0 capabilities

2016-02-11 Thread Joao Pinto
Adding UFS 2.0 support to the UFS core driver. Signed-off-by: Joao Pinto --- Changes v0->v7: - Nothing changed (just to keep up with patch set version). drivers/scsi/ufs/ufshcd.c | 29 + drivers/scsi/ufs/ufshci.h | 1 + 2 files changed, 26 insertions(+)

[PATCH v7 3/3] add support for DWC UFS Host Controller

2016-02-11 Thread Joao Pinto
This patch has the goal to add support for DesignWare UFS Controller specific operations and to add specific platform and pci drivers. Signed-off-by: Joao Pinto --- Changes v6->v7 (Arnd Bergmann): - Changed DT node name (to ufs only) and the memory address (to 0xd00) - Removed CONFIG_PM f

Re: [PATCH v6 2/2] add support for DWC UFS Host Controller

2016-02-11 Thread Joao Pinto
On 2/10/2016 8:50 PM, Arnd Bergmann wrote: > On Wednesday 10 February 2016 16:06:13 Joao Pinto wrote: >> This patch has the goal to add support for DesignWare UFS Controller >> specific operations and to add specific platform and pci drivers. >> >> Signed-off-by: Jo

Re: [PATCH v6 2/2] add support for DWC UFS Host Controller

2016-02-11 Thread Joao Pinto
On 2/10/2016 8:50 PM, Arnd Bergmann wrote: > On Wednesday 10 February 2016 16:06:13 Joao Pinto wrote: >> This patch has the goal to add support for DesignWare UFS Controller >> specific operations and to add specific platform and pci drivers. >> >> Signed-off-by: Jo

[PATCH v7 1/3] fixed typo in ufshcd-pltfrm

2016-02-11 Thread Joao Pinto
Fixed typo in ufshcd-pltfrm. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- Changes v0->v7: - Nothing changed (just to keep up with patch set version). drivers/scsi/ufs/ufshcd-pltfrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd-p

Re: [PATCH v6 2/2] add support for DWC UFS Host Controller

2016-02-11 Thread Joao Pinto
On 2/10/2016 8:50 PM, Arnd Bergmann wrote: > On Wednesday 10 February 2016 16:06:13 Joao Pinto wrote: >> This patch has the goal to add support for DesignWare UFS Controller >> specific operations and to add specific platform and pci drivers. >> >> Signed-off-by: Joao

Re: [PATCH v6 2/2] add support for DWC UFS Host Controller

2016-02-11 Thread Joao Pinto
On 2/10/2016 8:50 PM, Arnd Bergmann wrote: > On Wednesday 10 February 2016 16:06:13 Joao Pinto wrote: >> This patch has the goal to add support for DesignWare UFS Controller >> specific operations and to add specific platform and pci drivers. >> >> Signed-off-by: Joao

[PATCH v7 2/3] added UFS 2.0 capabilities

2016-02-11 Thread Joao Pinto
Adding UFS 2.0 support to the UFS core driver. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- Changes v0->v7: - Nothing changed (just to keep up with patch set version). drivers/scsi/ufs/ufshcd.c | 29 + drivers/scsi/ufs/ufshci.h | 1 + 2 files ch

[PATCH v7 3/3] add support for DWC UFS Host Controller

2016-02-11 Thread Joao Pinto
This patch has the goal to add support for DesignWare UFS Controller specific operations and to add specific platform and pci drivers. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- Changes v6->v7 (Arnd Bergmann): - Changed DT node name (to ufs only) and the memory address (to

[PATCH v7 0/3] add support for DWC UFS Controller

2016-02-11 Thread Joao Pinto
glue pci driver Joao Pinto (3): fixed typo in ufshcd-pltfrm added UFS 2.0 capabilities add support for DWC UFS Host Controller Documentation/devicetree/bindings/ufs/ufs-dwc.txt | 17 + MAINTAINERS | 6 + drivers/scsi/ufs/Kconfig

[PATCH v6 2/2] add support for DWC UFS Host Controller

2016-02-10 Thread Joao Pinto
This patch has the goal to add support for DesignWare UFS Controller specific operations and to add specific platform and pci drivers. Signed-off-by: Joao Pinto --- Changes v5->v6: - Patch bad format fixed Changes v4->v5 (Akinobu Mita): - All functions used only locally in ufshcd-dwc a

[PATCH v6 1/2] fixed typo in ufshcd-pltfrm

2016-02-10 Thread Joao Pinto
Fixed typo in ufshcd-pltfrm. Signed-off-by: Joao Pinto --- Changes v0->v6: - Nothing changed (just to keep up with patch set version). drivers/scsi/ufs/ufshcd-pltfrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c b/drivers/scsi/ufs/ufs

[PATCH v6 0/2] add support for DWC UFS Controller

2016-02-10 Thread Joao Pinto
glue pci driver Joao Pinto (2): fixed typo in ufshcd-pltfrm add support for DWC UFS Host Controller Documentation/devicetree/bindings/ufs/ufs-dwc.txt | 17 + MAINTAINERS | 6 + drivers/scsi/ufs/Kconfig | 41 ++ drivers/scsi

[PATCH v5 1/2] fixed typo in ufshcd-pltfrm

2016-02-10 Thread Joao Pinto
Fixed typo in ufshcd-pltfrm. Signed-off-by: Joao Pinto --- Changes v0->v5: - Nothing changed (just to keep up with patch set version). drivers/scsi/ufs/ufshcd-pltfrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c b/drivers/scsi/ufs/ufs

[PATCH v5 0/2] add support for DWC UFS Controller

2016-02-10 Thread Joao Pinto
glue pci driver Joao Pinto (2): fixed typo in ufshcd-pltfrm add support for DWC UFS Host Controller Documentation/devicetree/bindings/ufs/ufs-dwc.txt | 17 + MAINTAINERS | 6 + drivers/scsi/ufs/Kconfig | 41 ++ drivers/scsi

[PATCH v5 2/2] add support for DWC UFS Host Controller

2016-02-10 Thread Joao Pinto
This patch has the goal to add support for DesignWare UFS Controller specific operations and to add specific platform and pci drivers. Signed-off-by: Joao Pinto --- Changes v4->v5 (Akinobu Mita): - All functions used only locally in ufshcd-dwc are now declared as sta

Re: [PATCH 2/2] add support for DWC UFS Host Controller

2016-02-10 Thread Joao Pinto
Hi Akinobu, Thanks for the comments! I will put the internal functions static and check your notify suggestion. Do you know who the maintainer of UFS is? Thanks, Joao On 2/9/2016 12:05 PM, Akinobu Mita wrote: > Hi Joao, > > 2016-02-09 4:07 GMT+09:00 Joao Pinto : >> diff --git

Re: [PATCH v9 2/2] pcie-designware platform driver

2016-02-10 Thread Joao Pinto
Hi Bjorn, On 2/8/2016 11:28 PM, Bjorn Helgaas wrote: >> if (!pci_has_flag(PCI_PROBE_ONLY)) { >>^ >>drivers/pci/host/pcie-designware.c:581:20: note: each undeclared >> identifier is reported only once for each function it appears in >>cc1: some warnings being

[PATCH v5 2/2] add support for DWC UFS Host Controller

2016-02-10 Thread Joao Pinto
This patch has the goal to add support for DesignWare UFS Controller specific operations and to add specific platform and pci drivers. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- Changes v4->v5 (Akinobu Mita): - All functions used only locally in ufshcd-dwc are now declared

[PATCH v5 1/2] fixed typo in ufshcd-pltfrm

2016-02-10 Thread Joao Pinto
Fixed typo in ufshcd-pltfrm. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- Changes v0->v5: - Nothing changed (just to keep up with patch set version). drivers/scsi/ufs/ufshcd-pltfrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd-p

[PATCH v5 0/2] add support for DWC UFS Controller

2016-02-10 Thread Joao Pinto
glue pci driver Joao Pinto (2): fixed typo in ufshcd-pltfrm add support for DWC UFS Host Controller Documentation/devicetree/bindings/ufs/ufs-dwc.txt | 17 + MAINTAINERS | 6 + drivers/scsi/ufs/Kconfig | 41 ++ drivers/scsi

[PATCH v6 1/2] fixed typo in ufshcd-pltfrm

2016-02-10 Thread Joao Pinto
Fixed typo in ufshcd-pltfrm. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- Changes v0->v6: - Nothing changed (just to keep up with patch set version). drivers/scsi/ufs/ufshcd-pltfrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd-p

[PATCH v6 2/2] add support for DWC UFS Host Controller

2016-02-10 Thread Joao Pinto
This patch has the goal to add support for DesignWare UFS Controller specific operations and to add specific platform and pci drivers. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- Changes v5->v6: - Patch bad format fixed Changes v4->v5 (Akinobu Mita): - All functions used

[PATCH v6 0/2] add support for DWC UFS Controller

2016-02-10 Thread Joao Pinto
glue pci driver Joao Pinto (2): fixed typo in ufshcd-pltfrm add support for DWC UFS Host Controller Documentation/devicetree/bindings/ufs/ufs-dwc.txt | 17 + MAINTAINERS | 6 + drivers/scsi/ufs/Kconfig | 41 ++ drivers/scsi

Re: [PATCH v9 2/2] pcie-designware platform driver

2016-02-10 Thread Joao Pinto
Hi Bjorn, On 2/8/2016 11:28 PM, Bjorn Helgaas wrote: >> if (!pci_has_flag(PCI_PROBE_ONLY)) { >>^ >>drivers/pci/host/pcie-designware.c:581:20: note: each undeclared >> identifier is reported only once for each function it appears in >>cc1: some warnings being

Re: [PATCH 2/2] add support for DWC UFS Host Controller

2016-02-10 Thread Joao Pinto
Hi Akinobu, Thanks for the comments! I will put the internal functions static and check your notify suggestion. Do you know who the maintainer of UFS is? Thanks, Joao On 2/9/2016 12:05 PM, Akinobu Mita wrote: > Hi Joao, > > 2016-02-09 4:07 GMT+09:00 Joao Pinto <joao.pi...@

[PATCH v4 2/2] add support for DWC UFS Host Controller

2016-02-08 Thread Joao Pinto
This patch has the goal to add support for DesignWare UFS Controller specific operations and to add specific platform and pci drivers. Signed-off-by: Joao Pinto --- Changes v3->v4 (Arnd Bergmann and Mark Rutland): - SCSI_UFS_DWC_HOOKS is now silent and selected by the SCSI_UFS_DWC_P

[PATCH v4 0/2] add support for DWC UFS Controller

2016-02-08 Thread Joao Pinto
glue pci driver Joao Pinto (2): fixed typo in ufshcd-pltfrm add support for DWC UFS Host Controller Documentation/devicetree/bindings/ufs/ufs-dwc.txt | 17 + MAINTAINERS | 6 + drivers/scsi/ufs/Kconfig | 50 ++ drivers/scsi

[PATCH v4 1/2] fixed typo in ufshcd-pltfrm

2016-02-08 Thread Joao Pinto
Fixed typo in ufshcd-pltfrm. Signed-off-by: Joao Pinto --- Changes v0->v4: - Nothing changed (just to keep up with patch set version). drivers/scsi/ufs/ufshcd-pltfrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c b/drivers/scsi/ufs/ufs

[PATCH v9 1/2] PCI support added to ARC

2016-02-08 Thread Joao Pinto
This patch adds PCI support to ARC and updates drivers/pci Makefile enabling the ARC arch to use the generic PCI setup functions. Signed-off-by: Joao Pinto --- Change v8 -> v9: - Nothing changed (just to keep up with patch set version). Change v7 -> v8: - Nothing changed (just to k

[PATCH v9 0/2] adding PCI support to AXS10x

2016-02-08 Thread Joao Pinto
and spear13xx drivers to use the centralised code for link wait A simple module was (pcie-designware-plat) was created to contain the specific platform init code. The patches were produced against Bjorn Helgaas' repository. It was properly tested in an IP Prototyping Kit. Joao Pinto (2): PCI support

[PATCH v9 2/2] pcie-designware platform driver

2016-02-08 Thread Joao Pinto
nware-plat) was created to contain the specific platform init code for pcie-designware. Signed-off-by: Joao Pinto --- Change v8 -> v9 (Bjorn Helgaas and Arnd Bergmann): - wait for link routine was moved to pcie-designware, this implicated an update in ra7xx, exynos, imx6 and spear13xx pcie drivers -

Re: [PATCH] link up validation moved to pcie-designware

2016-02-08 Thread Joao Pinto
Mon, Feb 08, 2016 at 12:43:58PM +0000, Joao Pinto wrote: >> This patch goal is to centralize in pcie-designware the link up >> validation. A new function was added to pci-designware that is >> responsible for doing such a task. This was implemented in a form that >> permi

Re: [PATCH] link up validation moved to pcie-designware

2016-02-08 Thread Joao Pinto
Our On 2/8/2016 4:46 PM, Arnd Bergmann wrote: > On Monday 08 February 2016 16:43:33 Joao Pinto wrote: >> Hi, >> Ok, so what should be the retries and waiting time in your opinion? >> The most typical is: >> >> retries: 10 >> delay: 100ms (usleep_range (90

Re: [PATCH 3/3] add support for DWC UFS Host Controller

2016-02-08 Thread Joao Pinto
On 2/8/2016 4:15 PM, Mark Rutland wrote: > On Mon, Feb 08, 2016 at 03:36:52PM +0000, Joao Pinto wrote: >> Hi Mark, >> >> On 2/8/2016 3:30 PM, Mark Rutland wrote: >>> On Mon, Feb 08, 2016 at 03:17:11PM +, Joao Pinto wrote: >>>> Hi Mark and Arnd, >&

Re: [PATCH 3/3] add support for DWC UFS Host Controller

2016-02-08 Thread Joao Pinto
Hi Mark, On 2/8/2016 3:30 PM, Mark Rutland wrote: > On Mon, Feb 08, 2016 at 03:17:11PM +0000, Joao Pinto wrote: >> Hi Mark and Arnd, >> >> I am planning the v2 of this patch set. I have a doubt in the version >> compatibility strings... The core driver must sup

Re: [PATCH] link up validation moved to pcie-designware

2016-02-08 Thread Joao Pinto
No problem! Thanks for your comments! Joao On 2/8/2016 3:29 PM, Gabriele Paoloni wrote: >> -Original Message- >> From: Joao Pinto [mailto:joao.pi...@synopsys.com] >> Sent: 08 February 2016 15:12 >> To: Gabriele Paoloni; Joao Pinto; helg...@kernel.org >

Re: [PATCH 3/3] add support for DWC UFS Host Controller

2016-02-08 Thread Joao Pinto
" in the DT compatibility string disables the UFS 2.0 in the core driver despite the controller is 2.0? Please clarify. Thanks, Joao On 2/4/2016 4:27 PM, Mark Rutland wrote: > On Wed, Feb 03, 2016 at 03:54:48PM +, Joao Pinto wrote: >> Hi, >> >> On 2/3/2016 3:39 PM, Arn

Re: [PATCH] link up validation moved to pcie-designware

2016-02-08 Thread Joao Pinto
From: linux-pci-ow...@vger.kernel.org [mailto:linux-pci- >> ow...@vger.kernel.org] On Behalf Of Joao Pinto >> Sent: 08 February 2016 12:44 >> To: helg...@kernel.org >> Cc: a...@arndb.de; linux-...@vger.kernel.org; linux- >> ker...@vger.kernel.org; carlos.palmi...@syno

Re: [PATCH v8 2/2] add new platform driver for PCI RC

2016-02-08 Thread Joao Pinto
Bergmann wrote: > On Friday 05 February 2016 17:32:48 Bjorn Helgaas wrote: >> On Fri, Feb 05, 2016 at 03:39:05PM +0100, Arnd Bergmann wrote: >>> On Friday 05 February 2016 10:44:29 Joao Pinto wrote: > >>> I think in this case, we should do this completely differently:

[PATCH] link up validation moved to pcie-designware

2016-02-08 Thread Joao Pinto
This patch goal is to centralize in pcie-designware the link up validation. A new function was added to pci-designware that is responsible for doing such a task. This was implemented in a form that permits flexibility for all SoCs. Signed-off-by: Joao Pinto --- drivers/pci/host/pci-dra7xx.c

Re: [PATCH v3] synopsys pcie rc generic platform driver update

2016-02-08 Thread Joao Pinto
oao, > > On Fri, Feb 05, 2016 at 07:55:43PM +0000, Joao Pinto wrote: >> This patch tries to improve the host/pcie-synopsys branch including a new >> driver name, more accurate documentation and centralized link up validation. >> Other platform drivers were also updated to

Re: [PATCH 3/3] add support for DWC UFS Host Controller

2016-02-08 Thread Joao Pinto
On 2/8/2016 4:15 PM, Mark Rutland wrote: > On Mon, Feb 08, 2016 at 03:36:52PM +0000, Joao Pinto wrote: >> Hi Mark, >> >> On 2/8/2016 3:30 PM, Mark Rutland wrote: >>> On Mon, Feb 08, 2016 at 03:17:11PM +, Joao Pinto wrote: >>>> Hi Mark and Arnd, >&

Re: [PATCH] link up validation moved to pcie-designware

2016-02-08 Thread Joao Pinto
Mon, Feb 08, 2016 at 12:43:58PM +0000, Joao Pinto wrote: >> This patch goal is to centralize in pcie-designware the link up >> validation. A new function was added to pci-designware that is >> responsible for doing such a task. This was implemented in a form that >> permi

Re: [PATCH] link up validation moved to pcie-designware

2016-02-08 Thread Joao Pinto
Our On 2/8/2016 4:46 PM, Arnd Bergmann wrote: > On Monday 08 February 2016 16:43:33 Joao Pinto wrote: >> Hi, >> Ok, so what should be the retries and waiting time in your opinion? >> The most typical is: >> >> retries: 10 >> delay: 100ms (usleep_range (90

[PATCH] link up validation moved to pcie-designware

2016-02-08 Thread Joao Pinto
This patch goal is to centralize in pcie-designware the link up validation. A new function was added to pci-designware that is responsible for doing such a task. This was implemented in a form that permits flexibility for all SoCs. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- drive

Re: [PATCH v3] synopsys pcie rc generic platform driver update

2016-02-08 Thread Joao Pinto
oao, > > On Fri, Feb 05, 2016 at 07:55:43PM +0000, Joao Pinto wrote: >> This patch tries to improve the host/pcie-synopsys branch including a new >> driver name, more accurate documentation and centralized link up validation. >> Other platform drivers were also updated to

Re: [PATCH] link up validation moved to pcie-designware

2016-02-08 Thread Joao Pinto
From: linux-pci-ow...@vger.kernel.org [mailto:linux-pci- >> ow...@vger.kernel.org] On Behalf Of Joao Pinto >> Sent: 08 February 2016 12:44 >> To: helg...@kernel.org >> Cc: a...@arndb.de; linux-...@vger.kernel.org; linux- >> ker...@vger.kernel.org; carlos.palmi...@syno

Re: [PATCH 3/3] add support for DWC UFS Host Controller

2016-02-08 Thread Joao Pinto
" in the DT compatibility string disables the UFS 2.0 in the core driver despite the controller is 2.0? Please clarify. Thanks, Joao On 2/4/2016 4:27 PM, Mark Rutland wrote: > On Wed, Feb 03, 2016 at 03:54:48PM +, Joao Pinto wrote: >> Hi, >> >> On 2/3/2016 3:39 PM, Arn

Re: [PATCH] link up validation moved to pcie-designware

2016-02-08 Thread Joao Pinto
No problem! Thanks for your comments! Joao On 2/8/2016 3:29 PM, Gabriele Paoloni wrote: >> -Original Message- >> From: Joao Pinto [mailto:joao.pi...@synopsys.com] >> Sent: 08 February 2016 15:12 >> To: Gabriele Paoloni; Joao Pinto; helg...@kernel.org >

Re: [PATCH v8 2/2] add new platform driver for PCI RC

2016-02-08 Thread Joao Pinto
Bergmann wrote: > On Friday 05 February 2016 17:32:48 Bjorn Helgaas wrote: >> On Fri, Feb 05, 2016 at 03:39:05PM +0100, Arnd Bergmann wrote: >>> On Friday 05 February 2016 10:44:29 Joao Pinto wrote: > >>> I think in this case, we should do this completely differently:

Re: [PATCH 3/3] add support for DWC UFS Host Controller

2016-02-08 Thread Joao Pinto
Hi Mark, On 2/8/2016 3:30 PM, Mark Rutland wrote: > On Mon, Feb 08, 2016 at 03:17:11PM +0000, Joao Pinto wrote: >> Hi Mark and Arnd, >> >> I am planning the v2 of this patch set. I have a doubt in the version >> compatibility strings... The core driver must sup

[PATCH v9 1/2] PCI support added to ARC

2016-02-08 Thread Joao Pinto
This patch adds PCI support to ARC and updates drivers/pci Makefile enabling the ARC arch to use the generic PCI setup functions. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- Change v8 -> v9: - Nothing changed (just to keep up with patch set version). Change v7 -> v8: - Not

[PATCH v4 2/2] add support for DWC UFS Host Controller

2016-02-08 Thread Joao Pinto
This patch has the goal to add support for DesignWare UFS Controller specific operations and to add specific platform and pci drivers. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- Changes v3->v4 (Arnd Bergmann and Mark Rutland): - SCSI_UFS_DWC_HOOKS is now silent and

[PATCH v9 2/2] pcie-designware platform driver

2016-02-08 Thread Joao Pinto
nware-plat) was created to contain the specific platform init code for pcie-designware. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- Change v8 -> v9 (Bjorn Helgaas and Arnd Bergmann): - wait for link routine was moved to pcie-designware, this implicated an update in ra7xx, exynos, imx6

[PATCH v9 0/2] adding PCI support to AXS10x

2016-02-08 Thread Joao Pinto
and spear13xx drivers to use the centralised code for link wait A simple module was (pcie-designware-plat) was created to contain the specific platform init code. The patches were produced against Bjorn Helgaas' repository. It was properly tested in an IP Prototyping Kit. Joao Pinto (2): PCI support

[PATCH v4 0/2] add support for DWC UFS Controller

2016-02-08 Thread Joao Pinto
glue pci driver Joao Pinto (2): fixed typo in ufshcd-pltfrm add support for DWC UFS Host Controller Documentation/devicetree/bindings/ufs/ufs-dwc.txt | 17 + MAINTAINERS | 6 + drivers/scsi/ufs/Kconfig | 50 ++ drivers/scsi

[PATCH v4 1/2] fixed typo in ufshcd-pltfrm

2016-02-08 Thread Joao Pinto
Fixed typo in ufshcd-pltfrm. Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- Changes v0->v4: - Nothing changed (just to keep up with patch set version). drivers/scsi/ufs/ufshcd-pltfrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd-p

[PATCH v3] synopsys pcie rc generic platform driver update

2016-02-05 Thread Joao Pinto
This patch tries to improve the host/pcie-synopsys branch including a new driver name, more accurate documentation and centralized link up validation. Other platform drivers were also updated to include the new centralized link up validation function. Signed-off-by: Joao Pinto --- Changes v2->

Re: [PATCH v8 2/2] add new platform driver for PCI RC

2016-02-05 Thread Joao Pinto
On 2/5/2016 3:43 PM, Arnd Bergmann wrote: > On Friday 05 February 2016 14:51:39 Joao Pinto wrote: >> >> It is a driver that is useful for PCIe RC prototyping and to be a reference >> platform driver for DesignWare PCIe RC, I don't know if merging some of the >> driver'

Re: [PATCH v8 2/2] add new platform driver for PCI RC

2016-02-05 Thread Joao Pinto
On 2/5/2016 2:39 PM, Arnd Bergmann wrote: > On Friday 05 February 2016 10:44:29 Joao Pinto wrote: >> Hi, >> >> On 2/4/2016 11:43 PM, Bjorn Helgaas wrote: >>>> What do you think? >>> >>> I don't think the "dw" part is rele

[PATCH] synopsys pcie rc generic platform driver update

2016-02-05 Thread Joao Pinto
synopsys_pcie_irq_handler() was removed - Driver compatibility strings updated Signed-off-by: Joao Pinto --- .../bindings/pci/pcie-designware-pltfm.txt | 37 +++ .../devicetree/bindings/pci/pcie-synopsys.txt | 33 --- drivers/pci/host/Kconfig | 8 +- drivers/pci

Re: [PATCH v8 2/2] add new platform driver for PCI RC

2016-02-05 Thread Joao Pinto
Hi, On 2/4/2016 11:43 PM, Bjorn Helgaas wrote: >> What do you think? > > I don't think the "dw" part is relevant (none of the other > DesignWare-based drivers includes it in the driver or file name). > > How do people typically refer to this board? > > I really like "synopsys" because it fits

Re: [PATCH v8 2/2] add new platform driver for PCI RC

2016-02-05 Thread Joao Pinto
On 2/5/2016 3:43 PM, Arnd Bergmann wrote: > On Friday 05 February 2016 14:51:39 Joao Pinto wrote: >> >> It is a driver that is useful for PCIe RC prototyping and to be a reference >> platform driver for DesignWare PCIe RC, I don't know if merging some of the >> driver'

Re: [PATCH v8 2/2] add new platform driver for PCI RC

2016-02-05 Thread Joao Pinto
On 2/5/2016 2:39 PM, Arnd Bergmann wrote: > On Friday 05 February 2016 10:44:29 Joao Pinto wrote: >> Hi, >> >> On 2/4/2016 11:43 PM, Bjorn Helgaas wrote: >>>> What do you think? >>> >>> I don't think the "dw" part is rele

[PATCH v3] synopsys pcie rc generic platform driver update

2016-02-05 Thread Joao Pinto
This patch tries to improve the host/pcie-synopsys branch including a new driver name, more accurate documentation and centralized link up validation. Other platform drivers were also updated to include the new centralized link up validation function. Signed-off-by: Joao Pinto <

Re: [PATCH v8 2/2] add new platform driver for PCI RC

2016-02-05 Thread Joao Pinto
Hi, On 2/4/2016 11:43 PM, Bjorn Helgaas wrote: >> What do you think? > > I don't think the "dw" part is relevant (none of the other > DesignWare-based drivers includes it in the driver or file name). > > How do people typically refer to this board? > > I really like "synopsys" because it fits

[PATCH] synopsys pcie rc generic platform driver update

2016-02-05 Thread Joao Pinto
synopsys_pcie_irq_handler() was removed - Driver compatibility strings updated Signed-off-by: Joao Pinto <jpi...@synopsys.com> --- .../bindings/pci/pcie-designware-pltfm.txt | 37 +++ .../devicetree/bindings/pci/pcie-synopsys.txt | 33 --- drivers/pci/host/K

Re: [PATCH v8 2/2] add new platform driver for PCI RC

2016-02-04 Thread Joao Pinto
Hi Bjorn, On 2/4/2016 6:19 PM, Bjorn Helgaas wrote: > On Thu, Feb 04, 2016 at 03:52:10PM +0000, Joao Pinto wrote: >> This patch adds a new driver that will be the reference platform driver >> for all PCI RC IP Protoyping Kits based on ARC SDP. >> >> Signed-off-by: Joao

[PATCH v8 2/2] add new platform driver for PCI RC

2016-02-04 Thread Joao Pinto
This patch adds a new driver that will be the reference platform driver for all PCI RC IP Protoyping Kits based on ARC SDP. Signed-off-by: Joao Pinto --- Change v7 -> v8 (Bjorn Helgaas and Arnd Bergmann): - driver name was changed from pcie-synopsys to pcie-dw-pltfm - mdelay() repla

[PATCH v8 1/2] PCI support added to ARC

2016-02-04 Thread Joao Pinto
This patch adds PCI support to ARC and updates drivers/pci Makefile enabling the ARC arch to use the generic PCI setup functions. Signed-off-by: Joao Pinto --- Change v7 -> v8: - Nothing changed (just to keep up with patch set version). Change v6 -> v7 (Bjorn Helgaas): - Parenthesis remove

[PATCH v8 0/2] adding PCI support to AXS10x

2016-02-04 Thread Joao Pinto
were produced against Bjorn Helgaas' repository. It was properly tested in an IP Prototyping Kit. Joao Pinto (2): PCI support added to ARC add new platform driver for PCI RC .../devicetree/bindings/pci/pcie-dw-pltfm.txt | 36 +++ MAINTAINERS| 7

Re: [PATCH v7 2/2] add new platform driver for PCI RC

2016-02-04 Thread Joao Pinto
Hi Bjorn and Arnd, Removing the irq_handler causes the irq request to fail because in request_threaded_irq() both handler and thread_fn are NULL. What's the typical procedure for this? Joao On 2/4/2016 11:14 AM, Joao Pinto wrote: > Hi Bjorn, > > On 2/3/2016 6:38 PM, Bjorn Helg

Re: [PATCH v7 2/2] add new platform driver for PCI RC

2016-02-04 Thread Joao Pinto
Hi Bjorn, On 2/3/2016 6:38 PM, Bjorn Helgaas wrote: > On Wed, Feb 03, 2016 at 06:12:00PM +0000, Joao Pinto wrote: >> Hi Bjorn, >> >> Are these tasks enough? >> >> - replace mdelay() for msleep() >> - remove synopsys_pcie_irq_handler() > > Above are fine with me. Ok, I'll to that. Thanks.

Re: [PATCH v7 2/2] add new platform driver for PCI RC

2016-02-04 Thread Joao Pinto
Hi Arnd and Bjorn, On 2/3/2016 9:01 PM, Arnd Bergmann wrote: > On Wednesday 03 February 2016 12:38:44 Bjorn Helgaas wrote: >> On Wed, Feb 03, 2016 at 06:12:00PM +0000, Joao Pinto wrote: >> >>> - replace "snps,pcie-synopsys" for "snps,pcie-synopsys-

Re: [PATCH v7 2/2] add new platform driver for PCI RC

2016-02-04 Thread Joao Pinto
Hi Arnd and Bjorn, On 2/3/2016 9:01 PM, Arnd Bergmann wrote: > On Wednesday 03 February 2016 12:38:44 Bjorn Helgaas wrote: >> On Wed, Feb 03, 2016 at 06:12:00PM +0000, Joao Pinto wrote: >> >>> - replace "snps,pcie-synopsys" for "snps,pcie-synopsys-

Re: [PATCH v7 2/2] add new platform driver for PCI RC

2016-02-04 Thread Joao Pinto
Hi Bjorn, On 2/3/2016 6:38 PM, Bjorn Helgaas wrote: > On Wed, Feb 03, 2016 at 06:12:00PM +0000, Joao Pinto wrote: >> Hi Bjorn, >> >> Are these tasks enough? >> >> - replace mdelay() for msleep() >> - remove synopsys_pcie_irq_handler() > > Above are fine with me. Ok, I'll to that. Thanks.

<    2   3   4   5   6   7   8   >