[PATCH 1/5] ARM: PXA: Add z2-usb-switch driver
From: anarsoul@gmail.com (Vasily Khoruzhick)
Date: 2012-10-28 15:39:30
Ooops, sorry, please discard this patch. One file is missing after rebase, will resend this patch shortly On Sun, Oct 28, 2012 at 6:35 PM, Vasily Khoruzhick [off-list ref] wrote:
quoted hunk ↗ jump to hunk
This driver controls mode of USB port #2 pins - device or host. Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> --- arch/arm/mach-pxa/Kconfig | 7 +++++++ arch/arm/mach-pxa/Makefile | 1 + 2 files changed, 8 insertions(+)diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-pxa/Kconfig index 11aa739..5fffc4b 100644 --- a/arch/arm/mach-pxa/Kconfig +++ b/arch/arm/mach-pxa/Kconfig@@ -630,6 +630,13 @@ config MACH_ZIPIT2 bool "Zipit Z2 Handheld" select HAVE_PWM select PXA27x + +config Z2_USB_SWITCH + tristate "Control the state of USB port on Zipit Z2" + depends on MACH_ZIPIT2 + help + This is a simple driver that is able to control + usb mode of Zipit Z2 endif endmenudiff --git a/arch/arm/mach-pxa/Makefile b/arch/arm/mach-pxa/Makefile index ee88d6e..86a032f 100644 --- a/arch/arm/mach-pxa/Makefile +++ b/arch/arm/mach-pxa/Makefile@@ -99,3 +99,4 @@ obj-$(CONFIG_MACH_RAUMFELD_SPEAKER) += raumfeld.o obj-$(CONFIG_MACH_ZIPIT2) += z2.o obj-$(CONFIG_TOSA_BT) += tosa-bt.o +obj-$(CONFIG_Z2_USB_SWITCH) += z2-usb-switch.o --1.7.12.4