]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/cbus/Kconfig
Add Nokia CBUS support
[linux-2.6-omap-h63xx.git] / drivers / cbus / Kconfig
diff --git a/drivers/cbus/Kconfig b/drivers/cbus/Kconfig
new file mode 100644 (file)
index 0000000..25f8039
--- /dev/null
@@ -0,0 +1,89 @@
+#
+# CBUS device configuration
+#
+
+menu "CBUS support"
+
+config CBUS
+       depends on ARCH_OMAP
+       bool "CBUS support on OMAP"
+       ---help---
+         CBUS is a proprietary serial protocol by Nokia.  It is mainly
+         used for accessing Energy Management auxiliary chips.
+
+         If you want CBUS support, you should say Y here.
+
+config CBUS_TAHVO
+       depends on CBUS
+       bool "Support for Tahvo"
+       ---help---
+         Tahvo is a mixed signal ASIC with some system features
+
+         If you want Tahvo support, you should say Y here.
+
+config CBUS_TAHVO_USER
+       depends on CBUS_TAHVO
+       bool "Support for Tahvo user space functions"
+       ---help---
+         If you want support for Tahvo's user space read/write etc. functions,
+         you should say Y here.
+
+config CBUS_TAHVO_USB
+       depends on CBUS_TAHVO && USB
+       tristate "Support for Tahvo USB transceiver"
+       ---help---
+         If you want Tahvo support for USB transceiver, say Y or M here.
+
+config CBUS_TAHVO_USB_HOST_BY_DEFAULT
+       depends on CBUS_TAHVO_USB && USB_OTG
+       boolean "Device in USB host mode by default"
+       ---help---
+         Say Y here, if you want the device to enter USB host mode
+         by default on bootup.
+
+config CBUS_RETU
+       depends on CBUS
+       bool "Support for Retu"
+       ---help---
+         Retu is a mixed signal ASIC with some system features
+
+         If you want Retu support, you should say Y here.
+
+config CBUS_RETU_USER
+       depends on CBUS_RETU
+       bool "Support for Retu user space functions"
+       ---help---
+         If you want support for Retu's user space read/write etc. functions,
+         you should say Y here.
+
+config CBUS_RETU_POWERBUTTON
+       depends on CBUS_RETU
+       bool "Support for Retu power button"
+       ---help---
+         The power button on Nokia 770 is connected to the Retu ASIC.
+
+         If you want support for the Retu power button, you should say Y here.
+
+config CBUS_RETU_RTC
+       depends on CBUS_RETU && SYSFS
+       tristate "Support for Retu pseudo-RTC"
+       ---help---
+         Say Y here if you want support for the device that alleges to be an
+         RTC in Retu. This will expose a sysfs interface for it.
+
+config CBUS_RETU_WDT
+       depends on CBUS_RETU && SYSFS
+       tristate "Support for Retu watchdog timer"
+       ---help---
+         Say Y here if you want support for the watchdog in Retu. This will
+         expose a sysfs interface to grok it.
+
+config CBUS_RETU_HEADSET
+       depends on CBUS_RETU && SYSFS
+       tristate "Support for headset detection with Retu/Vilma"
+       ---help---
+         Say Y here if you want support detecting a headset that's connected
+         to Retu/Vilma. Detection state and events are exposed through
+         sysfs.
+
+endmenu