29 May, 2017

1 commit


12 May, 2017

1 commit


11 May, 2017

2 commits


10 May, 2017

2 commits


08 May, 2017

1 commit


14 Apr, 2017

1 commit


05 Apr, 2017

1 commit

  • The RK3399 does not have any boot selection pins and the BootROM probes
    the boot interfaces using the following boot-order:
    1. SPI
    2. eMMC (sdhci in DTS)
    3. SD card (sdmmc in DTS)
    4. USB loader
    For ease of deployment, the SPL stage should mirror the boot order of
    the ROM and use the same probing order (assuming that valid images can
    be detected by SPL) unless instructed otherwise. The boot-order can
    then be configured via the 'u-boot,spl-boot-order' property in the
    chosen-node of the DTS.

    While this approach is easily extensible to other boards, it is only
    implemented for the RK3399 for now, as the large SRAM on the RK3399
    makes this easy to fit the needed infrastructure into SPL and our
    production setup already runs with DM, OF_CONTROL and BLK in SPL.

    The new boot-order property is expected to be used in conjunction with
    FIT images (and all legacy image formats disabled via Kconfig).

    A boot-sequence with probing and fallthroughs from SPI via eMMC to SD
    card (i.e. &spiflash, &sdhci, &sdmmc) has been validated on the RK3399-Q7.

    Signed-off-by: Philipp Tomsich
    Tested-by: Klaus Goger
    Tested-by: Philipp Tomsich
    Acked-by: Simon Glass

    Philipp Tomsich
     

26 Mar, 2017

1 commit

  • This patch adds support for having a "fixed-link" to some other MAC
    (like some embedded switch-device).

    For this purpose we introduce a new phy-driver, called "Fixed PHY".

    Fixed PHY works only with CONFIG_DM_ETH enabled, since the fixed-link is
    described with a subnode below ethernet interface.

    Most ethernet drivers (unfortunately not all are following same scheme
    for searching/attaching phys) are calling "phy_connect(...)" for getting
    a phy-device.
    At this point we link in, we search here for a subnode called "fixed-
    link", once found we start phy_device_create(...) with the special phy-
    id PHY_FIXED_ID (0xa5a55a5a).

    During init the "Fixed PHY" driver has registered with this id and now
    gets probed, during probe we get all the details about fixed-link out of
    dts, later on the phy reports this values.

    Signed-off-by: Hannes Schmelzer

    Signed-off-by: Hannes Schmelzer
    Acked-by: Joe Hershberger
    Reviewed-by: Christian Gmeiner

    Hannes Schmelzer
     

24 Mar, 2017

2 commits

  • This replaces legacy arch/arc/lib/timer.c implementation and allows us
    to describe ARC Timers in Device Tree. Among other things that way we
    may properly inherit Timer's clock from CPU's clock s they really run
    synchronously.

    Tom Rini
     
  • This commit introduces timer driver for ARC.

    ARC timers are configured via ARC AUX registers so we use special
    functions to access timer control registers.

    This driver allows utilization of either timer0 or timer1
    depending on which one is available in real hardware. Essentially
    only existing timers should be mentioned in board's Device Tree
    description.

    Signed-off-by: Vlad Zakharov
    Reviewed-by: Simon Glass

    Vlad Zakharov
     

23 Mar, 2017

2 commits

  • The USB device should linked to VBUS regulator through "vbus-supply"
    DTS property.
    This patch adds handling for "vbus-supply" property inside the USB
    device entry for turning on the VBUS regulator upon the host adapter probe.

    Signed-off-by: Konstantin Porotchkin
    Cc: Stefan Roese
    Cc: Marek Vasut
    Cc: Nadav Haklai
    Cc: Neta Zur Hershkovits
    Cc: Igal Liberman
    Cc: Haim Boot
    Acked-by: Marek Vasut
    Signed-off-by: Stefan Roese

    Konstantin Porotchkin
     
  • Add support for "marvell,reset-gpio" property to mvebu DW PCIe
    driver.
    This option is valid when CONFIG_DM_GPIO=y

    Change-Id: Ic17c500449050c2fbb700731f1a9ca8b83298986
    Signed-off-by: Konstantin Porotchkin
    Signed-off-by: Rabeeh Khoury
    Cc: Stefan Roese
    Cc: Nadav Haklai
    Cc: Neta Zur Hershkovits
    Cc: Igal Liberman
    Cc: Haim Boot
    Signed-off-by: Stefan Roese

    Konstantin Porotchkin
     

21 Mar, 2017

2 commits


18 Mar, 2017

3 commits


17 Mar, 2017

1 commit


29 Jan, 2017

1 commit


27 Dec, 2016

1 commit


12 Dec, 2016

