RE: [PATCH] usb: dwc3: host: inherit dma configuration from parent dev

2016-09-21 Thread Sriram Dash
>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 >> > ci_hdrc_add_device(), I think we s

RE: [PATCH] usb: dwc3: host: inherit dma configuration from parent dev

2016-09-21 Thread Sriram Dash
>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

RE: [PATCH] usb: dwc3: host: inherit dma configuration from parent dev

2016-09-22 Thread Sriram Dash
>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

[PATCH] arm64: dts: Add support for NXP's LX2160A SoC

2017-08-18 Thread Sriram Dash
ID (VID) for yield improvement Signed-off-by: Sriram Dash --- Documentation/devicetree/bindings/arm/fsl.txt | 8 + arch/arm64/boot/dts/freescale/Makefile | 1 + arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 240 + arch/arm64/boot/dts/freescale/fsl-lx2qds1

[PATCH] MAINTAINERS: Update MCAN MMIO device driver maintainer

2021-01-04 Thread Sriram Dash
Update Pankaj Sharma as maintainer for mcan mmio device driver as I will be moving to a different role. Signed-off-by: Sriram Dash --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 6eff4f7..45cea57 100644 --- a/MAINTAINERS +++ b

[PATCH] drivers/usb : Set DMA_MASK of usb platform device

2015-12-17 Thread Sriram Dash
Set DMA_MASK of usb platform device properly. Signed-off-by: Sriram Dash Signed-off-by: Ramneek Mehresh --- drivers/usb/host/fsl-mph-dr-of.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/usb/host/fsl-mph-dr-of.c b/drivers/usb/host/fsl-mph-dr-of.c index

[PATCH] drivers/usb : Port USB EHCI host driver for LS102xA

2015-12-18 Thread Sriram Dash
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 Signed-off-by: Sriram Dash Signed-off-by: Ramneek Mehresh --- drivers/usb/host/ehci

[PATCH] base: power: domain.c: fixed a typo error

2015-05-25 Thread Sriram Dash
From: dashsriram Fixed a typo error in the file Signed-off-by: Sriram Dash --- drivers/base/power/domain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index 2327613..10aa00c 100644 --- a/drivers/base/power

[PATCH 2/2] base: power : opp.c: fixed a typo error

2015-05-26 Thread Sriram Dash
From: dashsriram Fixed a typo error in the file Signed-off-by: Sriram Dash --- drivers/base/power/opp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/base/power/opp.c b/drivers/base/power/opp.c index 677fb28..300941b 100644 --- a/drivers/base/power/opp.c

[PATCH 3/3] base: power: qos.c: Fixed a typo error

2015-05-26 Thread Sriram Dash
From: dashsriram Fixed a typo error in the file Signed-off-by: Sriram Dash --- drivers/base/power/qos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/power/qos.c b/drivers/base/power/qos.c index e56d538..d23ea4b 100644 --- a/drivers/base/power/qos.c +++ b

[PATCH 4/4] base: power: runtime.c: Fixed a typo error

2015-05-26 Thread Sriram Dash
From: dashsriram Fixed a typo error in the file Signed-off-by: Sriram Dash --- drivers/base/power/runtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/power/runtime.c b/drivers/base/power/runtime.c index 5070c4f..7597741 100644 --- a/drivers/base/power

[PATCH 5/5] base: power: wakeup.c: Fixed a typo error

2015-05-26 Thread Sriram Dash
From: dashsriram Fixed a typo error in the file Signed-off-by: Sriram Dash --- drivers/base/power/wakeup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/power/wakeup.c b/drivers/base/power/wakeup.c index 7726200..19a216e 100644 --- a/drivers/base/power

[PATCH 7/7] base: regmap: regmap-irq.c: Fixed a typo error

2015-05-26 Thread Sriram Dash
From: dashsriram Fixed a typo error in the file Signed-off-by: Sriram Dash --- drivers/base/regmap/regmap-irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/regmap/regmap-irq.c b/drivers/base/regmap/regmap-irq.c index 21888af..8bc6f79 100644 --- a/drivers

[PATCH 6/6] base: regmap: regmap-irq.c: Fixed a typo error

