09 May, 2019

1 commit

  • Commit ff7bd212cb8a ("net: phy: micrel: fix divisor value for KSZ9031
    phy skew") fixed the skew value divisor for the KSZ9031, but left the
    code using the same divisor for the KSZ9021, which is incorrect.

    The preceding commit c16e69f702b1 ("net: phy: micrel: add documentation
    for Micrel KSZ90x1 binding") added the DTS documentation for the
    KSZ90x1, changing it from the equivalent file in the Linux kernel to
    correctly state that for this part the skew value is set in 120ps steps,
    whereas the Linux documentation and driver continue to this day to use
    the incorrect value of 200 that came from the original KSZ9021 datasheet
    before it was corrected in revision 1.2 (Feb 2014).

    This commit sorts out the resulting confusion in a consistent way by
    making the following changes:

    - Update the documentation to be clear about what the skew values mean,
    in the same was as for the KSZ9031.

    - Update the Micrel PHY driver to select the appropriate divisor for
    both parts.

    - Adjust all the device trees that state skew values for KSZ9021 PHYs to
    use values based on 120ps steps instead of 200ps steps. This will result
    in the same values being programmed into the skew registers as the
    equivalent device trees in the Linux kernel do, where it incorrectly
    uses 200ps steps (since that's where all these device trees were copied
    from).

    Signed-off-by: James Byrne
    Acked-by: Joe Hershberger

    James Byrne
     

29 Nov, 2018

1 commit

  • Add -u-boot.dtsi files to keep the current U-Boot behaviour:
    - add u-boot,dm-pre-reloc where required
    - disable watchdog
    - set uart clock frequency
    - add gpio bank-name properties
    where appropriate:
    - make qspi work (add alias for spi0, fix compatible for flash)
    - enable usb (status okay, add alias for udc0)

    Adapt board dts files that are not in Linux to keep their old
    behaviour.

    Change licenses to SPDX.

    (Patman warnings/errors are in 1:1 copied files from Linux)

    Signed-off-by: Simon Goldschmidt

    Simon Goldschmidt
     

14 Aug, 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
     

24 Jan, 2018

1 commit

  • Adopt the Linux DT bindings and clean-up duplicate
    and unused values.

    Fix indentation of the QSPI node in the keystone k2g
    device tree.

    Tested on TI K2G platform:
    Tested-by: Vignesh R

    Tested on a socfpga-cyclonev board:
    Tested-by: Simon Goldschmidt

    Signed-off-by: Jason Rush
    Reviewed-by: Jagan Teki
    Acked-by: Simon Goldschmidt
    Acked-by: Marek Vasut

    Jason Rush
     

20 Dec, 2015

1 commit

  • This patch adds the necessary OF alias for the UDC node, which let's
    the code locate the DWC2 UDC base address in OF instead of hard-coding
    it into the U-Boot binary. The code is adjusted to use the address from
    OF instead of the hard-coded one. Finally, the hard-coded address is
    removed and USB DM support is enabled.

    Signed-off-by: Marek Vasut
    Cc: Chin Liang See
    Cc: Dinh Nguyen
    Cc: Lukasz Majewski
    Cc: Lukasz Majewski

    Marek Vasut
     

04 Sep, 2015

1 commit