All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] armv8/fsl-layerscape: fdt: On ls1012 don't check sysclk for USB
@ 2017-03-16  7:18 Yingxi Yu
  2017-03-27 15:29 ` york sun
  2017-03-28 17:59 ` [U-Boot] " york sun
  0 siblings, 2 replies; 4+ messages in thread
From: Yingxi Yu @ 2017-03-16  7:18 UTC (permalink / raw)
  To: u-boot

USB requires 100MHz clock. On ls1012, sysclk(125MHz) is not for USB.
Another 100MHz clock is for USB. So For USB, check if sysclk is 100MHz
is failed on ls1012, sysclk is not for USB. Don't check sysclk for
USB on ls1012.

Signed-off-by: Yingxi Yu <yingxi.yu@nxp.com>
---
 arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fdt.c b/arch/arm/cpu/armv8/fsl-layerscape/fdt.c
index 26d4a30..762a95b 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/fdt.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/fdt.c
@@ -387,8 +387,9 @@ void ft_cpu_setup(void *blob, bd_t *bd)
 #ifdef CONFIG_SYS_DPAA_FMAN
 	fdt_fixup_fman_firmware(blob);
 #endif
+#ifndef CONFIG_LS1012A
 	fsl_fdt_disable_usb(blob);
-
+#endif
 #ifdef CONFIG_HAS_FEATURE_GIC64K_ALIGN
 	fdt_fixup_gic(blob);
 #endif
-- 
2.1.0.27.g96db324

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] armv8/fsl-layerscape: fdt: On ls1012 don't check sysclk for USB
  2017-03-16  7:18 [U-Boot] [PATCH] armv8/fsl-layerscape: fdt: On ls1012 don't check sysclk for USB Yingxi Yu
@ 2017-03-27 15:29 ` york sun
  2017-03-28  2:51   ` [U-Boot] 答复: " Yingxi Yu
  2017-03-28 17:59 ` [U-Boot] " york sun
  1 sibling, 1 reply; 4+ messages in thread
From: york sun @ 2017-03-27 15:29 UTC (permalink / raw)
  To: u-boot

On 03/16/2017 12:32 AM, Yingxi Yu wrote:
> USB requires 100MHz clock. On ls1012, sysclk(125MHz) is not for USB.
> Another 100MHz clock is for USB. So For USB, check if sysclk is 100MHz
> is failed on ls1012, sysclk is not for USB. Don't check sysclk for
> USB on ls1012.

Does this only apply to LS1012A? Or does this apply a group of SoCs?

York

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] 答复: [PATCH] armv8/fsl-layerscape: fdt: On ls1012 don't check sysclk for USB
  2017-03-27 15:29 ` york sun
@ 2017-03-28  2:51   ` Yingxi Yu
  0 siblings, 0 replies; 4+ messages in thread
From: Yingxi Yu @ 2017-03-28  2:51 UTC (permalink / raw)
  To: u-boot

Hi York:

    Currenly LS1012A is the only case. If there is other platform apply it in the future, we can add other platform later.


Best Regards

Yingxi Yu

________________________________
发件人: york sun
发送时间: 2017年3月27日 8:29:02
收件人: Yingxi Yu; u-boot at lists.denx.de
主题: Re: [PATCH] armv8/fsl-layerscape: fdt: On ls1012 don't check sysclk for USB

On 03/16/2017 12:32 AM, Yingxi Yu wrote:
> USB requires 100MHz clock. On ls1012, sysclk(125MHz) is not for USB.
> Another 100MHz clock is for USB. So For USB, check if sysclk is 100MHz
> is failed on ls1012, sysclk is not for USB. Don't check sysclk for
> USB on ls1012.

Does this only apply to LS1012A? Or does this apply a group of SoCs?

York

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] armv8/fsl-layerscape: fdt: On ls1012 don't check sysclk for USB
  2017-03-16  7:18 [U-Boot] [PATCH] armv8/fsl-layerscape: fdt: On ls1012 don't check sysclk for USB Yingxi Yu
  2017-03-27 15:29 ` york sun
@ 2017-03-28 17:59 ` york sun
  1 sibling, 0 replies; 4+ messages in thread
From: york sun @ 2017-03-28 17:59 UTC (permalink / raw)
  To: u-boot

On 03/16/2017 12:32 AM, Yingxi Yu wrote:
> USB requires 100MHz clock. On ls1012, sysclk(125MHz) is not for USB.
> Another 100MHz clock is for USB. So For USB, check if sysclk is 100MHz
> is failed on ls1012, sysclk is not for USB. Don't check sysclk for
> USB on ls1012.
>
> Signed-off-by: Yingxi Yu <yingxi.yu@nxp.com>
> ---

Rewrote commit message. Applied to fsl-qoriq master, awaiting upstream. 
Thanks.

York

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-03-28 17:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-16  7:18 [U-Boot] [PATCH] armv8/fsl-layerscape: fdt: On ls1012 don't check sysclk for USB Yingxi Yu
2017-03-27 15:29 ` york sun
2017-03-28  2:51   ` [U-Boot] 答复: " Yingxi Yu
2017-03-28 17:59 ` [U-Boot] " york sun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.