RE: [EXT] Re: [PATCH v1] usb: dwc3: remove the call trace of USBx_GFLADJ

2019-09-04 Thread Yinbo Zhu
Hi Balbi, If no other doubts, please help apply it. Thanks, Regards, Yinbo Zhu. -Original Message- From: Felipe Balbi Sent: 2019年8月27日 19:55 To: Ran Wang ; Yinbo Zhu ; Greg Kroah-Hartman ; linux-usb@vger.kernel.org; open list Cc: Xiaobo Xie ; Jiafei Pan Subject: RE: [EXT] Re

RE: [EXT] Re: [PATCH v1] usb: dwc3: remove the call trace of USBx_GFLADJ

2019-08-14 Thread Yinbo Zhu
> -Original Message- > From: Felipe Balbi [mailto:ba...@kernel.org] > Sent: 2019年8月12日 13:27 > To: Yinbo Zhu ; Greg Kroah-Hartman > ; linux-usb@vger.kernel.org; open list > > Cc: Xiaobo Xie ; Jiafei Pan ; Ran > Wang > Subject: RE: [EXT] Re: [PATCH v1] usb:

RE: [EXT] Re: [PATCH v1] usb: dwc3: remove the call trace of USBx_GFLADJ

2019-08-11 Thread Yinbo Zhu
> -Original Message- > From: Felipe Balbi [mailto:ba...@kernel.org] > Sent: 2019年8月8日 13:07 > To: Yinbo Zhu ; Greg Kroah-Hartman > ; linux-usb@vger.kernel.org; open list > > Cc: Yinbo Zhu ; Xiaobo Xie ; Jiafei > Pan ; Ran Wang > Subject: [EXT] Re: [PATCH v1]

[PATCH v1] usb: dwc3: remove the call trace of USBx_GFLADJ

2019-07-28 Thread Yinbo Zhu
clock that drives the SOF counter, 0x20 is default value of it)That is normal logic, so need remove the call trace. Signed-off-by: Yinbo Zhu --- drivers/usb/dwc3/core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index

[PATCH v4 1/5] usb: fsl: Set USB_EN bit to select ULPI phy

2019-01-24 Thread Yinbo Zhu
From: Nikhil Badola Set USB_EN bit to select ULPI phy for USB controller version 2.5 Signed-off-by: Nikhil Badola Signed-off-by: Yinbo Zhu --- Change in v4: Incorrect indentation of the continuation line drivers/usb/host/ehci-fsl.c |6 ++ 1 files changed, 6

[PATCH v4 4/5] usb: host: Stops USB controller init if PLL fails to lock

2019-01-24 Thread Yinbo Zhu
in device-tree. Presence of this node in device-tree is used to stop USB controller initialization in Linux Signed-off-by: Ramneek Mehresh Signed-off-by: Suresh Gupta Signed-off-by: Yinbo Zhu --- drivers/usb/host/ehci-fsl.c |5 + drivers/usb/host/fsl-mph-dr-of.c |3 ++- 2 files

[PATCH v4 5/5] usb :fsl: Change string format for errata property

2019-01-24 Thread Yinbo Zhu
From: Nikhil Badola Remove USB errata checking code from driver. Applicability of erratum is retrieved by reading corresponding property in device tree. This property is written during device tree fixup. Signed-off-by: Ramneek Mehresh Signed-off-by: Nikhil Badola Signed-off-by: Yinbo Zhu

[PATCH v4 3/5] usb: linux/fsl_device: Add platform member has_fsl_erratum_a006918

2019-01-24 Thread Yinbo Zhu
From: Yinbo Zhu This patch is to add member has_fsl_erratum_a006918 in platform data Signed-off-by: Yinbo Zhu --- include/linux/fsl_devices.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index 5da56a6

[PATCH v4 2/5] usb: phy: Workaround for USB erratum-A005728

2019-01-24 Thread Yinbo Zhu
PHY clock is not available. This erratum is applicable for USBDR less then ver 2.4. Signed-off-by: Suresh Gupta Signed-off-by: Yinbo Zhu --- Change in v4: Incorrect indentation of the continuation line. replace pr_err with dev_err. drivers/usb/host/ehci-fsl.c

[PATCH v3 3/5] usb: host: Stops USB controller init if PLL fails to lock

2019-01-22 Thread Yinbo Zhu
in device-tree. Presence of this node in device-tree is used to stop USB controller initialization in Linux Signed-off-by: Ramneek Mehresh Signed-off-by: Suresh Gupta Signed-off-by: Yinbo Zhu --- drivers/usb/host/ehci-fsl.c |5 + drivers/usb/host/fsl-mph-dr-of.c |4 2 files

[PATCH v3 1/5] usb: fsl: Set USB_EN bit to select ULPI phy

2019-01-22 Thread Yinbo Zhu
From: Nikhil Badola Set USB_EN bit to select ULPI phy for USB controller version 2.5 Signed-off-by: Nikhil Badola Signed-off-by: Yinbo Zhu --- Change in v3: Code base already has patch[5/6], so remove it. drivers/usb/host/ehci-fsl.c |6 ++ 1 files changed, 6

