ARM: dts: omap4-droid4: Allow 300mA current for USB peripherals
authorTony Lindgren <tony@atomide.com>
Thu, 3 Oct 2019 16:59:03 +0000 (09:59 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 9 Oct 2019 22:13:44 +0000 (15:13 -0700)
Looks like we can use some USB Ethernet dongles for example if we increase
the allowed power limit.

A similar PMIC MC13783 documents maximum current limit as 300 mA in in
"Table 10-4. VBUS Regulator Main Characteristics". Since we have no
other documentation, let's use that value as the limit.

Cc: Jacopo Mondi <jacopo@jmondi.org>
Cc: Marcel Partap <mpartap@gmx.net>
Cc: Merlijn Wajer <merlijn@wizzup.org>
Cc: Michael Scott <hashcode0f@gmail.com>
Cc: NeKit <nekit1000@gmail.com>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap4-droid4-xt894.dts

index a40fe8d49da6469a573b43d1b0fa8e7d3ae08ada..66ad4fa7dcaaea598e518a7b5c05ffad80e4f940 100644 (file)
 &usb_otg_hs {
        interface-type = <1>;
        mode = <3>;
-       power = <50>;
+
+       /*
+        * Max 300 mA steps based on similar PMIC MC13783UG.pdf "Table 10-4.
+        * VBUS Regulator Main Characteristics". Binding uses 2 mA units.
+        */
+       power = <150>;
 };
 
 &i2c4 {