Re: [U-Boot] [PATCH 2/2] include:configs: Add usb device-tree fixup for all fsl platforms

2016-02-08 Thread Ramneek Mehresh
> -Original Message- > From: Ramneek Mehresh > Sent: Thursday, January 28, 2016 5:45 PM > To: 'Marek Vasut' > Cc: Ramneek Mehresh ; u- > b...@lists.denx.de; Simon Glass > Subject: RE: [PATCH 2/2] include:configs: Add usb device-tree f

Re: [U-Boot] [PATCH 2/2] include:configs: Add usb device-tree fixup for all fsl platforms

2016-01-28 Thread Ramneek Mehresh
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Thursday, January 28, 2016 5:04 PM > To: Ramneek Mehresh > Cc: Ramneek Mehresh ; u- > b...@lists.denx.de; Simon Glass > Subject: Re: [PATCH 2/2] include:configs: Add usb device-tree fixup for a

Re: [U-Boot] [PATCH 2/2] include:configs: Add usb device-tree fixup for all fsl platforms

2016-01-28 Thread Ramneek Mehresh
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Wednesday, January 27, 2016 5:13 PM > To: Ramneek Mehresh > Cc: Ramneek Mehresh ; u- > b...@lists.denx.de; Simon Glass > Subject: Re: [PATCH 2/2] include:configs: Add usb device-tree

Re: [U-Boot] [PATCH 2/2] include:configs: Add usb device-tree fixup for all fsl platforms

2016-01-27 Thread Ramneek Mehresh
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Wednesday, January 27, 2016 1:57 PM > To: Ramneek Mehresh > Cc: Ramneek Mehresh ; u- > b...@lists.denx.de; Simon Glass > Subject: Re: [PATCH 2/2] include:configs: Add usb device-tree

Re: [U-Boot] [PATCH 2/2] include:configs: Add usb device-tree fixup for all fsl platforms

2016-01-27 Thread Ramneek Mehresh
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Wednesday, January 27, 2016 1:05 PM > To: Ramneek Mehresh > Cc: Ramneek Mehresh ; u- > b...@lists.denx.de; Simon Glass > Subject: Re: [PATCH 2/2] include:configs: Add usb device-tree

Re: [U-Boot] [PATCH 2/2] include:configs: Add usb device-tree fixup for all fsl platforms

2016-01-26 Thread Ramneek Mehresh
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Tuesday, January 26, 2016 4:58 PM > To: Ramneek Mehresh > Cc: u-boot@lists.denx.de > Subject: Re: [PATCH 2/2] include:configs: Add usb device-tree fixup for all > fsl > platforms > >

Re: [U-Boot] [PATCH 2/2] include:configs: Add usb device-tree fixup for all fsl platforms

2016-01-26 Thread Ramneek Mehresh
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Wednesday, January 27, 2016 9:57 AM > To: Ramneek Mehresh > Cc: Ramneek Mehresh ; u- > b...@lists.denx.de; Simon Glass > Subject: Re: [PATCH 2/2] include:configs: Add usb device-tree

[U-Boot] [PATCH 2/2] include:configs: Add usb device-tree fixup for all fsl platforms

2016-01-26 Thread Ramneek Mehresh
Add usb device-tree fixup for all relevant fsl ppc and arm platforms Signed-off-by: Ramneek Mehresh --- board/freescale/b4860qds/b4860qds.c | 2 +- board/freescale/bsc9131rdb/bsc9131rdb.c | 2 ++ board/freescale/bsc9132qds/bsc9132qds.c | 2 ++ board/freescale/corenet_ds

[U-Boot] [PATCH 1/2] fsl:usb: Make fsl usb device-tree fixup arch independent

2016-01-26 Thread Ramneek Mehresh
Move usb device-tree fixup from ehci drv so that it becomes available to all ppc and arm platforms Signed-off-by: Ramneek Mehresh --- board/freescale/common/Makefile | 2 + board/freescale/common/usb.c| 203 board/freescale/corenet_ds

[U-Boot] [PATCH 7/8] include:configs:ls1021atwr: Enable USB IP support

2015-05-29 Thread Ramneek Mehresh
From: ramneek mehresh Enable USB IP support for both EHCI and XHCI for ls1021atwr platform Signed-off-by: Ramneek Mehresh --- include/configs/ls1021atwr.h | 38 ++ 1 file changed, 38 insertions(+) diff --git a/include/configs/ls1021atwr.h b/include/configs

