1
0
Fork 0

devicetree: Don't specify vbus gpio in factory dts

The test application controls the OTG pin itself,
not via the usb OTG driver. A change between kern
4.1 and 4.9 causes the regulator to take the
gpio pin even if there are no references to it.

This commit removes the vbus gpio from the
driver, so that the test application works again.
eirik/updates-from-linux-fsl
Lars Ivar Miljeteig 2018-12-14 12:05:33 +01:00 committed by Eirik Schultz
parent 4e1bc6a9d6
commit 3e2d77d6da
No known key found for this signature in database
GPG Key ID: CA85F5BFB83767F3
2 changed files with 7 additions and 3 deletions

View File

@ -42,7 +42,7 @@
regulator-name = "usb_otg1_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio4 15 0>;
/*gpio = <&gpio4 15 0>;*/
enable-active-high;
vin-supply = <&swbst_reg>;
};

View File

@ -1,6 +1,10 @@
#include "zero-gravitas-factory.dts"
&usbotg1 {
vbus-supply = <&reg_usb_otg1_vbus>;
&reg_usb_otg1_vbus {
gpio = <&gpio4 15 0>;
};
&usbotg1 {
vbus-supply = <&reg_usb_otg1_vbus>;
};