* Tony Lindgren <tony@xxxxxxxxxxx> [170105 11:14]: > We can now configure the PMIC interrupt to provide us VBUS > events. In that case we don't need to constantly poll the > status and can make it optional. This is only wired up > for the mini-B interface on beaglebone. > > Note that eventually we should get also the connect status > for the host interface when the am335x internal PM coprocessor > provides us with an IRQ chip. For now, we still need to poll > for the host mode status. And here's a related patch I can queue separately to configure it. Regards, Tony 8< --------------------------------- From: Tony Lindgren <tony@xxxxxxxxxxx> Date: Tue, 27 Dec 2016 08:03:41 -0800 Subject: [PATCH] ARM: dts: Configure BeagleBone peripheral USB VBUS irq This prevents having to poll peripheral USB port cable status. Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx> --- arch/arm/boot/dts/am335x-bone-common.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi --- a/arch/arm/boot/dts/am335x-bone-common.dtsi +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi @@ -207,6 +207,8 @@ &usb0 { status = "okay"; dr_mode = "peripheral"; + interrupts-extended = <&intc 18 &tps 0>; + interrupt-names = "mc", "vbus"; }; &usb1 { -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html