[U-Boot] [PATCH 5/8] drivers:usb:fsl: Add XHCI driver support

2015-05-29 Thread Ramneek Mehresh
From: ramneek mehresh Add xhci driver support for all FSL socs Signed-off-by: Ramneek Mehresh --- drivers/usb/host/Makefile| 1 + drivers/usb/host/xhci-fsl.c | 109 +++ include/linux/usb/xhci-fsl.h | 54 + 3 files changed

[U-Boot] [PATCH 3/8] usb:xhci:omap: Remove common dwc3 drv functions calls

2015-05-29 Thread Ramneek Mehresh
Remove all redundant dwc3 driver function calls that are defined by dwc3 driver Signed-off-by: Ramneek Mehresh --- drivers/usb/host/xhci-omap.c | 60 -- drivers/usb/phy/omap_usb_phy.c | 18 - include/configs/am43xx_evm.h | 1 + include

[U-Boot] [PATCH 6/8] arch:arm:fsl: Add XHCI support for LS1021A

2015-05-29 Thread Ramneek Mehresh
From: ramneek mehresh Add base register address information for USB XHCI controller on LS1021A Signed-off-by: Ramneek Mehresh --- arch/arm/include/asm/arch-ls102xa/config.h| 1 + arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h | 10 ++ 2 files changed, 11 insertions

[U-Boot] [PATCH 8/8] include:configs:ls1021aqds: Enable USB IP support

2015-05-29 Thread Ramneek Mehresh
From: ramneek mehresh Enable USB IP support for both EHCI and XHCI for ls1021aqds platform Signed-off-by: Ramneek Mehresh --- include/configs/ls1021aqds.h | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/include/configs/ls1021aqds.h b/include/configs

[U-Boot] [PATCH 2/8] usb:xhci:exynos: Remove common dwc3 drv functions calls

2015-05-29 Thread Ramneek Mehresh
Remove all redundant dwc3 driver function calls that are defined by dwc3 driver Signed-off-by: Ramneek Mehresh --- drivers/usb/host/xhci-exynos5.c | 78 include/configs/exynos5-common.h | 1 + 2 files changed, 1 insertion(+), 78 deletions(-) diff

[U-Boot] [PATCH 4/8] usb:xhci:keystone: Remove common dwc3 drv functions calls

2015-05-29 Thread Ramneek Mehresh
Remove all redundant dwc3 driver function calls that are defined by dwc3 driver Signed-off-by: Ramneek Mehresh --- drivers/usb/host/xhci-keystone.c | 88 include/configs/ks2_evm.h| 1 + 2 files changed, 1 insertion(+), 88 deletions(-) diff

[U-Boot] [PATCH 0/8] usb:xhci:dwc3: Add dwc3 drv code

2015-05-29 Thread Ramneek Mehresh
request all platform/driver owners to please help me in testng these changes on their respective platforms. Last four patches are freescale layerscape la1021aqds/ ls1021atwr platform specific. Ramneek Mehresh (4): drivers:usb:dwc3: Add DWC3 controller driver support usb:xhci:exynos: Remove common

[U-Boot] [PATCH 1/8] drivers:usb:dwc3: Add DWC3 controller driver support

2015-05-29 Thread Ramneek Mehresh
Add support for DWC3 XHCI controller driver Signed-off-by: Ramneek Mehresh --- drivers/usb/host/Makefile| 1 + drivers/usb/host/xhci-dwc3.c | 91 include/linux/usb/dwc3.h | 6 +++ 3 files changed, 98 insertions(+) create mode 100644

[U-Boot] [PATCH 3/5] arch:arm:fsl: Add XHCI support for LS1021A

2015-04-28 Thread Ramneek Mehresh
Add base register address information for USB XHCI controller on LS1021A Signed-off-by: Ramneek Mehresh --- arch/arm/include/asm/arch-ls102xa/config.h| 1 + arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h | 10 ++ 2 files changed, 11 insertions(+) diff --git a/arch/arm

[U-Boot] [PATCH 5/5] include:configs:ls1021aqds: Enable USB IP support

2015-04-28 Thread Ramneek Mehresh
Enable USB IP support for both EHCI and XHCI for ls1021aqds platform Signed-off-by: Ramneek Mehresh --- include/configs/ls1021aqds.h | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h index

