Hi Tom,
Please pull u-boot-mmc mmc-2020-6-15
-
fsl_esdhc sdr104 and hs200 fix and error path fix
fsl_esdhc workaround 3.3v io issue
ca_dw_mmc cleanup
asic emmc DT update.
-
CI: https://travis
d) */
> if (mmc->ocr & OCR_BUSY)
> break;
> +
> + if (get_timer(start) > timeout)
> + return -ETIMEDOUT;
> + udelay(100);
The Linux code use 10ms delay, but it should be fine here.
Reviewed-by: Peng Fan
> }
> mmc->op_cond_pending = 1;
> return 0;
> --
> 2.17.1
> Subject: [PATCH 1/4] Drop global data sdhc_adapter for powerpc
>
> The sdhc_adapter of global data has not been used, and we do not have to
> use it as global data even we may need it in the future.
>
> Signed-off-by: Yangbo Lu
Reviewed-by: Peng Fan
Regards,
Peng.
>
It has been applied, could you check tom's master tree?
> -Original Message-
> From: Alex Nemirovsky [mailto:alex.nemirov...@cortina-access.com]
> Sent: 2020年6月18日 4:25
> To: U-Boot-Denx
> Cc: 李冠德 ; Peng Fan
> ; Jaehoon Chung ; Tom Rini
>
> Subject: Re:
It is not supported for now.
Regards,
Peng.
Subject: Usb on imx8mm
Hello,
I try to use the usb on u imx8mm but the usb controller does not seem
recognized:
u-boot => usb start
starting USB ...
Do you have an idea ?
Best regards
Joris Offouga
;
> This eventually fixed the mmc write issue observed in
> rk3399 sdhci controller.
>
> Bug log for refernece,
> => gpt write mmc 0 $partitions
> Writing GPT: mmc write failed
> ** Can't write to device 0 **
> ** Can't write to device 0 **
> error!
>
>
oard files. This one is for iMX7, so implement default
> > reset_cpu() there to prevent it from showing up in board files.
> >
> > Signed-off-by: Marek Vasut
> > Cc: Fabio Estevam
> > Cc: NXP i.MX U-Boot Team
> > Cc: Peng Fan
> > Cc: Stefano Babic
>
All:
> Subject: Re: [PATCH v4] mmc: sdhci: Fix HISPD bit handling
>
> On 6/22/20 6:26 PM, Jagan Teki wrote:
> > On Mon, Jun 22, 2020 at 2:54 PM Jaehoon Chung
> wrote:
> >>
> >> Hi Peng,
> >>
> >> On 6/22/20 10:49 AM, Peng Fan wrote:
>
Hi Marek,
> Subject: [PATCH] cmd: mmc: Add mmc reg read command for reading card
> registers
This patch breaks ci build.
+u-boot.imx exceeds file size limit:
+ limit: 0x5fc00 bytes
+ actual: 0x60c00 bytes
+ excess: 0x1000 bytes
+make[1]: *** [Makefile:1204: u-boot.imx] Error 1
+make[1]: ***
> Subject: Re: [PATCH] cmd: mmc: Add mmc reg read command for reading card
> registers
>
> On 6/24/20 7:40 AM, Peng Fan wrote:
> > Hi Marek,
>
> Hi,
>
> >> Subject: [PATCH] cmd: mmc: Add mmc reg read command for reading card
> >> registers
> >
Hi Tom,
Please pull mmc-2020-6-24
CI: https://travis-ci.org/github/MrVan/u-boot/builds/701528851
Fix fsl_esdhc_imx tunning mask
Disalbe CMD CRC for normal tunning for fsl_esdhc_imx
Retry CM1 until emmc ready
Fix sdhci HISPD handling
Cache-aligned extcsd readin
Add qspi clock
Signed-off-by: Peng Fan
---
V2:
Split a single patch from
https://patchwork.ozlabs.org/project/uboot/patch/20200503125956.6244-1-peng@nxp.com/
drivers/clk/imx/clk-imx8mm.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/clk/imx/clk-imx8mm.c b/drivers
Fix clk set parent, so we could still have correct clocks after
parent changing.
Signed-off-by: Peng Fan
---
V2:
Split fix into a single patch of
https://patchwork.ozlabs.org/project/uboot/patch/20200503125956.6244-1-peng@nxp.com/
drivers/clk/imx/clk-imx8mm.c | 5 -
1 file changed
From: Ye Li
The usb mass storage (f_mass_storage.c) uses fixed usb index 0,
this causes problem while CDNS3 USB controller index is 1.
Modify the API of fsg to pass the controller index.
Reviewed-by: Jun Li
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
cmd/usb_mass_storage.c
non-DM driver.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/usb/gadget/ci_udc.c | 7 +++
drivers/usb/host/usb-uclass.c | 18 ++
include/usb.h | 9 +
3 files changed, 34 insertions(+)
diff --git a/drivers/usb/gadget/ci_udc.c b/dri
accurate and aligining with controller's behaiver.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/usb/host/ehci-mx6.c | 28 +++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c
Signed-off-by: Peng Fan
---
drivers/usb/host/Kconfig| 4 +-
drivers/usb/host/ehci-mx6.c | 97 ++---
2 files changed, 85 insertions(+), 16 deletions(-)
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index 1c374a7bd8..f48547caa0 100644
PHY. This is only for DM driver. For non-DM part, users still
need to power on the USB PHY in boards/SoC codes.
Reviewed-by: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/usb/host/ehci-mx6.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/usb
pll,
after clearing PHCD to out of suspended state, the phy pll could be
locked and fastboot works.
Suggested-by: Li Jun
Reviewed-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/usb/host/ehci-mx6.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/usb/host/ehci-mx6.c b/drivers
it to use static check.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/usb/host/ehci-mx6.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c
index 046c6ab283..8090cb27fe 100644
--- a/drivers/usb/hos
From: Ye Li
Add the IMX8MN to the EHCI-MX7 kconfig dependency.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/usb/host/Kconfig| 2 +-
drivers/usb/host/ehci-mx6.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host
.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/usb/host/Kconfig| 2 +-
drivers/usb/host/ehci-mx6.c | 31 ++-
2 files changed, 27 insertions(+), 6 deletions(-)
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index f48547caa0
From: Ye Li
Add HS endpoint descriptor for SDP. So that we can use high speed endpoint,
and the SDP device can send packet with 512 byte size.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/usb/gadget/f_sdp.c | 30 --
1 file changed, 28 insertions(+), 2
From: Ye Li
Because the buffer length of sdp usb request is 65, we have to allocate
65 bytes not 64 bytes. Otherwise there is potential buffer overflow.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/usb/gadget/f_sdp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
From: Frank Li
Need initialize UDC before run sdp download
Signed-off-by: Frank Li
Signed-off-by: Peng Fan
---
common/spl/spl_sdp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/spl/spl_sdp.c b/common/spl/spl_sdp.c
index e7f7b68411..ae9c09883a 100644
--- a/common/spl/spl_sdp.c
data before second boot loader
will be sent out. So we have to search the FIT header or container header
in the buffer that SDP received.
Also change to more common method to exit f_sdp handler not depending on
SPL_FIT_FOUND flag because container loader won't set this.
Signed-off-by
Add g_dnl_get_board_bcd_device_number, the new BCD value is used by uuu to
distinguish
if the SPL supports the SDPV.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/spl.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c
index 1a231c67f5
the transmission speed.
Reviewed-by: Ye Li
Signed-off-by: Sherry Sun
Signed-off-by: Peng Fan
---
drivers/usb/gadget/f_sdp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/gadget/f_sdp.c b/drivers/usb/gadget/f_sdp.c
index 4e33be6ada..5bde08f707 100644
--- a
twice as fast as using
ep0 while receiving data in sdp.
Signed-off-by: Sherry Sun
Reviewed-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/usb/gadget/f_sdp.c | 123 +++--
1 file changed, 107 insertions(+), 16 deletions(-)
diff --git a/drivers/usb/gadget
> Subject: Re: [PATCH 2/7] usb: ehci-mx6: Add i.MX8 OTG controller support
>
> On 6/29/20 4:13 AM, Peng Fan wrote:
>
> Hi,
>
> > The i.MX8 has two USB controllers: USBOH and USB3. The USBOH reuses
> > previous i.MX6/7. It has same PHY IP as i.MX7ULP but NC regist
> Subject: QSPI mode on imx6ull evk
>
> Hi
>
> I currently try to get the QSPI flash on the imx6ull evk working in quad mode.
> This attempt fails as when spi_child_post_bind is called there seems to be no
> spi child in the udevice (spi@21e) which then leads to
> spi_slave_ofdata_to_platdata
Hi Walter,
> Subject: [PATCH v2 0/6] mx6cuboxi: enable OF_PLATDATA with MMC support
>
> The SPL in iMX6 boards is restricted to 68 KB as this is the free available
> space
> in OCRAM for most revisions. In this context, adding OF_CONTROL and DM
> increases the SPL size which could make it diffic
>
> Thanks in advance.
> >On Mon, Jul 06, 2020 at 03:35:01PM +0800, peng@nxp.com wrote:
> > From: Peng Fan
> >
> > Done with:
> > ./tools/moveconfig.py -S SPL_LOAD_FIT_ADDRESS ./tools/moveconfig.py -S
> > SPL_LOAD_FIT_ADDRESS -H
>
_default(dev, "xlnx,mio-bank", -1);
> + priv->bank = dev_read_u32_default(dev, "xlnx,mio-bank", 0);
>
> return 0;
> }
> --
Acked-by: Peng Fan
> 2.27.0
> Subject: [PATCH] xilinx: Fix xlnx,mio_bank property
>
> s/xlnx,mio_bank/xlnx,mio-bank/g
>
> DT binding is describing mio-bank not mio_bank that's why fix all DTSes and
> also driver itself.
>
> Signed-off-by: Michal Simek
Acked-by: Peng Fan
> ---
>
From: Peng Fan
Enlarge CONFIG_SYS_BOOTM_LEN when booting FIT image with AArch32 mode
Linux kernel.
Signed-off-by: Peng Fan
---
include/configs/imx8mn_evk.h | 2 ++
include/configs/imx8mp_evk.h | 2 ++
include/configs/imx8mq_evk.h | 2 ++
3 files changed, 6 insertions(+)
diff --git a/include
ers/mmc/am654_sdhci.c
> @@ -75,7 +75,7 @@ struct am654_sdhci_plat {
> struct mmc mmc;
> struct regmap *base;
> bool non_removable;
> - u32 otap_del_sel[11];
> + u32 otap_del_sel[MMC_MODES_END];
> u32 trm_icp;
> u32 drv_strength;
> u32 strb_sel;
Reviewed-by: Peng Fan
> --
> 2.17.1
Faiz, Jean
> Subject: [PATCH] Revert "mmc: disable UHS modes if Vcc cannot be switched
> on and off"
Got time to take a look?
Thanks,
Peng.
>
> This reverts commit 04a2ea248f58b3b6216d0cd0a6b8698df8b14355.
>
> That commit is causing reboot loops on Nokia N900 and basically make
> U-Boot on No
Hi All,
Any ideas how to test uboot reset cmd many times with pytest?
Thanks,
Peng.
Hi Tom,
> Subject: [PATCH] arm: mx6: Make all i.MX6 SoCs user-selectable
>
[]
> +
> config MX6UL_LITESOM
> bool
> select DM
> select DM_THERMAL
> - select MX6UL
Would keep it here to simplify defconfig?
Regards,
Peng.
> select SUPPORT_SPL
> imply CMD_DM
> Subject: RE: [PATCH] imx: distinguish POR from POR+WDOG reset cause for
> first wd
>
> Hi Fabio,
>
> >
> > Hi Flavio,
> >
> > On Wed, Jan 22, 2020 at 11:18 AM Flavio Suligoi wrote:
> > >
> > > In some application the possibility to check if the reset is caused
> > > by a watchdog is essentia
> Subject: [PATCH] mmc: remove unneeded forward declarations
>
> These functions are defined before the callers.
>
> Signed-off-by: Masahiro Yamada
Reviewed-by: Peng Fan
> ---
>
> drivers/mmc/mmc.c | 4
> 1 file changed, 4 deletions(-)
>
> diff --git
mode on RPI4 target(32bit).
> - I didn't test on RPI4 64bit.
>
> Read/write time about 8MB file
> Before
> - Read : 1.472 seconds
> - Write : 4.690 seconds
> After
> - Read : 0.359 seconds
> - Write : 0.574 seconds
For patch 2/3, I prefer to use printf, not debug
> Subject: [PATCH] mx7ulp_com: Remove unneeded SoC definitions
>
> Since commit 9c27310ac23c ("mx7ulp: Move SoC base address to a common
> file") we no longer need to have these SoC definitions in the board file, so
> remove them.
>
> Signed-off-by: Fab
> Subject: [PATCH] mx6sxsabresd: Keep only one target
>
> Currently there are two targets for the i.MX6SX SabreSD board:
> mx6sxsabresd_defconfig and mx6sxsabresd_spl_defconfig.
>
> This brings additional maintainance effort without a clear advantage.
>
> Keep only the mx6sxsabresd_defconfig one
> > Hi Peng,
> > >
> > > On Mon, Jan 13, 2020 at 9:46 PM Peng Fan wrote:
> > >
> > > > I have not try that. Aisheng has some Linux patches pending which
> > > > are restructuring the Linux side SCU 8QXP/QM code, so I not put
> > >
> Subject: Re: imx8qxp mek: Booting mainline kernel with mainline U-Boot
>
>
>
> On 23/01/20 7:23 PM, Oliver Graute wrote:
> > On 17/01/20, Lokesh Vutla wrote:
> > Just wondering if anyone else managed to boot mainline U-Boot with
> > mainline kernel on i.MX8QXP.
> I can test it for
> Subject: Re: [PATCH v2 1/4] clock_imx8mq: Delete not used init_usb_clk()
>
> Hi Anatolij,
>
> On Thu, Jan 23, 2020 at 11:43 AM Anatolij Gustschin wrote:
> >
> > On Thu, 23 Jan 2020 10:20:14 -0300
> > Pedro Jardim jardim.c.pe...@gmail.com wrote:
> >
> > > Function init_usb_clk() is not used any
> Subject: Re: [PATCH v2 02/10] mmc: Add init() API
>
> Hi Simon,
>
> On 29/01/20 1:33 pm, Simon Goldschmidt wrote:
> > On Fri, Jan 24, 2020 at 12:52 PM Faiz Abbas wrote:
> >>
> >> Add an init() API for platform specific init() operations.
> >
> > Could you describe why this cannot be done in th
> Subject: Re: [PATCH v2 1/4] clock_imx8mq: Delete not used init_usb_clk()
>
>
>
> On 27/01/20 6:46 PM, Peng Fan wrote:
> >> Subject: Re: [PATCH v2 1/4] clock_imx8mq: Delete not used
> >> init_usb_clk()
> >>
> >> Hi Anatolij,
> >&
> Subject: Re: [PATCH v2 02/10] mmc: Add init() API
>
> Hi Peng,
>
> On 01/02/20 6:43 pm, Peng Fan wrote:
> >> Subject: Re: [PATCH v2 02/10] mmc: Add init() API
> >>
> >> Hi Simon,
> >>
> >> On 29/01/20 1:33 pm, Simon Goldschmidt wro
-by: Jorge Ramirez-Ortiz
> Signed-off-by: Fabio Estevam
> Tested-by: Jorge Ramirez-Ortiz
Reviewed-by: Peng Fan
Just have a question, LDO mode enabled by ROM, this is configured with fuse?
Is there any special configuration need to be done in Linux? I not touch this
part before (:
Thanks,
P
> Subject: [PATCH v2 1/2] mx7ulp: Remove duplicated definitions
>
> These PMC0 definitions are already defined in the beginning of the file, so
> remove the duplication.
>
> Reported-by: Stefano Babic
> Signed-off-by: Fabio Estevam
Reviewed-by: Peng Fan
> ---
>
> Subject: [PATCH] mmc: fsl_esdhc: actually enable cache snooping on mpc830x
+ Y.b
Are you ok with this patch?
Thanks,
Peng.
>
> The reference manuals for MPC8308 and MPC8309 both say that the esdhcctl
> aka DMA Control Register "is implemented as SDHCCR" in the System
> configuration register
e mx6sxsabresd_defconfig one and remove
> mx6sxsabresd_spl_defconfig to keep it simpler.
>
> Also remove the SPL related code from the board file.
>
> Signed-off-by: Fabio Estevam
Acked-by: Peng Fan
> ---
> Changes since v1:
> - Also remove the SPL related code. (Peng
e.
>
> Signed-off-by: Fabio Estevam
Reviewed-by: Peng Fan
> ---
> .../mx6ul_14x14_evk/mx6ul_14x14_evk.c | 50 ---
> 1 file changed, 50 deletions(-)
>
> diff --git a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
> b/board/freescale/mx6ul_1
> Subject: [PATCH 1/2] mx6ul_evk: Move CONFIG_FEC_MXC to defconfig
>
> CONFIG_FEC_MXC is supported in Kconfig, so it is preferred to move it to
> defconfig file.
>
> Signed-off-by: Fabio Estevam
Reviewed-by: Peng Fan
> ---
> configs/mx6ul_14x14_evk_defconfig
> Subject: [PATCH] mx6ullevk: Enable Ethernet support
>
> Add Ethernet support using DM_ETH.
>
> Signed-off-by: Fabio Estevam
Reviewed-by: Peng Fan
> ---
> board/freescale/mx6ullevk/mx6ullevk.c | 47
> +++
> configs/mx6ull_14x14_evk_defconf
> Subject: Re: [PATCH v2 04/10] mmc: sdhci: Expose sdhci_init() as non-static
>
> Hi,
>
> On 31/01/20 3:55 am, Simon Goldschmidt wrote:
> > Am 30.01.2020 um 23:21 schrieb Jaehoon Chung:
> >> Hi Simon,
> >>
> >> On 1/29/20 11:16 PM, Simon Goldschmidt wrote:
> >>> On Wed, Jan 29, 2020 at 12:00 AM J
> Subject: Re: [PATCH v2 1/4] clock_imx8mq: Delete not used init_usb_clk()
>
> On Mon, Feb 3, 2020 at 5:48 AM Jon Nettleton wrote:
>
> > I have a working port of the Linux usb phy driver for the iMX8MQ
> > already. I think the only piece that is missing to use dwc3-generic
> > for iMX8MQ is the
Hi Tom,
Please pull mmc-2020-9-15
CI: https://travis-ci.org/github/MrVan/u-boot/builds/727229672
---
use mmc_of_parse for msm_sdhci
Add missing common host caps for xenon_sdhci.
---
Thanks,
Peng.
The following changes sinc
From: Peng Fan
Coverity reported dead code, however it is FRAC_PLL_REFCLK_SEL_MASK
was wrongly set.
Reported-by: Coverity 10045172
Signed-off-by: Peng Fan
Reviewed-by: Ye Li
---
arch/arm/include/asm/arch-imx8m/clock_imx8mq.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
From: Peng Fan
Fix SSCG_PLL_REFCLK_SEL_x, the offset starts from 0, not 16
Reported-by: Coverity 3448860
Signed-off-by: Peng Fan
Reviewed-by: Ye Li
---
arch/arm/include/asm/arch-imx8m/clock_imx8mq.h | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/include
From: Peng Fan
According to i.MX 7Dual Applications Processor Reference Manual, Rev. 1
The target interface CCM root index ranges [0,124], so the number
should be 125.
Reported-by: Coverity 18045
Signed-off-by: Peng Fan
Reviewed-by: Ye Li
---
arch/arm/include/asm/arch-mx7/crm_regs.h | 2
From: Peng Fan
Add missed return
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8m/clock_imx8mm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-imx/imx8m/clock_imx8mm.c
b/arch/arm/mach-imx/imx8m/clock_imx8mm.c
index 3610f5b2fc..9dde11cded 100644
--- a/arch/arm/mach-imx
From: Peng Fan
Latest datasheet revE has removed MIMX8ML7D/5D/7C/5C parts, so
update u-boot to remove decoding and support for those parts.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx/cpu.h | 2 --
arch/arm/include/asm/mach-imx/sys_proto.h | 5
From: Peng Fan
This patchset is trying to upstream NXP downstream ehci-mx6 update and fix.
The driver has not been coverted to full DM, so there are some ifdefs there.
To avoid much conflicts when cherry-pick downstream patches, I prefer
to convert after this patchset.
Peng Fan (4):
usb
From: Peng Fan
When doing port reset, the PR bit of PORTSC1 will be automatically
cleared by our IP, but standard EHCI needs explicit clear by software. The
EHCI-HCD driver follow the EHCI specification, so after 50ms wait, it
clear the PR bit by writting to the PORTSC1 register with value
PHY. This is only for DM driver. For non-DM part, users still
need to power on the USB PHY in boards/SoC codes.
Reviewed-by: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/usb/host/ehci-mx6.c | 16
1 file changed, 16 insertions(+)
diff --git a/drivers/usb/hos
From: Peng Fan
The i.MX8 has two USB controllers: USBOH and USB3. The USBOH reuses
previous i.MX6/7. It has same PHY IP as i.MX7ULP but NC registers
are same as i.MX7D. So add its support in ehci-mx6 driver.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx8
.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/usb/host/Kconfig| 2 +-
drivers/usb/host/ehci-mx6.c | 33 +++--
2 files changed, 28 insertions(+), 7 deletions(-)
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index f48547caa0
From: Peng Fan
Use uintptr_t and ulong to avoid build warning for ARM64 platforms
Signed-off-by: Peng Fan
---
drivers/usb/host/ehci-mx6.c | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c
index
it to use static check.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/usb/host/ehci-mx6.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c
index 1db27949c6..96dcf7655b 100644
--- a/drivers/usb/hos
From: Peng Fan
When moving to support partition reboot or android auto on XEN,
linux kernel will runs into runtime suspend state, and the usb
will be configured to low power suspend state by Linux.
Then we reboot and runs into U-Boot, however the usb already in
suspended state and uboot not
ransaction.
This would generally be caused by the host controller not being able
to access required data buffers in memory within necessary latency
requirements.
Follow kernel's method to fix the issue by disabling stream mode
Signed-off-by: Ye Li
Reviewed-by: Peter Chen
Signed-o
From: Ye Li
Add the IMX8MN to the EHCI-MX7 kconfig dependency.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/usb/host/Kconfig| 2 +-
drivers/usb/host/ehci-mx6.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host
From: Ye Li
The i.MX7ulp EVK board uses GPIO to detect ID for USB OTG0,
but when using DM USB driver, it is hard coded to use OTG ID pin.
Add a board override function that when extcon property is provided,
the function can check the GPIO to get ID.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
the PHY address
from DTB and power up the PHY before ehci_mx6_common_init.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/usb/host/ehci-mx6.c | 58 +
1 file changed, 40 insertions(+), 18 deletions(-)
diff --git a/drivers/usb/host/ehci-mx6.c b/drivers
From: Ye Li
To avoid calling devfdt_get_addr_index in bind, which introduces
much overhead, checks the req_seq and only call the devfdt_get_addr_index
when the req_seq (usb alias) is not set in DTS
Signed-off-by: Ye Li
Reviewed-by: Peng Fan
Signed-off-by: Peng Fan
---
drivers/usb/host/ehci
The USB mode type specified by DTB or by the USB ID pin or
by external controller like tcpc or GPIO.
3. If two init_type are not same, return failure. Align with non-DM driver.
4. USB PHY access is moved after power and clock enabled.
Signed-off-by: Ye Li
Signed
know the EP information and configure the EP once
the set configuration request is received.
Signed-off-by: Sherry Sun
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/usb/gadget/epautoconf.c | 4
include/linux/usb/gadget.h | 3 +++
2 files changed, 7 insertions(+)
diff --git a
From: Li Jun
As the SDP protocol use the predefined ep num for communication, we can't
change its name hence reset its ep num while do ep autoconfig, this is
only apply for SPL.
Signed-off-by: Li Jun
Signed-off-by: Peng Fan
---
drivers/usb/gadget/epautoconf.c | 2 ++
1 file chang
From: Peng Fan
This patchset is to upstream NXP downstream gadget driver patches
for feature update.
Jun Li (2):
usb: gadget: set correct usb_configuration for os_desc_config
usb: gadget: update os_desc_config when add config
Li Jun (13):
usb: gadget: don't change ep name for dwc3
on the qw_sign
array and b_vendor_code.
Interested gadgets need to set the cdev->use_os_string flag,
fill cdev->qw_sign with appropriate values and fill cdev->b_vendor_code
with a value of their choice.
This patch does not however implement responding to any vendor-specific
USB requests.&q
used with such non-USB-compliant hosts it can invoke
"usb_add_config" in any order because the designated configuration
will be reported to be at index 0 anyway.
This patch also adds handling vendor-specific requests addressed
at device or interface and
From: Jun Li
Always use the new added config for os_desc_config to fix cdev->
os_desc_config may miss set in case we restart usb gadget driver.
Signed-off-by: Li Jun
Signed-off-by: Peng Fan
---
drivers/usb/gadget/composite.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
d
From: Li Jun
As other users may use utf8_to_utf16le() to convert the utf8
to utf16 for usb, so move it to head file.
Signed-off-by: Li Jun
Signed-off-by: Peng Fan
---
drivers/usb/gadget/usbstring.c | 74 +
include/linux/utf.h| 75
From: Li Jun
Add device interface GUID for Microsoft Extended Properties Feature
Descriptor.
Signed-off-by: Li Jun
Signed-off-by: Peng Fan
---
drivers/usb/gadget/f_fastboot.c | 34 +
1 file changed, 34 insertions(+)
diff --git a/drivers/usb/gadget
From: Li Jun
Set its max_speed to be super speed.
Reviewed-by: Ye Li
Reviewed-by: Peter Chen
Tested-by: faqiang.zhu
Signed-off-by: Li Jun
Signed-off-by: Peng Fan
---
drivers/usb/gadget/g_dnl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/gadget/g_dnl.c b/drivers/usb
From: Li Jun
This patch is to add usb gadget super speed support in common
driver, including BOS descriptor and select the super speed
descriptor from function driver.
Reviewed-by: Ye Li
Reviewed-by: Peter Chen
Tested-by: faqiang.zhu
Signed-off-by: Li Jun
Signed-off-by: Peng Fan
From: Li Jun
Add super speed EP config.
Reviewed-by: Ye Li
Reviewed-by: Peter Chen
Tested-by: faqiang.zhu
Signed-off-by: Li Jun
Signed-off-by: Peng Fan
---
drivers/usb/gadget/f_fastboot.c | 47 ++---
1 file changed, 44 insertions(+), 3 deletions(-)
diff --git
ter Chen
Signed-off-by: Peng Fan
---
drivers/usb/gadget/composite.c | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c
index 411cd33be5..071b4b4a6f 100644
--- a/drivers/usb/gadget/composite.c
+++ b/drivers/
From: Li Jun
Enable WCID(Microsoft Compatible ID Feature Descriptor) for mfgtool.
Signed-off-by: Li Jun
Signed-off-by: Peng Fan
---
drivers/usb/gadget/composite.c | 20
1 file changed, 20 insertions(+)
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget
From: Li Jun
As we need standard usb_ep's desc, so set it when enable ep.
Reviewed-by: Peter Chen
Signed-off-by: Li Jun
Signed-off-by: Peng Fan
---
drivers/usb/gadget/ci_udc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/usb/gadget/ci_udc.c b/drivers/usb/gadget/ci_
From: Li Jun
Remove the gadget driver speed check, and set its max_speed to
be USB_SPEED_HIGH.
Reviewed-by: Ye Li
Reviewed-by: Peter Chen
Tested-by: faqiang.zhu
Signed-off-by: Li Jun
Signed-off-by: Peng Fan
---
drivers/usb/gadget/ci_udc.c | 3 +--
1 file changed, 1 insertion(+), 2
USB 2.0 mode.
Reviewed-by: Ye Li
Reviewed-by: Peter Chen
Tested-by: faqiang.zhu
Signed-off-by: Li Jun
Signed-off-by: Peng Fan
---
drivers/usb/gadget/composite.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c
From: Li Jun
Change to use wMaxPacketSize of current speed EP desc for request
length wrap up.
Reviewed-by: Peter Chen
Signed-off-by: Li Jun
Signed-off-by: Peng Fan
---
drivers/usb/gadget/f_fastboot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/gadget
Hi Marek,
> Subject: Re: [PATCH 13/13] usb: ehci-mx6: Improve the bind function
>
> On 9/16/20 2:57 PM, peng@nxp.com wrote:
> [...]
> > +++ b/drivers/usb/host/ehci-mx6.c
> > @@ -735,13 +735,16 @@ static int ehci_usb_bind(struct udevice *dev)
> > * the driver is fully converted to DT prob
Hi Tim,
> Subject: What is the status of IMX8MM USB support?
>
> Greetings,
>
> I have not seen any activity to enable USB support for the IMX8MM. Is
> anyone working on this? Last I knew the holdup had to do with a
> power-domain driver.
For U-Boot, although I am trying to clean up NXP usb pat
> Subject: Re: IMX8MM 4GiB boundary issue
>
> On Fri, Sep 25, 2020 at 8:05 AM Marek Vasut wrote:
> >
> > On 9/25/20 4:52 PM, Tim Harvey wrote:
> > > Greetings,
> > >
> > > I'm working with an IMX8MM board that has 4GiB of DRAM. I've found
> > > that in this configuration the MMC driver and FEC ne
601 - 700 of 5562 matches
Mail list logo