03 Jun, 2020

1 commit

  • The test pings the local IP address though different ports of a sandbox
    DSA device. Port traffic is filtered and the test verifies that ping
    works only on enabled ports.
    The additional interfaces require MAC addresses, these have been added
    to sandbox default environment.

    Signed-off-by: Alex Marginean
    Signed-off-by: Claudiu Manoil

    Alex Marginean
     

09 Jan, 2020

1 commit


08 Jan, 2020

2 commits


15 Dec, 2019

3 commits


14 Oct, 2019

1 commit

  • Display Serial Interface (DSI) host can usefully be modelled
    as their own uclass.
    DSI defines a serial bus and a communication protocol
    between the host and the device (panel, bridge).

    Signed-off-by: Yannick Fertré

    Yannick Fertré
     

27 Jul, 2019

1 commit


19 Jul, 2019

2 commits

  • This patch provides code to implement the CCF clock tree in sandbox. It
    uses all the introduced primitives; some generic ones are reused, some
    sandbox specific were developed.

    In that way (after introducing the real CCF tree in sandbox) the recently
    added to clk-uclass.c: clk_get_by_id() and clk_get_parent_rate() are tested
    in their natural work environment.

    Usage (sandbox_defconfig and sandbox_flattree_defconfig):
    ./u-boot --fdt arch/sandbox/dts/test.dtb --command "ut dm clk_ccf"

    Signed-off-by: Lukasz Majewski

    Lukasz Majewski
     
  • Adds a test using a makeshift MDIO MUX. The test is based on the existing
    MDIO test. It uses the last emulated PHY register to verify MUX selection.

    Signed-off-by: Alex Marginean
    Acked-by: Joe Hershberger
    Reviewed-by: Bin Meng

    Alex Marginean
     

16 Jul, 2019

1 commit

  • A very simple test for DM_MDIO, mimicks a register write/read through the
    sandbox bus to a dummy PHY.

    Signed-off-by: Alex Marginean
    Reviewed-by: Bin Meng
    Tested-by: Bin Meng
    Acked-by: Joe Hershberger

    Alex Marginean
     

11 Jul, 2019

1 commit


05 Jul, 2019

1 commit

  • This uclass is intended for devices that do not need any features from the
    uclass, including binding children.
    This will typically be used by devices that are used to bind child devices
    but do not use dm_scan_fdt_dev() to do it. That is for example the case of
    several USB wrappers that have 2 child devices (1 for device and 1 for
    host) but bind only one at a any given time.

    Signed-off-by: Jean-Jacques Hiblot
    Reviewed-by: Simon Glass

    Jean-Jacques Hiblot
     

20 Feb, 2019

1 commit


15 Jan, 2019

1 commit


16 Dec, 2018

1 commit


14 Dec, 2018

4 commits


07 Dec, 2018

2 commits


15 Nov, 2018

1 commit


09 Oct, 2018

1 commit


07 Oct, 2018

1 commit


01 Oct, 2018

1 commit


30 Sep, 2018

2 commits

  • Add a test which verifies that all subnodes under "/firmware"
    nodes are scanned.

    Signed-off-by: Rajan Vaja
    Reviewed-by: Simon Glass
    Added 'imply FIRMWARE' to sandbox Kconfig to fix test failures, fixed
    ordering of lines in arch/sandbox/dts/test.dts and test/dm/Makefile,
    updated #if condition in drivers/firmware/firmware-uclass.c:
    Signed-off-by: Simon Glass

    Rajan Vaja
     
  • Add tests for the new board uclass.

    Reviewed-by: Simon Glass
    Signed-off-by: Mario Six

    Mario Six
     

29 Sep, 2018

1 commit


18 Sep, 2018

1 commit


11 Sep, 2018

1 commit


12 Aug, 2018

1 commit


11 Aug, 2018

2 commits


20 Jul, 2018

1 commit


08 May, 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
     

10 May, 2017

1 commit

  • Those tests check:
    - the ability for a phy-user to get a phy based on its name or its index
    - the ability of a phy device (provider) to manage multiple ports
    - the ability to perform operations on the phy (init,deinit,on,off)
    - the behavior of the uclass when optional operations are not implemented

    Signed-off-by: Jean-Jacques Hiblot
    Reviewed-by: Simon Glass

    Jean-Jacques Hiblot
     

08 May, 2017

1 commit

  • This is a simple uclass for Watchdog Timers. It has four operations:
    start, restart, reset, stop. Drivers must implement start, restart and
    stop operations, while implementing reset is optional: It's default
    implementation expires watchdog timer in one clock tick.

    Signed-off-by: Maxim Sloyko
    Reviewed-by: Simon Glass

    maxims@google.com