[U-Boot] [PATCH] common: usb: Adding delay after set configuration to support legacy devices

2015-12-17 Thread Sriram Dash
: Adding 10 ms delay after set configuration and let the device to settle down Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- common/usb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/usb.c b/common/usb.c index 700bfc3..c624a88 100644 --- a/common/usb.c +++ b/common

[U-Boot] [Patch v4 4/5] armv8/ls2080: Remove workaround for erratum A008751

2016-06-12 Thread Sriram Dash
This errata a008751 is applied on Soc specific file currently.This will be moved to a file where all the errata implementation will take place for usb for fsl. This patch removes the errata workaround from soc specific file for LS2080. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat

[U-Boot] [Patch v4 1/5] arm64: fsl-layerscape: add get_svr and IS_SVR_REV helper

2016-06-12 Thread Sriram Dash
Adds get_svr and IS_SVR_REV helpers for ARMv8 platforms, similar to PPC and ARMv7. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- Changes in v4: - Parenthesis around all the macro args. Changes in v3: - Added commit message Changes in v2: - No update arch/arm/cpu

[U-Boot] [Patch v4 3/5] fsl: usb: make errata function common for PPC and ARM

2016-06-12 Thread Sriram Dash
This patch does the following things: 1. Makes the errata checking code common for PPC and ARM 2. Moves all these static inline functions into a dedicated C file Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- Changes in v4: - Rework done according to previous patches. Changes

[U-Boot] [Patch v4 0/5] Supporting ARM v8 USB errata for FSL

2016-06-12 Thread Sriram Dash
The patch-set does the following : 1. Adds support for ARM for USB Erratum Checking code for implementing the USB Erratum for fsl. 2. Performs code cleanup to reduce redundancy when adding fsl device tree fixup. 3. Implements Erratum A008751 for LS2 platform. Sriram Dash (5): arm64: fsl

[U-Boot] [Patch v4 5/5] usb: xhci: fsl: Add workaround for USB erratum A-008751

2016-06-12 Thread Sriram Dash
This patch is doing the following: 1. Implementing the errata for LS2080. 2. Adding fixup for fdt for LS2080. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- Changes in v4: - Reworked for changes done in errata checking code. Changes in v3: - Reworked for changes done in

[U-Boot] [Patch v4 2/5] usb: xhci: fsl: code cleanup for device tree fixup for fsl usb controllers

2016-06-12 Thread Sriram Dash
Performs code cleanup for device tree fixup for fsl usb controllers by making functions to handle these similar errata checking code. Signed-off-by: Rajesh Bhagat Signed-off-by: Sriram Dash --- Changes in v4: - Removed parenthesis around has_erratum(). - Made USB controllers macros local to

[U-Boot] [PATCH] drivers:usb:common:fsl-dt-fixup: Fix the dt for all type of usb controllers

2016-06-19 Thread Sriram Dash
ingly. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- drivers/usb/common/fsl-dt-fixup.c | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/drivers/usb/common/fsl-dt-fixup.c b/drivers/usb/common/fsl-dt-fixup.c index 9c48852..1edf146 1

[U-Boot] [PATCH] mpc85xx/powerpc:cpu_init: Modified the errata according to endianness

2016-06-21 Thread Sriram Dash
Modifies errata implementation due to the fact that P3041, P5020, and P5040 are all big endian for the USB PHY registers, but they were specified little endian. Also, Adds errata for P1010 and P2041 2.0. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- arch/powerpc/cpu/mpc85xx

Re: [U-Boot] [PATCH] mpc85xx/powerpc:cpu_init: Modified the errata according to endianness

2016-06-21 Thread Sriram Dash
>From: Marek Vasut [mailto:ma...@denx.de] >On 06/21/2016 09:22 AM, Sriram Dash wrote: >> Modifies errata implementation due to the fact that P3041, P5020, and >> P5040 are all big endian for the USB PHY registers, but they were >> specified little endian. Also > >Plea

Re: [U-Boot] [RFC PATCH v1] usb: spl: fix USB errata for FSL SPL targets

2016-06-28 Thread Sriram Dash
>From: Marek Vasut [mailto:ma...@denx.de] >On 06/28/2016 01:02 AM, York Sun wrote: >> Commit 9262367 moved USB errata workaround to a C file but didn't >> build it for SPL targets. >> >> Signed-off-by: York Sun >> CC: Sriram Dash >> CC: Rajesh Bh

Re: [U-Boot] [PATCH] mpc85xx/powerpc:cpu_init: Modified the errata according to endianness

2016-06-28 Thread Sriram Dash
>From: york sun > >+Suresh Gupta > >On 06/21/2016 12:22 AM, Sriram Dash wrote: >> Modifies errata implementation due to the fact that P3041, P5020, and >> P5040 are all big endian for the USB PHY registers, but they were >> specified little endian. Also, Adds

Re: [U-Boot] [RFC PATCH v1] usb: spl: fix USB errata for FSL SPL targets

2016-06-28 Thread Sriram Dash
>From: york sun >On 06/28/2016 12:02 AM, Sriram Dash wrote: >>> From: Marek Vasut [mailto:ma...@denx.de] On 06/28/2016 01:02 AM, York >>> Sun wrote: >>>> Commit 9262367 moved USB errata workaround to a C file but didn't >>>> build it for SP

[U-Boot] [PATCH] powerpc/mpc85xx: Fix SPL_BUILD compilation by adding CONFIG_USB_EHCI_FSL flag

