>From: linux-devel-boun...@gforge.freescale.net [mailto:linux-devel-
>boun...@gforge.freescale.net] On Behalf Of yinbo@nxp.com
>Subject: [linux-devel] [PATCH 1/3] dts: usb3: Add configure-gfladj property to
>USB3
>nod
>
>From: "yinbo.zhu"
>
>Signed-off-by: yinbo.zhu
>From: Changming Huang [mailto:jerry.hu...@nxp.com]
>As per USB specification, in the Suspend state, the status bit does not change
>until
>the port is suspended. However, there may be a delay in suspending a port if
>there
>is a transaction currently in progress on the bus.
>
>In the USBDR
anagement) and a new pointer (used for DMA,
DT enumeration and phy lookup) probably covers all that we really
need.
Signed-off-by: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
Tested-by: Baolin Wang <baolin.w...@linaro.org>
Cc: Felipe Balbi <fe
From: Arnd Bergmann <a...@arndb.de>
The dma ops for dwc3 devices are not set properly. So, use a
physical device sysdev, which will be inherited from parent,
to set the hardware / firmware parameters like dma.
Signed-off-by: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Da
: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
Tested-by: Baolin Wang <baolin.w...@linaro.org>
---
Changes in v5:
- No update
Changes in v4:
- No update
Changes in v3:
- No update
Changes in v2:
- Separate out xhci driver changes apart
dri
From: Arnd Bergmann <a...@arndb.de>
For the dual role ehci fsl driver, sysdev will handle the dma
config.
Signed-off-by: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
---
Changes in v5:
- No update
Changes in v4:
- No update
Changes in v
From: Arnd Bergmann <a...@arndb.de>
Set the dma for chipidea from sysdev. This is inherited from its
parent node. Also, do not set dma mask for child as it is not required
now.
Signed-off-by: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
Ac
From: Arnd Bergmann <a...@arndb.de>
The dma mask is correctly set up by the DT probe function, no
need to override it any more.
Signed-off-by: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
---
Changes in v5:
- No update
Changes in v4:
-
For xhci-hcd platform device, all the DMA parameters are not
configured properly, notably dma ops for dwc3 devices.
The idea here is that you pass in the parent of_node along
with the child device pointer, so it would behave exactly
like the parent already does. The difference is that it also
>From: Scott Wood
>On 11/15/2016 06:39 AM, Sriram Dash wrote:
>>> From: Scott Wood
>>> On 11/13/2016 11:27 PM, Sriram Dash wrote:
>>>> diff --git
>>>> a/Documentation/devicetree/bindings/phy/phy-qoriq-usb3.txt
>>>> b/Documentation/d
>From: Rob Herring [mailto:r...@kernel.org]
>On Mon, Nov 14, 2016 at 10:56:54AM +0530, Sriram Dash wrote:
>> Adds qoriq usb 3.0 phy driver support for LS1043A platform.
>> Describes the qoriq usb 2.0 phy driver binding, currently used for
>> LS1043A platform.
>>
From: Arnd Bergmann <a...@arndb.de>
Set the dma for chipidea from sysdev. This is inherited from its
parent node. Also, do not set dma mask for child as it is not required
now.
Signed-off-by: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
Ac
: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
Tested-by: Baolin Wang <baolin.w...@linaro.org>
---
Changes in v4:
- No update
Changes in v3:
- No update
Changes in v2:
- Separate out xhci driver changes apart
drivers/usb/host/xhci-mem.c | 12 +
From: Arnd Bergmann <a...@arndb.de>
For the dual role ehci fsl driver, sysdev will handle the dma
config.
Signed-off-by: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
---
Changes in v4:
- No update
Changes in v3:
- fix compile errors
Chan
From: Arnd Bergmann <a...@arndb.de>
The dma ops for dwc3 devices are not set properly. So, use a
physical device sysdev, which will be inherited from parent,
to set the hardware / firmware parameters like dma.
Signed-off-by: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Da
From: Arnd Bergmann <a...@arndb.de>
The dma mask is correctly set up by the DT probe function, no
need to override it any more.
Signed-off-by: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
---
Changes in v4:
- No update
Changes in v3:
-
For xhci-hcd platform device, all the DMA parameters are not
configured properly, notably dma ops for dwc3 devices.
The idea here is that you pass in the parent of_node along
with the child device pointer, so it would behave exactly
like the parent already does. The difference is that it also
anagement) and a new pointer (used for DMA,
DT enumeration and phy lookup) probably covers all that we really
need.
Signed-off-by: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
Tested-by: Baolin Wang <baolin.w...@linaro.org>
Cc: Felipe Balbi <fe
>From: Peter Chen [mailto:hzpeterc...@gmail.com]
>On Fri, Nov 11, 2016 at 09:31:09PM +0100, Arnd Bergmann wrote:
>> On Thursday, November 10, 2016 1:02:11 PM CET Felipe Balbi wrote:
>> > > @@ -123,8 +119,8 @@ int dwc3_host_init(struct dwc3 *dwc) void
>> > > dwc3_host_exit(struct dwc3 *dwc) {
>>
Adds qoriq usb 3.0 phy driver support for LS1043A platform.
Describes the qoriq usb 2.0 phy driver binding, currently used
for LS1043A platform.
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
---
.../devicetree/bindings/phy/phy-qoriq-usb3.txt | 36
drivers/phy/K
This patch adds entries in dts to enable USB 3.0 PHY driver.
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
---
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 33 ++
1 file changed, 33 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
Adds qoriq usb 3.0 phy driver support for LS1043A platform.
Describes the qoriq usb 2.0 phy driver binding, currently used
for LS1043A platform.
Adds entries in dts to enable USB 3.0 phy driver.
Sriram Dash (2):
drivers: usb: phy: Add qoriq usb 3.0 phy driver support
arm64: dts: ls1043a
>From: Baolin Wang [mailto:baolin.w...@linaro.org]
>
>Hi,
>
>On 10 November 2016 at 16:20, Sriram Dash <sriram.d...@nxp.com> wrote:
>> From: Arnd Bergmann <a...@arndb.de>
>>
>> The dma ops for dwc3 devices are not set properly. So, use a physical
&
>From: Felipe Balbi [mailto:felipe.ba...@linux.intel.com]
>
>
>Hi,
Hello Felipe,
>
>Sriram Dash <sriram.d...@nxp.com> writes:
>> From: Arnd Bergmann <a...@arndb.de>
>>
>> The dma ops for dwc3 devices are not set properly. So, use a physical
>&
From: Arnd Bergmann <a...@arndb.de>
The dma mask is correctly set up by the DT probe function, no
need to override it any more.
Signed-off-by: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
---
Changes in v3:
- No update
Changes in v2:
: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
---
Changes in v3:
- No update
Changes in v2:
- Separate out xhci driver changes apart
drivers/usb/host/xhci-mem.c | 12 ++--
drivers/usb/host/xhci-plat.c | 33 ++---
From: Arnd Bergmann <a...@arndb.de>
Set the dma for chipidea from sysdev. This is inherited from its
parent node. Also, do not set dma mask for child as it is not required
now.
Signed-off-by: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
Ac
anagement) and a new pointer (used for DMA,
DT enumeration and phy lookup) probably covers all that we really
need.
Signed-off-by: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
Cc: Felipe Balbi <felipe.ba...@linux.intel.com>
Cc: Grygorii Strashko &l
From: Arnd Bergmann <a...@arndb.de>
For the dual role ehci fsl driver, sysdev will handle the dma
config.
Signed-off-by: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
---
Changes in v3:
- fix compile errors
Changes in v2:
- fix compile warn
For xhci-hcd platform device, all the DMA parameters are not
configured properly, notably dma ops for dwc3 devices.
The idea here is that you pass in the parent of_node along
with the child device pointer, so it would behave exactly
like the parent already does. The difference is that it also
From: Arnd Bergmann <a...@arndb.de>
The dma ops for dwc3 devices are not set properly. So, use a
physical device sysdev, which will be inherited from parent,
to set the hardware / firmware parameters like dma.
Signed-off-by: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Da
>From: Sriram Dash [mailto:sriram.d...@nxp.com]
>From: Arnd Bergmann <a...@arndb.de>
>
>For the dual role ehci fsl driver, sysdev will handle the dma config.
>
>Signed-off-by: Arnd Bergmann <a...@arndb.de>
>Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
---
Changes in v2:
- Separate out xhci driver changes apart
drivers/usb/host/xhci-mem.c | 12 ++--
drivers/usb/host/xhci-plat.c | 33 ++---
drivers/usb/hos
For xhci-hcd platform device, all the DMA parameters are not
configured properly, notably dma ops for dwc3 devices.
The idea here is that you pass in the parent of_node along
with the child device pointer, so it would behave exactly
like the parent already does. The difference is that it also
From: Arnd Bergmann <a...@arndb.de>
The dma mask is correctly set up by the DT probe function, no
need to override it any more.
Signed-off-by: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
---
Changes in v2:
- club the cleanup for dma cohere
From: Arnd Bergmann <a...@arndb.de>
Set the dma for chipidea from sysdev. This is inherited from its
parent node. Also, do not set dma mask for child as it is not required
now.
Signed-off-by: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
From: Arnd Bergmann <a...@arndb.de>
The dma ops for dwc3 devices are not set properly. So, use a
physical device sysdev, which will be inherited from parent,
to set the hardware / firmware parameters like dma.
Signed-off-by: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Da
anagement) and a new pointer (used for DMA,
DT enumeration and phy lookup) probably covers all that we really
need.
Signed-off-by: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
Cc: Felipe Balbi <felipe.ba...@linux.intel.com>
Cc: Grygorii Strashko &l
From: Arnd Bergmann <a...@arndb.de>
For the dual role ehci fsl driver, sysdev will handle the dma
config.
Signed-off-by: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
---
Changes in v2:
- fix compile warnings
drivers/usb/host/ehci-fsl.
>From: Arnd Bergmann [mailto:a...@arndb.de]
>On Tuesday, October 25, 2016 4:26:28 PM CEST Sriram Dash wrote:
>> Do not use dma_coerce_mask_and_coherent for hcd.
>>
>> Signed-off-by: Arnd Bergmann <a...@arndb.de>
>
>The patch is good, but please follow th
>From: Arnd Bergmann [mailto:a...@arndb.de]
>On Tuesday, October 25, 2016 4:26:27 PM CEST Sriram Dash wrote:
>> Do not require dma_set_coherent_mask for hcd
>>
>> Signed-off-by: Arnd Bergmann <a...@arndb.de>
>
>Aside from the comments I had for patch 3, you
>From: Mathias Nyman [mailto:mathias.ny...@linux.intel.com]
>On 25.10.2016 13:45, Sriram Dash wrote:
>> For the USB3.0 controller, USB 2.0 reset not driven while port is in
>> Resume state. So, do not program the USB 2.0 reset
>> (PORTSC[PR]=1) while in Resume state.
&g
ned-off-by: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
Cc: Felipe Balbi <felipe.ba...@linux.intel.com>
Cc: Grygorii Strashko <grygorii.stras...@ti.com>
Cc: Sinjan Kumar <sinj...@codeaurora.org>
Cc: David Fisher <david.fish.
handles all the other attributes besides
the mask.
Sriram Dash (3):
usb: dwc3: host: inherit dma configuration from parent dev
usb: dwc3: host: Do not use dma_set_coherent_mask
usb: dwc3: host: Do not use dma_coerce_mask_and_coherent
drivers/usb/chipidea/core.c| 3 ---
drivers/usb
Do not require dma_set_coherent_mask for hcd
Signed-off-by: Arnd Bergmann
---
drivers/usb/chipidea/core.c | 3 ---
drivers/usb/dwc3/core.c | 6 --
drivers/usb/dwc3/dwc3-st.c | 1 -
drivers/usb/dwc3/host.c | 4
4 files changed, 14 deletions(-)
diff --git
For the USB3.0 controller, USB 2.0 reset not driven while
port is in Resume state. So, do not program the USB 2.0 reset
(PORTSC[PR]=1) while in Resume state.
Signed-off-by: Rajat Srivastava <rajat.srivast...@nxp.com>
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
Signed-off-by: R
Do not use dma_coerce_mask_and_coherent for hcd.
Signed-off-by: Arnd Bergmann
---
drivers/usb/dwc3/dwc3-exynos.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/drivers/usb/dwc3/dwc3-exynos.c b/drivers/usb/dwc3/dwc3-exynos.c
index 2f1fb7e..e27899b 100644
---
>From: Alan Stern [mailto:st...@rowland.harvard.edu]
>On Fri, 21 Oct 2016, Sriram Dash wrote:
>
>> For the USB3.0 controller, USB 2.0 reset not driven while port is in
>> Resume state. So, do not program the USB 2.0 reset
>> (PORTSC[PR]=1) while in Resume state.
>From: Stephen Boyd [mailto:sb...@codeaurora.org]
>On 10/21, Bjorn Andersson wrote:
>> hcd_alloc_coherent() and usb_alloc_coherent() ends up allocating
>> coherent memory on behalf of ci_hdrc driver. But as the ci_hdrc is
>> instantiated manually it will not have any dma_mem or dma_ops
>>
For the USB3.0 controller, USB 2.0 reset not driven while
port is in Resume state. So, do not program the USB 2.0 reset
(PORTSC[PR]=1) while in Resume state.
Signed-off-by: Rajat Srivastava <rajat.srivast...@nxp.com>
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
Signed-off-by: R
>From: Arnd Bergmann [mailto:a...@arndb.de]
>On Wednesday, September 21, 2016 11:43:59 AM CEST Sriram Dash wrote:
>> >From: Arnd Bergmann [mailto:a...@arndb.de] On Wednesday, September
>> >21, 2016 11:06:47 A
>From: Arnd Bergmann [mailto:a...@arndb.de]
>On Wednesday, September 21, 2016 11:06:47 AM CEST Sriram Dash wrote:
>>
>> Hello Arnd,
>>
>> We tried this patch on NXP platforms (ls2085 and ls1043) which use
>> dwc3 controller without any glue layer. On first
>From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb-ow...@vger.kernel.org]
>On Wednesday, September 7, 2016 1:24:07 PM CEST Felipe Balbi wrote:
>>
>> Hi,
>>
>> Arnd Bergmann writes:
>>
>> [...]
>>
>> > Regarding the DMA configuration that you mention in
>> >
Change Power architecture specific APIs such as in_be32/out_be32
for registers read/write. Instead using ioread/writebe32 which are
defined for power as well as arm architecture
Signed-off-by: Nikhil Badola <nikhil.bad...@freescale.com>
Signed-off-by: Sriram Dash <sriram.d...@free
Set DMA_MASK of usb platform device properly.
Signed-off-by: Sriram Dash <sriram.d...@freescale.com>
Signed-off-by: Ramneek Mehresh <ramneek.mehr...@freescale.com>
---
drivers/usb/host/fsl-mph-dr-of.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/
55 matches
Mail list logo