2015-05-26 Thread Sriram Dash
From: dashsriram Fixed a typo error in the file Signed-off-by: Sriram Dash --- drivers/base/regmap/regmap-irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/regmap/regmap-irq.c b/drivers/base/regmap/regmap-irq.c index a6c3f75..016914f 100644 --- a/drivers

[PATCH 7/7] base:regmap:regmap.c: Fixed a typo error

2015-05-26 Thread Sriram Dash
From: dashsriram Fixed a typo error in the file Signed-off-by: Sriram Dash --- drivers/base/regmap/regmap.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index 6273ff0..316d3d7 100644 --- a/drivers

RE: [PATCH] fsl/usb: Workarourd for USB erratum-A005697

2016-11-24 Thread Sriram Dash
>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 contr

[PATCH] T4/B4: add aliases for usb nodes

2016-06-10 Thread Sriram Dash
From: Sriram Dash Add usb aliases for consistency with the other platforms. Signed-off-by: Laurentiu Tudor Signed-off-by: Sriram Dash --- arch/powerpc/boot/dts/fsl/b4420si-pre.dtsi| 1 + arch/powerpc/boot/dts/fsl/b4860si-pre.dtsi| 1 + arch/powerpc/boot/dts/fsl/qonverge-usb2

[PATCH] powerpc: dts: t1040si: Change T1040si USB controller version

2016-06-10 Thread Sriram Dash
From: Sriram Dash Change USB controller version name to 2.5 in compatible string for T1040 Signed-off-by: Sriram Dash --- arch/powerpc/boot/dts/fsl/t1040si-post.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi b/arch

RE: [PATCH 2/3] usb: dwc3: host: Do not use dma_set_coherent_mask

2016-10-26 Thread Sriram Dash
>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 > >Aside from the comments I had for patch 3, you are doing two different t

RE: [PATCH 3/3] usb: dwc3: host: Do not use dma_coerce_mask_and_coherent

2016-10-27 Thread Sriram Dash
>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 > >The patch is good, but please follow the usual rules for subm

[PATCH v4 1/6] usb: separate out sysdev pointer from usb_bus

2016-11-15 Thread Sriram Dash
ter (used for DMA, DT enumeration and phy lookup) probably covers all that we really need. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash Tested-by: Baolin Wang Cc: Felipe Balbi Cc: Grygorii Strashko Cc: Sinjan Kumar Cc: David Fisher Cc: Catalin Marinas Cc: "Thang Q. Ngu

[PATCH v4 0/6] inherit dma configuration from parent dev

2016-11-15 Thread Sriram Dash
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 hand

[PATCH v4 6/6] usb: dwc3: Do not set dma coherent mask

2016-11-15 Thread Sriram Dash
From: Arnd Bergmann The dma mask is correctly set up by the DT probe function, no need to override it any more. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash --- Changes in v4: - No update Changes in v3: - No update Changes in v2: - club the cleanup for dma coherent mask for

[PATCH v4 5/6] usb: dwc3: use bus->sysdev for DMA configuration

2016-11-15 Thread Sriram Dash
From: Arnd Bergmann 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 Signed-off-by: Sriram Dash Signed-off-by: Felipe Balbi Tested-by

[PATCH v4 3/6] usb: ehci: fsl: use bus->sysdev for DMA configuration

2016-11-15 Thread Sriram Dash
From: Arnd Bergmann For the dual role ehci fsl driver, sysdev will handle the dma config. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash --- Changes in v4: - No update Changes in v3: - fix compile errors Changes in v2: - fix compile warnings drivers/usb/host/ehci-fsl.c | 4

[PATCH v4 4/6] usb: xhci: use bus->sysdev for DMA configuration

2016-11-15 Thread Sriram Dash
-by: Sriram Dash Tested-by: Baolin Wang --- 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 ++-- drivers/usb/host/xhci-plat.c | 33 ++--- drivers/usb/host

[PATCH v4 2/6] usb: chipidea: use bus->sysdev for DMA configuration

2016-11-15 Thread Sriram Dash
From: Arnd Bergmann 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 Signed-off-by: Sriram Dash Acked-by: Peter Chen --- Changes in v4: - No update Changes in v3

