RE: [PATCH] arm64: dts: ls1088a: Add USB support

2017-08-18 Thread Yinbo Zhu
-Original Message- From: Shawn Guo [mailto:shawn...@kernel.org] Sent: Thursday, August 17, 2017 10:03 PM To: Yinbo Zhu <yinbo@nxp.com> Cc: linux-de...@gforge.freescale.net; Rob Herring <robh...@kernel.org>; Mark Rutland <mark.rutl...@arm.com>; Catalin Mar

RE: [PATCH v2] arm64: dts: ls1088a: Add USB support

2017-10-24 Thread Yinbo Zhu
-Original Message- From: Shawn Guo [mailto:shawn...@kernel.org] Sent: Friday, September 22, 2017 2:55 PM To: Yinbo Zhu <yinbo@nxp.com> Cc: Rob Herring <robh...@kernel.org>; Mark Rutland <mark.rutl...@arm.com>; Catalin Marinas ) <catalin.mari...@arm.com>;

RE: [PATCH v2] arm64: dts: ls1088a: Add USB support

2017-12-19 Thread Yinbo Zhu
-Original Message- From: Shawn Guo [mailto:shawn...@kernel.org] Sent: Wednesday, December 20, 2017 10:53 AM To: Yinbo Zhu <yinbo@nxp.com> Cc: Rob Herring <robh...@kernel.org>; Mark Rutland <mark.rutl...@arm.com>; Catalin Marinas ) <catalin.mari...@arm.com>;

RE: [PATCH v2] arm64: dts: ls1088a: Add USB support

2017-11-14 Thread Yinbo Zhu
-Original Message- From: Yinbo Zhu Sent: Tuesday, October 24, 2017 5:15 PM To: Shawn Guo <shawn...@kernel.org> Cc: Rob Herring <robh...@kernel.org>; Mark Rutland <mark.rutl...@arm.com>; Catalin Marinas ) <catalin.mari...@arm.com>; Will Deacon ) <will.dea

RE: [PATCH v2] arm64: dts: ls1088a: Add USB support

2017-11-21 Thread Yinbo Zhu
Hi -Original Message- From: Yinbo Zhu Sent: Tuesday, November 14, 2017 4:00 PM To: 'Shawn Guo' <shawn...@kernel.org> Cc: 'Rob Herring' <robh...@kernel.org>; 'Mark Rutland' <mark.rutl...@arm.com>; 'Catalin Marinas )' <catalin.mari...@arm.com>; 'Will Deacon

RE: [PATCH v2] arm64: dts: ls1088a: Add USB support

2017-12-06 Thread Yinbo Zhu
Hi shawn guo, If my patch has no other issue, Can you help me push it to upstream. Thanks. BRs. -Original Message- From: Yinbo Zhu Sent: Wednesday, November 22, 2017 9:32 AM To: 'Shawn Guo' <shawn...@kernel.org> Cc: 'Rob Herring' <robh...@kernel.org>; 'Mark Rutland

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 <yinbo@nxp.com> Cc: Felipe Balbi <ba...@ti.com>; Mathias Nyman <mathias.ny...@intel.com>; open list:DESIGNWARE USB3 DR

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 <gre...@linuxfoundation.org>; Yinbo Zhu <yinbo@nxp.com> Cc: Mathias Nyman <mathias.ny...@intel.com>; open list:DESIGNWARE U

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 <yinbo@nxp.com> Cc: Felipe Balbi <ba...@ti.com>; Mathias Nyman <mathias.ny...@intel.com>; open list:DESIGNWARE USB3 DR

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 <yinbo@nxp.com> Cc: Felipe Balbi <felipe.ba...@linux.intel.com>; Mathias Nyman <mathias.ny...@intel.com>; open list:DESIGNWARE

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 <yinbo@nxp.com> Cc: Felipe Balbi <ba...@ti.com>; Mathias Nyman <mathias.ny...@intel.com>; open list:DESIGNWARE USB3 DR

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 <yinbo@nxp.com>; Greg Kroah-Hartman <gre...@linuxfoundation.org> Cc: Mathias Nyman <mathias.ny...@intel.com>; open list:DESIGNWARE U

