Other Parts Discussed in Thread: AM5748
Hi,
I have AM5748 based custom HW, Using TISDK 6.0.0.07
Using excon for USB:
/ {
extcon_usb2: extcon_usb2_usb {
compatible = "linux,extcon-usb-gpio";
vbus-gpio = <&gpio2 26 0 GPIO_ACTIVE_HIGH>;
id-gpio = <&gpio4 27 0 GPIO_ACTIVE_HIGH>;
};
};
When booting I get
[ 10.112887] extcon-usb-gpio extcon_usb2_usb: GPIO lookup for consumer id
[ 10.112898] extcon-usb-gpio extcon_usb2_usb: using device tree for GPIO lookup
[ 10.112911] of_get_named_gpiod_flags: can't parse 'id-gpios' property of node '/extcon_usb2_usb[0]'
[ 10.113001] of_get_named_gpiod_flags: parsed 'id-gpio' property of node '/extcon_usb2_usb[0]' - status (0)
[ 10.113074] extcon-usb-gpio extcon_usb2_usb: GPIO lookup for consumer vbus
[ 10.113082] extcon-usb-gpio extcon_usb2_usb: using device tree for GPIO lookup
[ 10.113092] of_get_named_gpiod_flags: can't parse 'vbus-gpios' property of node '/extcon_usb2_usb[0]'
[ 10.113122] of_get_named_gpiod_flags: parsed 'vbus-gpio' property of node '/extcon_usb2_usb[0]' - status (0)
[ 10.113346] omap_gpio 48059000.gpio: Could not set line 27 debounce to 20000 microseconds (-22)
The pin vbus-gpio is working but it seems that extcon-usb-gpio driver is requesting an invalid debounce time?
Regards, Chris