[PATCH v3 2/5] usb: phy: Workaround for USB erratum-A005728

2019-01-22 Thread Yinbo Zhu
PHY clock is not available. This erratum is applicable for USBDR less then ver 2.4. Signed-off-by: Suresh Gupta Signed-off-by: Yinbo Zhu --- Change in v3: replace in_be32 with ioread32be drivers/usb/host/ehci-fsl.c | 37 ++--- drivers/usb/host

[PATCH v3 4/5] usb: linux/fsl_device: Add platform member has_fsl_erratum_a006918

2019-01-22 Thread Yinbo Zhu
From: Yinbo Zhu This patch is to add member has_fsl_erratum_a006918 in platform data Signed-off-by: Yinbo Zhu --- include/linux/fsl_devices.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index 5da56a6

[PATCH v3 5/5] usb :fsl: Change string format for errata property

2019-01-22 Thread Yinbo Zhu
From: Nikhil Badola Remove USB errata checking code from driver. Applicability of erratum is retrieved by reading corresponding property in device tree. This property is written during device tree fixup. Signed-off-by: Ramneek Mehresh Signed-off-by: Nikhil Badola Signed-off-by: Yinbo Zhu

[PATCH v2 4/6] usb: linux/fsl_device: Add platform member has_fsl_erratum_a006918

2019-01-21 Thread Yinbo Zhu
From: Yinbo Zhu This patch is to add member has_fsl_erratum_a006918 in platform data Signed-off-by: Yinbo Zhu --- include/linux/fsl_devices.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index 60cef82

[PATCH v2 5/6] usb: linux/fsl_device: Add platform member has_fsl_erratum_14

2019-01-21 Thread Yinbo Zhu
From: Yinbo Zhu This patch is to add member has_fsl_erratum_14 in platform data Signed-off-by: Yinbo Zhu --- include/linux/fsl_devices.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index 7ea53c8..5c21a3a

[PATCH v2 6/6] usb :fsl: Change string format for errata property

2019-01-21 Thread Yinbo Zhu
From: Nikhil Badola Remove USB errata checking code from driver. Applicability of erratum is retrieved by reading corresponding property in device tree. This property is written during device tree fixup. Signed-off-by: Ramneek Mehresh Signed-off-by: Nikhil Badola Signed-off-by: Yinbo Zhu

[PATCH v2 3/6] usb: host: Stops USB controller init if PLL fails to lock

2019-01-21 Thread Yinbo Zhu
evice-tree. Presence of this node in device-tree is used to stop USB controller initialization in Linux Signed-off-by: Ramneek Mehresh Signed-off-by: Suresh Gupta Signed-off-by: Yinbo Zhu --- Change in v2: replace Yinbo.Zhu with Yinbo Zhu drivers/usb/host/ehci-fsl.c |5

[PATCH v2 1/6] usb: fsl: Set USB_EN bit to select ULPI phy

2019-01-21 Thread Yinbo Zhu
From: Nikhil Badola Set USB_EN bit to select ULPI phy for USB controller version 2.5 Signed-off-by: Nikhil Badola Signed-off-by: Yinbo Zhu --- Change in v2: replace Yinbo.Zhu with Yinbo Zhu drivers/usb/host/ehci-fsl.c |6 ++ 1 files changed, 6 insertions(+), 0

[PATCH v2 2/6] usb: phy: Workaround for USB erratum-A005728

2019-01-21 Thread Yinbo Zhu
PHY clock is not available. This erratum is applicable for USBDR less then ver 2.4. Signed-off-by: Suresh Gupta Signed-off-by: Yinbo Zhu --- Change in v2: replace Yinbo.Zhu with Yinbo Zhu drivers/usb/host/ehci-fsl.c | 37 ++--- drivers/usb/host

RE: [PATCH v1 3/6] usb: host: Stops USB controller init if PLL fails to lock

2019-01-21 Thread Yinbo Zhu
-Original Message- From: Sergei Shtylyov [mailto:sergei.shtyl...@cogentembedded.com] Sent: 2019年1月21日 16:17 To: Yinbo Zhu ; Alan Stern Cc: Xiaobo Xie ; Jerry Huang ; Ran Wang ; Greg Kroah-Hartman ; Ramneek Mehresh ; Nikhil Badola ; Suresh Gupta ; linux-usb@vger.kernel.org; linux

[PATCH v1 2/6] usb: phy: Workaround for USB erratum-A005728

2019-01-21 Thread Yinbo Zhu
From: Suresh Gupta PHY_CLK_VALID bit for UTMI PHY in USBDR does not set even if PHY is providing valid clock. Workaround for this involves resetting of PHY and check PHY_CLK_VALID bit multiple times. If PHY_CLK_VALID bit is still not set even after 5 retries, it would be safe to deaclare that PHY

