LS1012A has one USB 3.0(DWC3) controller and
one USB 2.0 controller.
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
Change in v2:
Move node usb2@860 to the back of sata@320 to keep nodes
sorted in unit-address.
arch/arm64/boot/dts/freesca
> -Original Message-
> From: Shawn Guo [mailto:shawn...@kernel.org]
> Sent: Thursday, July 13, 2017 4:07 PM
> To: Ran Wang <ran.wan...@nxp.com>
> Cc: Rob Herring <robh...@kernel.org>; Mark Rutland
> <mark.rutl...@arm.com>; Catalin Marinas <catalin.ma
Hello Sir,
How is the review result of this patch. I am waiting for it be merged,
thanks.
BR
Ran
-Original Message-
From: Ran Wang [mailto:ran.wan...@nxp.com]
Sent: Friday, June 02, 2017 10:30 AM
To: Rob Herring <robh...@kernel.org>; Mark Rutland <mark.rutl...@arm.com&g
LS1012A has one USB 3.0(DWC3) controller and
one USB 2.0 controller.
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
b/arch
Add "dis_rxdet_inp3_quirk" boolean property to USB3 node. This property
is used to disable rx detection in P3 PHY mode.
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arc
requests from the host/hub and enter
low power.
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
Documentation/devicetree/bindings/usb/dwc3.txt | 2 ++
drivers/usb/dwc3/core.c| 2 ++
drivers/usb/dwc3/core.h| 2 ++
drivers/usb/dwc3
Hi Oliver
> -Original Message-
> From: Oliver Neukum [mailto:oneu...@suse.com]
> Sent: Monday, October 23, 2017 6:56 PM
> To: Ran Wang <ran.wan...@nxp.com>
> Cc: David S . Miller <da...@davemloft.net>; hayeswang
> <hayesw...@realtek.com>; linu
This product is named 'TP-LINK USB 3.0 Gigabit Ethernet Network
Adapter (Model No.is UE300)'. It uses chip RTL8153 and works with
driver drivers/net/usb/r8152.c
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
drivers/net/usb/cdc_ether.c | 8
drivers/net/usb/r8152.c | 2 ++
2
Hello Michal,
> Date: Fri, 13 Oct 2017 14:00:12 +0200
>
> From: Michal Hocko
>
> Michael has noticed that the memory offline tries to migrate kernel code
> pages when doing echo 0 > /sys/devices/system/memory/memory0/online
>
> The current implementation will fail the
Hi Balbi,
> -Original Message-
> From: Felipe Balbi [mailto:ba...@kernel.org]
> Sent: Wednesday, November 15, 2017 4:52 PM
> To: Ran Wang <ran.wan...@nxp.com>
> Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>; open
> list:DESIGNWARE USB3 DRD IP DRIVER <
Add support for USB3 snooping by asserting bits
in register DWC3_GSBUSCFG0 for data and descriptor.
Signed-off-by: Changming Huang <jerry.hu...@nxp.com>
Signed-off-by: Rajesh Bhagat <rajesh.bha...@nxp.com>
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
drivers/us
Hi Michal,
> -Original Message-
> From: Michal Hocko [mailto:mho...@kernel.org]
> Sent: Monday, November 13, 2017 7:03 PM
> To: Ran Wang <ran.wan...@nxp.com>
> Cc: linux...@kvack.org; Michael Ellerman <m...@ellerman.id.au>; Vlastimil
> Babka <vba...@su
Hi Michal,
> -Original Message-
> From: Michal Hocko [mailto:mho...@kernel.org]
> Sent: Tuesday, November 14, 2017 3:07 PM
> To: Ran Wang <ran.wan...@nxp.com>
> Cc: linux...@kvack.org; Michael Ellerman <m...@ellerman.id.au>; Vlastimil
> Babka <vba...@su
This patch adds entries in dts to enable USB 3.0 PHY driver.
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
Change in v2:
- Rename node name from 'usb3-phy' to 'usb-phy'
- Adjust phy node position
arch/arm64/boot/d
Adds qoriq usb 3.0 phy driver to implement erratum related workaround
for qoriq SoC.
Signed-off-by: Sriram Dash <sriram.d...@nxp.com>
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
Change in v2:
- Replace funciont __raw_writel() by iowrite32be()
- Remove qoriq_u
Adds entry point at dwc3 core init function to enable
USB 3.0 PHY driver.
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
Change in v2:
- New file
drivers/usb/dwc3/core.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/usb/dwc3/core.c b/drivers/us
Enable USB3 HW LPM feature for ls1046a and active patch for
snps erratum A-010131. It will disable U1/U2 temperary when
initiate U3 request.
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi |6 ++
1 files changed, 6 insertions
.
3. After U3 entry, re-enable the U2 timer by programming PORTPMSC
with the value saved in Step 1.
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
drivers/usb/host/xhci-hub.c | 22 ++
drivers/usb/host/xhci-plat.c |6 +-
drivers/usb/host/xhci.h |1 +
Enable USB3 HW LPM feature for ls1043a and active patch for
snps erratum A-010131. It will disable U1/U2 temperary when
initiate U3 request.
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi |6 ++
1 files changed, 6 insertions
Enable USB3 HW LPM feature for ls1021a and active patch for
snps erratum A-010131. It will disable U1/U2 temperary when
initiate U3 request.
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
arch/arm/boot/dts/ls1021a.dtsi |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff
From: Yuantian Tang
Signed-off-by: Tang Yuantian
---
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 21 +
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
From: Yuantian Tang
According to PSCI standard v0.2, for CPU_SUSPEND call, which is
used by cpu idle framework, bit[16] of state parameter must be 0.
So update bit[16] of property 'arm,psci-suspend-param', which is
used as state parameter, to 0.
Signed-off-by: Tang Yuantian
From: Yuantian Tang
Signed-off-by: Tang Yuantian
---
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 18 ++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
Hi Shawn,
> -Original Message-
> From: Shawn Guo [mailto:shawn...@kernel.org]
> Sent: Saturday, February 24, 2018 3:13 PM
> To: Ran Wang <ran.wan...@nxp.com>
> Cc: Mark Rutland <mark.rutl...@arm.com>; devicet...@vger.kernel.org; Andy
> Tang <an
.
This patch configure the EPU FSM preparing for deep sleep.
Signed-off-by: Hongbo Zhang <hongbo.zh...@freescale.com>
Signed-off-by: Chenhui Zhao <chenhui.z...@freescale.com>
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
Changes in v2:
- Resolve warnning of scripts/checkpatc
Also, unselect FSL_PMC which is for older platfroms instead.
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
Changes in v2:
- no change
arch/powerpc/Kconfig |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 7
uantian <yuantian.t...@freescale.com>
Signed-off-by: Xie Xiaobo <x@freescale.com>
Signed-off-by: Zhao Qiang <b45...@freescale.com>
Signed-off-by: Shengzhou Liu <shengzhou@freescale.com>
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
Changes in v2:
- Res
Enable Power Management feature on device tree, including MPC8536,
MPC8544, MPC8548, MPC8572, P1010, P1020, P1021, P1022, P2020, P2041,
P3041, T104X, T1024.
Signed-off-by: Zhao Chenhui <chenhui.z...@freescale.com>
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
Changes in v2:
caches in the current cpu.
Signed-off-by: Chenhui Zhao <chenhui.z...@freescale.com>
Reviewed-by: Yang Li <le...@freescale.com>
Reviewed-by: Jose Rivera <german.riv...@freescale.com>
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
Changes in v2:
- no change
arch/powerp
From: Li Yang <le...@freescale.com>
Signed-off-by: Li Yang <leoyang...@nxp.com>
Signed-off-by: Zhao Chenhui <chenhui.z...@nxp.com>
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
Changes in v2:
- new file
.../devicetree/bindings/powerpc/fsl/pmc.txt| 59
uantian <yuantian.t...@freescale.com>
Signed-off-by: Xie Xiaobo <x@freescale.com>
Signed-off-by: Zhao Qiang <b45...@freescale.com>
Signed-off-by: Shengzhou Liu <shengzhou@freescale.com>
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
arch/powerp
caches in the current cpu.
Signed-off-by: Chenhui Zhao <chenhui.z...@freescale.com>
Reviewed-by: Yang Li <le...@freescale.com>
Reviewed-by: Jose Rivera <german.riv...@freescale.com>
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
arch/powerpc/include/asm/cputable.h |
Enable Power Management feature on device tree, including MPC8536,
MPC8544, MPC8548, MPC8572, P1010, P1020, P1021, P1022, P2020, P2041,
P3041, T104X, T1024.
Signed-off-by: Zhao Chenhui <chenhui.z...@freescale.com>
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
arch/powerpc/
.
This patch configure the EPU FSM preparing for deep sleep.
Signed-off-by: Hongbo Zhang <hongbo.zh...@freescale.com>
Signed-off-by: Chenhui Zhao <chenhui.z...@freescale.com>
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
drivers/soc/fsl/Kconfig |7 +
drivers/soc/fsl/
Also, unselect FSL_PMC which is for older platfroms instead.
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
arch/powerpc/Kconfig |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 73ce5dd..ed60c83 100644
---
ed-off-by: Rajesh Bhagat <rajesh.bha...@nxp.com>
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
Changes in v5:
- no change
Changes in v4:
- Modify the codes according to the definition of this property.
Changes in v3:
- add new property for INCR burst in usb node to reset GSBUSC
e enabling undefined length INCR burst type and INCR16 burst type,
get better write performance on NXP Layerscape platforms:
around 3% improvement (from 364MB/s to 375MB/s).
Signed-off-by: Changming Huang <jerry.hu...@nxp.com>
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
Changes
From: Changming Huang <jerry.hu...@nxp.com>
Add the macro definition for global soc bus configuration register 0/1
Signed-off-by: Changming Huang <jerry.hu...@nxp.com>
Signed-off-by: Ran Wang <ran.wan...@nxp.com>
---
Changes in v5:
- no change
Changes in v4:
- no ch
.
This patch configure the EPU FSM preparing for deep sleep.
Signed-off-by: Hongbo Zhang
Signed-off-by: Chenhui Zhao
Signed-off-by: Ran Wang
---
drivers/soc/fsl/Kconfig |7 +
drivers/soc/fsl/Makefile|1 +
drivers/soc/fsl/sleep_fsm.c | 279
Enable Power Management feature on device tree, including MPC8536,
MPC8544, MPC8548, MPC8572, P1010, P1020, P1021, P1022, P2020, P2041,
P3041, T104X, T1024.
Signed-off-by: Zhao Chenhui
Signed-off-by: Ran Wang
---
arch/powerpc/boot/dts/fsl/mpc8536si-post.dtsi | 14 ++-
arch/powerpc/boot
ed-off-by: Zhao Chenhui
Signed-off-by: Wang Dongsheng
Signed-off-by: Tang Yuantian
Signed-off-by: Xie Xiaobo
Signed-off-by: Zhao Qiang
Signed-off-by: Shengzhou Liu
Signed-off-by: Ran Wang
---
arch/powerpc/include/asm/cacheflush.h |7 +
arch/powerpc/include/asm/fsl_pm.h
caches in the current cpu.
Signed-off-by: Chenhui Zhao
Reviewed-by: Yang Li
Reviewed-by: Jose Rivera
Signed-off-by: Ran Wang
---
arch/powerpc/include/asm/cputable.h | 12
arch/powerpc/kernel/asm-offsets.c |3 +
arch/powerpc/kernel/cpu_setup_fsl_booke.S | 81
Also, unselect FSL_PMC which is for older platfroms instead.
Signed-off-by: Ran Wang
---
arch/powerpc/Kconfig |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 73ce5dd..ed60c83 100644
--- a/arch/powerpc/Kconfig
+++ b
requests from the host/hub and enter
low power.
Signed-off-by: Ran Wang
---
Documentation/devicetree/bindings/usb/dwc3.txt | 2 ++
drivers/usb/dwc3/core.c| 2 ++
drivers/usb/dwc3/core.h| 2 ++
drivers/usb/dwc3/ep0.c | 4
Enable USB3 HW LPM feature for ls1021a and active patch for
snps erratum A-010131. It will disable U1/U2 temperary when
initiate U3 request.
Signed-off-by: Ran Wang
---
arch/arm/boot/dts/ls1021a.dtsi |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts
Enable USB3 HW LPM feature for ls1043a and active patch for
snps erratum A-010131. It will disable U1/U2 temperary when
initiate U3 request.
Signed-off-by: Ran Wang
---
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git
.
3. After U3 entry, re-enable the U2 timer by programming PORTPMSC
with the value saved in Step 1.
Signed-off-by: Ran Wang
---
drivers/usb/host/xhci-hub.c | 22 ++
drivers/usb/host/xhci-plat.c |6 +-
drivers/usb/host/xhci.h |1 +
3 files changed, 28 inserti
Enable USB3 HW LPM feature for ls1046a and active patch for
snps erratum A-010131. It will disable U1/U2 temperary when
initiate U3 request.
Signed-off-by: Ran Wang
---
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git
Hello Michal,
> Date: Fri, 13 Oct 2017 14:00:12 +0200
>
> From: Michal Hocko
>
> Michael has noticed that the memory offline tries to migrate kernel code
> pages when doing echo 0 > /sys/devices/system/memory/memory0/online
>
> The current implementation will fail the operation after
Hi Michal,
> -Original Message-
> From: Michal Hocko [mailto:mho...@kernel.org]
> Sent: Monday, November 13, 2017 7:03 PM
> To: Ran Wang
> Cc: linux...@kvack.org; Michael Ellerman ; Vlastimil
> Babka ; Andrew Morton ;
> KAMEZAWA Hiroyuki ; Reza Arbab
> ; Yas
Hi Michal,
> -Original Message-
> From: Michal Hocko [mailto:mho...@kernel.org]
> Sent: Tuesday, November 14, 2017 3:07 PM
> To: Ran Wang
> Cc: linux...@kvack.org; Michael Ellerman ; Vlastimil
> Babka ; Andrew Morton ;
> KAMEZAWA Hiroyuki ; Reza Arbab
> ; Yas
Also, unselect FSL_PMC which is for older platfroms instead.
Signed-off-by: Ran Wang
---
Changes in v2:
- no change
arch/powerpc/Kconfig |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 73ce5dd..ed60c83 100644
.
This patch configure the EPU FSM preparing for deep sleep.
Signed-off-by: Hongbo Zhang
Signed-off-by: Chenhui Zhao
Signed-off-by: Ran Wang
---
Changes in v2:
- Resolve warnning of scripts/checkpatch.pl
drivers/soc/fsl/Kconfig |7 +
drivers/soc/fsl/Makefile|1 +
drivers/soc
caches in the current cpu.
Signed-off-by: Chenhui Zhao
Reviewed-by: Yang Li
Reviewed-by: Jose Rivera
Signed-off-by: Ran Wang
---
Changes in v2:
- no change
arch/powerpc/include/asm/cputable.h | 12
arch/powerpc/kernel/asm-offsets.c |3 +
arch/powerpc/kernel
From: Li Yang
Signed-off-by: Li Yang
Signed-off-by: Zhao Chenhui
Signed-off-by: Ran Wang
---
Changes in v2:
- new file
.../devicetree/bindings/powerpc/fsl/pmc.txt| 59 +++
1 files changed, 34 insertions(+), 25 deletions(-)
diff --git a/Documentation/devicetree
Enable Power Management feature on device tree, including MPC8536,
MPC8544, MPC8548, MPC8572, P1010, P1020, P1021, P1022, P2020, P2041,
P3041, T104X, T1024.
Signed-off-by: Zhao Chenhui
Signed-off-by: Ran Wang
---
Changes in v2:
- no change
arch/powerpc/boot/dts/fsl/mpc8536si-post.dtsi
ed-off-by: Zhao Chenhui
Signed-off-by: Wang Dongsheng
Signed-off-by: Tang Yuantian
Signed-off-by: Xie Xiaobo
Signed-off-by: Zhao Qiang
Signed-off-by: Shengzhou Liu
Signed-off-by: Ran Wang
---
Changes in v2:
- Resolve warnning of scripts/checkpatch.pl
arch/powerpc/include/asm/cacheflush.h
e enabling undefined length INCR burst type and INCR16 burst type,
get better write performance on NXP Layerscape platforms:
around 3% improvement (from 364MB/s to 375MB/s).
Signed-off-by: Changming Huang
Signed-off-by: Ran Wang
---
Changes in v5:
- add support for ls1021a, ls1012a, ls1046a, ls1088
From: Changming Huang
Add the macro definition for global soc bus configuration register 0/1
Signed-off-by: Changming Huang
Signed-off-by: Ran Wang
---
Changes in v5:
- no change
Changes in v4:
- no change
Changes in v3:
- no change
Changes in v2:
- split the patch
- add more macro
Signed-off-by: Ran Wang
---
Changes in v5:
- no change
Changes in v4:
- Modify the codes according to the definition of this property.
Changes in v3:
- add new property for INCR burst in usb node to reset GSBUSCFG0.
Changes in v2:
- split patch
- create one new function to handle soc bus
Hi Shawn,
> -Original Message-
> From: Shawn Guo [mailto:shawn...@kernel.org]
> Sent: Saturday, February 24, 2018 3:13 PM
> To: Ran Wang
> Cc: Mark Rutland ; devicet...@vger.kernel.org; Andy
> Tang ; Catalin Marinas ; Will
> Deacon ; linux-kernel@vger.kernel.org; L
> -Original Message-
> From: Shawn Guo [mailto:shawn...@kernel.org]
> Sent: Thursday, July 13, 2017 4:07 PM
> To: Ran Wang
> Cc: Rob Herring ; Mark Rutland
> ; Catalin Marinas ; Will
> Deacon ; Andy Tang ; Harninder
> Rai ; Horia Geantă ; open
> list:OPEN FI
LS1012A has one USB 3.0(DWC3) controller and
one USB 2.0 controller.
Signed-off-by: Ran Wang
---
Change in v2:
Move node usb2@860 to the back of sata@320 to keep nodes
sorted in unit-address.
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 17
LS1012A has one USB 3.0(DWC3) controller and
one USB 2.0 controller.
Signed-off-by: Ran Wang
---
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
b/arch/arm64/boot/dts/freescale
Hello Sir,
How is the review result of this patch. I am waiting for it be merged,
thanks.
BR
Ran
-Original Message-
From: Ran Wang [mailto:ran.wan...@nxp.com]
Sent: Friday, June 02, 2017 10:30 AM
To: Rob Herring ; Mark Rutland ;
Catalin Marinas ; Will Deacon
Cc: Shawn Guo ; Andy
Add "dis_rxdet_inp3_quirk" boolean property to USB3 node. This property
is used to disable rx detection in P3 PHY mode.
Signed-off-by: Ran Wang
---
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm64/boot/dts/fre
This patch adds entries in dts to enable USB 3.0 PHY driver.
Signed-off-by: Sriram Dash
Signed-off-by: Ran Wang
---
Change in v2:
- Rename node name from 'usb3-phy' to 'usb-phy'
- Adjust phy node position
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 33
Adds qoriq usb 3.0 phy driver to implement erratum related workaround
for qoriq SoC.
Signed-off-by: Sriram Dash
Signed-off-by: Ran Wang
---
Change in v2:
- Replace funciont __raw_writel() by iowrite32be()
- Remove qoriq_usb3_phy_read() and qoriq_usb3_phy_write()
- Remove
Adds entry point at dwc3 core init function to enable
USB 3.0 PHY driver.
Signed-off-by: Ran Wang
---
Change in v2:
- New file
drivers/usb/dwc3/core.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index
, this would cause a pending issue since
schedule_hrtimerout() depend on thread ksoftirqd to complete related
work if it using HRTIMER_MODE_SOFT. So force using HRTIMER_MODE_HARD
in such case.
Suggested-by: Jiafei Pan
Signed-off-by: Ran Wang
---
kernel/sched/core.c | 9 +++--
1 file changed, 7
Hi,
On Thursday, January 7, 2021 5:19 PM, Ran Wang wrote:
>
> When doing CPU un-plug stress test, function smpboot_park_threads() would get
> call to park kernel threads (which including ksoftirqd) on
> that CPU core, and function wait_task_inactive() would yield for those que
fsl_ep_fifo_status() should return error if _ep->desc is null.
Fixes: 75eaa498c99e (“usb: gadget: Correct NULL pointer checking in fsl gadget”)
Signed-off-by: Ran Wang
---
drivers/usb/gadget/udc/fsl_udc_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/
Hi Rob,
On Tuesday, September 29, 2020 4:23 PM, Ran Wang wrote:
>
> From: Biwen Li
>
> The 'fsl,ippdexpcr1-alt-reg' property is used to handle an errata A-008646 on
> LS1021A.
>
> Signed-off-by: Biwen Li
> Signed-off-by: Ran Wang
> ---
> Change in v3:
fsl_usb2_device_register() should stop init if dma_set_mask() return
error.
Fixes: cae058610465 ("drivers/usb/host: fsl: Set DMA_MASK of usb platform
device")
Signed-off-by: Ran Wang
---
drivers/usb/host/fsl-mph-dr-of.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
Hi Leo, Rob,
On Tuesday, September 22, 2020 6:20 AM, Leo Li wrote:
>
> > -Original Message-
> > From: Ran Wang
> > Sent: Wednesday, September 16, 2020 3:18 AM
> > To: Leo Li ; Rob Herring ;
> > Shawn Guo
> > Cc: linuxppc-...@lists.ozlabs.org;
&
Hi Leo
Tuesday, September 22, 2020 6:43 AM, Leo Li wrote:
>
>
> > -Original Message-
> > From: Ran Wang
> > Sent: Wednesday, September 16, 2020 3:18 AM
> > To: Leo Li ; Rob Herring ;
> > Shawn Guo
> > Cc: linuxppc-...@lists.ozlabs.org
Hi Leo,
On Tuesday, September 22, 2020 6:59 AM, Leo Li wrote:
>
> > -Original Message-
> > From: Ran Wang
> > Sent: Wednesday, September 16, 2020 3:18 AM
> > To: Leo Li ; Rob Herring ;
> > Shawn Guo
> > Cc: linuxppc-...@lists.ozlabs.org;
&
..e75a436fb159 100644
> --- a/drivers/soc/fsl/rcpm.c
> +++ b/drivers/soc/fsl/rcpm.c
> @@ -2,10 +2,12 @@
> //
> // rcpm.c - Freescale QorIQ RCPM driver // -// Copyright 2019 NXP
> +// Copyright 2019-2020 NXP
> +// Copyright 2020 Puresoftware Ltd.
> //
> // Author: Ra
s/soc/fsl/rcpm.c b/drivers/soc/fsl/rcpm.c index
> > a093dbe6d2cb..e75a436fb159 100644
> > --- a/drivers/soc/fsl/rcpm.c
> > +++ b/drivers/soc/fsl/rcpm.c
> > @@ -2,10 +2,12 @@
> > //
> > // rcpm.c - Freescale QorIQ RCPM driver
> > //
> > -// Co
Hi Ard,
On Wednesday, September 16, 2020 2:11 PM, Ard Biesheuvel wrote:
> Subject: Re: [PATCH v1] soc: fsl: rcpm: Add ACPI support
>
> On 9/16/20 3:32 AM, Ran Wang wrote:
> > Hi Ard,
> >
> > On Tuesday, September 15, 2020 7:10 PM, Ard Biesheuvel wrote:
> >> Su
The range of dcfg reg is wrong, which overlap with other device,
such as rcpm. This issue causing rcpm driver failed to claim
reg resource when calling devm_ioremap_resource().
Signed-off-by: Ran Wang
---
arch/arm/boot/dts/ls1021a.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
From: Biwen Li
The patch fixes a bug that FlexTimer cannot
wakeup system in deep sleep.
Signed-off-by: Biwen Li
Signed-off-by: Ran Wang
---
arch/arm/boot/dts/ls1021a.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index
The data of property 'fsl,rcpm-wakeup' is not corrcet, which causing
RCPM driver incorrectly program register IPPDEXPCR1, then flextimer is
wrongly clock gated during system suspend, can't send interrupt to
wake.
Signed-off-by: Ran Wang
---
arch/arm/boot/dts/ls1021a.dtsi | 2 +-
1 file changed
From: Biwen Li
The 'fsl,ippdexpcr1-alt-addr' property is used to handle an errata A-008646
on LS1021A
Signed-off-by: Biwen Li
Signed-off-by: Ran Wang
---
Documentation/devicetree/bindings/soc/fsl/rcpm.txt | 19 +++
1 file changed, 19 insertions(+)
diff --git a/Documentation
to set register RCPM_IPPDEXPCR1)
Impact:
- FlexTimer module will cannot wakeup system in
deep sleep on SoC LS1021A
Signed-off-by: Biwen Li
Signed-off-by: Ran Wang
---
drivers/soc/fsl/rcpm.c | 42 +-
1 file changed, 41 insertions
rrupts).
Suggested-by: Han Xu
Signed-off-by: Ran Wang
---
drivers/spi/spi-nxp-fspi.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/spi/spi-nxp-fspi.c b/drivers/spi/spi-nxp-fspi.c
index 0d41406..ab90356 100644
--- a/drivers/spi/spi-nxp-fspi.c
+++ b/drivers/spi/spi-nxp-fspi.c
@@ -
.
Signed-off-by: Ran Wang
Reviewed-by: Rob Herring
---
Change in v6:
- None.
Change in v5:
- Add 'Reviewed-by: Rob Herring ' to commit message.
- Rename property 'fsl,#rcpm-wakeup-cells' to '#fsl,rcpm-wakeup-cells'.
please see https://lore.kernel.org/patchwork
-by: Ran Wang
---
Change in v6:
- Adjust related API usage to meet wakeup.c's update in patch 1/3.
Change in v5:
- Fix v4 regression of the return value of wakeup_source_get_next()
didn't pass to ws in while loop.
- Rename wakeup_source member 'attached_dev' to 'dev
on that list and return them one by one.
Signed-off-by: Ran Wang
---
Change in v6:
- Add wakeup_source_get_star() and wakeup_source_get_stop() to aligned
with wakeup_sources_stats_seq_start/nex/stop.
Change in v5:
- Update commit message, add decription of walk through
Hi Pavel,
On Wednesday, August 21, 2019 11:16, Ran Wang wrote:
>
> The NXP's QorIQ Processors based on ARM Core have RCPM module (Run
> Control and Power Management), which performs system level tasks associated
> with power management such as wakeup source control.
>
> T
Hi Felipe,
On Monday, June 24, 2019 13:58, Felipe Balbi wrote:
>
> Hi,
>
> Ran Wang writes:
> >> >> > >> >> > /* Global Debug Queue/FIFO Space Available Register */
> >> >> > >> >> > #define DWC3_GDBGFIFOSPA
Hi Rafael,
On Monday, August 05, 2019 17:59, Rafael J. Wysocki wrote:
>
> On Wednesday, July 24, 2019 9:47:20 AM CEST Ran Wang wrote:
> > Some user might want to go through all registered wakeup sources and
> > doing things accordingly. For example, SoC PM driver might
Hi Rafael,
On Monday, August 19, 2019 16:20, Rafael J. Wysocki wrote:
>
> On Mon, Aug 19, 2019 at 10:15 AM Ran Wang wrote:
> >
> > Hi Rafael,
> >
> > On Monday, August 05, 2019 17:59, Rafael J. Wysocki wrote:
> > >
> > > On Wednesday, July 24, 2
Hi Felipe,
On Thursday, May 30, 2019 17:09, Ran Wang wrote:
>
>
> > >> >> > /* Global Debug Queue/FIFO Space Available Register */
> > >> >> > #define DWC3_GDBGFIFOSPACE_NUM(n) ((n) & 0x1f)
> > >> >> > #define DWC
on that list and return them one by one.
Signed-off-by: Ran Wang
---
Change in v5:
- Update commit message, add decription of walk through all wakeup
source objects.
- Add SCU protection in function wakeup_source_get_next().
- Rename wakeup_source member
-off-by: Ran Wang
Acked-by: Pavel Machek
---
Change in v5:
- Fix v4 regression of the return value of wakeup_source_get_next()
didn't pass to ws in while loop.
- Rename wakeup_source member 'attached_dev' to 'dev'.
- Rename property 'fsl,#rcpm-wakeup-cells' to '#fsl
.
Signed-off-by: Ran Wang
Reviewed-by: Rob Herring
---
Change in v5:
- Add 'Reviewed-by: Rob Herring ' to commit message.
- Rename property 'fsl,#rcpm-wakeup-cells' to '#fsl,rcpm-wakeup-cells'.
please see https://lore.kernel.org/patchwork/patch/1101022/
Change in v4
From: Peng Ma
This patch enables ACPI support in RCPM driver.
Signed-off-by: Peng Ma
Signed-off-by: Ran Wang
---
Change in v3:
- Add #ifdef CONFIG_ACPI for acpi_device_id
- Rename rcpm_acpi_imx_ids to rcpm_acpi_ids
Change in v2:
- Update acpi_device_id to fix conflict with other driver
Hi Christophe
On Wednesday, August 19, 2020 2:48 PM, Christophe Leroy wrote:
>
>
>
> Le 19/08/2020 à 06:00, Ran Wang a écrit :
> > From: Peng Ma
> >
> > This patch enables ACPI support in RCPM driver.
>
> Can you change the subject to "soc: fsl: en
From: Peng Ma
This patch enables ACPI support in RCPM driver.
Signed-off-by: Peng Ma
Signed-off-by: Ran Wang
---
Change in v4:
- Make commit subject more accurate
- Remove unrelated new blank line
Change in v3:
- Add #ifdef CONFIG_ACPI for acpi_device_id
- Rename rcpm_acpi_imx_ids
1 - 100 of 241 matches
Mail list logo