09 Jan, 2009

3 commits


24 Dec, 2008

1 commit


19 Dec, 2008

2 commits

  • Move x86 platform specific drivers from drivers/misc/
    to a new home under drivers/platform/x86/.

    The community has been maintaining x86 vendor-specific
    platform specific drivers under /drivers/misc/ for a few years.
    The oldest ones started life under drivers/acpi.
    They moved out of drivers/acpi/ because they don't actually
    implement the ACPI specification, but either simply
    use ACPI, or implement vendor-specific ACPI extensions.

    In the future we anticipate...
    drivers/misc/ will go away.
    other architectures will create drivers/platform/

    Signed-off-by: Len Brown

    Len Brown
     
  • tabs->space and delete unnecessary dummy build-in.o rule.

    Suggested-by: Sam Ravnborg
    Signed-off-by: Len Brown

    Len Brown
     

13 Nov, 2008

2 commits

  • C2port implements a two wire serial communication protocol (bit
    banging) designed to enable in-system programming, debugging, and
    boundary-scan testing on low pin-count Silicon Labs devices.

    Currently this code supports only flash programming through sysfs
    interface but extensions shoud be easy to add.

    Signed-off-by: Rodolfo Giometti
    Cc: Greg KH
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rodolfo Giometti
     
  • The ics932s401 is a clock generator chip. This driver allows users to
    read the current clock outputs.

    Signed-off-by: Darrick J. Wong
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Darrick J. Wong
     

07 Nov, 2008

1 commit

  • Remove CONFIG_ACPI_EC. It was always set the same as CONFIG_ACPI,
    and it had no menu label, so there was no way to set it to anything
    other than "y".

    Per section 6.5.4 of the ACPI 3.0b specification,

    OSPM must make Embedded Controller operation regions, accessed
    via the Embedded Controllers described in ECDT, available before
    executing any control method.

    The ECDT table is optional, but if it is present, the above text
    means that the EC it describes is a required part of the ACPI
    subsystem, so CONFIG_ACPI_EC=n wouldn't make sense.

    Signed-off-by: Bjorn Helgaas
    Acked-by: Alexey Starikovskiy
    Signed-off-by: Len Brown

    Bjorn Helgaas
     

23 Oct, 2008

3 commits


17 Oct, 2008

2 commits

  • Only three of Atmel's AT91 processors (SAM9263, SAM9RL and CAP9) include a
    PWM controller.

    It should therefore only be possible to enable the misc/atmel_pwm.c driver
    on those processors (and not all AT91 processors).

    Signed-off-by: Andrew Victor
    Cc: Haavard Skinnemoen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Victor
     
  • EEEPC_LAPTOP uses RFKILL, so the former should depend on RFKILL.
    Build errors happen when EEEPC_LAPTOP=y and RFKILL=m.

    eeepc-laptop.c:(.text+0xd5a7b): undefined reference to `rfkill_allocate'
    eeepc-laptop.c:(.text+0xd5b04): undefined reference to `rfkill_register'
    eeepc-laptop.c:(.text+0xd5b48): undefined reference to `rfkill_allocate'
    eeepc-laptop.c:(.text+0xd5bd4): undefined reference to `rfkill_register'
    eeepc-laptop.c:(.text+0xd5ece): undefined reference to `rfkill_unregister'
    eeepc-laptop.c:(.text+0xd5ef6): undefined reference to `rfkill_unregister'
    make[1]: *** [.tmp_vmlinux1] Error 1

    Signed-off-by: Randy Dunlap
    Cc: Corentin Chary
    Cc: Matthew Garrett
    Cc: Henrique de Moraes Holschuh
    Cc: Karol Kozimor
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

09 Oct, 2008

1 commit

  • This patch implements rfkill support for the wireless and bluetooth devices
    commonly found on Acer laptops.

    For now, we will always poll these devices once a second to guarantee we
    can catch state changes. On newer Acer laptops, it may be possible to rely
    on WMI events to do this instead, and experimental support for this will be
    added in a later patch.

    3G has been deliberately left off for now, as we still have no way to
    detect it, (nor, AFAIK, has any Linux user tried the code) and on laptops
    that don't support 3G, trying to poll for the status will leave the logs
    full of ACPI tracebacks.

    The old sysfs interface for wireless and bluetooth will be removed in a
    later patch.

    (Thanks to Henrique de Moraes Holschuh and Dmitry Torokhov for reviewing
    this patch).

    Signed-off-by: Carlos Corbacho
    Acked-by: Henrique de Moraes Holschuh
    Signed-off-by: Len Brown

    Carlos Corbacho
     

