]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Merge current mainline tree into linux-omap tree
authorTony Lindgren <tony@atomide.com>
Mon, 17 Nov 2008 18:19:19 +0000 (10:19 -0800)
committerTony Lindgren <tony@atomide.com>
Mon, 17 Nov 2008 18:19:19 +0000 (10:19 -0800)
Merge branches 'master' and 'linus'

Conflicts:

drivers/w1/masters/omap_hdq.c
drivers/w1/slaves/Kconfig
drivers/w1/slaves/w1_bq27000.c

1  2 
Makefile
drivers/hwmon/Kconfig
drivers/hwmon/Makefile
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/usb/host/Kconfig
drivers/usb/host/ehci-hcd.c
drivers/usb/musb/omap2430.c

diff --combined Makefile
index 7d5f0b4ab75f86ff1d5370baf6c69304d9add527,a9ae5dc0aa161e4f4c809fb6a1f9b8f6e8a0c9c7..db7614edc757f9c4dc32dd59d9be4df6700a9c0f
+++ b/Makefile
@@@ -1,7 -1,7 +1,7 @@@
  VERSION = 2
  PATCHLEVEL = 6
  SUBLEVEL = 28
- EXTRAVERSION = -rc4
+ EXTRAVERSION = -rc5
  NAME = Killer Bat of Doom
  
  # *DOCUMENTATION*
@@@ -16,9 -16,6 +16,9 @@@
  # o  print "Entering directory ...";
  MAKEFLAGS += -rR --no-print-directory
  
 +# Add custom flags here to avoid conflict with updates
 +EXTRAVERSION := $(EXTRAVERSION)-omap1
 +
  # We are using a recursive build, so we need to do a little thinking
  # to get the ordering right.
  #
@@@ -174,8 -171,6 +174,8 @@@ SUBARCH := $(shell uname -m | sed -e s/
                                  -e s/ppc.*/powerpc/ -e s/mips.*/mips/ \
                                  -e s/sh.*/sh/ )
  
 +SUBARCH := arm
 +
  # Cross compiling and selecting different set of gcc/bin-utils
  # ---------------------------------------------------------------------------
  #
  # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
  export KBUILD_BUILDHOST := $(SUBARCH)
  ARCH          ?= $(SUBARCH)
 -CROSS_COMPILE ?=
 +CROSS_COMPILE ?= arm-linux-
  
  # Architecture as present in compile.h
  UTS_MACHINE   := $(ARCH)
diff --combined drivers/hwmon/Kconfig
index 714fc4549685425cbb2fdae38a0d98341649b3c4,c709e821f04bf6cd4c93db2fd6451be818fb7840..5eecb51f11484d1dcff070c0f9e891915d0fdbd3
@@@ -159,6 -159,16 +159,16 @@@ config SENSORS_ADM924
          This driver can also be built as a module.  If so, the module
          will be called adm9240.
  
+ config SENSORS_ADT7462
+       tristate "Analog Devices ADT7462"
+       depends on I2C && EXPERIMENTAL
+       help
+         If you say yes here you get support for the Analog Devices
+         ADT7462 temperature monitoring chips.
+         This driver can also be built as a module. If so, the module
+         will be called adt7462.
  config SENSORS_ADT7470
        tristate "Analog Devices ADT7470"
        depends on I2C && EXPERIMENTAL
@@@ -825,6 -835,25 +835,25 @@@ config SENSORS_HDAP
          Say Y here if you have an applicable laptop and want to experience
          the awesome power of hdaps.
  
+ config SENSORS_LIS3LV02D
+       tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer"
+       depends on ACPI && INPUT
+       default n
+       help
+         This driver provides support for the LIS3LV02Dx accelerometer. In
+         particular, it can be found in a number of HP laptops, which have the
+         "Mobile Data Protection System 3D" or "3D DriveGuard" feature. On such
+         systems the driver should load automatically (via ACPI). The
+         accelerometer might also be found in other systems, connected via SPI
+         or I2C.  The accelerometer data is readable via
+         /sys/devices/platform/lis3lv02d.
+         This driver also provides an absolute input class device, allowing
+         the laptop to act as a pinball machine-esque joystick.
+         This driver can also be built as a module.  If so, the module
+         will be called lis3lv02d.
  config SENSORS_APPLESMC
        tristate "Apple SMC (Motion sensor, light sensor, keyboard backlight)"
        depends on INPUT && X86
          Say Y here if you have an applicable laptop and want to experience
          the awesome power of applesmc.
  
 +config SENSORS_TSC210X
 +      tristate "TI TSC210x battery & temperature sensors"
 +      depends on HWMON && SPI_MASTER
 +      select SPI_TSC210X
 +      help
 +        Say Y if your board has a TSC210x chip and you want to
 +        have its battery state, auxiliary input and/or temperature
 +        sensors exported through hwmon.
 +
 +        This driver can also be built as a module.  In this case
 +        the module will be called tsc210x_sensors.
 +
 +config SENSORS_OMAP34XX
 +      tristate "TI OMAP34xx internal temperature sensor"
 +      depends on ARCH_OMAP3 && HIGH_RES_TIMERS
 +
  config HWMON_DEBUG_CHIP
        bool "Hardware Monitoring Chip debugging messages"
        default n