RE: [PATCH 3/9] soc: fsl: set rcpm bit for FTM

2018-05-14 Thread Yinbo Zhu
-Original Message- From: Leo Li Sent: 2018年5月12日 1:00 To: Yinbo Zhu <yinbo@nxp.com>; Yinbo Zhu <yinbo@nxp.com>; Rob Herring <robh...@kernel.org>; Mark Rutland <mark.rutl...@arm.com>; Catalin Marinas ) <catalin.mari...@arm.com>; Will Deacon )

[PATCH 8/9] arm64: dts: ls1046a: Add the identify of the platform to support to set rcpm bit

2018-05-10 Thread Yinbo Zhu
From: Zhang Ying-22455 Add the identify of the platform to support set the rcpm with big-endian or little-endian. Signed-off-by: Zhang Ying-22455 --- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi |2 +- 1 files changed, 1 insertions(+), 1

[PATCH 9/9] armv8: add psci 0.2 stardard support

2018-05-10 Thread Yinbo Zhu
From: Yuantian Tang In current kernel, only psci v1.0 is supported. But our psci firmware only support psci v0.2. So update psci driver to support psci v0.2. Signed-off-by: Tang Yuantian --- drivers/firmware/psci.c |4 1 files changed, 4

[PATCH 4/9] arm64: dts: ls208xa: Add the identify of the platform to support to set rcpm bit

2018-05-10 Thread Yinbo Zhu
From: Zhang Ying-22455 Add the identify of the platform to support set the rcpm with big-endian or little-endian. Signed-off-by: Zhang Ying-22455 --- arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi |6 -- 1 files changed, 4

[PATCH 7/9] arm64: dts: ls1043a: Add the identify of the platform to support to set rcpm bit

2018-05-10 Thread Yinbo Zhu
From: Zhang Ying-22455 Add the identify of the platform to support set the rcpm with big-endian or little-endian. Signed-off-by: Zhang Ying-22455 --- arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi |2 +- 1 files changed, 1 insertions(+), 1

[PATCH 6/9] soc: fsl: fix the compilation issue

2018-05-10 Thread Yinbo Zhu
From: Zhang Ying-22455 Signed-off-by: Zhang Ying-22455 --- drivers/soc/fsl/layerscape/ftm_alarm.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/soc/fsl/layerscape/ftm_alarm.c

[PATCH 5/9] drivers: firmware: psci: use psci v0.2 to implement sleep

2018-05-10 Thread Yinbo Zhu
From: Yuantian Tang <andy.t...@nxp.com> Technically psci v0.2 can not support system sleep. Unfortunately our PPA only supports psci v0.2. So workaround this by changing psci v1.0 to v0.2 call to implement system sleep. Signed-off-by: Tang Yuantian <andy.t...@nxp.com> Signed-off-b

[PATCH 2/9] armv8: pm: Fix issue of rcpm driver wrongly program other IP control bits

2018-05-10 Thread Yinbo Zhu
ontrol bit which might have been programmed, should be prevented. Signed-off-by: Ran Wang <ran.wan...@nxp.com> Signed-off-by: Yinbo Zhu <yinbo@nxp.com> --- drivers/soc/fsl/rcpm.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/soc/fsl/rcpm.c

[PATCH 3/9] soc: fsl: set rcpm bit for FTM

2018-05-10 Thread Yinbo Zhu
.@nxp.com> Signed-off-by: Yinbo Zhu <yinbo@nxp.com> --- .../devicetree/bindings/timer/fsl,ftm-timer.txt|7 ++ drivers/soc/fsl/layerscape/ftm_alarm.c | 92 ++- 2 files changed, 94 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bind

[PATCH 1/9] armv8: pm: add rcpm module support

2018-05-10 Thread Yinbo Zhu
; Signed-off-by: Yinbo Zhu <yinbo@nxp.com> --- drivers/soc/fsl/Makefile |1 + drivers/soc/fsl/rcpm.c | 153 ++ 2 files changed, 154 insertions(+), 0 deletions(-) create mode 100644 drivers/soc/fsl/rcpm.c diff --git a/drivers/soc/fsl/Make

[PATCH v1] arm64: dts: ls1043a: Add configure-gfladj property to USB3 node