RE: [PATCH 1/2] drivers: usb: phy: Add qoriq usb 3.0 phy driver support

2016-11-16 Thread Sriram Dash
>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. >>

RE: [upstream-release] [PATCH 1/2] drivers: usb: phy: Add qoriq usb 3.0 phy driver support

2016-11-16 Thread Sriram Dash
>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

[PATCH v5 6/6] usb: dwc3: Do not set dma coherent mask

2016-11-17 Thread Sriram Dash
From: Arnd Bergmann The dma mask is correctly set up by the DT probe function, no need to override it any more. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash --- Changes in v5: - No update Changes in v4: - No update Changes in v3: - No update Changes in v2: - club the

[PATCH v5 0/6] inherit dma configuration from parent dev

2016-11-17 Thread Sriram Dash
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 hand

[PATCH v5 3/6] usb: ehci: fsl: use bus->sysdev for DMA configuration

2016-11-17 Thread Sriram Dash
From: Arnd Bergmann For the dual role ehci fsl driver, sysdev will handle the dma config. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash --- Changes in v5: - No update Changes in v4: - No update Changes in v3: - fix compile errors Changes in v2: - fix compile warnings

[PATCH v5 2/6] usb: chipidea: use bus->sysdev for DMA configuration

2016-11-17 Thread Sriram Dash
From: Arnd Bergmann 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 Signed-off-by: Sriram Dash Acked-by: Peter Chen --- Changes in v5: - No update Changes in v4

[PATCH v5 5/6] usb: dwc3: use bus->sysdev for DMA configuration

2016-11-17 Thread Sriram Dash
From: Arnd Bergmann 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 Signed-off-by: Sriram Dash Tested-by: Baolin Wang --- Changes in v5

[PATCH v5 1/6] usb: separate out sysdev pointer from usb_bus

2016-11-17 Thread Sriram Dash
ter (used for DMA, DT enumeration and phy lookup) probably covers all that we really need. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash Tested-by: Baolin Wang Cc: Felipe Balbi Cc: Grygorii Strashko Cc: Sinjan Kumar Cc: David Fisher Cc: Catalin Marinas Cc: "Thang Q. Ngu

[PATCH v5 4/6] usb: xhci: use bus->sysdev for DMA configuration

2016-11-17 Thread Sriram Dash
-by: Sriram Dash Tested-by: Baolin Wang --- Changes in v5: - No update 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 ++-- drivers/usb/host/xhci-plat.c | 33

RE: [PATCH v3 5/6] usb: dwc3: use bus->sysdev for DMA configuration