[U-Boot] [PATCH 1/5] drivers:usb:dwc3: Add DWC3 controller driver support

2015-04-28 Thread Ramneek Mehresh
Add support for DWC3 XHCI controller driver Signed-off-by: Ramneek Mehresh --- drivers/usb/host/Makefile| 1 + drivers/usb/host/xhci-dwc3.c | 74 include/linux/usb/dwc3.h | 4 +++ 3 files changed, 79 insertions(+) create mode 100644

[U-Boot] [PATCH 2/5][v3]drivers:usb:fsl: Add XHCI driver support

2015-04-28 Thread Ramneek Mehresh
Add xhci driver support for all FSL socs Signed-off-by: Ramneek Mehresh --- Changes for v3: - use FSL_USB_XHCI_ADDR for controller addr - corrected multiline comment drivers/usb/host/Makefile| 1 + drivers/usb/host/xhci-fsl.c | 109

[U-Boot] [PATCH 4/5][v3]include:configs:ls1021atwr: Enable USB IP support

2015-04-28 Thread Ramneek Mehresh
Enable USB IP support for both EHCI and XHCI for ls1021atwr platform Signed-off-by: Ramneek Mehresh --- Changes for v3: - corrected multiline comment - moved out xhci controller soc specific base addresse(s) to soc file include/configs/ls1021atwr.h | 38

Re: [U-Boot] [PATCH 3/4][v2]include:configs:ls1021atwr: Enable USB IP support

2015-04-26 Thread Ramneek Mehresh
ril 23, 2015 at 07:03:14 PM, Ramneek Mehresh wrote: > > Enable USB IP support for both EHCI and XHCI for ls1021atwr platform > > > > Signed-off-by: Ramneek Mehresh > > --- > > include/configs/ls1021atwr.h | 36 > > > &

[U-Boot] [PATCH 2/4][v2]drivers:usb:fsl: Add XHCI driver support

2015-04-23 Thread Ramneek Mehresh
Add xhci driver support for all FSL socs Signed-off-by: Ramneek Mehresh --- arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h | 6 ++ drivers/usb/host/Makefile | 1 + drivers/usb/host/xhci-fsl.c | 107 ++ include/linux/usb

[U-Boot] [PATCH 3/4][v2]include:configs:ls1021atwr: Enable USB IP support

2015-04-23 Thread Ramneek Mehresh
Enable USB IP support for both EHCI and XHCI for ls1021atwr platform Signed-off-by: Ramneek Mehresh --- include/configs/ls1021atwr.h | 36 include/linux/usb/xhci-fsl.h | 5 + 2 files changed, 41 insertions(+) diff --git a/include/configs/ls1021atwr.h b

Re: [U-Boot] [PATCH 3/4] include:configs:ls1021atwr: Enable USB IP support

2015-04-23 Thread Ramneek Mehresh
23, 2015 at 08:51:14 AM, Ramneek Mehresh wrote: > > > -Original Message- > > > From: Marek Vasut [mailto:ma...@denx.de] > > > Sent: Wednesday, April 22, 2015 5:18 PM > > > To: Mehresh Ramneek-B31383 > > > Cc: u-boot@lists.denx.de > > > Su

Re: [U-Boot] [PATCH 2/4] drivers:usb:fsl: Add XHCI driver support

2015-04-22 Thread Ramneek Mehresh
at 08:49:41 AM, Ramneek Mehresh wrote: > > Add xhci driver support for all FSL socs > > > > Signed-off-by: Ramneek Mehresh > > Hi! > > [...] > > > diff --git a/drivers/usb/host/xhci-fsl.c b/drivers/usb/host/xhci-fsl.c > > new file mode 100644 ind

Re: [U-Boot] [PATCH 3/4] include:configs:ls1021atwr: Enable USB IP support

2015-04-22 Thread Ramneek Mehresh
22, 2015 at 08:49:42 AM, Ramneek Mehresh wrote: > > Enable USB IP support for both EHCI and XHCI for ls1021atwr platform > > > > Signed-off-by: Ramneek Mehresh > > --- > > include/configs/ls1021atwr.h | 29 + > > include/linux/u

[U-Boot] [PATCH 3/4] include:configs:ls1021atwr: Enable USB IP support

