]> git.karo-electronics.de Git - linux-beck.git/commitdiff
arm: boot: beaglex15: pass correct interrupt
authorFelipe Balbi <balbi@ti.com>
Wed, 30 Dec 2015 00:55:47 +0000 (09:55 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 5 Feb 2016 05:16:38 +0000 (14:16 +0900)
According to latest schematics [1], GPIO_1/VBUSDET
on TPS659038 is tied to AM57x GPIO4_21. We can use
that as a VBUS interrupt, instead of relying on
PMIC's VBUS interrupts which don't seem to be firing
on x15 at all.

A follow up patch will add support for using this
GPIO-based interrupt mechanism for notifying about
VBUS.

[1] https://github.com/beagleboard/beagleboard-x15/blob/master/BeagleBoard-X15_RevA2.pdf

Signed-off-by: Felipe Balbi <balbi@ti.com>
[cw00.choi: Use the 'vbus-gpio' property instead of 'interrupts-extended']
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am57xx-beagle-x15.dts

index 8e6bce78a535794d955434eccb69e950b434554b..c37a5193f199d27f958a430c442362b06ffeb9f1 100644 (file)
                extcon_usb2: tps659038_usb {
                        compatible = "ti,palmas-usb-vid";
                        ti,enable-vbus-detection;
+                       vbus-gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>;
                };
 
        };