]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
usb: xilinx: Add support for usb phy reset via gpio
authorMichal Simek <michal.simek@xilinx.com>
Wed, 16 Oct 2013 12:33:23 +0000 (14:33 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 18 Oct 2013 12:21:16 +0000 (14:21 +0200)
commit53e868300ad63c52137f47fd762a660071f1fd4e
treed45054d1877050d5bbae0ed06680f073ff6de18d
parent114c227c1817ed0f3d37079751e3fc51efb68779
usb: xilinx: Add support for usb phy reset via gpio

Some USB phys on zynq boards needs to be reset before
usage. All boards are using reset through ps7_gpio
but another gpio controller can be used as well.
This patch adds support for gpio usb phy reset
which should be decribed in DTS in the format:

ps7_usb_0: ps7-usb@e0002000 {
compatible = "xlnx,ps7-usb-1.00.a";
usb-reset = <&ps7_gpio_0 7 0>;
...
} ;

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/usb/host/Kconfig
drivers/usb/host/xusbps-dr-of.c