2015-04-21 Thread Ramneek Mehresh
Enable USB IP support for both EHCI and XHCI for ls1021atwr platform Signed-off-by: Ramneek Mehresh --- include/configs/ls1021atwr.h | 29 + include/linux/usb/xhci-fsl.h | 5 + 2 files changed, 34 insertions(+) diff --git a/include/configs/ls1021atwr.h b

[U-Boot] [PATCH 4/4] include:configs:ls1021aqds: Enable USB IP support

2015-04-21 Thread Ramneek Mehresh
Enable USB IP support for both EHCI and XHCI for ls1021aqds platform Signed-off-by: Ramneek Mehresh --- include/configs/ls1021aqds.h | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h index

[U-Boot] [PATCH 1/4] drivers:usb:dwc3: Add DWC3 controller driver support

2015-04-21 Thread Ramneek Mehresh
Add support for DWC3 XHCI controller driver Signed-off-by: Ramneek Mehresh --- drivers/usb/host/Makefile| 1 + drivers/usb/host/xhci-dwc3.c | 75 include/linux/usb/dwc3.h | 4 +++ 3 files changed, 80 insertions(+) create mode 100644

[U-Boot] [PATCH 2/4] drivers:usb:fsl: Add XHCI driver support

2015-04-21 Thread Ramneek Mehresh
Add xhci driver support for all FSL socs Signed-off-by: Ramneek Mehresh --- drivers/usb/host/Makefile| 1 + drivers/usb/host/xhci-fsl.c | 110 +++ include/linux/usb/xhci-fsl.h | 58 +++ 3 files changed, 169 insertions

Re: [U-Boot] Regarding patch: http://patchwork.ozlabs.org/patch/373593/

2015-04-07 Thread Ramneek Mehresh
ssage- > > From: Marek Vasut [mailto:ma...@denx.de] > > Sent: Tuesday, April 07, 2015 7:44 PM > > To: Mehresh Ramneek-B31383 > > Cc: u-boot; s...@denx.de > > Subject: Re: Regarding patch: > > http://patchwork.ozlabs.org/patch/373593/ > > > > On T

Re: [U-Boot] Regarding patch: http://patchwork.ozlabs.org/patch/373593/

2015-04-07 Thread Ramneek Mehresh
07, 2015 at 04:05:31 PM, Ramneek Mehresh wrote: > > > -Original Message- > > > From: Marek Vasut [mailto:ma...@denx.de] > > > Sent: Tuesday, April 07, 2015 7:22 PM > > > To: Mehresh Ramneek-B31383 > > > Cc: u-boot; s...@denx.de > > >

Re: [U-Boot] Regarding patch: http://patchwork.ozlabs.org/patch/373593/

2015-04-07 Thread Ramneek Mehresh
07, 2015 at 08:18:03 AM, Ramneek Mehresh wrote: > > [...] > > > > Hi, > > > > > > Is this similar hardware bug to the one which MX6 PCIe is suffering > > > ? On MX6, the bug is that you cannot reset the PCIe and PCIe PHY > > > from software, which mea

Re: [U-Boot] Regarding patch: http://patchwork.ozlabs.org/patch/373593/

2015-04-06 Thread Ramneek Mehresh
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Monday, April 06, 2015 8:42 PM > To: Mehresh Ramneek-B31383 > Cc: u-boot; s...@denx.de > Subject: Re: Regarding patch: http://patchwork.ozlabs.org/patch/373593/ > > On Monday, April 06, 2015

Re: [U-Boot] Regarding patch: http://patchwork.ozlabs.org/patch/373593/

2015-04-06 Thread Ramneek Mehresh
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Monday, January 12, 2015 8:00 PM > To: Mehresh Ramneek-B31383 > Cc: u-boot > Subject: Re: Regarding patch: http://patchwork.ozlabs.org/patch/373593/ > > On Monday, January 12, 2015 at 06:2

Re: [U-Boot] Regarding USB device testing in U-boot release

2015-02-24 Thread Ramneek Mehresh
> Cc: u-boot@lists.denx.de > Subject: Re: Regarding USB device testing in U-boot release > > On Tuesday, February 24, 2015 at 06:59:40 AM, Ramneek Mehresh wrote: > > Hi Marex, > > Hi, > > please keep the list on CC (fixed). > > > Could you please confirm if some US

Re: [U-Boot] [PATCH] ls1:config: Add USB support for ls1021atwr

