arm64: dts: marvell: armada-7040-db: Add USB current regulators
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 28 May 2019 09:03:10 +0000 (11:03 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Tue, 11 Jun 2019 11:33:55 +0000 (13:33 +0200)
commit85e27ed7b6bdd541e08fdd29479b5aeccf777c4f
tree1deeb4ebf5dc64ab00e1046a652bd3dd1127d42b
parent00954566464a46dbfd747aaeace281dc9eb00361
arm64: dts: marvell: armada-7040-db: Add USB current regulators

Armada 7040-db USB ports deliver 500mA by default while they
could deliver up to 900mA (usually, for USB3 devices).

The board embeds a GPIO controlled regulator on each port which can be
configured to deliver each amount of current.

Add a vin-supply property to the USB3 Vbus nodes for this purpose. The
regulator will be automatically 'enabled', ie. set to limit at 900mA
instead of 500mA.

Suggested-by: Alex Leibovich <alexl@marvell.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-7040-db.dts