2016-11-13 Thread Sriram Dash
>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) { >> >

[PATCH 2/2] arm64: dts: ls1043a: Enable USB 3.0 phy driver

2016-11-13 Thread Sriram Dash
This patch adds entries in dts to enable USB 3.0 PHY driver. Signed-off-by: Sriram Dash --- 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 b/arch/arm64/boot/dts

[PATCH 0/2] drivers: usb: phy: Add qoriq usb 3.0 phy driver support

2016-11-13 Thread Sriram Dash
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

[PATCH 1/2] drivers: usb: phy: Add qoriq usb 3.0 phy driver support

2016-11-13 Thread Sriram Dash
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 --- .../devicetree/bindings/phy/phy-qoriq-usb3.txt | 36 drivers/phy/Kconfig| 8

RE: [upstream-release] [PATCH 1/2] drivers: usb: phy: Add qoriq usb 3.0 phy driver support

2016-11-15 Thread Sriram Dash
>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/devicetree/bindings/phy/phy-qoriq-usb3.txt >> new file mode 100644 >> index 000..d934c80 >> --- /dev/nu

[PATCH] usb: xhci: Workaround for erratum-A010129

2016-10-21 Thread Sriram Dash
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 Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- drivers/usb/host/xhci-hub.c | 28

RE: [RESEND PATCH] usb: chipidea: Configure DMA properties and ops from DT

2016-10-21 Thread Sriram Dash
>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 >> assigned,

RE: [PATCH] usb: xhci: Workaround for erratum-A010129

2016-10-23 Thread Sriram Dash
>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.

[PATCH v3 5/6] usb: dwc3: use bus->sysdev for DMA configuration

2016-11-10 Thread Sriram Dash
From: Arnd Bergmann 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 Signed-off-by: Sriram Dash --- Changes in v3: - No update Changes

[PATCH v3 0/6] inherit dma configuration from parent dev

2016-11-10 Thread Sriram Dash
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 hand

[PATCH v3 1/6] usb: separate out sysdev pointer from usb_bus

2016-11-10 Thread Sriram Dash
ter (used for DMA, DT enumeration and phy lookup) probably covers all that we really need. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash Cc: Felipe Balbi Cc: Grygorii Strashko Cc: Sinjan Kumar Cc: David Fisher Cc: Catalin Marinas Cc: "Thang Q. Nguyen" Cc: Yoshihir

[PATCH v3 3/6] usb: ehci: fsl: use bus->sysdev for DMA configuration

2016-11-10 Thread Sriram Dash
From: Arnd Bergmann For the dual role ehci fsl driver, sysdev will handle the dma config. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash --- Changes in v3: - fix compile errors Changes in v2: - fix compile warnings drivers/usb/host/ehci-fsl.c | 4 ++-- 1 file changed, 2

[PATCH v3 2/6] usb: chipidea: use bus->sysdev for DMA configuration

2016-11-10 Thread Sriram Dash
From: Arnd Bergmann 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 Signed-off-by: Sriram Dash Acked-by: Peter Chen --- Changes in v3: - No update Changes in v2

[PATCH v3 4/6] usb: xhci: use bus->sysdev for DMA configuration

2016-11-10 Thread Sriram Dash
-by: Sriram Dash --- 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 ++--- drivers/usb/host/xhci.c | 15 +++ 3 files changed, 43

[PATCH v3 6/6] usb: dwc3: Do not set dma coherent mask

2016-11-10 Thread Sriram Dash
From: Arnd Bergmann The dma mask is correctly set up by the DT probe function, no need to override it any more. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash --- Changes in v3: - No update Changes in v2: - club the cleanup for dma coherent mask for device drivers/usb/dwc3

RE: [PATCH v3 5/6] usb: dwc3: use bus->sysdev for DMA configuration

2016-11-11 Thread Sriram Dash
>From: Felipe Balbi [mailto:felipe.ba...@linux.intel.com] > > >Hi, Hello Felipe, > >Sriram Dash writes: >> From: Arnd Bergmann >> >> The dma ops for dwc3 devices are not set properly. So, use a physical >> device sysdev, which will be inherited from

RE: [PATCH v3 5/6] usb: dwc3: use bus->sysdev for DMA configuration

2016-11-11 Thread Sriram Dash
>From: Baolin Wang [mailto:baolin.w...@linaro.org] > >Hi, > >On 10 November 2016 at 16:20, Sriram Dash wrote: >> From: Arnd Bergmann >> >> The dma ops for dwc3 devices are not set properly. So, use a physical >> device sysdev, which will be inheri

[PATCH v2 2/6] usb: chipidea: use bus->sysdev for DMA configuration

2016-11-01 Thread Sriram Dash
From: Arnd Bergmann 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 Signed-off-by: Sriram Dash --- Changes in v2: - integrate chipidea driver changes together. drivers

[PATCH v2 5/6] usb: dwc3: use bus->sysdev for DMA configuration

2016-11-01 Thread Sriram Dash
From: Arnd Bergmann 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 Signed-off-by: Sriram Dash --- Changes in v2: - integrate dwc3

[PATCH v2 3/6] usb: ehci: fsl: use bus->sysdev for DMA configuration

2016-11-01 Thread Sriram Dash
From: Arnd Bergmann For the dual role ehci fsl driver, sysdev will handle the dma config. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash --- Changes in v2: - fix compile warnings drivers/usb/host/ehci-fsl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a

[PATCH v2 1/6] usb: separate out sysdev pointer from usb_bus

2016-11-01 Thread Sriram Dash
ter (used for DMA, DT enumeration and phy lookup) probably covers all that we really need. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash Cc: Felipe Balbi Cc: Grygorii Strashko Cc: Sinjan Kumar Cc: David Fisher Cc: Catalin Marinas Cc: "Thang Q. Nguyen" Cc: Yoshihir

[PATCH v2 6/6] usb: dwc3: Do not set dma coherent mask

2016-11-01 Thread Sriram Dash
From: Arnd Bergmann The dma mask is correctly set up by the DT probe function, no need to override it any more. Signed-off-by: Arnd Bergmann Signed-off-by: Sriram Dash --- Changes in v2: - club the cleanup for dma coherent mask for device drivers/usb/dwc3/dwc3-exynos.c | 10

[PATCH v2 0/6] inherit dma configuration from parent dev

2016-11-01 Thread Sriram Dash
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 hand

[PATCH v2 4/6] usb: xhci: use bus->sysdev for DMA configuration

2016-11-01 Thread Sriram Dash
-by: Sriram Dash --- 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/host/xhci.c | 15 +++ 3 files changed, 43 insertions(+), 17 deletions

[PATCH 3/3] usb: dwc3: host: Do not use dma_coerce_mask_and_coherent

2016-10-25 Thread Sriram Dash
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 --- a/drivers/usb/dwc3/dwc

[PATCH v2] usb: xhci: Don't drive port 2.0 reset while resuming

2016-10-25 Thread Sriram Dash
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 Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- Changes in v2: - Remove the quirk and make

[PATCH 0/3] inherit dma configuration from parent dev

2016-10-25 Thread Sriram Dash
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

[PATCH 2/3] usb: dwc3: host: Do not use dma_set_coherent_mask

2016-10-25 Thread Sriram Dash
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 a/drivers/usb/chipidea/

[PATCH 1/3] usb: dwc3: host: inherit dma configuration from parent dev

2016-10-25 Thread Sriram Dash
ned-off-by: Arnd Bergmann Signed-off-by: Sriram Dash Cc: Felipe Balbi Cc: Grygorii Strashko Cc: Sinjan Kumar Cc: David Fisher Cc: Catalin Marinas Cc: "Thang Q. Nguyen" Cc: Yoshihiro Shimoda Cc: Stephen Boyd Cc: Bjorn Andersson Cc: Ming Lei Cc: Jon Masters Cc: Dann Frazier C

RE: [PATCH v2] usb: xhci: Don't drive port 2.0 reset while resuming

2016-10-26 Thread Sriram Dash
>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

RE: [PATCH v2 3/6] usb: ehci: fsl: use bus->sysdev for DMA configuration

2016-11-02 Thread Sriram Dash
>From: Sriram Dash [mailto:sriram.d...@nxp.com] >From: Arnd Bergmann > >For the dual role ehci fsl driver, sysdev will handle the dma config. > >Signed-off-by: Arnd Bergmann >Signed-off-by: Sriram Dash >--- >Changes in v2: > - fix compile warnings > > > d

RE: [PATCH] PCI: endpoint: Fix NULL pointer dereference for ->get_features()

2020-07-06 Thread Sriram Dash
> From: Lorenzo Pieralisi > Sent: 06 July 2020 16:47 > Subject: Re: [PATCH] PCI: endpoint: Fix NULL pointer dereference for - > >get_features() > > On Thu, Apr 02, 2020 at 08:01:59PM +0530, Sriram Dash wrote: > > [...] > > > > So the patch itself is

RE: [linux-devel] [PATCH 1/3] dts: usb3: Add configure-gfladj property to USB3 nod

2017-08-11 Thread Sriram Dash
>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 >--- > arch/arm/boot/dts/

RE: [PATCH] arm64: dts: Add support for NXP's LX2160A SoC

2017-08-30 Thread Sriram Dash
>From: Rob Herring [mailto:r...@kernel.org] >Subject: Re: [PATCH] arm64: dts: Add support for NXP's LX2160A SoC > >On Fri, Aug 18, 2017 at 04:25:36PM +0530, Sriram Dash wrote: >> The QorIQ LX2160A processor is built in the 16FFC process on the >> Layerscape architect