2018-08-28 Thread Yinbo Zhu
From: Rajesh Bhagat Add "configure-gfladj" boolean property to USB3 node. This property is used to determine whether frame length adjustent is required or not Signed-off-by: Rajesh Bhagat Signed-off-by: Ran Wang --- arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi |3 +++ 1 files changed,

[PATCH v2] arm64: dts: ls1043a: Add configure-gfladj property to USB3 node

2018-08-28 Thread Yinbo Zhu
From: Rajesh Bhagat Add "configure-gfladj" boolean property to USB3 node. This property is used to determine whether frame length adjustment is required or not Signed-off-by: Rajesh Bhagat Signed-off-by: Ran Wang Signed-off-by: Yinbo Zhu --- Change in v2: Modified

[PATCH v1] arch: arm64: add ARM64 specific fucntions required for ehci fsl driver

2018-11-15 Thread Yinbo Zhu
From: Rajesh Bhagat Add set/clear bits functions for ARM platform which are used by ehci fsl driver Signed-off-by: Rajesh Bhagat Signed-off-by: Yinbo Zhu --- arch/arm64/include/asm/io.h | 29 + 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/arch

[PATCH v2] arm64: dts: lx2160a: enable eSDHC controller

2018-10-11 Thread Yinbo Zhu
There are two eSDHC controllers in lx2160a. This patch is to enable eSDHC for RDB and QDS board. Signed-off-by: Yinbo Zhu --- Change in v2: squash all lx2160a esdhc dts patch into the original patch arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts |8 ++ arch/arm64

RE: [PATCH 3/9] soc: fsl: set rcpm bit for FTM

2018-05-14 Thread Yinbo Zhu
-Original Message- From: Leo Li Sent: 2018年5月12日 1:00 To: Yinbo Zhu ; Yinbo Zhu ; Rob Herring ; Mark Rutland ; Catalin Marinas ) ; Will Deacon ) ; Lorenzo Pieralisi ) Cc: Xiaobo Xie ; Ran Wang ; Daniel Lezcano ; Thomas Gleixner ; Shawn Guo ; Madalin-cristian Bucur ; Z.q. Hou

[PATCH 1/9] armv8: pm: add rcpm module support

2018-05-10 Thread Yinbo Zhu
From: Yuantian Tang The Run Control and Power Management (RCPM) module communicates with embedded cores, coherency modules, and other device platform module to provide run control and power management functionality Signed-off-by: Tang Yuantian Signed-off-by: Yinbo Zhu --- drivers/soc/fsl

[PATCH 2/9] armv8: pm: Fix issue of rcpm driver wrongly program other IP control bits

2018-05-10 Thread Yinbo Zhu
been programmed, should be prevented. Signed-off-by: Ran Wang Signed-off-by: Yinbo Zhu --- drivers/soc/fsl/rcpm.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/soc/fsl/rcpm.c b/drivers/soc/fsl/rcpm.c index ff0477b..39eabfb 100644 --- a/drivers/soc/fsl

[PATCH 3/9] soc: fsl: set rcpm bit for FTM

2018-05-10 Thread Yinbo Zhu
From: Zhang Ying-22455 Set RCPM for FTM when using FTM as wakeup source. Because the RCPM module of each platform has different big-end and little-end mode, there need to set RCPM depending on the platform. Signed-off-by: Zhang Ying-22455 Signed-off-by: Yinbo Zhu --- .../devicetree/bindings

[PATCH 5/9] drivers: firmware: psci: use psci v0.2 to implement sleep

2018-05-10 Thread Yinbo Zhu
From: Yuantian Tang Technically psci v0.2 can not support system sleep. Unfortunately our PPA only supports psci v0.2. So workaround this by changing psci v1.0 to v0.2 call to implement system sleep. Signed-off-by: Tang Yuantian Signed-off-by: Yinbo Zhu --- drivers/firmware/psci.c | 16

[PATCH 7/9] arm64: dts: ls1043a: Add the identify of the platform to support to set rcpm bit

2018-05-10 Thread Yinbo Zhu
From: Zhang Ying-22455 Add the identify of the platform to support set the rcpm with big-endian or little-endian. Signed-off-by: Zhang Ying-22455 --- arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 6/9] soc: fsl: fix the compilation issue

