06 Feb, 2020

2 commits

  • At present dm/device.h includes the linux-compatible features. This
    requires including linux/compat.h which in turn includes a lot of headers.
    One of these is malloc.h which we thus end up including in every file in
    U-Boot. Apart from the inefficiency of this, it is problematic for sandbox
    which needs to use the system malloc() in some files.

    Move the compatibility features into a separate header file.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • At present devres.h is included in all files that include dm.h but few
    make use of it. Also this pulls in linux/compat which adds several more
    headers. Drop the automatic inclusion and require files to include devres
    themselves. This provides a good indication of which files use devres.

    Signed-off-by: Simon Glass
    Reviewed-by: Anatolij Gustschin

    Simon Glass
     

13 Aug, 2019

1 commit

  • Add a new SERDES driver for TI's AM654x SoC which configures
    the SERDES only for PCIe. Support fo USB3 can be added later.

    SERDES in am654x has three input clocks (left input, external
    reference clock and right input) and two output clocks (left
    output and right output) in addition to a PLL mux clock which
    the SERDES uses for Clock Multiplier Unit (CMU refclock).

    The PLL mux clock can select from one of the three input
    clocks. The right output can select between left input and
    external reference clock while the left output can select
    between the right input and external reference clock.

    The driver has support to select PLL mux and left/right output
    mux as specified in device tree.

    Signed-off-by: Sekhar Nori

    Sekhar Nori