[PATCH v1 5/6] usb: linux/fsl_device: Add platform member has_fsl_erratum_14

2019-01-21 Thread Yinbo Zhu
This patch is to add member has_fsl_erratum_14 in platform data Signed-off-by: Yinbo Zhu --- include/linux/fsl_devices.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index 7ea53c8..5c21a3a 100644 --- a/include

[PATCH v1 6/6] usb :fsl: Change string format for errata property

2019-01-21 Thread Yinbo Zhu
From: Nikhil Badola Remove USB errata checking code from driver. Applicability of erratum is retrieved by reading corresponding property in device tree. This property is written during device tree fixup. Signed-off-by: Ramneek Mehresh Signed-off-by: Nikhil Badola Signed-off-by: yinbo.zhu ---

[PATCH v1 1/6] usb: fsl: Set USB_EN bit to select ULPI phy

2019-01-21 Thread Yinbo Zhu
From: Nikhil Badola Set USB_EN bit to select ULPI phy for USB controller version 2.5 Signed-off-by: Nikhil Badola Signed-off-by: yinbo.zhu --- drivers/usb/host/ehci-fsl.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/ho

[PATCH v1 4/6] usb: linux/fsl_device: Add platform member has_fsl_erratum_a006918

2019-01-21 Thread Yinbo Zhu
This patch is to add member has_fsl_erratum_a006918 in platform data Signed-off-by: Yinbo Zhu --- include/linux/fsl_devices.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index 60cef82..7ea53c8 100644 --- a

[PATCH v1 3/6] usb: host: Stops USB controller init if PLL fails to lock

2019-01-21 Thread Yinbo Zhu
From: yinbo.zhu USB erratum-A006918 workaround tries to start internal PHY inside uboot (when PLL fails to lock). However, if the workaround also fails, then USB initialization is also stopped inside Linux. Erratum-A006918 workaround failure creates "fsl,erratum_a006918" node in device-tree. Pres

RE: [PATCH v2] usb: host: Implement workaround for Erratum A-009611

2017-12-11 Thread Yinbo Zhu
-Original Message- From: Felipe Balbi [mailto:felipe.ba...@linux.intel.com] Sent: Monday, December 11, 2017 4:52 PM To: Yinbo Zhu ; Greg Kroah-Hartman Cc: Mathias Nyman ; open list:DESIGNWARE USB3 DRD IP DRIVER ; open list:DESIGNWARE USB3 DRD IP DRIVER ; open list ; Xiaobo Xie

RE: [PATCH v2] usb: host: Implement workaround for Erratum A-009611

2017-12-11 Thread Yinbo Zhu
-Original Message- From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] Sent: Friday, December 08, 2017 6:21 PM To: Yinbo Zhu Cc: Felipe Balbi ; Mathias Nyman ; open list:DESIGNWARE USB3 DRD IP DRIVER ; open list:DESIGNWARE USB3 DRD IP DRIVER ; open list ; Xiaobo Xie ; Jerry

RE: [PATCH v2] usb: host: Implement workaround for Erratum A-009611

2017-12-11 Thread Yinbo Zhu
-Original Message- From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] Sent: Monday, December 11, 2017 3:35 PM To: Yinbo Zhu Cc: Felipe Balbi ; Mathias Nyman ; open list:DESIGNWARE USB3 DRD IP DRIVER ; open list:DESIGNWARE USB3 DRD IP DRIVER ; open list ; Xiaobo Xie

RE: [PATCH v2] usb: host: Implement workaround for Erratum A-007463

2017-12-11 Thread Yinbo Zhu
-Original Message- From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] Sent: Monday, December 11, 2017 3:34 PM To: Yinbo Zhu Cc: Felipe Balbi ; Mathias Nyman ; open list:DESIGNWARE USB3 DRD IP DRIVER ; open list:DESIGNWARE USB3 DRD IP DRIVER ; open list ; Xiaobo Xie ; Jerry

RE: [PATCH v2] usb: host: Implement workaround for Erratum A-009611

2017-12-10 Thread Yinbo Zhu
-Original Message- From: Felipe Balbi [mailto:felipe.ba...@linux.intel.com] Sent: Friday, December 08, 2017 6:44 PM To: Greg Kroah-Hartman ; Yinbo Zhu Cc: Mathias Nyman ; open list:DESIGNWARE USB3 DRD IP DRIVER ; open list:DESIGNWARE USB3 DRD IP DRIVER ; open list ; Xiaobo Xie

RE: [PATCH v2] usb: host: Implement workaround for Erratum A-007463

2017-12-10 Thread Yinbo Zhu
-Original Message- From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] Sent: Friday, December 08, 2017 6:18 PM To: Yinbo Zhu Cc: Felipe Balbi ; Mathias Nyman ; open list:DESIGNWARE USB3 DRD IP DRIVER ; open list:DESIGNWARE USB3 DRD IP DRIVER ; open list ; Xiaobo Xie ; Jerry