24 Sep, 2008

1 commit

  • This is a driver for ACPI extras such as hotkeys and backlight
    brightness control on various Panasonic "Let's Note" series laptop
    computers.

    It exports the backlight via the backlight class device API,
    and the hotkeys as input event device. Some more esoteric
    items like number of installed batteries are exported via sysfs
    device attributes.

    Hotkey events also generate old-style ACPI enents through
    /proc/acpi/event to interoperate with current versions of acpid.

    Signed-off-by: Harald Welte
    Acked-by: Henrique de Moraes Holschuh
    Acked-by: Matthew Garrett
    Signed-off-by: Len Brown

    Harald Welte
     

05 Aug, 2008

1 commit


02 Aug, 2008

2 commits


31 Jul, 2008

2 commits


26 Jul, 2008

4 commits

  • Signed-off-by: Heikki Orsila
    Signed-off-by: Sam Ravnborg

    Heikki Orsila
     
  • Tell users that the driver is only for PCI devices to stop asking for
    support of firewire and parallel devices.

    Signed-off-by: Jiri Slaby
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jiri Slaby
     
  • m68k allmodconfig:

    drivers/misc/hpilo.c: In function 'ilo_ccb_close':
    drivers/misc/hpilo.c:225: error: implicit declaration of function 'pci_free_consistent'
    drivers/misc/hpilo.c: In function 'ilo_ccb_open':
    drivers/misc/hpilo.c:244: error: implicit declaration of function 'pci_alloc_consistent'
    drivers/misc/hpilo.c:245: warning: assignment makes pointer from integer without a cast

    Cc: David Altobelli
    Cc: Greg Kroah-Hartman
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     
  • This driver adds support for reading and configuring certain information
    on modern HP laptops with WMI BIOS interfaces. It supports enabling and
    disabling the ambient light sensor, querying attached displays and hard
    drive temperature, sending events on docking and querying the state of the
    dock and toggling the state of the wifi, bluetooth and wwan hardware via
    rfkill. It also makes the little "(i)" button work on machines that send
    that via WMI rather than via the keyboard controller.

    Signed-off-by: Matthew Garrett
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matthew Garrett
     

25 Jul, 2008

1 commit

  • * 'release-2.6.27' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-acpi-2.6:
    acpi: fix crash in core ACPI code, triggered by CONFIG_ACPI_PCI_SLOT=y
    ACPI: thinkpad-acpi: don't misdetect in get_thinkpad_model_data() on -ENOMEM
    ACPI: thinkpad-acpi: bump up version to 0.21
    ACPI: thinkpad-acpi: add bluetooth and WWAN rfkill support
    ACPI: thinkpad-acpi: WLSW overrides other rfkill switches
    ACPI: thinkpad-acpi: prepare for bluetooth and wwan rfkill support
    ACPI: thinkpad-acpi: consolidate wlsw notification function
    ACPI: thinkpad-acpi: minor refactor on radio switch init
    Revert "ACPI: don't walk tables if ACPI was disabled"
    Revert "dock: bay: Don't call acpi_walk_namespace() when ACPI is disabled."
    Revert "Fix FADT parsing"
    ACPI : Set FAN device to correct state in boot phase
    ACPI: Ignore _BQC object when registering backlight device
    ACPI: stop complaints about interrupt link End Tags and blank IRQ descriptors

    Linus Torvalds
     

22 Jul, 2008

1 commit

  • A driver for the HP iLO/iLO2 management processor, which allows userspace
    programs to query the management processor. Programs can open a channel
    to the device (/dev/hpilo/dXccbN), and use this to send/receive queries.
    The O_EXCL open flag is used to indicate that a particular channel cannot
    be shared between processes. This driver will replace various packages
    HP has shipped, including hprsm and hp-ilo.

    Signed-off-by: David Altobelli
    Signed-off-by: Greg Kroah-Hartman

    David Altobelli
     

