25 Jun, 2019

1 commit

  • Commit ad7061ed742e ("doc: Move device tree bindings documentation to
    doc/device-tree-bindings") moved all device tree binding documentation
    to doc/device-tree-bindings directory.

    The current U-Boot project still have two documentation directories:

    - doc/
    - Documentation/

    Move all documentation and sphinx files to doc directory so all content
    can be in a common place.

    Adapted to U-Boot v2019.04

    Signed-off-by: Breno Lima
    Acked-by: Ye Li

    Breno Lima
     

11 Mar, 2019

1 commit

  • Changing voltage and enabling regulator might require delays so the
    regulator stabilizes at expected level.

    Add support for "regulator-ramp-delay" binding which can introduce
    required time to both enabling the regulator and to changing the
    voltage.

    Signed-off-by: Krzysztof Kozlowski
    Tested-by: Anand Moon
    Signed-off-by: Minkyu Kang

    Krzysztof Kozlowski
     

01 Mar, 2019

1 commit


27 Feb, 2019

1 commit

  • This patch adds fixed-factor clock driver which derives clock
    rate by dividing (div) and multiplying (mult) fixed factors
    to a parent clock.

    Signed-off-by: Atish Patra
    Signed-off-by: Anup Patel
    Reviewed-by: Simon Glass

    Anup Patel
     

20 Feb, 2019

1 commit

  • The Intel High-definition Audio is a newer-generation audio system which
    provides for transfer of a large number of audio stream, each containing
    up to 16 channels.

    Add support for HDA as a library which can be used by other drivers.
    U-Boot currently uses only two channels (stereo).

    Signed-off-by: Simon Glass
    Reviewed-by: Bin Meng

    Simon Glass
     

09 Feb, 2019

1 commit


16 Jan, 2019

1 commit


01 Jan, 2019

1 commit

  • Two variants of controllers are supported:
    V1 (bitwise only) found in
    i.MX21, i.MX27, i.MX31, i.MX51
    V2 (byte operations) found in
    i.MX25, i.MX35, i.MX50, i.MX53

    Only tested on i.MX53 hardware but in both modes
    (by modifying the device tree).

    Signed-off-by: Martin Fuzzey

    Martin Fuzzey
     

10 Dec, 2018

2 commits

  • This adds a driver for the FAN53555 family of regulators and wraps it
    in a PMIC implementation.

    While these devices support a 'normal' and 'suspend' mode (controlled
    via an external pin) to switch between two programmable voltages, this
    incarnation of the driver assumes that the device is always operating
    in 'normal' mode.

    Only setting/reading the programmed voltage is supported at this time
    and the following device functionality remains unsupported:
    - switching the selected voltage (via a GPIO)
    - disabling the voltage output via software-control
    This matches the functionality of the Linux driver.

    Tested on a RK3399-Q7 (with 'option 5' devices): setting voltages from
    the U-Boot shell and verifying output voltages on the board.

    Signed-off-by: Philipp Tomsich
    Tested-by: Klaus Goger

    Philipp Tomsich
     
  • The original bootcount methods do not provide an interface to DM and
    rely on a static configuration for I2C devices (e.g. bus, chip-addr,
    etc. are configured through defines statically). On a modern system
    that exposes multiple devices in a DTS-configurable way, this is less
    than optimal and a interface to DM-based devices will be desirable.

    This adds a simple driver that is DM-aware and configurable via DTS.
    If ambiguous (i.e. multiple bootcount-devices are present) the
    /chosen/u-boot,bootcount-device property can be used to select one
    bootcount device.

    Initially, this provides support for the following DM devices:
    * RTC devices

    Signed-off-by: Philipp Tomsich
    Tested-by: Klaus Goger

    Philipp Tomsich
     

29 Nov, 2018

1 commit


17 Nov, 2018

2 commits


06 Nov, 2018

1 commit

  • This patch adds ethernet support for the MIPS based Mediatek MT76xx SoCs
    (e.g. MT7628 and MT7688), including a minimum setup of the integrated
    switch. This driver is loosly based on the driver version included in
    this MediaTek github repository:

    https://github.com/MediaTek-Labs/linkit-smart-uboot.git

    Tested on the MT7688 LinkIt smart-gateway and on the
    Gardena-smart-gateway.

    Signed-off-by: Stefan Roese
    Reviewed-by: Daniel Schwierzeck
    Cc: Joe Hershberger
    Cc: Frank Wunderlich
    Cc: Weijie Gao
    Acked-by: Joe Hershberger

    Stefan Roese
     

11 Oct, 2018

2 commits

  • The DP83867 has a muxing option for the CLK_OUT pin. It is possible
    to set CLK_OUT for different channels.
    Create a binding to select a specific clock for CLK_OUT pin.

    Based on commit 9708fb630d19 ("net: phy: dp83867: Add binding for
    the CLK_OUT pin muxing option") of mainline linux kernel.

    Signed-off-by: Janine Hagemann
    Acked-by: Joe Hershberger

    Janine Hagemann
     
  • This patch adds support for enabling or disabling the lane swapping
    (called "port mirroring" in PHY's CFG4 register) feature of the DP83867
    TI's PHY device.

    One use case is when bootstrap configuration enables this feature (because
    of e.g. LED_0 wrong wiring) so then one needs to disable it in software
    (at u-boot/Linux).

    Based on commit fc6d39c39581 ("net: phy: dp83867: Add lane swapping
    support in the DP83867 TI's PHY driver") of mainline linux kernel.

    Signed-off-by: Janine Hagemann
    Acked-by: Lukasz Majewski
    Acked-by: Joe Hershberger

    Janine Hagemann
     

07 Oct, 2018

1 commit


03 Oct, 2018

1 commit


30 Sep, 2018

1 commit


29 Sep, 2018

5 commits


23 Sep, 2018

1 commit


20 Sep, 2018

1 commit


11 Sep, 2018

8 commits

  • Add support for K3 based remoteproc driver that
    communicates with TISCI to start start a remote processor.

    Reviewed-by: Tom Rini
    Signed-off-by: Lokesh Vutla

    Lokesh Vutla
     
  • K3 specific SoCs have a dedicated microcontroller for doing
    resource management. Any HLOS/firmware on compute clusters should
    load a firmware to this microcontroller before accessing any resource.
    Adding support for loading this firmware.

    After the K3 system controller got loaded with firmware and started
    up it sends out a boot notification message through the secure proxy
    facility using the TI SCI protocol. Intercept and receive this message
    through the rproc start operation which will need to get invoked
    explicitly after the firmware got loaded.

    Signed-off-by: Lokesh Vutla
    Signed-off-by: Andreas Dannenberg
    Reviewed-by: Tom Rini

    Lokesh Vutla
     
  • Secure Proxy module manages hardware threads that are meant
    for communication between the processor entities. Adding
    support for this driver.

    Reviewed-by: Tom Rini
    Signed-off-by: Lokesh Vutla
    Signed-off-by: Andreas Dannenberg

    Lokesh Vutla
     
  • Devices from the TI K3 family of SoCs like the AM654x contain a Device
    Management and Security Controller (SYSFW) that manages the low-level
    device control (like clocks, resets etc) for the various hardware
    modules present on the SoC. These device control operations are provided
    to the host processor OS through a communication protocol called the TI
    System Control Interface (TI SCI) protocol.

    This patch adds a system reset driver that communicates to the system
    controller over the TI SCI protocol for allowing to perform a system-
    wide SoC reset.

    Reviewed-by: Tom Rini
    Signed-off-by: Andreas Dannenberg
    Signed-off-by: Lokesh Vutla

    Andreas Dannenberg
     
  • Some TI Keystone 2 and K3 family of SoCs contain a system controller
    (like the Power Management Micro Controller (PMMC) on 66AK2G SoCs and
    the Device Management and Security Controller on AM65x SoCs) that manage
    the low-level device control (like clocks, resets etc) for the various
    hardware modules present on the SoC. These device control operations are
    provided to the host processor OS through a communication protocol
    called the TI System Control Interface (TI SCI) protocol.

    This patch adds a power domain driver that communicates to the system
    controller over the TI SCI protocol for performing power management of
    various devices present on the SoC. Various power domain functionalities
    are achieved by the means of different TI SCI device operations provided
    by the TI SCI framework.

    This code is loosely based on the drivers/soc/ti/ti_sci_pm_domains.c
    driver of the Linux kernel.

    Reviewed-by: Tom Rini
    Signed-off-by: Andreas Dannenberg
    Signed-off-by: Lokesh Vutla

    Andreas Dannenberg
     
  • Some TI Keystone 2 and K3 family of SoCs contain a system controller
    (like the Power Management Micro Controller (PMMC) on 66AK2G SoCs and
    the Device Management and Security Controller on AM65x SoCs) that manage
    the low-level device control (like clocks, resets etc) for the various
    hardware modules present on the SoC. These device control operations are
    provided to the host processor OS through a communication protocol
    called the TI System Control Interface (TI SCI) protocol.

    This patch adds a clock driver that communicates to the system
    controller over the TI SCI protocol for performing clock management of
    various devices present on the SoC. Various clock functionality is
    achieved by the means of different TI SCI device operations provided by
    the TI SCI framework.

    This code is loosely based on the drivers/clk/keystone/sci-clk.c driver
    of the Linux kernel.

    Reviewed-by: Tom Rini
    Signed-off-by: Andreas Dannenberg
    Signed-off-by: Vignesh R
    Signed-off-by: Lokesh Vutla

    Andreas Dannenberg
     
  • Some TI Keystone 2 and K3 family of SoCs contain a system controller
    (like the Power Management Micro Controller (PMMC) on 66AK2G SoCs and
    the Device Management and Security Controller on AM65x SoCs) that manage
    the low-level device control (like clocks, resets etc) for the various
    hardware modules present on the SoC. These device control operations are
    provided to the host processor OS through a communication protocol
    called the TI System Control Interface (TI SCI) protocol.

    This patch adds a reset driver that communicates to the system
    controller over the TI SCI protocol for performing reset management of
    various devices present on the SoC. Various reset functionalities are
    achieved by the means of different TI SCI device operations provided by
    the TI SCI framework.

    This code is loosely based on the drivers/reset/reset-ti-sci.c driver of
    the Linux kernel.

    Reviewed-by: Tom Rini
    Signed-off-by: Andreas Dannenberg
    Signed-off-by: Lokesh Vutla

    Andreas Dannenberg
     
  • Texas Instrument's System Control Interface (TI SCI) message protocol is
    used in Texas Instrument's System on Chip (SoC) such as those in the K3
    family AM654 SoC to communicate between various compute processors with
    a central system controller entity.

    The TI SCI message protocol provides support for management of various
    hardware entities within the SoC. Add support driver to allow
    communication with system controller entity within the SoC using the
    mailbox client.

    This is mostly derived from the TI SCI driver in Linux located at
    drivers/firmware/ti_sci.c.

    Reviewed-by: Tom Rini
    Signed-off-by: Lokesh Vutla
    Signed-off-by: Nishanth Menon
    Signed-off-by: Andreas Dannenberg

    Lokesh Vutla
     

20 Aug, 2018

1 commit

  • Add u-boot,off-on-delay-us for fixed regulator.

    Depends on board design, the gpio regulator sometimes
    connects with a big capacitance. When need to off, then
    on the regulator, if there is no enough delay,
    the voltage does not drop to 0, so introduce this
    property to handle such case.

    Signed-off-by: Peng Fan
    Reviewed-by: Simon Glass
    Cc: Masahiro Yamada

    Peng Fan
     

04 Aug, 2018

1 commit


31 Jul, 2018

1 commit


24 Jul, 2018

1 commit


21 Jul, 2018

2 commits

  • To let the full U-Boot know where it was booted from (i.e. which of
    the entries in /chosen/u-boot,spl-boot-order' contained a valid
    image), we define (and document) /chosen/u-boot,spl-boot-device as the
    property that could/should automatically be injected by SPL.

    This commit only contains a documentation change, which documents the
    new property and the intended usage.

    Signed-off-by: Philipp Tomsich
    Tested-by: Klaus Goger

    Philipp Tomsich
     
  • HSE and LSE bypass shall support both analog and digital signals.
    This patch add a way to select digital bypas case in the device tree
    and set the associated bit DIGBYP in RCC_BDCR and RCC_OCEN register
    during clock tree initialization.

    Signed-off-by: Patrick Delaunay

    Patrick Delaunay