]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
usb: dwc2: Make OC protection configurable
authorMarek Vasut <marex@denx.de>
Wed, 27 Apr 2016 12:58:49 +0000 (14:58 +0200)
committerMarek Vasut <marex@denx.de>
Tue, 3 May 2016 17:21:18 +0000 (19:21 +0200)
commitb4fbd089e4b7ead53d4a27148f6df9c18572b1ce
tree47ae9bcad58d877eda2a6f0b08b6681e93e59f6e
parent618da5630b5629d1c506be17f642502b483dab1a
usb: dwc2: Make OC protection configurable

Introduce a new flag in the controller private data, which allows selectively
disabling the OC protection. Use the standard 'disable-over-current' OF prop
to set this flag. This OC protection must be disabled on EBV SoCrates rev 1.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefan Roese <sr@denx.de>
Cc: Dinh Nguyen <dinguyen@kernel.org>
drivers/usb/host/dwc2.c