diff --combined drivers/hwmon/Makefile
index 889bed7c84c1a6f76d7a16004891baca3c0c0348,58fc5be5355d29ec0ea686813fbc1dc651b0e232..6641a3f4193b4dd88f9c1a6ee6fca2b6abaa0bef
@@@ -25,6 -25,7 +25,7 @@@ obj-$(CONFIG_SENSORS_ADM1029) += adm102
  obj-$(CONFIG_SENSORS_ADM1031) += adm1031.o
  obj-$(CONFIG_SENSORS_ADM9240) += adm9240.o
  obj-$(CONFIG_SENSORS_ADS7828) += ads7828.o
+ obj-$(CONFIG_SENSORS_ADT7462) += adt7462.o
  obj-$(CONFIG_SENSORS_ADT7470) += adt7470.o
  obj-$(CONFIG_SENSORS_ADT7473) += adt7473.o
  obj-$(CONFIG_SENSORS_APPLESMC)        += applesmc.o
@@@ -48,6 -49,7 +49,7 @@@ obj-$(CONFIG_SENSORS_IBMAEM)  += ibmaem.
  obj-$(CONFIG_SENSORS_IBMPEX)  += ibmpex.o
  obj-$(CONFIG_SENSORS_IT87)    += it87.o
  obj-$(CONFIG_SENSORS_K8TEMP)  += k8temp.o
+ obj-$(CONFIG_SENSORS_LIS3LV02D) += lis3lv02d.o
  obj-$(CONFIG_SENSORS_LM63)    += lm63.o
  obj-$(CONFIG_SENSORS_LM70)    += lm70.o
  obj-$(CONFIG_SENSORS_LM75)    += lm75.o
@@@ -75,9 -77,7 +77,9 @@@ obj-$(CONFIG_SENSORS_VT1211)  += vt1211.
  obj-$(CONFIG_SENSORS_VT8231)  += vt8231.o
  obj-$(CONFIG_SENSORS_W83627EHF)       += w83627ehf.o
  obj-$(CONFIG_SENSORS_W83L785TS)       += w83l785ts.o
 +obj-$(CONFIG_SENSORS_TSC210X) += tsc210x_sensors.o
  obj-$(CONFIG_SENSORS_W83L786NG)       += w83l786ng.o
 +obj-$(CONFIG_SENSORS_OMAP34XX)  += omap34xx_temp.o
  
  ifeq ($(CONFIG_HWMON_DEBUG_CHIP),y)
  EXTRA_CFLAGS += -DDEBUG
diff --combined drivers/misc/Kconfig
index 4e84e900879f76794f4f3a02eecaf012e7da7dcb,fee7304102af8158ca3882bccb854f0f6fcb2bbe..a11e2a0a823b4077a61ed08ac45d095f45691cd3
@@@ -227,10 -227,20 +227,20 @@@ config HP_WM
           To compile this driver as a module, choose M here: the module will
           be called hp-wmi.
  
+ config ICS932S401
+       tristate "Integrated Circuits ICS932S401"
+       depends on I2C && EXPERIMENTAL
+       help
+         If you say yes here you get support for the Integrated Circuits
+         ICS932S401 clock control chips.
+         This driver can also be built as a module. If so, the module
+         will be called ics932s401.
  config MSI_LAPTOP
          tristate "MSI Laptop Extras"
          depends on X86
