21 Dec, 2018

2 commits


17 Dec, 2018

1 commit


16 Dec, 2018

5 commits

  • Add the initial support for Elgin R1 board, which is based on the
    RV1108 SoC and has the following features currently supported in
    U-Boot:

    - UART
    - eMMC
    - USB

    Signed-off-by: Otavio Salvador
    Reviewed-by: Philipp Tomsich

    Otavio Salvador
     
  • - Second half of the USB Gadget DM conversion

    Tom Rini
     
  • This is a sync with kernel mainline dts.

    The U-Boot eMMC does not need to care about the power for Rockchip
    SoCs, because if the board is using eMMC, the power will default on
    (for bootrom), so the 'vmmc', 'vqmmc' is only useful for SD in U-Boot.

    Signed-off-by: Kever Yang
    Reviewed-by: Philipp Tomsich

    Kever Yang
     
  • vcc5v0_host and usbhub_enable share gpio4 RK_PA3,
    which is a problem during probing (the second probe
    will trigger a -EBUSY, when trying to get the gpio handle).

    An analysis of the situation shows, that both regulators
    are actually describing the same supply.

    This patch removes the (currenlty not successful probing)
    regulator vcc5v0_host from the DTS and adds the pinctrl-*
    setting to usbhub_enable.

    Signed-off-by: Christoph Muellner
    Reviewed-by: Phiilipp Tomsich

    Christoph Muellner
     
  • Commit 4687919684e0 ("serial: Remove DM_FLAG_PRE_RELOC flag in various
    drivers") essentially drops flag DM_FLAG_PRE_RELOC from serial_pl01x
    driver for Poplar platform, because the platform falls into the
    following strategy category made by the commit.

    Surround DM_FLAG_PRE_RELOC flag with OF_CONTROL check, for
    drivers that support both statically declared devices and
    configuration from device tree

    Before the commit lands, Poplar platform works by statically declaring
    pl011 serial device via U_BOOT_DEVICE() with DM_FLAG_PRE_RELOC flag set
    in the driver. But since Poplar also supports device configuration from
    device tree, the commit practically drops the flag for Poplar, and hence
    breaks the platform from booting.

    This patch changes platform code and device tree to initiate pl011
    serial device from device tree rather than static declaration, so that
    above strategy about DM_FLAG_PRE_RELOC applies to Poplar, and therefore
    the reported boot failure gets fixed.

    Reported-by: Igor Opaniuk
    Fixes: 4687919684e0 ("serial: Remove DM_FLAG_PRE_RELOC flag in various drivers")
    Cc: Bin Meng
    Cc: Simon Glass
    Signed-off-by: Shawn Guo
    Reviewed-by: Igor Opaniuk
    Tested-by: Igor Opaniuk
    Reviewed-by: Bin Meng

    Shawn Guo
     

15 Dec, 2018

5 commits

  • When DM_USB is used, either the USB controllers are bound when the DTB
    is parsed (when OF_CONTROL is enabled) or they are bound using the
    U_BOOT_DEVICES() macro.
    In the later case, the platform data is passed in a struct ti_musb_platdata
    because it cannot be read from the DTB.

    Signed-off-by: Jean-Jacques Hiblot
    Reviewed-by: Tom Rini

    Jean-Jacques Hiblot
     
  • Enable DM for USB peripheral in the musb-new driver.
    Also make sure that the driver can be used in the SPL.
    This implies that:
    * the driver must work with and without the OF_CONTROL option. That
    in turn, implies that the platform data can be passed in a struct
    ti_musb_platdata or be read from the dtb
    * usb.o is linked in the SPL if host support is enabled

    Another change is that the driver does not fail to bind (and stop the boot
    process) if one of the child driver does not bind. Reporting the error is
    enough. This kind of error would appear if the port is configured in the
    DTS but the driver is not activated in the config.

    Signed-off-by: Jean-Jacques Hiblot
    Reviewed-by: Tom Rini

    Jean-Jacques Hiblot
     
  • USB1 can be used by the romboot on all am4372 platforms to download a
    firmware (SPL in our case).
    It makes sense to enable USB1 in the SPL to download u-boot.

    Signed-off-by: Jean-Jacques Hiblot
    Reviewed-by: Tom Rini

    Jean-Jacques Hiblot
     
  • This file is used to override the values found in am4372.dtsi
    Use it to fix the "compatible" options for the controllers used
    to support the USB (parent bus and syscons).

    Signed-off-by: Jean-Jacques Hiblot
    Reviewed-by: Tom Rini

    Jean-Jacques Hiblot
     
  • Signed-off-by: Jean-Jacques Hiblot
    Reviewed-by: Tom Rini

    Jean-Jacques Hiblot
     

14 Dec, 2018

15 commits


13 Dec, 2018

1 commit


11 Dec, 2018

4 commits


10 Dec, 2018

7 commits