1. 17 7月, 2008 1 次提交
    • C
      misc,acpi,backlight: compal Laptop Extras · 5411552c
      Cezary Jackiewicz 提交于
      This is driver for Compal Laptop: FL90/IFL90, based on MSI driver.
      
      This driver exports a few files in /sys/devices/platform/compal-laptop/:
       lcd_level - screen brightness: contains a single integer in the range 0..7 (rw)
       wlan - wlan subsystem state: contains 0 or 1 (rw)
       bluetooth - bluetooth subsystem state: contains 0 or 1 (rw)
       raw - raw value taken from embedded controller register (ro)
      
      In addition to these platform device attributes the driver registers itself
      in the Linux backlight control subsystem and is available to userspace under
      /sys/class/backlight/compal-laptop/.
      Signed-off-by: NCezary Jackiewicz <cezary.jackiewicz@gmail.com>
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Cc: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
      Cc: Len Brown <lenb@kernel.org>
      Cc: Alexey Starikovskiy <aystarik@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      5411552c
  2. 29 4月, 2008 7 次提交
  3. 23 4月, 2008 1 次提交
  4. 13 3月, 2008 1 次提交
  5. 04 3月, 2008 2 次提交
    • D
      atmel_tc clocksource/clockevent code · 4d243f92
      David Brownell 提交于
      Clocksource and clockevent device based on the Atmel TC blocks.
      
      The clockevent device handles both periodic and oneshot modes, so this
      enables NO_HZ and high res timers on some platforms that previously
      couldn't use those mechanisms.
      
      This works on both AVR32 and AT91 chips, given relevant patches for
      tclib support (always) and clockevents (or else this will only look
      like a higher precision clocksource).  It's an updated and modularized
      version of an AT91-only patch that has circulated for some time now.
      
      Changes relative to the original patch:
        * Update to use new tclib API
        * Replace open-coded do-while loop using goto with a real do-while loop
        * Minor irq handler optimization: Load register base address from
          dev_id instead of a global variable.
        * Aggressively turn off clocks when the clockevent isn't being used
        * Include the clockevent code on AT91RM9200 as well. The rating is
          lower than the System Timer, so the clock will usually stay off.
        * Don't assume that the number of clocks is always equal to the
          number of irqs.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NHaavard Skinnemoen <hskinnemoen@atmel.com>
      4d243f92
    • D
      atmel_tc library · 2a341f5c
      David Brownell 提交于
      Create <linux/atmel_tc.h> based on <asm-arm/arch-at91/at91-tc.h> and the
      at91sam9263 and at32ap7000 datasheets.  Most AT91 and AT32 SOCs have one
      or two of these TC blocks, which include three 16-bit timers that can be
      interconnected in various ways.
      
      These TC blocks can be used for external interfacing (such as PWM and
      measurement), or used as somewhat quirky sixteen-bit timers.
      
      Changes relative to the original version:
        * Drop unneeded inclusion of <linux/mutex.h>
        * Support an arbitrary number of TC blocks
        * Return a struct with information about a TC block from
          atmel_tc_alloc() instead of using a combination of return values
          and "out" parameters.
        * ioremap() the I/O registers on allocation
        * Look up clocks and irqs for all channels
        * Add "name" parameter to atmel_tc_alloc() and use this when
          requesting the iomem resource.
        * Check if the platform provided the necessary resources at probe()
          time instead of when the TCB is allocated.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NHaavard Skinnemoen <hskinnemoen@atmel.com>
      2a341f5c
  6. 16 2月, 2008 1 次提交
  7. 09 2月, 2008 5 次提交
  8. 08 2月, 2008 3 次提交
  9. 06 2月, 2008 2 次提交
    • C
      tc1100-wmi: Add driver for HP Compaq TC1100 Tablets · dd8cd779
      Carlos Corbacho 提交于
      This is based on the 2004 out-of-tree work of Jamey Hicks, to add
      support via WMI for controlling the jog dial and wireless on these
      tablets.
      
      v1:
      
      Original release
      
      v2:
      
      As per Joshua Wise's comments, change bluetooth to jogdial (an error from
      the original driver).
      Signed-off-by: NCarlos Corbacho <carlos@strangeworlds.co.uk>
      CC: Matthew Garrett <mjg59@srcf.ucam.org>
      CC: Jamey Hicks <jamey.hicks@nokia.com>
      CC: Joshua Wise <joshua@joshuawise.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      dd8cd779
    • C
      acer-wmi: Add driver for newer Acer laptops · 745a5d21
      Carlos Corbacho 提交于
      This is a driver for newer Acer (and Wistron) laptops. It adds wireless
      radio and bluetooth control, and on some laptops, exposes the mail LED and
      LCD backlight.
      
      v1:
      
      * Initial release
      
      v2:
      
      * Replace left over ACPI references with WMI
      * Add GUID based autoloading (depends on future work to WMI)
      * Add DMI based autoloading (backup solution until WMI sysfs/ class
        work is available)
      * Checkpatch fixes
      
      v3:
      
      * Add new EC quirks for Aspire 3100 & 5100, and Extensa 5220
      
      v4:
      
      * Simplified internal handling of WMID and AMW0 devices
      * Add autodetection for bluetooth and maximum brightness on AMW0 V2 and
        WMID laptops.
      
      v5:
      
      * Add EC quirk for Medion MD 98000
      * Add autodetection for AMW0, and mail LED on AMW0 and AMW0 V2.
      * Improve error handling
      * Fix AMW0 V2 bluetooth and wireless, by using both WMID and AMW0 methods
        to ensure that the correct value is always set.
      
      v6:
      
      * Fix 'use before initialisation' bug with quirks.
      
      v7
      
      * Fix bug on AMW0 where acer-wmi would exit if a mail LED was not
        detected.
      * Add Acer Aspire 9110 mail LED support
      * Fix section mismatch warnings
      Signed-off-by: NCarlos Corbacho <carlos@strangeworlds.co.uk>
      CC: Matthew Garrett <mjg59@srcf.ucam.org>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      745a5d21
  10. 02 2月, 2008 2 次提交
    • T
      intel_menlo: introduce new platform specific driver · cc0573b3
      Thomas Sujith 提交于
      Intel menlow platform specific driver for thermal management extension.
      Signed-off-by: NThomas Sujith <sujith.thomas@intel.com>
      Signed-off-by: NZhang Rui <rui.zhang@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      cc0573b3
    • H
      ACPI: thinkpad-acpi: add CMOS NVRAM polling for hot keys (v9) · 01e88f25
      Henrique de Moraes Holschuh 提交于
      Older ThinkPad models do not export some of the hot keys over the
      event-based ACPI hot key interface.  For these models, one has to poll
      the CMOS NVRAM to check the key state at a rate faster than the expected
      rate at which the user might repeatedly press the same hot key.
      
      This patch implements this functionality for many of the hotkeys in a
      transparent way: hot keys will now Just Work, and the driver knows the
      best approach (events or NVRAM polling) to employ, based on the
      HKEY.MHKA ACPI method.
      
      Also, the driver can turn off the polling when there are no users for
      the hot keys that need such polling.
      
      The NVRAM-based hot keys of the A3x series that have never been
      implemented by later models are not supported, to avoid changes in the
      keymap of the input devices that could cause headaches in the future.
      
      There is a Kconfig option to avoid compiling the NVRAM polling code, as
      it is not very small, and unlikely to be useful on any ThinkPad newer
      than a T40, X31 or R52.
      
      This feature is based on a previous effort by Richard Hughes.
      Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      Cc: Richard Hughes <hughsient@gmail.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      01e88f25
  11. 20 10月, 2007 1 次提交
  12. 17 10月, 2007 1 次提交
  13. 19 9月, 2007 1 次提交
  14. 17 9月, 2007 1 次提交
    • H
      ACPI: thinkpad-acpi: revert new 2.6.23 CONFIG_THINKPAD_ACPI_INPUT_ENABLED option · ff80f137
      Henrique de Moraes Holschuh 提交于
      Revert new 2.6.23 CONFIG_THINKPAD_ACPI_INPUT_ENABLED Kconfig option because
      it would create a legacy we don't want to support.
      
      CONFIG_THINKPAD_ACPI_INPUT_ENABLED was added to try to fix an issue that is
      now moot with the addition of the netlink ACPI event report interface to
      the ACPI core.
      
      Now that ACPI core can send events over netlink, we can use a different
      strategy to keep backwards compatibility with older userspace, without the
      need for the CONFIG_THINKPAD_ACPI_INPUT_ENABLED games.  And it arrived
      before CONFIG_THINKPAD_ACPI_INPUT_ENABLED made it to a stable mainline
      kernel, even, which is Good.
      
      This patch is in sync with some changes to thinkpad-acpi backports, that
      will keep things sane for userspace across different combinations of kernel
      versions, thinkpad-acpi backports (or the lack thereof), and userspace
      capabilities:
      
      Unless a module parameter is used, thinkpad-acpi will now behave in such a
      way that it will work well (by default) with userspace that still uses only
      the old ACPI procfs event interface and doesn't care for thinkpad-acpi
      input devices.
      
      It will also always work well with userspace that has been updated to use
      both the thinkpad-acpi input devices, and ACPI core netlink event
      interface, regardless of any module parameter.
      
      The module parameter was added to allow thinkpad-acpi to work with
      userspace that has been partially updated to use thinkpad-acpi input
      devices, but not the new ACPI core netlink event interface.  To use this
      mode of hot key reporting, one has to specify the hotkey_report_mode=2
      module parameter.
      
      The thinkpad-acpi driver exports the value of hotkey_report_mode through
      sysfs, as well.  thinkpad-acpi backports to older kernels, that do not
      support the new ACPI core netlink interface, have code to allow userspace
      to switch hotkey_report_mode at runtime through sysfs.  This capability
      will not be provided in mainline thinkpad-acpi as it is not needed there.
      Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      Cc: Michael S. Tsirkin <mst@dev.mellanox.co.il>
      Cc: Hugh Dickins <hugh@veritas.com>
      Cc: Richard Hughes <hughsient@gmail.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      ff80f137
  15. 29 8月, 2007 1 次提交
  16. 19 8月, 2007 1 次提交
  17. 08 8月, 2007 1 次提交
  18. 22 7月, 2007 2 次提交
  19. 18 7月, 2007 1 次提交
  20. 17 7月, 2007 2 次提交
  21. 09 7月, 2007 1 次提交
  22. 05 7月, 2007 1 次提交
    • L
      Remove the blink driver · 2bcb1b7d
      Linus Torvalds 提交于
      Yeah, we could have just disabled it, but there's work on a new one that
      isn't as fundamentally broken, so there really doesn't seem to be any
      point in keeping it around.
      
      The recent timer cleanup broke the only valid use, and when I say
      "valid", I obviously mean "totally broken".  So it's not like it works,
      or really even can work in the current format that uses the unsafe
      "panic" LED blinking routines..
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      2bcb1b7d
  23. 10 5月, 2007 1 次提交