2 commits

  • Add pin control nodes to APN806, CP-master, CP-slave and
    Armada-7040 and Armada-8040 boards DTS files

    Signed-off-by: Konstantin Porotchkin
    Cc: Stefan Roese
    Cc: Nadav Haklai
    Cc: Neta Zur Hershkovits
    Cc: Omri Itach
    Cc: Igal Liberman
    Cc: Haim Boot
    Cc: Hanna Hawa
    Signed-off-by: Stefan Roese

    Konstantin Porotchkin
     
  • Add a DM port of Marvell pin control driver.
    The A8K SoC family contains several silicone dies interconnected
    in a single package. Every die is normally equipped with its own
    pin controller unit.
    There are 2 pin controllers in A70x0 SoC and 3 in A80x0 SoC.

    Signed-off-by: Konstantin Porotchkin
    Reviewed-by: Simon Glass
    Cc: Simon Glass
    Cc: Stefan Roese
    Cc: Nadav Haklai
    Cc: Neta Zur Hershkovits
    Cc: Omri Itach
    Cc: Igal Liberman
    Cc: Haim Boot
    Cc: Hanna Hawa
    Signed-off-by: Stefan Roese

    Konstantin Porotchkin
     

29 Nov, 2016

3 commits


18 Nov, 2016

1 commit

  • Now the flash params table as renamed to spi_flash_ids structure,
    so rename the sf_params.c to spi_flash_ids.c and remove the legacy.

    Cc: Bin Meng
    Cc: York Sun
    Cc: Vignesh R
    Cc: Mugunthan V N
    Cc: Michal Simek
    Signed-off-by: Jagan Teki
    Reviewed-by: Jagan Teki
    Tested-by: Jagan Teki
    Reviewed-by: Siva Durga Prasad Paladugu

    Jagan Teki
     

08 Nov, 2016

1 commit

  • The Synopsys DWC EQoS is a configurable Ethernet MAC/DMA IP block which
    supports multiple options for bus type, clocking and reset structure, and
    feature list.

    This patch imports the binding from the Linux kernel, including my V3
    patch to extend the binding to cover the Tegra186, which is applied for
    next-20160912. So far, my changes have been acked by Lars Persson, the
    original author of the binding.

    Signed-off-by: Stephen Warren
    Reviewed-by: Simon Glass
    Acked-by: Joe Hershberger

    Stephen Warren
     

07 Oct, 2016

2 commits


07 Sep, 2016

1 commit


16 Aug, 2016

2 commits


09 Aug, 2016

1 commit

  • TI's PCF8575 is a 16-bit I2C GPIO expander.The device features a
    16-bit quasi-bidirectional I/O ports. Each quasi-bidirectional I/O can
    be used as an input or output without the use of a data-direction
    control signal. The I/Os should be high before being used as inputs.
    Read the device documentation for more details[1].

    This driver is based on pcf857x driver available in Linux v4.7 kernel.
    It supports basic reading and writing of gpio pins.

    [1] http://www.ti.com/lit/ds/symlink/pcf8575.pdf

    Signed-off-by: Vignesh R
    Reviewed-by: Tom Rini
    Reviewed-by: Simon Glass
    Reviewed-by: Mugunthan V N

    Vignesh R
     

05 Aug, 2016

4 commits

  • In Tegra186, the BPMP (Boot and Power Management Processor) owns certain
    HW devices, such as the I2C controller for the power management I2C bus.
    Software running on other CPUs must perform IPC to the BPMP in order to
    execute transactions on that I2C bus. This binding describes an I2C bus
    that is accessed in such a fashion.

    Signed-off-by: Stephen Warren
    Reviewed-by: Simon Glass
    Signed-off-by: Tom Warren

    Stephen Warren
     
  • The BPMP implements some services which must be represented by separate
    nodes. For example, it can provide access to certain I2C controllers, and
    the I2C bindings represent each I2C controller as a device tree node.
    Update the binding to describe how the BPMP supports this.

    Signed-off-by: Stephen Warren
    Signed-off-by: Tom Warren

    Stephen Warren
     
  • The Tegra BPMP (Boot and Power Management Processor) is a separate
    auxiliary CPU embedded into Tegra to perform power management work, and
    controls related features such as clocks, resets, power domains, PMIC I2C
    bus, etc. These bindings dictate how to represent the BPMP in device tree.

    Signed-off-by: Stephen Warren
    Reviewed-by: Simon Glass
    Signed-off-by: Tom Warren

    Stephen Warren
     
  • The DT binding for the Tegra186 HSP module apparently wasn't quite final
    when I posted initial U-Boot support for it. Add the final DT binding doc
    and adapt all code and DT files to match it.

    Signed-off-by: Stephen Warren
    Reviewed-by: Simon Glass
    Signed-off-by: Tom Warren

    Stephen Warren
     

09 Jul, 2016

1 commit