Skip to content

Commit

Permalink
ARM: dts: OMAP5: add palmas-usb node
Browse files Browse the repository at this point in the history
Without this node, there will be no palmas driver to notify
dwc3 that a cable has been connected and, without that, dwc3
will never initialize.

Signed-off-by: Felipe Balbi <balbi@ti.com>
[kishon@ti.com: added dt properties for enabling vbus/id interrupts
and fixed vbus-supply value after SMPS10 is modeled as 2 regulators]
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
  • Loading branch information
Felipe Balbi authored and Benoit Cousson committed Oct 8, 2013
1 parent 36f496a commit e3a412c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions arch/arm/boot/dts/omap5-uevm.dts
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,13 @@
interrupt-controller;
#interrupt-cells = <2>;

extcon_usb3: palmas_usb {
compatible = "ti,palmas-usb-vid";
ti,enable-vbus-detection;
ti,enable-id-detection;
ti,wakeup;
};

palmas_pmic {
compatible = "ti,palmas-pmic";
interrupt-parent = <&palmas>;
Expand Down Expand Up @@ -479,6 +486,11 @@
phys = <0 &hsusb2_phy &hsusb3_phy>;
};

&usb3 {
extcon = <&extcon_usb3>;
vbus-supply = <&smps10_out1_reg>;
};

&mcspi1 {

};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/omap5.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@
ti,type = <2>;
};

omap_dwc3@4a020000 {
usb3: omap_dwc3@4a020000 {
compatible = "ti,dwc3";
ti,hwmods = "usb_otg_ss";
reg = <0x4a020000 0x10000>;
Expand Down

0 comments on commit e3a412c

Please sign in to comment.