2018-05-10 Thread Yinbo Zhu
From: Zhang Ying-22455 Signed-off-by: Zhang Ying-22455 --- drivers/soc/fsl/layerscape/ftm_alarm.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/soc/fsl/layerscape/ftm_alarm.c b/drivers/soc/fsl/layerscape/ftm_alarm.c index 811dcfa..c22ef49 100644 ---

[PATCH 8/9] arm64: dts: ls1046a: Add the identify of the platform to support to set rcpm bit

2018-05-10 Thread Yinbo Zhu
From: Zhang Ying-22455 Add the identify of the platform to support set the rcpm with big-endian or little-endian. Signed-off-by: Zhang Ying-22455 --- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 9/9] armv8: add psci 0.2 stardard support

2018-05-10 Thread Yinbo Zhu
From: Yuantian Tang In current kernel, only psci v1.0 is supported. But our psci firmware only support psci v0.2. So update psci driver to support psci v0.2. Signed-off-by: Tang Yuantian --- drivers/firmware/psci.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git

[PATCH 4/9] arm64: dts: ls208xa: Add the identify of the platform to support to set rcpm bit

2018-05-10 Thread Yinbo Zhu
From: Zhang Ying-22455 Add the identify of the platform to support set the rcpm with big-endian or little-endian. Signed-off-by: Zhang Ying-22455 --- arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git

RE: [PATCH] arm64: dts: ls1088a: Add USB support

2017-08-18 Thread Yinbo Zhu
-Original Message- From: Shawn Guo [mailto:shawn...@kernel.org] Sent: Thursday, August 17, 2017 10:03 PM To: Yinbo Zhu Cc: linux-de...@gforge.freescale.net; Rob Herring ; Mark Rutland ; Catalin Marinas ; Will Deacon ; Harninder Rai ; Andy Tang ; open list: ; Ashish Kumar ; open

RE: [PATCH v2] arm64: dts: ls1088a: Add USB support

2017-12-19 Thread Yinbo Zhu
-Original Message- From: Shawn Guo [mailto:shawn...@kernel.org] Sent: Wednesday, December 20, 2017 10:53 AM To: Yinbo Zhu Cc: Rob Herring ; Mark Rutland ; Catalin Marinas ) ; Will Deacon ) ; Harninder Rai ; Raghav Dogra ; Ashish Kumar ; Andy Tang ; open list:OPEN FIRMWARE

RE: [PATCH v2] arm64: dts: ls1088a: Add USB support

2017-11-14 Thread Yinbo Zhu
-Original Message- From: Yinbo Zhu Sent: Tuesday, October 24, 2017 5:15 PM To: Shawn Guo Cc: Rob Herring ; Mark Rutland ; Catalin Marinas ) ; Will Deacon ) ; Harninder Rai ; Raghav Dogra ; Ashish Kumar ; Andy Tang ; open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS

RE: [PATCH v2] arm64: dts: ls1088a: Add USB support

2017-11-21 Thread Yinbo Zhu
Hi -Original Message- From: Yinbo Zhu Sent: Tuesday, November 14, 2017 4:00 PM To: 'Shawn Guo' Cc: 'Rob Herring' ; 'Mark Rutland' ; 'Catalin Marinas )' ; 'Will Deacon )' ; Harninder Rai ; 'Raghav Dogra' ; Ashish Kumar ; Andy Tang ; 'open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE

RE: [PATCH v2] arm64: dts: ls1088a: Add USB support

2017-12-06 Thread Yinbo Zhu
Hi shawn guo, If my patch has no other issue, Can you help me push it to upstream. Thanks. BRs. -Original Message- From: Yinbo Zhu Sent: Wednesday, November 22, 2017 9:32 AM To: 'Shawn Guo' Cc: 'Rob Herring' ; 'Mark Rutland' ; 'Catalin Marinas )' ; 'Will Deacon )' ; Harninder Rai

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

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-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-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-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: 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 v3] arm64: dts: ls1028a: Add esdhc node in dts