2015-01-14 Thread Ramneek Mehresh
wrote: > > On 10/21/2014 04:36 AM, Ramneek Mehresh wrote: > >> Add USB EHCI/XHCI support for ls1021atwr platform and making xHCI as > >> default mode > >> > >> Signed-off-by: Ramneek Mehresh > >> --- > >> include/configs/ls1021atwr.h | 28

Re: [U-Boot] Regarding patch: http://patchwork.ozlabs.org/patch/373593/

2015-01-11 Thread Ramneek Mehresh
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Thursday, December 18, 2014 4:46 PM > To: u-boot > Cc: Mehresh Ramneek-B31383 > Subject: Re: Regarding patch: http://patchwork.ozlabs.org/patch/373593/ > > On Thursday, December 18, 2014

[U-Boot] [PATCH] ls1:config: Add XHCI support for ls1021aqds

2014-10-21 Thread Ramneek Mehresh
Add USB XHCI support for ls1021aqds platform and making this as default mode Signed-off-by: Ramneek Mehresh --- include/configs/ls1021aqds.h | 21 - 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h

[U-Boot] [PATCH] ls1:config: Add USB support for ls1021atwr

2014-10-21 Thread Ramneek Mehresh
Add USB EHCI/XHCI support for ls1021atwr platform and making xHCI as default mode Signed-off-by: Ramneek Mehresh --- include/configs/ls1021atwr.h | 28 1 file changed, 28 insertions(+) diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h index

[U-Boot] [PATCH] powerpc/8xxx: Fix in USB device-tree fixup

2014-08-21 Thread Ramneek Mehresh
index is -1. Now these are updated only when their respective index is pointing to relevant types in modes[] and phys[] array - dr_mode_type and dr_phy_type were not NULL for each controller Signed-off-by: Ramneek Mehresh --- arch/powerpc/cpu/mpc8xxx/fdt.c

[U-Boot] [PATCH] 85xx/b4:Correct USB DR controller liodn entry

2014-08-21 Thread Ramneek Mehresh
ntroller bus transactions Signed-off-by: Poonam Aggrwal Signed-off-by: Ramneek Mehresh Reviewed-by: Sethi Varun-B16395 Reviewed-by: Sun Yusong-R58495 --- arch/powerpc/cpu/mpc85xx/b4860_ids.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/cpu/mpc85xx/b4860_ids.c

[U-Boot] [PATCH] fsl/usb: Add USB XHCI support

2014-07-25 Thread Ramneek Mehresh
Add USB XHCI stack support for USB2.0/USB3.0 devices Signed-off-by: Ramneek Mehresh --- drivers/usb/host/Makefile| 1 + drivers/usb/host/xhci-fsl.c | 147 +++ include/linux/usb/xhci-fsl.h | 48 ++ 3 files changed, 196 insertions

[U-Boot] [PATCH] 85xx/p1020:Define no. of usb controllers used on P1020RDB-PD platform

2014-05-12 Thread Ramneek Mehresh
Define number of USB controllers used on P1020RDB-PD platform. This platform has P1020 SoC which has two USB controllers, but only first one is used on the platform Signed-off-by: Ramneek Mehresh --- arch/powerpc/include/asm/config_mpc85xx.h | 2 ++ include/configs/p1_p2_rdb_pc.h| 4

[U-Boot] [PATCH] powerpc/83xx: Define USB1 and USB2 base addr for MPC834x

2013-10-19 Thread Ramneek Mehresh
Define base addresse for both MPH(USB1) and DR(USB2) controllers for MPC834x socs Signed-off-by: Ramneek Mehresh --- arch/powerpc/include/asm/immap_83xx.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/powerpc/include/asm/immap_83xx.h b/arch/powerpc/include/asm/immap_83xx.h

[U-Boot] [PATCH 1/2][v3]powerpc/usb:Define CONFIG_USB_MAX_CONTROLLER_COUNT for all 85xx socs

2013-10-18 Thread Ramneek Mehresh
CONFIG_USB_MAX_CONTROLLER_COUNT macro recently defined for initializing all USB controllers on a given platform. This macro is defined for all 85xx socs Signed-off-by: Ramneek Mehresh --- Change for v3: - corrected macro mistake in fdt.c file ifdef

[U-Boot] [PATCH 1/2][v2]powerpc/usb:Define CONFIG_USB_MAX_CONTROLLER_COUNT for all 85xx socs

