[coreboot-gerrit] Patch merged into coreboot/master: pcengines/apu1: Enable USB overcurrent detection.

gerrit at coreboot.org gerrit at coreboot.org
Tue Mar 15 21:38:22 CET 2016


the following patch was just integrated into master:
commit 3385ebe59a452ce66e0180641de271b028a41e7e
Author: Tobias Diedrich <ranma+coreboot at tdiedrich.de>
Date:   Sun Mar 13 21:19:45 2016 +0100

    pcengines/apu1: Enable USB overcurrent detection.
    
    The two external USB ports and the internal USB header have overcurrent
    protection chips with the low-active overcurrent signal connected to the
    chipset.
    
    The power-on default for this register disables the software detection
    of overcurrent conditions.
    
    After setting the register Linux correctly shows the overcurrent
    condition in the kernel log (tested by shorting the 5v and gnd lines on
    J14 / the internal USB header):
    [ 2015.229921] usb usb1-port3: over-current condition
    [ 2015.449925] usb usb1-port4: over-current condition
    
    Simlar for the external ports:
    [  256.237916] usb usb1-port1: over-current condition
    [  256.458084] usb usb1-port5: over-current condition
    
    Note that each signal is shared between two ports:
    usboc0#: External ports (port1/5)
    usboc1#: Internal ports (port3/4)
    
    Change-Id: I02d498053b8ec61dc206e74a96c4a1dcfd4fae92
    Signed-off-by: Tobias Diedrich <ranma+coreboot at tdiedrich.de>
    Reviewed-on: https://review.coreboot.org/14084
    Tested-by: build bot (Jenkins)
    Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>
    Reviewed-by: Martin Roth <martinroth at google.com>


See https://review.coreboot.org/14084 for details.

-gerrit



More information about the coreboot-gerrit mailing list