From: Ryan Mallon Date: Tue, 13 Jul 2010 04:09:16 +0000 (+0100) Subject: ARM: 6209/3: at91_udc: Add vbus polarity and polling mode X-Git-Tag: v2.6.36-rc1~591^2~2^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4037242c4f5ff77afe61bf07ca1e8a99490219e5;p=pandora-kernel.git ARM: 6209/3: at91_udc: Add vbus polarity and polling mode Allow the vbus signal to optionally use polling. This is required if the vbus signal is connected to an non-interrupting io expander for example. If vbus is in polling mode, then it is assumed that the vbus gpio may sleep. Also add an option to have vbus be an active low signal. Both options are set in the platform data for the device. Signed-off-by: Ryan Mallon Acked-by: Nicolas Ferre Signed-off-by: Russell King --- Reading git-diff-tree failed