19 Jul, 2019

13 commits


18 Jul, 2019

6 commits

  • - Various FS/disk related fixes with security implications.
    - Proper fix for the pci_ep test.
    - Assorted bugfixes
    - Some MediaTek updates.
    - 'env erase' support.

    Tom Rini
     
  • barno was mistakely readed from the target structure,
    resulting in undefined behavious depending on the previous memory
    content. fix that.

    Fixes: bb413337826e ("pci_ep: add pci endpoint sandbox driver")
    Signed-off-by: Ramon Fried
    [trini: Drop unused bar_idx]
    Signed-off-by: Tom Rini

    Ramon Fried
     
  • Some storage devices have multiple hw partitions and both address from
    zero, for example eMMC.
    However currently block cache invalidation only applies to block
    write/erase.
    This can cause a problem that data of current hw partition is cached
    before switching to another hw partition. And the following read
    operation of the latter hw partition will get wrong data when reading
    from the addresses that have been cached previously.

    To solve this problem, invalidate block cache after a successful
    select_hwpart operation.

    Signed-off-by: Weijie Gao

    Weijie Gao
     
  • Drivers need to be able to enable regulators that may be implemented as
    GPIO regulators. Example: fsl_esdhc enables the vqmmc supply which is
    commonly implemented as a GPIO regulator in order to switch between I/O
    voltage levels.

    Signed-off-by: Sven Schwermer
    Reviewed-by: Lukasz Majewski

    Sven Schwermer
     
  • In preparation of being able to enable/disable GPIO regulators, the
    code that will be shared among the two kinds to regulators is factored
    out into its own source files.

    Signed-off-by: Sven Schwermer
    Reviewed-by: Lukasz Majewski

    Sven Schwermer
     
  • Add an implementation of the ds3231 driver that uses the driver
    model i2c APIs.

    Signed-off-by: Chuanhua Han
    Reviewed-by: Lukasz Majewski

    Chuanhua Han
     

17 Jul, 2019

11 commits


16 Jul, 2019

10 commits

  • - Beelink-x2 STB support (Marcus)
    - H6 DDR3, LPDDR3 changes (Andre, Jernej)
    - H6 pin controller, USB PHY (Andre)

    Tom Rini
     
  • The USB PHY used in the Allwinner H6 SoC has some pecularities (as usual),
    which require a small addition to the USB PHY driver:
    In this case the second PHY is PHY3, not PHY1, so we need to skip number
    1 and 2 in the code. Just use the respective code from Linux for that.

    Signed-off-by: Andre Przywara
    Tested-by: Corentin Labbe # Pine-H64
    Reviewed-by: Jagan Teki

    Andre Przywara
     
  • To enable USB support in U-Boot, add the required clock and reset gates
    to the H6 clock driver. Once enabled, the generic EHCI/OCHI drivers will
    pick them up from there automatically.

    Signed-off-by: Andre Przywara
    Tested-by: Corentin Labbe # Pine-H64
    Reviewed-by: Jagan Teki

    Andre Przywara
     
  • The Allwinner H6 pin controller is not really special, at least not when
    it comes to normal GPIO operation.

    Add the H6 compatible strings to the list of recognised strings, to make
    GPIOs work for H6 boards.

    Signed-off-by: Andre Przywara
    Tested-by: Corentin Labbe # Pine-H64
    Reviewed-by: Jagan Teki

    Andre Przywara
     
  • Probably for no particular reason SUNXI_GPIO was still defined the "old
    way", in header files only.

    Introduce SUNXI_GPIO to the Kconfig file in drivers/gpio to remove
    another line from our dreadful config_whitelist.txt.

    Signed-off-by: Andre Przywara
    Tested-by: Corentin Labbe # Pine-H64
    Reviewed-by: Jagan Teki

    Andre Przywara
     
  • Tom Rini
     
  • Macb can be used with Xilinx PCS/PMA PHY in fpga which is a 1000-baseX
    phy(lpa 0x41e0). This patch adds checks for LPA_1000XFULL and
    LPA_1000XHALF bits.

    Signed-off-by: Radu Pirea
    Acked-by: Joe Hershberger

    Radu Pirea
     
  • If macb is gem and is gigabit capable, lpa value is not read from
    the right register(MII_LPA) and is read from MII_STAT1000. This patch
    fixes reading of the lpa value.

    Signed-off-by: Radu Pirea
    Acked-by: Joe Hershberger

    Radu Pirea
     
  • Add new driver for the TI AM65x SoC Gigabit Ethernet Switch subsystem (CPSW
    NUSS). It has two ports and provides Ethernet packet communication for the
    device and can be configured as an Ethernet switch. CPSW NUSS features: the
    Reduced Gigabit Media Independent Interface (RGMII), Reduced Media
    Independent Interface (RMII), and the Management Data Input/Output (MDIO)
    interface for physical layer device (PHY) management. The TI AM65x SoC has
    integrated two-port Gigabit Ethernet Switch subsystem into device MCU
    domain named MCU_CPSW0. One Ethernet port (port 1) with selectable RGMII
    and RMII interfaces and an internal Communications Port Programming
    Interface (CPPI) port (Host port 0).

    Host Port 0 CPPI Packet Streaming Interface interface supports 8 TX
    channels and on RX channels operating by TI am654 NAVSS Unified DMA
    Peripheral Root Complex (UDMA-P) controller.

    Signed-off-by: Grygorii Strashko
    Signed-off-by: Keerthy
    Acked-by: Joe Hershberger

    Keerthy
     
  • Use phys_addr_t for mdio_base address to avoid build
    warnings on arm64 and dra7. Cast it to uintprt_t before
    assigning to regs.

    Signed-off-by: Grygorii Strashko
    Signed-off-by: Keerthy
    Reviewed-by: Tom Rini
    Acked-by: Joe Hershberger

    Keerthy