11 May, 2020

1 commit


09 May, 2019

2 commits

  • - H6 Beelink GS1 board (Clément)
    - Olimex A64-Teres-I board (Jonas)
    - sunxi build fix for CONFIG_CMD_PXE|DHCP (Ondrej)
    - Change include order (Jagan)
    - EPHY clock changes (Jagan)
    - EMAC enablement on Cubietruck Plus, BPI-M3 (Chen-Yu Tsai)

    Tom Rini
     
  • Getting a RESET by index with device is not straight forward
    for some use-cases like handling clock operations for child
    node in parent driver. So we need to process the child node
    in parent probe via ofnode and process RESET operation for child
    without udevice but with ofnode.

    So add reset_get_by_index_nodev() and move the common code
    in reset_get_by_index_tail() to use for reset_get_by_index()

    Cc: Stephen Warren
    Signed-off-by: Jagan Teki
    Reviewed-by: Simon Glass

    Jagan Teki
     

24 Apr, 2019

1 commit


19 Jan, 2019

1 commit


11 Sep, 2018

2 commits


10 Jul, 2018

1 commit


07 May, 2018

1 commit

  • When U-Boot started using SPDX tags we were among the early adopters and
    there weren't a lot of other examples to borrow from. So we picked the
    area of the file that usually had a full license text and replaced it
    with an appropriate SPDX-License-Identifier: entry. Since then, the
    Linux Kernel has adopted SPDX tags and they place it as the very first
    line in a file (except where shebangs are used, then it's second line)
    and with slightly different comment styles than us.

    In part due to community overlap, in part due to better tag visibility
    and in part for other minor reasons, switch over to that style.

    This commit changes all instances where we have a single declared
    license in the tag as both the before and after are identical in tag
    contents. There's also a few places where I found we did not have a tag
    and have introduced one.

    Signed-off-by: Tom Rini

    Tom Rini
     

18 Apr, 2018

1 commit

  • In the commit "reset: Add get/assert/deassert/release for bulk of reset signals"
    the disabled reset_release_bulk() and reset_get_bulk() used the wrong
    struct clk_bulk instead of struct reset_ctl_bulk.

    Fixes: 0c28233903b5 ("reset: Add get/assert/deassert/release for bulk of reset signals")
    Reported-by: Jean-Jacques Hiblot
    Signed-off-by: Neil Armstrong
    Reviewed-by: Simon Glass

    Neil Armstrong
     

10 Apr, 2018

1 commit


29 Jul, 2017

2 commits


24 Sep, 2016

1 commit

  • My motivation for this patch is to make reset control handling
    optional for generic drivers.

    I want to add reset control to drivers/usb/host/ehci-generic.c,
    but it is used by several platforms, some will implement a reset
    controller driver, some will not.

    Add no-op stubs in order to avoid link error for drivers that
    implement reset controlling, but still it is optional.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

20 Jun, 2016

1 commit

  • A reset controller is a hardware module that controls reset signals that
    affect other hardware modules or chips.

    This patch defines a standard API that connects reset clients (i.e. the
    drivers for devices affected by reset signals) to drivers for reset
    controllers/providers. Initially, DT is the only supported method for
    connecting the two.

    The DT binding specification (reset.txt) was taken from Linux kernel
    v4.5's Documentation/devicetree/bindings/reset/reset.txt.

    Signed-off-by: Stephen Warren
    Acked-by: Simon Glass

    Stephen Warren
     

27 May, 2016

1 commit

  • The current reset API implements a method to reset the entire system.
    In the near future, I'd like to introduce code that implements the device
    tree reset bindings; i.e. the equivalent of the Linux kernel's reset API.
    This controls resets to individual HW blocks or external chips with reset
    signals. It doesn't make sense to merge the two APIs into one since they
    have different semantic purposes. Resolve the naming conflict by renaming
    the existing reset API to sysreset instead, so the new reset API can be
    called just reset.

    Signed-off-by: Stephen Warren
    Acked-by: Simon Glass

    Stephen Warren
     

22 Jul, 2015

2 commits

  • Add a new reset_walk_halt() function to cause a reset and then halt on
    failure. The reset_walk() function returns an error code.

    This is needed for testing since otherwise U-Boot will halt in the middle
    of a test.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • It is common for system reset to be available at multiple levels in modern
    hardware. For example, an SoC may provide a reset option, and a board may
    provide its own reset for reasons of security or thoroughness. It is useful
    to be able to model this hardware without hard-coding the behaviour in the
    SoC or board. Also there is a distinction sometimes between resetting just
    the CPU (leaving GPIO state alone) and resetting all the PMICs, just cutting
    power.

    To achieve this, add a simple system reset uclass. It allows multiple devices
    to provide reset functionality and provides a way to walk through them,
    requesting a particular reset type until is it provided.

    Signed-off-by: Simon Glass

    Simon Glass