2013-10-10 Thread Ramneek Mehresh
CONFIG_USB_MAX_CONTROLLER_COUNT macro recently defined for initializing all USB controllers on a given platform. This macro is defined for all 85xx socs Signed-off-by: Ramneek Mehresh --- Changes for v2: rebased on u-boot-mpc85xx-next arch/powerpc/cpu/mpc8xxx/fdt.c| 6 -- arch

[U-Boot] [PATCH 0/2]powerpc/usb:Intergrate multiple USB controller support

2013-09-12 Thread Ramneek Mehresh
Make multiple USB controllers work inside u-boot by doing the following: - Defining max. no of USB controllers for each soc - Defining proper base address for each controller so that initialization code can work for each of them Ramneek Mehresh (2): powerpc/usb:Define

[U-Boot] [PATCH 1/2] powerpc/usb:Define CONFIG_USB_MAX_CONTROLLER_COUNT for all 85xx socs

2013-09-12 Thread Ramneek Mehresh
CONFIG_USB_MAX_CONTROLLER_COUNT macro recently defined for initializing all USB controllers on a given platform. This macro is defined for all 85xx socs Signed-off-by: Ramneek Mehresh --- arch/powerpc/cpu/mpc8xxx/fdt.c| 6 -- arch/powerpc/include/asm/config_mpc85xx.h | 24

[U-Boot] [PATCH 2/2] powerpc/usb:Differentiate USB controller base address

2013-09-12 Thread Ramneek Mehresh
Introduce different macros for storing addresses of multiple USB controllers. This is required for successful initialization and usage of multiple USB controllers inside u-boot Signed-off-by: Ramneek Mehresh --- arch/powerpc/cpu/mpc83xx/cpu_init.c | 2 +- arch/powerpc/include/asm

[U-Boot] [PATCH] powerpc/usb: Mention usb1 before usb2 inside default hwconfig string

2013-09-10 Thread Ramneek Mehresh
For USB device-tree fix-up to work properly, its necessary to mention USB1 options before that of USB2 inside default hwconfig string Signed-off-by: Ramneek Mehresh --- include/configs/corenet_ds.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs

[U-Boot] [PATCH 2/2]powerpc/fdt: Modify USB device-tree fixup for erratum-A006918

2013-08-05 Thread Ramneek Mehresh
om using this device Signed-off-by: Ramneek Mehresh --- Applies on git://git.denx.de/u-boot.git (branch master) arch/powerpc/cpu/mpc8xxx/fdt.c | 91 ++ 1 file changed, 74 insertions(+), 17 deletions(-) diff --git a/arch/powerpc/cpu/mpc8xxx/fdt.c b/arch/power

[U-Boot] [PATCH 1/2]powerpc/usb: Workaround for erratum-A006918

2013-08-05 Thread Ramneek Mehresh
Erratum-A006918 prevents internal UTMI dual phy pll inside T4240 rev 1.0 from starting sometimes. Workaround involves restarting phy pll maximum seven times with 1ms delay in each loop Signed-off-by: Ramneek Mehresh Signed-off-by: Suresh Gupta --- Applies on git://git.denx.de/u-boot.git (branch

[U-Boot] [PATCH] powerpc/usb: Depricate usb_phy_type and usb_dr_mode uboot env variables

2013-08-05 Thread Ramneek Mehresh
Remove getting values of usb mode and phy_type from "usb_dr_mode" and "usb_phy_type" uboot env variables. Now, these are determined only from hwconfig string Signed-off-by: Ramneek Mehresh --- arch/powerpc/cpu/mpc8xxx/fdt.c | 22 -- 1 file changed, 2

[U-Boot] [PATCH]fsl/usb: Move USB internal phy definitions to fsl_usb.h

2013-08-05 Thread Ramneek Mehresh
fsl_usb.h file created to share data bewteen usb platform code and usb ip driver. Internal phy structure definitions moved to this file Signed-off-by: Ramneek Mehresh --- Applies on git://git.denx.de/u-boot.git (branch master) arch/powerpc/cpu/mpc85xx/cpu_init.c | 7 +-- arch/powerpc

[U-Boot] [PATCH][v3]powerpc/usb: Fix usb device-tree fix-up

2013-02-17 Thread Ramneek Mehresh
Fix USB device-tree fixup to properly handle device-tree fixup and print appropriate message when wrong/junk "dr_mode" or "phy_type" are mentioned in hwconfig string Signed-off-by: Ramneek Mehresh --- Changes for v3: - used puts instead of printf - error