-         depends on ACPI_EC
+         depends on ACPI
          depends on BACKLIGHT_CLASS_DEVICE
          ---help---
          This is a driver for laptops built by MSI (MICRO-STAR
@@@ -260,7 -270,7 +270,7 @@@ config PANASONIC_LAPTO
  config COMPAL_LAPTOP
        tristate "Compal Laptop Extras"
        depends on X86
-       depends on ACPI_EC
+       depends on ACPI
        depends on BACKLIGHT_CLASS_DEVICE
        ---help---
          This is a driver for laptops built by Compal:
@@@ -426,19 -436,7 +436,19 @@@ config EEEPC_LAPTO
          This driver supports the Fn-Fx keys on Eee PC laptops.
          It also adds the ability to switch camera/wlan on/off.
  
 -        If you have an Eee PC laptop, say Y or M here.
 +config OMAP_STI
 +      bool "Serial Trace Interface support"
 +      depends on ARCH_OMAP16XX || ARCH_OMAP24XX || ARCH_OMAP34XX
 +      default n
 +      help
 +        Serial Trace Interface. The protocols suported for OMAP1/2/3 are
 +        STI/CSTI/XTIv2 correspondingly.
 +
 +config OMAP_STI_CONSOLE
 +      bool "STI console support"
 +      depends on OMAP_STI
 +      help
 +        This enables a console driver by way of STI/XTI.
  
  config ENCLOSURE_SERVICES
        tristate "Enclosure Services"
@@@ -500,4 -498,6 +510,6 @@@ config SGI_GRU_DEBU
        This option enables addition debugging code for the SGI GRU driver. If
        you are unsure, say N.
  
+ source "drivers/misc/c2port/Kconfig"
  endif # MISC_DEVICES
diff --combined drivers/misc/Makefile
index ed7e1d09d8425b3187627d89ae6b1fd6a00c6f06,817f7f5ab3bd2c21476033c195dbba93bf58d05b..78be134a80914feba6d6be5181079bfb3cd20519
@@@ -5,7 -5,6 +5,7 @@@ obj- := misc.o   # Dummy rule to force bu
  
  obj-$(CONFIG_IBM_ASM)         += ibmasm/
  obj-$(CONFIG_HDPU_FEATURES)   += hdpuftrs/
 +obj-$(CONFIG_OMAP_STI)                += sti/
  obj-$(CONFIG_ASUS_LAPTOP)     += asus-laptop.o
  obj-$(CONFIG_EEEPC_LAPTOP)    += eeepc-laptop.o
  obj-$(CONFIG_MSI_LAPTOP)      += msi-laptop.o
@@@ -15,6 -14,7 +15,7 @@@ obj-$(CONFIG_ATMEL_PWM)               += atmel_pwm.
  obj-$(CONFIG_ATMEL_SSC)               += atmel-ssc.o
  obj-$(CONFIG_ATMEL_TCLIB)     += atmel_tclib.o
  obj-$(CONFIG_HP_WMI)          += hp-wmi.o
+ obj-$(CONFIG_ICS932S401)      += ics932s401.o
  obj-$(CONFIG_TC1100_WMI)      += tc1100-wmi.o
  obj-$(CONFIG_LKDTM)           += lkdtm.o
  obj-$(CONFIG_TIFM_CORE)               += tifm_core.o
@@@ -32,3 -32,4 +33,4 @@@ obj-$(CONFIG_KGDB_TESTS)      += kgdbts.
  obj-$(CONFIG_SGI_XP)          += sgi-xp/
  obj-$(CONFIG_SGI_GRU)         += sgi-gru/
  obj-$(CONFIG_HP_ILO)          += hpilo.o
+ obj-$(CONFIG_C2PORT)          += c2port/
diff --combined drivers/usb/host/Kconfig
index 090818af74329a71cb2ff34f635c07fcc585daf4,f3a75a929e0aa26dcdbaee0c75c0cfa10403f8bf..2094de4c54f8b41e34ba7069d2428feee48f4bf1
@@@ -41,25 -41,6 +41,25 @@@ config USB_EHCI_HC
  
          To compile this driver as a module, choose M here: the
          module will be called ehci-hcd.
 +choice
 +      prompt "PHY/TLL mode"
 +      depends on USB_EHCI_HCD && EXPERIMENTAL && ARCH_OMAP34XX
 +      ---help---
 +      Choose PHY or TLL mode of operation
 +
 +config OMAP_EHCI_PHY_MODE
 +      bool "PHY mode: ISP1504 on Port1/2 (NEW 3430ES2.0)"
 +      depends on USB_EHCI_HCD && EXPERIMENTAL && ARCH_OMAP34XX
 +      ---help---
 +        EHCI PHY mode. Port1 and Port2 are connected to ISP1504 transcievers
 +
 +config OMAP_EHCI_TLL_MODE
 +      bool "TLL mode: (EXPERIMENTAL)"
 +      depends on USB_EHCI_HCD && EXPERIMENTAL && ARCH_OMAP34XX
 +      ---help---
 +      OMAP EHCI controller has TLL mode of operation for all 3 ports.
 +      Use this mode when no transciever is present
 +endchoice
  
  config USB_EHCI_ROOT_HUB_TT
        bool "Root Hub Transaction Translators"
@@@ -129,29 -110,18 +129,18 @@@ config USB_ISP116X_HC
  
  config USB_ISP1760_HCD
        tristate "ISP 1760 HCD support"
-       depends on USB && EXPERIMENTAL
+       depends on USB && EXPERIMENTAL && (PCI || PPC_OF)
        ---help---
          The ISP1760 chip is a USB 2.0 host controller.
  
          This driver does not support isochronous transfers or OTG.
+         This USB controller is usually attached to a non-DMA-Master
+         capable bus. NXP's eval kit brings this chip on PCI card
+         where the chip itself is behind a PLB to simulate such
+         a bus.
  
          To compile this driver as a module, choose M here: the
-         module will be called isp1760-hcd.
- config USB_ISP1760_PCI
-       bool "Support for the PCI bus"
-       depends on USB_ISP1760_HCD && PCI
-       ---help---
-         Enables support for the device present on the PCI bus.
-         This should only be required if you happen to have the eval kit from
-         NXP and you are going to test it.
- config USB_ISP1760_OF
-       bool "Support for the OF platform bus"
-       depends on USB_ISP1760_HCD && PPC_OF
-       ---help---
-         Enables support for the device present on the PowerPC
-         OpenFirmware platform bus.
+         module will be called isp1760.
  
  config USB_OHCI_HCD
        tristate "OHCI HCD support"
index 8cfdc4dd03b7c83834863996607300f1db17f2a3,4725d15d096f559fc833d0e0f6323bcff4aa7631..d2cb45ac0097de1a7e9ec9778bdb1d675cd2dfff
@@@ -643,7 -643,7 +643,7 @@@ static int ehci_run (struct usb_hcd *hc
  static irqreturn_t ehci_irq (struct usb_hcd *hcd)
  {
        struct ehci_hcd         *ehci = hcd_to_ehci (hcd);
-       u32                     status, pcd_status = 0, cmd;
+       u32                     status, masked_status, pcd_status = 0, cmd;
        int                     bh;
  
        spin_lock (&ehci->lock);
                goto dead;
        }
  
-       status &= INTR_MASK;
-       if (!status) {                  /* irq sharing? */
+       masked_status = status & INTR_MASK;
+       if (!masked_status) {           /* irq sharing? */
                spin_unlock(&ehci->lock);
                return IRQ_NONE;
        }
  
        /* clear (just) interrupts */
-       ehci_writel(ehci, status, &ehci->regs->status);
+       ehci_writel(ehci, masked_status, &ehci->regs->status);
        cmd = ehci_readl(ehci, &ehci->regs->command);
        bh = 0;
  
  
        /* PCI errors [4.15.2.4] */
        if (unlikely ((status & STS_FATAL) != 0)) {
+               ehci_err(ehci, "fatal error\n");
                dbg_cmd(ehci, "fatal", cmd);
                dbg_status(ehci, "fatal", status);
-               if (status & STS_HALT) {
-                       ehci_err (ehci, "fatal error\n");
+               ehci_halt(ehci);
  dead:
-                       ehci_reset (ehci);
-                       ehci_writel(ehci, 0, &ehci->regs->configured_flag);
-                       /* generic layer kills/unlinks all urbs, then
-                        * uses ehci_stop to clean up the rest
-                        */
-                       bh = 1;
-               }
+               ehci_reset(ehci);
+               ehci_writel(ehci, 0, &ehci->regs->configured_flag);
+               /* generic layer kills/unlinks all urbs, then
+                * uses ehci_stop to clean up the rest
+                */
+               bh = 1;
        }
  
        if (bh)
@@@ -1015,11 -1014,6 +1014,11 @@@ MODULE_LICENSE ("GPL")
  #define       PLATFORM_DRIVER         ehci_hcd_au1xxx_driver
  #endif
  
 +#ifdef CONFIG_ARCH_OMAP34XX
 +#include "ehci-omap.c"
 +#define       PLATFORM_DRIVER         ehci_hcd_omap_driver
 +#endif
 +
  #ifdef CONFIG_PPC_PS3
  #include "ehci-ps3.c"
  #define       PS3_SYSTEM_BUS_DRIVER   ps3_ehci_driver
index be4e77923c26e8fe2f2967e037d2ad09652f36e0,ce6c162920f7bfcb5bef980b2438aeba4661d12b..03fc8640ddaf853fab87a051cef0f87274c93de4
@@@ -53,7 -53,9 +53,9 @@@ static void musb_do_idle(unsigned long 
  {
        struct musb     *musb = (void *)_musb;
        unsigned long   flags;
+ #ifdef CONFIG_USB_MUSB_HDRC_HCD
        u8      power;
+ #endif
        u8      devctl;
  
        devctl = musb_readb(musb->mregs, MUSB_DEVCTL);
@@@ -215,14 -217,12 +217,14 @@@ void musb_platform_set_mode(struct mus
  
  int __init musb_platform_init(struct musb *musb)
  {
 +      struct otg_transceiver *x = otg_get_transceiver();
        u32 l;
  
  #if defined(CONFIG_ARCH_OMAP2430)
        omap_cfg_reg(AE5_2430_USB0HS_STP);
  #endif
  
 +      musb->xceiv = *x;
        musb_platform_resume(musb);
  
        l = omap_readl(OTG_SYSCONFIG);