21 Jul, 2008

1 commit

  • Add a read/write rfkill interface to the bluetooth radio switch on the
    bluetooth submodule, and one for the wireless wan radio switch to the wan
    submodule.

    Since rfkill does care for when a switch changes state, use WLSW
    notifications to also check if the WWAN or Bluetooth switches did not
    change state (due to them being slaves of WLSW in firmware/hardware, but
    that reality not being always properly exported by the thinkpad firmware).

    Signed-off-by: Henrique de Moraes Holschuh
    Cc: Ivo van Doorn
    Cc: John W. Linville

    Henrique de Moraes Holschuh
     

17 Jul, 2008

3 commits

  • fujitsu-laptop uses input_* functions, so it should depend on INPUT.

    drivers/built-in.o: In function `acpi_fujitsu_add':
    fujitsu-laptop.c:(.text+0xaaec7): undefined reference to `input_allocate_device'
    fujitsu-laptop.c:(.text+0xaaf39): undefined reference to `input_register_device'
    fujitsu-laptop.c:(.text+0xab025): undefined reference to `input_free_device'
    drivers/built-in.o: In function `acpi_fujitsu_notify':
    fujitsu-laptop.c:(.text+0xab0d8): undefined reference to `input_event'
    fujitsu-laptop.c:(.text+0xab0e5): undefined reference to `input_event'
    fujitsu-laptop.c:(.text+0xab0f5): undefined reference to `input_event'
    fujitsu-laptop.c:(.text+0xab102): undefined reference to `input_event'
    drivers/built-in.o: In function `acpi_fujitsu_hotkey_notify':
    fujitsu-laptop.c:(.text+0xab261): undefined reference to `input_event'
    drivers/built-in.o:fujitsu-laptop.c:(.text+0xab26e): more undefined references to `input_event' follow
    drivers/built-in.o: In function `acpi_fujitsu_hotkey_add':
    fujitsu-laptop.c:(.text+0xab49c): undefined reference to `input_allocate_device'
    fujitsu-laptop.c:(.text+0xab51a): undefined reference to `input_register_device'
    fujitsu-laptop.c:(.text+0xab5e4): undefined reference to `input_free_device'
    make[1]: *** [.tmp_vmlinux1] Error 1

    Signed-off-by: Randy Dunlap
    Signed-off-by: Andi Kleen
    Acked-by: Jonathan Woithe
    Signed-off-by: Andrew Morton
    Signed-off-by: Len Brown

    Randy Dunlap
     
  • Add additional capabilities to the Fujitsu-laptop driver.

    * Brightness hotkey actions are sent to userspace. This can be disabled
    using a module parameter if it causes issues with models which handle
    these keys transparently in the BIOS.

    * Actions of additional hotkeys found on some Fujitsu models (eg: the
    suspend key and the dedicated "power on passphrase" keys) are broadcast
    to userspace.

    * An alternative brightness control method used by some Fujitsu models
    (for example, the S6410) is now supported, enabling software brightness
    controls on models using this method.

    * DMI-based module aliases are configured for the S6410 and S7020.

    * The current LCD brightness after booting should now be reflected in the
    standard backlight interface sysfs file (previously it was always set to
    0). The platform brightness sysfs interface has always been fine.

    Thanks go to Peter Gruber who provided a significant portion of this code
    and tested various iterations of the patch on his S6410.

    Signed-off-by: Peter Gruber
    Signed-off-by: Jonathan Woithe
    Signed-off-by: Len Brown
    Signed-off-by: Andi Kleen

    Jonathan Woithe
     
  • 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: Cezary Jackiewicz
    Signed-off-by: Andi Kleen
    Cc: Richard Purdie
    Cc: Henrique de Moraes Holschuh
    Cc: Len Brown
    Cc: Alexey Starikovskiy
    Signed-off-by: Andrew Morton
    Signed-off-by: Len Brown

    Cezary Jackiewicz
     

01 May, 2008

1 commit


29 Apr, 2008

7 commits


23 Apr, 2008

1 commit