2019-07-30 Thread Yinbo Zhu
Hi, I just check mmc upstream code, that patch still not upstream. Please help merge it to upstream tree. Thanks Regards, Yinbo Zhu > -Original Message- > From: Yinbo Zhu [mailto:yinbo@nxp.com] > Sent: 2019年5月15日 16:49 > To: Shawn Guo ; Leo Li ; Rob > Herring

[PATCH v1] mmc: sdhci-of-esdhc: use 1/2 periperhal clock for ls1028a

2019-06-14 Thread Yinbo Zhu
From: Yangbo Lu LS1028A used 1/2 periperhal clock as one reference clock. Signed-off-by: Yangbo Lu --- drivers/mmc/host/sdhci-of-esdhc.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/sdhci-of-esdhc.c b/drivers/mmc/host/sdhci-of-esdhc.c index

[PATCH v1] mmc: sdhci-of-esdhc: set the sd clock divisor value above 3

2019-06-14 Thread Yinbo Zhu
From: Yangbo Lu This patch is to set the sd clock divisor value above 3 in tuning mode Signed-off-by: Yinbo Zhu Signed-off-by: Yangbo Lu --- drivers/mmc/host/sdhci-of-esdhc.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/mmc/host/sdhci-of-esdhc.c b/drivers/mmc/host

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

2019-06-14 Thread Yinbo Zhu
that 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 --- drivers/usb/host/ehci-fsl.c | 37 ++--- drivers/usb/host/ehci-fsl.h | 3 +++ 2 files changed, 29 insertions(+), 11 deletions

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

2019-06-14 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 v7 4/5] usb: host: Stops USB controller init if PLL fails to lock

2019-06-14 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 --- Change in v7: keep v5 version "fall through" drivers/usb/host

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

2019-06-14 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 file changed, 6 insertions(+) diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index

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

2019-06-14 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 file changed, 1 insertion(+) diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index cb2b46f57af3..5d231ce8709b 100644 --- a/include/linux

[PATCH v1] usb: dwc3: enable otg mode for dwc3 usb ip on layerscape

2019-09-09 Thread Yinbo Zhu
layerscape otg function should be supported HNP SRP and ADP protocol accroing to rm doc, but dwc3 code not realize it and use id pin to detect who is host or device(0 is host 1 is device) this patch is to enable OTG mode on ls1028ardb ls1088ardb and ls1046ardb in dts Signed-off-by: Yinbo Zhu

RE: [PATCH v2] arm64: dts: ls1088a: Add USB support

2017-10-24 Thread Yinbo Zhu
-Original Message- From: Shawn Guo [mailto:shawn...@kernel.org] Sent: Friday, September 22, 2017 2:55 PM To: Yinbo Zhu Cc: Rob Herring ; Mark Rutland ; Catalin Marinas ) ; Will Deacon ) ; Harninder Rai ; Raghav Dogra ; Ashish Kumar ; Andy Tang ; open list:OPEN FIRMWARE AND FLATTENED

RE: [EXT] Re: [PATCH v6 4/5] usb: host: Stops USB controller init if PLL fails to lock

2019-06-11 Thread Yinbo Zhu
> -Original Message- > From: Yinbo Zhu > Sent: 2019年6月6日 14:35 > To: Alan Stern > Cc: Xiaobo Xie ; Greg Kroah-Hartman > ; Ramneek Mehresh > ; Nikhil Badola > ; Ran Wang ; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Jiafei Pan > > Subject:

[PATCH v4] arm64: dts: ls1028a: Add esdhc node in dts

2019-08-05 Thread Yinbo Zhu
From: Ashish Kumar This patch is to add esdhc node and enable SD UHS-I, eMMC HS200 for ls1028ardb/ls1028aqds board. Signed-off-by: Ashish Kumar Signed-off-by: Yangbo Lu Signed-off-by: Yinbo Zhu --- Change in v4: put esdhc 'status' at end of property list. sort

[PATCH v1 2/4] soc: fsl: guts: Add definition for LS1028A

2019-08-14 Thread Yinbo Zhu
Adding compatible string "ls1028a-dcfg" to initialize guts driver for ls1028 and SoC die attribute definition for LS1028A Signed-off-by: Yinbo Zhu --- drivers/soc/fsl/guts.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/soc/fsl/guts.c b/drivers/soc/fsl/gu

