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.
martin/tpsdriverting
Lars Ivar Miljeteig 2018-12-14 12:05:33 +01:00
parent 5aae6b53f3
commit 5c76066147
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>;
};