2016-07-04 Thread Sriram Dash
Commit 9262367 moved USB errata workaround to a C file but didn't build it for SPL targets. The EHCI errata should be applied/checked only when EHCI is defined. Signed-off-by: Rajesh Bhagat Signed-off-by: Sriram Dash --- arch/powerpc/include/asm/config_mpc85xx.h

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Fix SPL_BUILD compilation by adding CONFIG_USB_EHCI_FSL flag

2016-07-04 Thread Sriram Dash
>From: Marek Vasut [mailto:ma...@denx.de] >On 07/04/2016 01:11 PM, Sriram Dash wrote: >> Commit 9262367 moved USB errata workaround to a C file but didn't >> build it for SPL targets. The EHCI errata should be applied/checked >> only when EHCI is defined. >&

[U-Boot] [PATCH v2 1/5] mpc85xx/powerpc:cpu_init: Modified the errata A006261 according to endianness

2016-07-17 Thread Sriram Dash
Modifies errata implementation due to the fact that P3041, P5020, and P5040 are all big endian for the USB PHY registers, but they were specified little endian. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- Changes in v2: - Adds the errata number to title of patch - Makes

[U-Boot] [PATCH v2 3/5] mpc85xx/powerpc: P2041: Apply errata A006261 for P2041

2016-07-17 Thread Sriram Dash
Apply USB errata A006261 for P2041, P2040. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- drivers/usb/common/fsl-errata.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/common/fsl-errata.c b/drivers/usb/common/fsl-errata.c index 183bf2b..122e17b

[U-Boot] [PATCH v2 0/5] Modified the errata A006261 according to endianness

2016-07-17 Thread Sriram Dash
Modifies errata implementation due to the fact that P3041, P5020, and P5040 are all big endian for the USB PHY registers, but they were specified little endian. Applies the errata for P1010, P2041, P5040. Removes the errata for T4160, T1040, T2080. Sriram Dash (5): mpc85xx/powerpc:cpu_init

[U-Boot] [PATCH v2 5/5] mpc85xx/powerpc: Do not apply errata A006261 for T4160, T1040, T2080

2016-07-17 Thread Sriram Dash
Do not apply errata A006261 for T4160 and T4080(rev 1.0, 2.0), T1040(rev 1.0), T2080(rev 1.0), T2081(rev 1.0). Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- arch/powerpc/include/asm/config_mpc85xx.h | 4 +--- drivers/usb/common/fsl-errata.c | 7 --- 2 files changed

[U-Boot] [PATCH v2 4/5] mpc85xx/powerpc: P5040: Apply errata A006261 for P5040

2016-07-17 Thread Sriram Dash
Apply USB errata A006261 for P5040. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- drivers/usb/common/fsl-errata.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/common/fsl-errata.c b/drivers/usb/common/fsl-errata.c index 122e17b..765b25a 100644

[U-Boot] [PATCH v2 2/5] mpc85xx/powerpc:P1010: Apply errata A006261 for P1010

2016-07-17 Thread Sriram Dash
Apply USB errata A006261 for P1010. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- arch/powerpc/include/asm/config_mpc85xx.h | 1 + arch/powerpc/include/asm/immap_85xx.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/arch/powerpc/include/asm/config_mpc85xx.h b/arch

Re: [U-Boot] [PATCH] drivers:usb:common:fsl-dt-fixup: Fix the dt for all type of usb controllers

2016-07-20 Thread Sriram Dash
>From: Marek Vasut [mailto:ma...@denx.de] >On 06/20/2016 06:15 AM, Sriram Dash wrote: >> Currently, U-boot doesn't allow to compile more than one type of USB >> protocol simultaneously. Hence, EHCI and XHCI controllers cannot >> co-exist and CONFIG_USB_MAX_CONTROLLER

Re: [U-Boot] [PATCH 4/7] usb: Wait after sending Set Configuration request