[PATCH v1 1/4] arm64: dts: ls1028a-rdb: enable emmc hs400 mode

2019-08-14 Thread Yinbo Zhu
This patch is to enable emmc hs400 mode for ls1028ardb Signed-off-by: Yinbo Zhu --- arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl

[PATCH v1 4/4] mmc: sdhci-of-esdhc: add erratum A011334 support in ls1028a 1.0 SoC

2019-08-14 Thread Yinbo Zhu
This patch is to add erratum A011334 support in ls1028a 1.0 SoC Signed-off-by: Yinbo Zhu --- drivers/mmc/host/sdhci-of-esdhc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/host/sdhci-of-esdhc.c b/drivers/mmc/host/sdhci-of-esdhc.c index b16f7d440f78..eb2b290447fc 100644

[PATCH v1 3/4] arm64: dts: ls1028a: fix little-big endian issue for dcfg

2019-08-14 Thread Yinbo Zhu
dcfg use little endian that SoC register value will be correct Signed-off-by: Yinbo Zhu --- arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl

[PATCH v5] arm64: dts: ls1028a: Add esdhc node in dts

2019-08-14 Thread Yinbo Zhu
From: Ashish Kumar This patch is to add esdhc node and enable SD UHS-I, eMMC HS200 for ls1028ardb/ls1028aqds board. Signed-off-by: Ashish Kumar Signed-off-by: Yangbo Lu Signed-off-by: Yinbo Zhu --- Change in v5: Fix indent. arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts

[PATCH v3] arm64: dts: enable otg mode for dwc3 usb ip on layerscape

2019-10-07 Thread Yinbo Zhu
layerscape otg function should be supported HNP SRP and ADP protocol accroing to rm doc, but dwc3 code not realize it and use id pin to detect who is host or device(0 is host 1 is device) this patch is to enable OTG mode on ls1028ardb ls1088ardb and ls1046ardb in dts Signed-off-by: Yinbo Zhu

RE: [EXT] Re: [PATCH v2] usb: dwc3: enable otg mode for dwc3 usb ip on layerscape

2019-10-14 Thread Yinbo Zhu
-Original Message- From: Shawn Guo Sent: 2019年10月14日 14:52 To: Yinbo Zhu Cc: Leo Li ; Rob Herring ; Mark Rutland ; Xiaobo Xie ; Jiafei Pan ; Ran Wang ; linux-arm-ker...@lists.infradead.org; devicet...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: [EXT] Re: [PATCH v2] usb

RE: [PATCH v3] arm64: dts: enable otg mode for dwc3 usb ip on layerscape

2019-10-14 Thread Yinbo Zhu
Hi Shawn Guo, Please check this version code patch. Thanks, Regards, Yinbo Zhu -Original Message- From: Yinbo Zhu Sent: 2019年10月8日 10:57 To: Shawn Guo ; Leo Li ; Rob Herring ; Mark Rutland Cc: Yinbo Zhu ; Xiaobo Xie ; Jiafei Pan ; Ran Wang ; linux-arm-ker...@lists.infradead.org

RE: [EXT] Re: [PATCH v5] arm64: dts: ls1028a: Add esdhc node in dts

2019-09-23 Thread Yinbo Zhu
Hi Shawn Guo, I see that you had merged my patch, but I don't see that in url = git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git master branch. Please help check. Regards, Yinbo Zhu -Original Message- From: Shawn Guo Sent: 2019年8月19日 21:11 To: Yinbo Zhu Cc: Leo Li

[PATCH v2] usb: dwc3: enable otg mode for dwc3 usb ip on layerscape

2019-09-23 Thread Yinbo Zhu
layerscape otg function should be supported HNP SRP and ADP protocol accroing to rm doc, but dwc3 code not realize it and use id pin to detect who is host or device(0 is host 1 is device) this patch is to enable OTG mode on ls1028ardb ls1088ardb and ls1046ardb in dts Signed-off-by: Yinbo Zhu

RE: [PATCH v2] usb: dwc3: enable otg mode for dwc3 usb ip on layerscape