[U-Boot] [PATCH][v2]powerpc/usb: Fix usb device-tree fix-up

2013-02-07 Thread Ramneek Mehresh
Fix USB device-tree fixup to properly handle device-tree fixup and print appropriate message when wrong/junk "dr_mode" or "phy_type" are mentioned in hwconfig string Signed-off-by: Ramneek Mehresh --- Changes for v2: - changed "WARNING" message to &quo

[U-Boot] [PATCH]powerpc/usb: Fix usb device-tree fix-up

2013-02-06 Thread Ramneek Mehresh
Fix USB device-tree fixup to properly handle device-tree fixup and print appropriate message when wrong/junk "dr_mode" or "phy_type" are mentioned in hwconfig string Signed-off-by: Ramneek Mehresh --- arch/powerpc/cpu/mpc8xxx/fdt.c | 6 ++ 1 file changed, 6 inserti

[U-Boot] [PATCH]powerpc/mpc8xxx: Fix USB device-tree fixup

2012-09-19 Thread Ramneek Mehresh
or using usb_dr_mode and usb_phy_type env variables (if either is used) Signed-off-by: Ramneek Mehresh --- Applies on git://git.denx.de/u-boot.git (branch master) arch/powerpc/cpu/mpc8xxx/fdt.c | 50 +++ 1 files changed, 34 insertions(+), 16 deletions(-

[U-Boot] [PATCH][v2]powerpc/85xx: Add USB device-tree fixup for various platforms

2012-04-18 Thread Ramneek Mehresh
Add USB device-tree fixup for following platforms: MPC8536DS, P1022DS, P1023RDS, P2020COME, P2020DS, P2041RDB, P3060QDS Signed-off-by: Ramneek Mehresh --- Changes for v2: - removed extra call to fdt_fixup_dr_usb() outside CONFIG_HAS_FSL_DR_USB macro for p2020come

[U-Boot] [PATCH] powerpc/85xx: Add USB device-tree fixup for various platforms

2012-03-26 Thread Ramneek Mehresh
Add USB device-tree fixup for following platforms: MPC8536DS, P1022DS, P1023RDS, P2020COME, P2020DS, P2041RDB, P3060QDS Signed-off-by: Ramneek Mehresh --- board/freescale/mpc8536ds/mpc8536ds.c |7 ++- board/freescale/p1022ds/p1022ds.c |6 +- board/freescale/p1023rds

[U-Boot] [PATCH][v3]powerpc/8xxx:Add MPH controller support in USB device-tree fixup

2012-02-10 Thread Ramneek Mehresh
Add support for fixing usb mode and phy type for MPH(Multi Port Host) USB controllers in device-tree nodes. Required for socs like P3060, P5020, etc having MPH USB controller Signed-off-by: Ramneek Mehresh --- Changes for v3: - removed const* type cast for node_type - used

[U-Boot] [PATCH]powerpc/8xxx: Cleanup USB device-tree fixup

2012-02-06 Thread Ramneek Mehresh
Some code cleanup done for USB device-tree fixup: - handling error value returned from fdt_fixup_usb_mode_phy_type() - using ARRAY_SIZE macro - using snprintf instead of sprintf Signed-off-by: Ramneek Mehresh --- KW Warnings fixed: using snprintf instead of sprintf arch

[U-Boot] [PATCH][v2]powerpc/8xxx:Add MPH controller support in USB device-tree fixup

2012-02-06 Thread Ramneek Mehresh
Add support for fixing usb mode and phy type for MPH(Multi Port Host) USB controllers in device-tree nodes. Required for socs like P3060, P5020, etc having MPH USB controller Signed-off-by: Ramneek Mehresh --- Changes for v2: - used compat_dr and compat_mph strings instead of

[U-Boot] [PATCH]powerpc/8xxx:Add MPH controller support in USB device-tree fixup

2012-01-27 Thread Ramneek Mehresh
Add support for fixing usb mode and phy type for MPH(Multi Port Host) USB controllers in device-tree nodes. Required for socs like P3060, P5020, etc having MPH USB controller. Signed-off-by: Ramneek Mehresh --- arch/powerpc/cpu/mpc8xxx/fdt.c | 46

[U-Boot] [PATCH] powerpc/85xx: Fix warning for USB device-fixup