2016-05-04 Thread Sriram Dash
>-Original Message- >From: Chin Liang See [mailto:cl...@altera.com] >Sent: Wednesday, May 04, 2016 3:15 PM >To: Stefan Roese ; Marek Vasut ; u- >b...@lists.denx.de >Cc: Dinh Nguyen ; Hans de Goede >; Stephen Warren ; >sriram.d...@freescale.com; rajesh.bha...@freescale.com >Subject: Re: [PAT

[U-Boot] [PATCH v2 0/2] Make usb device-tree fixup independent of USB controller

2016-02-24 Thread Sriram Dash
Makes usb device-tree fixup independent of Controller type. This enables the usage of device-tree fixup as a common framework for EHCI and XHCI controllers. Sriram Dash (2): board:freescale:common: Move device-tree fixup framework to common file board:freescale:usb: Add device-tree fixup

[U-Boot] [PATCH v2 1/2] board:freescale:common: Move device-tree fixup framework to common file

2016-02-24 Thread Sriram Dash
Move usb device-tree fixup framework from ehci-fsl.c to common place so that it can be used by other drivers as well (xhci-fsl.c). Also, call fdt_usb_get_node_type() from fdt_fixup_usb_mode_phy_type() to avoid code duplication. Signed-off-by: Ramneek Mehresh Signed-off-by: Sriram Dash

[U-Boot] [PATCH v2 2/2] board:freescale:usb: Add device-tree fixup support for xhci controller

2016-02-24 Thread Sriram Dash
Enables usb device-tree fixup code to incorporate xhci controller Signed-off-by: Ramneek Mehresh Signed-off-by: Sriram Dash --- board/freescale/common/Makefile | 4 +++- board/freescale/common/usb.c| 11 +-- include/fdt_support.h | 4 ++-- 3 files changed, 14 insertions

Re: [U-Boot] [PATCH v2 1/2] board:freescale:common: Move device-tree fixup framework to common file

2016-02-26 Thread Sriram Dash
Please find my reply inline -Original Message- From: Marek Vasut [mailto:ma...@denx.de] Sent: Thursday, February 25, 2016 11:28 PM To: Sriram Dash ; u-boot@lists.denx.de Cc: york sun ; Ramneek Mehresh ; Rajesh Bhagat Subject: Re: [PATCH v2 1/2] board:freescale:common: Move device-tree

Re: [U-Boot] [PATCH v2 2/2] board:freescale:usb: Add device-tree fixup support for xhci controller

2016-02-26 Thread Sriram Dash
Please find my reply inline -Original Message- From: Marek Vasut [mailto:ma...@denx.de] Sent: Thursday, February 25, 2016 11:31 PM To: Sriram Dash ; u-boot@lists.denx.de Cc: york sun ; Ramneek Mehresh ; Rajesh Bhagat Subject: Re: [PATCH v2 2/2] board:freescale:usb: Add device-tree

[U-Boot] [PATCH v3 2/3] board:freescale:usb: Remove code duplication for fdt_usb_get_node_type

2016-02-29 Thread Sriram Dash
Call fdt_usb_get_node_type() from fdt_fixup_usb_mode_phy_type() to avoid code duplication. Signed-off-by: Ramneek Mehresh Signed-off-by: Sriram Dash --- board/freescale/common/usb.c | 72 ++-- 1 file changed, 29 insertions(+), 43 deletions(-) diff --git

[U-Boot] [PATCH v3 0/3] Make usb device-tree fixup independent of USB controller

2016-02-29 Thread Sriram Dash
Makes usb device-tree fixup independent of Controller type. This enables the usage of device-tree fixup as a common framework for EHCI and XHCI controllers Sriram Dash (3): board:freescale:common: Move device-tree fixup framework to common file board:freescale:usb: Remove code

[U-Boot] [PATCH v3 1/3] board:freescale:common: Move device-tree fixup framework to common file

2016-02-29 Thread Sriram Dash
Move usb device-tree fixup framework from ehci-fsl.c to common place so that it can be used by other drivers as well (xhci-fsl.c). Signed-off-by: Ramneek Mehresh Signed-off-by: Sriram Dash --- board/freescale/common/Makefile| 2 + .../ehci-fsl.c => board/freescale/com

[U-Boot] [PATCH v3 3/3] board:freescale:usb: Add device-tree fixup support for xhci controller

2016-02-29 Thread Sriram Dash
Enables usb device-tree fixup code to incorporate xhci controller Signed-off-by: Ramneek Mehresh Signed-off-by: Sriram Dash --- board/freescale/common/Makefile | 1 + board/freescale/common/usb.c| 30 +- include/fdt_support.h | 4 ++-- 3 files

Re: [U-Boot] [PATCH v3 3/3] board:freescale:usb: Add device-tree fixup support for xhci controller

2016-03-03 Thread Sriram Dash
>-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Wednesday, March 02, 2016 3:55 AM >To: Sriram Dash ; u-boot@lists.denx.de >Cc: york sun ; Ramneek Mehresh >; Rajesh Bhagat >Subject: Re: [PATCH v3 3/3] board:freescale:usb: Add device-tree fixu

Re: [U-Boot] [PATCH v3 2/3] board:freescale:usb: Remove code duplication for fdt_usb_get_node_type

2016-03-03 Thread Sriram Dash
>-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Wednesday, March 02, 2016 3:57 AM >To: Sriram Dash ; u-boot@lists.denx.de >Cc: york sun ; Ramneek Mehresh >; Rajesh Bhagat >Subject: Re: [PATCH v3 2/3] board:freescale:usb: Remove

Re: [U-Boot] [PATCH v3 1/3] board:freescale:common: Move device-tree fixup framework to common file

2016-03-03 Thread Sriram Dash
>-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Wednesday, March 02, 2016 3:43 AM >To: Sriram Dash ; u-boot@lists.denx.de >Cc: york sun ; Ramneek Mehresh >; Rajesh Bhagat ; Tom >Rini >Subject: Re: [PATCH v3 1/3] board:freescale:common

Re: [U-Boot] [PATCH v3 3/3] board:freescale:usb: Add device-tree fixup support for xhci controller

2016-03-03 Thread Sriram Dash
>-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Thursday, March 03, 2016 3:33 PM >To: Sriram Dash ; u-boot@lists.denx.de >Cc: york sun ; Ramneek Mehresh >; Rajesh Bhagat >Subject: Re: [PATCH v3 3/3] board:freescale:usb: Add device-tree fixu

Re: [U-Boot] [PATCH v3 2/3] board:freescale:usb: Remove code duplication for fdt_usb_get_node_type

2016-03-03 Thread Sriram Dash
>-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Thursday, March 03, 2016 3:29 PM >To: Sriram Dash ; u-boot@lists.denx.de >Cc: york sun ; Ramneek Mehresh >; Rajesh Bhagat >Subject: Re: [PATCH v3 2/3] board:freescale:usb: Remove

Re: [U-Boot] [PATCH v3 1/3] board:freescale:common: Move device-tree fixup framework to common file

2016-03-03 Thread Sriram Dash
>-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Thursday, March 03, 2016 3:26 PM >To: Sriram Dash ; u-boot@lists.denx.de >Cc: york sun ; Ramneek Mehresh >; Rajesh Bhagat ; Tom >Rini >Subject: Re: [PATCH v3 1/3] board:freescale:common

[U-Boot] [PATCH 3/5] fsl: usb: make errata function common for PPC and ARM

2016-05-25 Thread Sriram Dash
Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- drivers/usb/common/fsl-dt-fixup.c | 1 + include/fsl_usb.h | 51 --- 2 files changed, 17 insertions(+), 35 deletions(-) diff --git a/drivers/usb/common/fsl-dt-fixup.c b/drivers/usb

[U-Boot] [PATCH 0/5] Supporting ARM v8 USB errata for FSL

2016-05-25 Thread Sriram Dash
The patch-set does the following : 1. Adds support for ARM for USB Erratum Checking code for implementing the USB Erratum for fsl. 2. Performs code cleanup to reduce redundancy when adding fsl device tree fixup. 3. Implements Erratum A008751 for LS2 platform. Sriram Dash (5): arm64: fsl

[U-Boot] [PATCH 5/5] usb: xhci: fsl: Add workaround for USB erratum A-008751

2016-05-25 Thread Sriram Dash
This patch is doing the following: 1. Implementing the errata for LS2080. 2. Adding fixup for fdt for LS2080. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- .../include/asm/arch-fsl-layerscape/immap_lsch3.h | 1 + board/freescale/ls2080aqds/ls2080aqds.c| 2 ++ board

[U-Boot] [PATCH 2/5] usb: xhci: fsl: code cleanup for device tree fixup for fsl usb controllers

2016-05-25 Thread Sriram Dash
Signed-off-by: Rajesh Bhagat Signed-off-by: Sriram Dash --- drivers/usb/common/fsl-dt-fixup.c | 51 +-- 1 file changed, 17 insertions(+), 34 deletions(-) diff --git a/drivers/usb/common/fsl-dt-fixup.c b/drivers/usb/common/fsl-dt-fixup.c index 6f31932

[U-Boot] [PATCH 4/5] armv8/ls2080: Remove workaround for erratum A008751

2016-05-25 Thread Sriram Dash
Remove the errata workaround from soc specific file for LS2080 Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- arch/arm/cpu/armv8/fsl-layerscape/soc.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/soc.c b/arch/arm/cpu/armv8/fsl

[U-Boot] [PATCH 1/5] arm64: fsl-layerscape: add get_svr and IS_SVR_REV helper

2016-05-25 Thread Sriram Dash
Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- arch/arm/cpu/armv8/fsl-layerscape/cpu.c| 7 +++ arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h | 2 ++ arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h | 3 +++ arch/arm/include/asm/arch-fsl-layerscape

Re: [U-Boot] [PATCH 3/5] fsl: usb: make errata function common for PPC and ARM

2016-05-26 Thread Sriram Dash
>-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Thursday, May 26, 2016 5:51 PM >To: Sriram Dash ; u-boot@lists.denx.de >Cc: york sun ; albert.u.b...@aribaud.net; Rajesh Bhagat > >Subject: Re: [PATCH 3/5] fsl: usb: make errata function common for PP

Re: [U-Boot] [PATCH 2/5] usb: xhci: fsl: code cleanup for device tree fixup for fsl usb controllers

2016-05-26 Thread Sriram Dash
>-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Thursday, May 26, 2016 5:49 PM >To: Sriram Dash ; u-boot@lists.denx.de >Cc: york sun ; albert.u.b...@aribaud.net; Rajesh Bhagat > >Subject: Re: [PATCH 2/5] usb: xhci: fsl: code cleanup for device tre

[U-Boot] [PATCH v2 0/5] Supporting ARM v8 USB errata for FSL

2016-06-01 Thread Sriram Dash
The patch-set does the following : 1. Adds support for ARM for USB Erratum Checking code for implementing the USB Erratum for fsl. 2. Performs code cleanup to reduce redundancy when adding fsl device tree fixup. 3. Implements Erratum A008751 for LS2 platform. Sriram Dash (5): arm64: fsl

[U-Boot] [PATCH v2 3/5] fsl: usb: make errata function common for PPC and ARM

2016-06-01 Thread Sriram Dash
This patch does the following things: 1. Makes the errata checking code common for PPC and ARM 2. Moves all the static inline functions into a dedicated C file Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- Changes in v2: - Moves all the static inline functions into a dedicated C

[U-Boot] [PATCH v2 2/5] usb: xhci: fsl: code cleanup for device tree fixup for fsl usb controllers

2016-06-01 Thread Sriram Dash
Performs code cleanup for device tree fixup for fsl usb controllers by making functions to handle these similar errata checking code. Signed-off-by: Rajesh Bhagat Signed-off-by: Sriram Dash --- Changes in v2: - added patch description - remove the MACRO and use fdt_fixup_erratum function

[U-Boot] [PATCH v2 5/5] usb: xhci: fsl: Add workaround for USB erratum A-008751

2016-06-01 Thread Sriram Dash
This patch is doing the following: 1. Implementing the errata for LS2080. 2. Adding fixup for fdt for LS2080. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- Changes in v2: - Reworked for changes done in errata checking code. .../include/asm/arch-fsl-layerscape/immap_lsch3.h

[U-Boot] [PATCH v2 1/5] arm64: fsl-layerscape: add get_svr and IS_SVR_REV helper

2016-06-01 Thread Sriram Dash
Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- Changes in v2: - No update arch/arm/cpu/armv8/fsl-layerscape/cpu.c| 7 +++ arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h | 2 ++ arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h | 3 +++ arch/arm

[U-Boot] [PATCH v2 4/5] armv8/ls2080: Remove workaround for erratum A008751

2016-06-02 Thread Sriram Dash
Remove the errata workaround from soc specific file for LS2080 Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- Changes in v2: - No update arch/arm/cpu/armv8/fsl-layerscape/soc.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/arch/arm/cpu/armv8/fsl-layerscape

Re: [U-Boot] [PATCH v2 1/5] arm64: fsl-layerscape: add get_svr and IS_SVR_REV helper

2016-06-05 Thread Sriram Dash
>-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Thursday, June 02, 2016 6:18 PM >To: Sriram Dash ; u-boot@lists.denx.de >Cc: york sun ; albert.u.b...@aribaud.net; Rajesh Bhagat > >Subject: Re: [PATCH v2 1/5] arm64: fsl-layerscape: add get_svr a

Re: [U-Boot] [PATCH v2 1/5] arm64: fsl-layerscape: add get_svr and IS_SVR_REV helper

2016-06-05 Thread Sriram Dash
>-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Thursday, June 02, 2016 6:18 PM >To: Sriram Dash ; u-boot@lists.denx.de >Cc: york sun ; albert.u.b...@aribaud.net; Rajesh Bhagat > >Subject: Re: [PATCH v2 1/5] arm64: fsl-layerscape: add get_svr a

Re: [U-Boot] [PATCH v2 4/5] armv8/ls2080: Remove workaround for erratum A008751

2016-06-05 Thread Sriram Dash
>-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Thursday, June 02, 2016 6:28 PM >To: Sriram Dash ; u-boot@lists.denx.de >Cc: york sun ; albert.u.b...@aribaud.net; Rajesh Bhagat > >Subject: Re: [PATCH v2 4/5] armv8/ls2080: Remove workaround for erra

Re: [U-Boot] [PATCH v2 2/5] usb: xhci: fsl: code cleanup for device tree fixup for fsl usb controllers

2016-06-05 Thread Sriram Dash
>-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Thursday, June 02, 2016 6:25 PM >To: Sriram Dash ; u-boot@lists.denx.de >Cc: york sun ; albert.u.b...@aribaud.net; Rajesh Bhagat > >Subject: Re: [PATCH v2 2/5] usb: xhci: fsl: code cleanup for device

Re: [U-Boot] [PATCH v2 5/5] usb: xhci: fsl: Add workaround for USB erratum A-008751

2016-06-05 Thread Sriram Dash
>-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Thursday, June 02, 2016 6:31 PM >To: Sriram Dash ; u-boot@lists.denx.de >Cc: york sun ; albert.u.b...@aribaud.net; Rajesh Bhagat > >Subject: Re: [PATCH v2 5/5] usb: xhci: fsl: Add workaround for U

Re: [U-Boot] [PATCH v2 1/5] arm64: fsl-layerscape: add get_svr and IS_SVR_REV helper

2016-06-07 Thread Sriram Dash
>-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Monday, June 06, 2016 6:21 PM >To: Sriram Dash ; u-boot@lists.denx.de >Cc: york sun ; albert.u.b...@aribaud.net; Rajesh Bhagat > >Subject: Re: [PATCH v2 1/5] arm64: fsl-layerscape: add get_svr and IS_

Re: [U-Boot] [PATCH v2 5/5] usb: xhci: fsl: Add workaround for USB erratum A-008751

2016-06-07 Thread Sriram Dash
>-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Monday, June 06, 2016 6:15 PM >To: Sriram Dash ; u-boot@lists.denx.de >Cc: york sun ; albert.u.b...@aribaud.net; Rajesh Bhagat > >Subject: Re: [PATCH v2 5/5] usb: xhci: fsl: Add workaround for USB err

[U-Boot] [PATCH v3 0/5] Supporting ARM v8 USB errata for FSL

2016-06-09 Thread Sriram Dash
The patch-set does the following : 1. Adds support for ARM for USB Erratum Checking code for implementing the USB Erratum for fsl. 2. Performs code cleanup to reduce redundancy when adding fsl device tree fixup. 3. Implements Erratum A008751 for LS2 platform. Sriram Dash (5): arm64: fsl

[U-Boot] [PATCH v3 1/5] arm64: fsl-layerscape: add get_svr and IS_SVR_REV helper

2016-06-09 Thread Sriram Dash
Adds get_svr and IS_SVR_REV helpers for ARMv8 platforms, similar to PPC and ARMv7. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- Changes in v1: - Added commit message Changes in v2: - No update arch/arm/cpu/armv8/fsl-layerscape/cpu.c| 7 +++ arch/arm

[U-Boot] [PATCH v3 3/5] fsl: usb: make errata function common for PPC and ARM

2016-06-09 Thread Sriram Dash
This patch does the following things: 1. Makes the errata checking code common for PPC and ARM 2. Moves all these static inline functions into a dedicated C file Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- Changes in v3: - Rework done according to previous patches. Changes

[U-Boot] [PATCH v3 2/5] usb: xhci: fsl: code cleanup for device tree fixup for fsl usb controllers

2016-06-09 Thread Sriram Dash
Performs code cleanup for device tree fixup for fsl usb controllers by making functions to handle these similar errata checking code. Signed-off-by: Rajesh Bhagat Signed-off-by: Sriram Dash --- Changes in v3: - Inverted the condition for has_erratum for better readability - If

[U-Boot] [PATCH v3 4/5] armv8/ls2080: Remove workaround for erratum A008751

2016-06-09 Thread Sriram Dash
This errata a008751 is applied on Soc specific file currently.This will be moved to a file where all the errata implementation will take place for usb for fsl. This patch removes the errata workaround from soc specific file for LS2080. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat

[U-Boot] [PATCH v3 5/5] usb: xhci: fsl: Add workaround for USB erratum A-008751

2016-06-09 Thread Sriram Dash
This patch is doing the following: 1. Implementing the errata for LS2080. 2. Adding fixup for fdt for LS2080. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- Changes in v3: - Reworked for changes done in errata checking code. - made inline bool erratum_a008751 as int

Re: [U-Boot] [PATCH v3 1/5] arm64: fsl-layerscape: add get_svr and IS_SVR_REV helper

2016-06-09 Thread Sriram Dash
>-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Thursday, June 09, 2016 6:58 PM >To: Sriram Dash ; u-boot@lists.denx.de >Cc: york sun ; albert.u.b...@aribaud.net; Rajesh Bhagat > >Subject: Re: [PATCH v3 1/5] arm64: fsl-layerscape: add get_svr a

Re: [U-Boot] [PATCH v3 2/5] usb: xhci: fsl: code cleanup for device tree fixup for fsl usb controllers

2016-06-09 Thread Sriram Dash
>-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Thursday, June 09, 2016 7:01 PM >To: Sriram Dash ; u-boot@lists.denx.de >Cc: york sun ; albert.u.b...@aribaud.net; Rajesh Bhagat > >Subject: Re: [PATCH v3 2/5] usb: xhci: fsl: code cleanup for device

Re: [U-Boot] [PATCH v3 2/5] usb: xhci: fsl: code cleanup for device tree fixup for fsl usb controllers

2016-06-09 Thread Sriram Dash
>From: Marek Vasut [mailto:ma...@denx.de] >On 06/10/2016 05:47 AM, Sriram Dash wrote: >>> -Original Message- >>> From: Marek Vasut [mailto:ma...@denx.de] >>> Sent: Thursday, June 09, 2016 7:01 PM >>> To: Sriram Dash ; u-boot@lists.denx.de &g

Re: [U-Boot] [PATCH v3 2/5] usb: xhci: fsl: code cleanup for device tree fixup for fsl usb controllers

2016-06-09 Thread Sriram Dash
>From: Marek Vasut [mailto:ma...@denx.de] >On 06/10/2016 07:20 AM, Sriram Dash wrote: >>> From: Marek Vasut [mailto:ma...@denx.de] On 06/10/2016 05:47 AM, >>> Sriram Dash wrote: >>>>> -Original Message- >>>>> From: Marek Vasut [mailto:m

[U-Boot] [PATCH 0/2] Enable DM support for USB in LS2080

2016-09-28 Thread Sriram Dash
Enable the CONFIG_DM_USB in defconfigs and add the usb node in dts for LS2080. Sriram Dash (2): armv8: ls2080: Enable CONFIG_DM_USB in defconfigs armv8: ls2080: Add USB node in dts for ls2080 arch/arm/dts/fsl-ls2080a.dtsi| 14 ++ configs

[U-Boot] [PATCH 1/2] armv8: ls2080: Enable CONFIG_DM_USB in defconfigs

2016-09-28 Thread Sriram Dash
Enables driver model flag CONFIG_DM_USB for LS2080A platform defconfigs. Signed-off-by: Sriram Dash --- configs/ls2080aqds_SECURE_BOOT_defconfig | 1 + configs/ls2080aqds_defconfig | 1 + configs/ls2080aqds_nand_defconfig| 1 + configs/ls2080aqds_qspi_defconfig| 1

[U-Boot] [PATCH 2/2] armv8: ls2080: Add USB node in dts for ls2080

2016-09-28 Thread Sriram Dash
Add the USB node for LS2080 in dts. Signed-off-by: Sriram Dash --- arch/arm/dts/fsl-ls2080a.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/dts/fsl-ls2080a.dtsi b/arch/arm/dts/fsl-ls2080a.dtsi index b308c8b..f76e981 100644 --- a/arch/arm/dts/fsl-ls2080a.dtsi

[U-Boot] [PATCH 0/2] Enable DM support for USB in LS1043

2016-09-29 Thread Sriram Dash
Enable the CONFIG_DM_USB in defconfigs and add the usb node in dts for LS1043 Sriram Dash (2): armv8: ls1043: Enable CONFIG_DM_USB in defconfigs armv8: ls1043: Add USB node in dts for ls1043 arch/arm/dts/fsl-ls1043a.dtsi| 21 + configs/ls1043aqds_defconfig

[U-Boot] [PATCH 2/2] armv8: ls1043: Add USB node in dts for ls1043

2016-09-29 Thread Sriram Dash
Add the USB node for LS1043 in dts. Signed-off-by: Sriram Dash --- arch/arm/dts/fsl-ls1043a.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/dts/fsl-ls1043a.dtsi b/arch/arm/dts/fsl-ls1043a.dtsi index a8bffba..f038f96 100644 --- a/arch/arm/dts/fsl

[U-Boot] [PATCH 1/2] armv8: ls1043: Enable CONFIG_DM_USB in defconfigs

2016-09-29 Thread Sriram Dash
Enables driver model flag CONFIG_DM_USB for LS1043A platform defconfigs. Signed-off-by: Sriram Dash --- configs/ls1043aqds_defconfig | 1 + configs/ls1043aqds_lpuart_defconfig | 1 + configs/ls1043aqds_nand_defconfig| 1 + configs/ls1043aqds_nor_ddr3_defconfig| 1

[U-Boot] [PATCH] armv8: fsl: Enable USB only when SYSCLK is 100 MHz

2016-10-03 Thread Sriram Dash
SYSCLK is used as a reference clock for USB. When the USB controller is used, SYSCLK must meet the additional requirement of 100 MHz. Signed-off-by: Sriram Dash --- arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/cpu

Re: [U-Boot] [PATCH 1/2] armv8: ls2080: Enable CONFIG_DM_USB in defconfigs

2016-10-06 Thread Sriram Dash
>From: york sun >Sent: Thursday, October 06, 2016 12:37 AM >To: Sriram Dash ; u-boot@lists.denx.de >Cc: Prabhakar Kushwaha ; >albert.u.b...@aribaud.net; Suresh Gupta >Subject: Re: [PATCH 1/2] armv8: ls2080: Enable CONFIG_DM_USB in defconfigs > >On 09/28/2016 11:

Re: [U-Boot] [PATCH 1/2] armv8: ls2080: Enable CONFIG_DM_USB in defconfigs

2016-10-06 Thread Sriram Dash
>From: york sun >Sent: Thursday, October 06, 2016 9:33 PM >To: Sriram Dash ; u-boot@lists.denx.de >Cc: Prabhakar Kushwaha ; >albert.u.b...@aribaud.net; Suresh Gupta >Subject: Re: [PATCH 1/2] armv8: ls2080: Enable CONFIG_DM_USB in defconfigs > >On 10/05/2016 11:03 PM, Sri

[U-Boot] [PATCH v2 2/3] armv8: ls2080: Enable CONFIG_DM_USB in defconfigs

2016-10-07 Thread Sriram Dash
Enables driver model flag CONFIG_DM_USB for LS2080A platform defconfigs. Signed-off-by: Sriram Dash --- Changes in v2 - Rebase configs/ls2080aqds_SECURE_BOOT_defconfig | 1 + configs/ls2080aqds_defconfig | 1 + configs/ls2080aqds_nand_defconfig| 1 + configs

[U-Boot] [PATCH v2 3/3] armv8: ls2080: Add USB node in dts for ls2080

2016-10-07 Thread Sriram Dash
Add the USB node for LS2080 in dts. Signed-off-by: Sriram Dash --- Changes in v2 - No change arch/arm/dts/fsl-ls2080a.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/dts/fsl-ls2080a.dtsi b/arch/arm/dts/fsl-ls2080a.dtsi index b308c8b..f76e981 100644 --- a

[U-Boot] [PATCH v2 1/3] armv8: LS2080A: Add device tree support for nand boot

2016-10-07 Thread Sriram Dash
Add device tree support for LS2080ARDB nand boot. Signed-off-by: Sriram Dash --- configs/ls2080ardb_nand_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/ls2080ardb_nand_defconfig b/configs/ls2080ardb_nand_defconfig index 551f158..7183d76 100644 --- a/configs

[U-Boot] [PATCH v2 0/3] Enable DM support for USB in LS2080

2016-10-07 Thread Sriram Dash
Add the device tree support for LS2080RDB nand boot. Enable the CONFIG_DM_USB in defconfigs and add the usb node in dts for LS2080. Sriram Dash (3): armv8: LS2080A: Add device tree support for nand boot armv8: ls2080: Enable CONFIG_DM_USB in defconfigs armv8: ls2080: Add USB node in dts for

[U-Boot] [PATCH] powerpc: mpc512x: Add support for get_svr() for mpc512x devices

2016-10-13 Thread Sriram Dash
Defines get_svr() for mpc512x devices Signed-off-by: Sriram Dash --- arch/powerpc/cpu/mpc512x/start.S | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/powerpc/cpu/mpc512x/start.S b/arch/powerpc/cpu/mpc512x/start.S index 471d401..2507842 100644 --- a/arch/powerpc/cpu/mpc512x/start.S

[U-Boot] [PATCH v2] powerpc: mpc512x: Add support for get_svr() for mpc512x devices

2016-10-13 Thread Sriram Dash
Defines get_svr() for mpc512x devices Signed-off-by: Sriram Dash Reviewed-by: Bin Meng --- Changes in v2: - cosmetic changes arch/powerpc/cpu/mpc512x/start.S | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/powerpc/cpu/mpc512x/start.S b/arch/powerpc/cpu/mpc512x/start.S index

Re: [U-Boot] [PATCH] powerpc: mpc512x: Add support for get_svr() for mpc512x devices

2016-10-14 Thread Sriram Dash
>From: Bin Meng [mailto:bmeng...@gmail.com] >On Fri, Oct 14, 2016 at 1:49 PM, Sriram Dash wrote: >> Defines get_svr() for mpc512x devices >> >> Signed-off-by: Sriram Dash >> --- >> arch/powerpc/cpu/mpc512x/start.S | 5 + >> 1 file changed, 5 inserti

Re: [U-Boot] [PATCH v2 5/5] mpc85xx/powerpc: Do not apply errata A006261 for T4160, T1040, T2080

2016-08-12 Thread Sriram Dash
>From: york sun >On 07/17/2016 08:47 PM, Sriram Dash wrote: >> Do not apply errata A006261 for T4160 and T4080(rev 1.0, 2.0), >> T1040(rev 1.0), T2080(rev 1.0), T2081(rev 1.0). > >I don't see mentioning the revision numbers helps here. Your patch is removing >the &

Re: [U-Boot] [PATCH v2 2/5] mpc85xx/powerpc:P1010: Apply errata A006261 for P1010

2016-08-12 Thread Sriram Dash
>From: york sun > >Sriram, > >Same comment here, please fix the subject. > Ok. Will modify patch title and commit message in v3. >On 07/17/2016 08:47 PM, Sriram Dash wrote: >> Apply USB errata A006261 for P1010. > >A006261 is already applied to P1010. >

Re: [U-Boot] [PATCH v2 3/5] mpc85xx/powerpc: P2041: Apply errata A006261 for P2041

2016-08-12 Thread Sriram Dash
>From: york sun > >Same comment to the subject. > Ok. Will modify patch title and commit message in v3. >On 07/17/2016 08:47 PM, Sriram Dash wrote: >> Apply USB errata A006261 for P2041, P2040. >> >> Signed-off-by: Sriram Dash >> Signed-off-by: Rajesh Bh

Re: [U-Boot] [PATCH v2 4/5] mpc85xx/powerpc: P5040: Apply errata A006261 for P5040

2016-08-12 Thread Sriram Dash
>From: york sun > >Same comment to the subject line. > Ok. Will modify patch title and commit message in v3. >On 07/17/2016 08:47 PM, Sriram Dash wrote: >> Apply USB errata A006261 for P5040. > >Please add explanation the same erratum applies to P5040 rev 2.0. > O

Re: [U-Boot] [PATCH v2 1/5] mpc85xx/powerpc:cpu_init: Modified the errata A006261 according to endianness

2016-08-12 Thread Sriram Dash
subject should be separated by either "/", or ":", but not >both. I don't >believe "cpu_init" should be in the tag. > Hello York, Will take care from next time onwards. Will change in v3. > >On 07/17/2016 08:47 PM, Sriram Dash wrote: >> Mo

[U-Boot] [PATCH v3 0/3] Modifies the erratum A006261 according to endianness

2016-08-16 Thread Sriram Dash
removes the erratum for T4160, T4080, T1040, T1042, T1020, T1022, T2080, T2081. Sriram Dash (3): mpc85xx: powerpc: usb: Modified the erratum A006261 according to endianness mpc85xx: powerpc: usb: Enable Usb phy initialisation settings for P1010 mpc85xx: powerpc: usb: Update the list

[U-Boot] [PATCH v3 2/3] mpc85xx: powerpc: usb: Enable Usb phy initialisation settings for P1010

2016-08-16 Thread Sriram Dash
CONFIG_SYS_FSL_USB1_PHY_ENABLE is set and the USB Phy offset are set to enable the initial setting of Usb Phy for P1010. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- Changes in v3: - Modify the commit message - Modify the commit description arch/powerpc/include/asm

[U-Boot] [PATCH v3 1/3] mpc85xx: powerpc: usb: Modified the erratum A006261 according to endianness

2016-08-16 Thread Sriram Dash
Modifies erratum implementation due to the fact that P3041, P5020, and P5040 are all big endian for the USB PHY registers, but they were specified little endian. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- Changes in v3: - Modify the commit message - Modify the commit

[U-Boot] [PATCH v3 3/3] mpc85xx: powerpc: usb: Update the list of Socs afftected by erratum A006261

2016-08-16 Thread Sriram Dash
, 2.0, 2.1), P2040(1.0, 1.1, 2.0, 2.1), P3041(1.0, 1.1, 2.0, 2.1), P5010(1.0, 2.0), P5020(1.0, 2.0), P5021(1.0, 2.0), T4240(1.0, 2.0), P5040(1.0,2.0,2.1). Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- Changes in v3: - Modify the commit message - Modify the commit description

[U-Boot] [PATCH v2] drivers: usb: fsl-dt-fixup: Fix the dt for multiple USB nodes in single traversal of device tree

2016-08-17 Thread Sriram Dash
For FSL USB node fixup, the dt is walked multiple times for fixing erratum and phy type. This patch walks the tree and fixes the node till no more USB nodes are left. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- drivers/usb/common/fsl-dt-fixup.c | 108

[U-Boot] [PATCH] drivers: usb: xhci-fsl: Change burst beat and outstanding pipelined transfers requests

2016-08-18 Thread Sriram Dash
This is required for better performance, and performs below tuning: 1. Enable burst length set, and define it as 4/8/16. 2. Set burst request limit to 16 requests. Signed-off-by: Rajesh Bhagat Signed-off-by: Sriram Dash --- drivers/usb/host/xhci-fsl.c | 13 + include/linux/usb

[U-Boot] [PATCH] drivers: usb: xhci-fsl: Implement Erratum A-010151 for FSL USB3 controller

2016-08-19 Thread Sriram Dash
: Sriram Dash Signed-off-by: Rajesh Bhagat --- drivers/usb/host/xhci-dwc3.c | 5 + drivers/usb/host/xhci-fsl.c | 7 +++ include/linux/usb/dwc3.h | 2 ++ 3 files changed, 14 insertions(+) diff --git a/drivers/usb/host/xhci-dwc3.c b/drivers/usb/host/xhci-dwc3.c index 33961cd..adbd9b5

Re: [U-Boot] [PATCH] drivers: usb: xhci-fsl: Change burst beat and outstanding pipelined transfers requests

2016-08-22 Thread Sriram Dash
>From: Marek Vasut [mailto:ma...@denx.de] >On 08/22/2016 10:24 AM, Sriram Dash wrote: >>> From: Marek Vasut [mailto:ma...@denx.de] On 08/19/2016 07:51 AM, >>> Sriram Dash wrote: >>>> This is required for better performance, and performs below tuning: >>&g

[U-Boot] [PATCH v2] drivers: usb: xhci-fsl: Change burst beat and outstanding pipelined transfers requests

2016-08-22 Thread Sriram Dash
This is required for better performance, and performs below tuning: 1. Enable burst length set, and define it as 4/8/16. 2. Set burst request limit to 16 requests. Signed-off-by: Rajesh Bhagat Signed-off-by: Sriram Dash --- Changes in v2: - using clrsetbits_le32 and setbits_le32 instead of

Re: [U-Boot] [PATCH] drivers: usb: xhci-fsl: Change burst beat and outstanding pipelined transfers requests

2016-08-22 Thread Sriram Dash
>From: Marek Vasut [mailto:ma...@denx.de] >On 08/19/2016 07:51 AM, Sriram Dash wrote: >> This is required for better performance, and performs below tuning: >> 1. Enable burst length set, and define it as 4/8/16. >> 2. Set burst request limit to 16 requests. >> &

  1   2   >