2019-09-23 Thread Yinbo Zhu
Hi, Change in v2: move the otg property from dtsi to dts. Regards, Yinbo Zhu. -Original Message- From: Yinbo Zhu Sent: 2019年9月24日 11:29 To: Shawn Guo ; Leo Li ; Rob Herring ; Mark Rutland Cc: Yinbo Zhu ; Xiaobo Xie ; Jiafei Pan ; Ran Wang ; linux

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-...@vger.kernel.org; open list Cc: Xiaobo Xie ; Jiafei Pan Subject: RE: [EXT] Re

RE: [EXT] Re: [PATCH v7 4/5] usb: host: Stops USB controller init if PLL fails to lock

2019-06-23 Thread Yinbo Zhu
> -Original Message- > From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] > Sent: 2019年6月20日 20:10 > To: Yinbo Zhu > Cc: Alan Stern ; Xiaobo Xie ; > Jiafei Pan ; Ramneek Mehresh > ; Nikhil Badola > ; Ran Wang ; > linux-...@vger.kernel.org; l

RE: [EXT] Re: [PATCH v7 1/5] usb: fsl: Set USB_EN bit to select ULPI phy

2019-06-24 Thread Yinbo Zhu
> -Original Message- > From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] > Sent: 2019年6月20日 20:11 > To: Yinbo Zhu > Cc: Alan Stern ; Xiaobo Xie ; > Jiafei Pan ; Ramneek Mehresh > ; Nikhil Badola > ; Ran Wang ; > linux-...@vger.kernel.org; l

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

2019-06-24 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 file changed, 1 insertion(+) diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index cb2b46f57af3..5d231ce8709b 100644 --- a/include/linux

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

2019-06-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 --- Change in v2: replace Yinbo.Zhu with Yinbo Zhu. Change in v5: add t

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

2019-06-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 v8 2/5] usb: phy: Workaround for USB erratum-A005728

2019-06-24 Thread Yinbo Zhu
that 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. Change in v3: replace in_be32 with ioread32be. Change in v4

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

2019-06-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 v2: replace Yinbo.Zhu with Yinbo Zhu. Change in v3: Code base already has patch[5/6], so remove it. Change

RE: [EXT] Re: [PATCH v6 4/5] usb: host: Stops USB controller init if PLL fails to lock

2019-06-06 Thread Yinbo Zhu
> -Original Message- > From: Alan Stern [mailto:st...@rowland.harvard.edu] > Sent: 2019年6月5日 22:22 > To: Yinbo Zhu > Cc: Xiaobo Xie ; Greg Kroah-Hartman > ; Ramneek Mehresh > ; Nikhil Badola > ; Ran Wang ; > linux-...@vger.kernel.org; linux-kernel@

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

2019-06-04 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 file changed, 6 insertions(+) diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index

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

2019-06-04 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 file changed, 1 insertion(+) diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index cb2b46f57af3..5d231ce8709b 100644 --- a/include/linux

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

2019-06-04 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 v6 4/5] usb: host: Stops USB controller init if PLL fails to lock

2019-06-04 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 --- Change in v6: add a "Fall through" comment drivers/usb/host/

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

2019-06-04 Thread Yinbo Zhu
that 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 v6: Indented the code in ehci-fsl.c drivers/usb/host/ehci-fsl.c | 37 ++--- drivers/usb

[PATCH v1] usb: fsl: Remove unused variable

2019-10-21 Thread Yinbo Zhu
From: Nikhil Badola Remove unused variable td_complete Signed-off-by: Nikhil Badola Reviewed-by: Ran Wang Reviewed-by: Peter Chen --- drivers/usb/gadget/udc/fsl_udc_core.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/usb/gadget/udc/fsl_udc_core.c

[PATCH v1] usb: fsl: Check memory resource before releasing it

2019-10-21 Thread Yinbo Zhu
From: Nikhil Badola Check memory resource existence before releasing it to avoid NULL pointer dereference Signed-off-by: Nikhil Badola Reviewed-by: Ran Wang Reviewed-by: Peter Chen --- drivers/usb/gadget/udc/fsl_udc_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v1] usb: gadget: Correct NULL pointer checking in fsl gadget