2011-11-07 Thread Ramneek Mehresh
rning Signed-off-by: Ramneek Mehresh --- arch/powerpc/cpu/mpc8xxx/fdt.c | 24 +--- 1 files changed, 13 insertions(+), 11 deletions(-) diff --git a/arch/powerpc/cpu/mpc8xxx/fdt.c b/arch/powerpc/cpu/mpc8xxx/fdt.c index 112c603..d07ae1b 100644 --- a/arch/powerpc/cpu/mpc8xxx/fdt.

[U-Boot] [PATCH]powerpc/85xx: Make inclusion of USB device fixup conditional

2011-11-07 Thread Ramneek Mehresh
Include call to usb device-fixup only when CONFIG_HAS_FSL_DR_USB is defined for the platform - P1020RDB, P1010RDB, P1020-PC Signed-off-by: Ramneek Mehresh --- board/freescale/p1010rdb/p1010rdb.c |2 ++ board/freescale/p1_p2_rdb/p1_p2_rdb.c |2 ++ board/freescale

[U-Boot] [PATCH]powerpc/85xx: Make inclusion of USB device fixup conditional

2011-11-07 Thread Ramneek Mehresh
Include call to usb device-fixup only when CONFIG_HAS_FSL_DR_USB is defined for the platform - P1020RDB, P1010RDB, P1020-PC Signed-off-by: Ramneek Mehresh --- board/freescale/p1010rdb/p1010rdb.c |2 ++ board/freescale/p1_p2_rdb/p1_p2_rdb.c |2 ++ board/freescale

[U-Boot] [PATCH] powerpc/8xxx: Update USB mode device tree fixup

2011-06-08 Thread Ramneek Mehresh
Signed-off-by: Ramneek Mehresh --- arch/powerpc/cpu/mpc8xxx/fdt.c | 77 +-- 1 files changed, 65 insertions(+), 12 deletions(-) diff --git a/arch/powerpc/cpu/mpc8xxx/fdt.c b/arch/powerpc/cpu/mpc8xxx/fdt.c index 520cb90..d9e3e7e 100644 --- a/arch/powerpc/cpu

[U-Boot] [PATCH][v2]qoriq/p1_p2_rdb: Add Dual Role USB support macro for P1020RDB

2011-05-12 Thread Ramneek Mehresh
Add CONFIG_HAS_FSL_DR_USB macro for P1020RDB Signed-off-by: Ramneek Mehresh --- Changes for v2: - rebased on http://git.denx.de/u-boot.git include/configs/P1_P2_RDB.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/P1_P2_RDB.h b/include/configs

[U-Boot] [PATCH][v2] qoriq/p1_p2_rdb: USB device-tree fixups for P1020

2011-05-12 Thread Ramneek Mehresh
Resolve P1020 second USB controller multiplexing with eLBC - mandatory to mention USB2 in hwconfig string to select it over eLBC, otherwise USB2 node is removed - works only for SPI and SD boot Signed-off-by: Ramneek Mehresh --- Changes for v2: - Incorporated

[U-Boot] [PATCH] qoriq/p1_p2_rdb: USB device-tree fixups for P1020

2011-05-10 Thread Ramneek Mehresh
Resolve P1020 second USB controller multiplexing with eLBC - mandatory to mention USB2 in hwconfig string to select it over eLBC, otherwise USB2 node is removed - works only for SPI and SD boot Signed-off-by: Ramneek Mehresh --- Applies on git://git.am.freescale.net

[U-Boot] [PATCH]qoriq/p1_p2_rdb: Add Dual Role USB support macro for P1020RDB

2011-05-10 Thread Ramneek Mehresh
Add CONFIG_HAS_FSL_DR_USB macro for P1020RDB Signed-off-by: Ramneek Mehresh --- Applies on git://git.am.freescale.net/mirrors/u-boot.git (branch master) include/configs/P1_P2_RDB.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/P1_P2_RDB.h b/include

[U-Boot] [PATCH] powerpc/qoriq: Update USB mode device tree fixup

2011-03-22 Thread Ramneek Mehresh
Signed-off-by: Ramneek Mehresh --- Applies on git://git.am.freescale.net/mirrors/u-boot (branch next) arch/powerpc/cpu/mpc8xxx/fdt.c| 84 ++--- arch/powerpc/include/asm/immap_85xx.h |3 +- include/fdt_support.h |6 ++- 3 files changed