2019-10-21 Thread Yinbo Zhu
From: Nikhil Badola Correct NULL pointer checking for endpoint descriptor before it gets dereferenced Signed-off-by: Nikhil Badola Signed-off-by: Ran Wang Reviewed-by: Peter Chen --- drivers/usb/gadget/udc/fsl_udc_core.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[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 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
that 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 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 v1] arm64: dts: ls1043a: Add configure-gfladj property to USB3 node

2018-08-28 Thread Yinbo Zhu
From: Rajesh Bhagat Add "configure-gfladj" boolean property to USB3 node. This property is used to determine whether frame length adjustent is required or not Signed-off-by: Rajesh Bhagat Signed-off-by: Ran Wang --- arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi |3 +++ 1 files changed,

[PATCH v2] arm64: dts: ls1043a: Add configure-gfladj property to USB3 node

2018-08-28 Thread Yinbo Zhu
From: Rajesh Bhagat Add "configure-gfladj" boolean property to USB3 node. This property is used to determine whether frame length adjustment is required or not Signed-off-by: Rajesh Bhagat Signed-off-by: Ran Wang Signed-off-by: Yinbo Zhu --- Change in v2: Modified

[PATCH v1] arm64: ls1028: dtsi: Add esdhc node in dtsi

2019-04-23 Thread Yinbo Zhu
From: Ashish Kumar This patch is to add esdhc node and enable SD UHS-I, eMMC HS200 for ls1028ardb/ls1028aqds board. Signed-off-by: Ashish Kumar Signed-off-by: Yangbo Lu Signed-off-by: Yinbo Zhu --- .../boot/dts/freescale/fsl-ls1028a-qds.dts| 8 ++ .../boot/dts/freescale/fsl-ls1028a

RE: [EXT] Re: [PATCH v1] arm64: ls1028: dtsi: Add esdhc node in dtsi

2019-05-14 Thread Yinbo Zhu
> -Original Message- > From: Yinbo Zhu > Sent: 2019年5月5日 14:07 > To: Rob Herring > Cc: Shawn Guo ; Leo Li ; Xiaobo > Xie ; Mark Rutland ; > linux-arm-ker...@lists.infradead.org; devicet...@vger.kernel.org; > linux-kernel@vger.kernel.org; linux-...@vger.kernel.org

[PATCH v2] arm64: dts: ls1028a: Add esdhc node in dts

2019-05-14 Thread Yinbo Zhu
From: Ashish Kumar This patch is to add esdhc node and enable SD UHS-I, eMMC HS200 for ls1028ardb/ls1028aqds board. Signed-off-by: Ashish Kumar Signed-off-by: Yangbo Lu Signed-off-by: Yinbo Zhu --- Change in v2: Update the patch title Add a commont in dts code

[PATCH v3] arm64: dts: ls1028a: Add esdhc node in dts

2019-05-15 Thread Yinbo Zhu
From: Ashish Kumar This patch is to add esdhc node and enable SD UHS-I, eMMC HS200 for ls1028ardb/ls1028aqds board. Signed-off-by: Ashish Kumar Signed-off-by: Yangbo Lu Signed-off-by: Yinbo Zhu --- Change in v3: replace "esdhc@" with "mmc@" arch/arm64/bo

[PATCH v2] dt-bindings: mmc: add DT bindings for ls1028a eSDHC host controller

2019-05-04 Thread Yinbo Zhu
From: Yinbo Zhu Add "fsl,ls1028a-esdhc" bindings for ls1028a eSDHC host controller Signed-off-by: Yinbo Zhu --- Change in v2: as alphabetical order to update dt-bindings update the commit information. Documentation/devicetree/bindings/mmc/fsl-esd

RE: [EXT] Re: [PATCH v1] arm64: ls1028: dtsi: Add esdhc node in dtsi

2019-05-05 Thread Yinbo Zhu
> -Original Message- > From: Rob Herring [mailto:robh...@kernel.org] > Sent: 2019年5月2日 1:50 > To: Yinbo Zhu > Cc: Shawn Guo ; Leo Li ; Xiaobo > Xie ; Mark Rutland ; > linux-arm-ker...@lists.infradead.org; devicet...@vger.kernel.org; > linux-kerne

  1   2   >