23 Mar, 2011

1 commit

  • This is a configurable gadget. can be configured by configfs interface.
    Any IP available at PCIE bus can be programmed to be used by host
    controller.It supoorts both INTX and MSI.

    By default, the gadget is configured for INTX and SYSRAM1 is mapped to
    BAR0 with size 0x1000

    Signed-off-by: Pratyush Anand
    Cc: Randy Dunlap
    Cc: Jesse Barnes
    Cc: Viresh Kumar
    Cc: Shiraz Hashim
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Pratyush Anand
     

22 Mar, 2011

1 commit

  • The lis3lv02d drivers aren't hardware monitoring drivers, so the don't
    belong to drivers/hwmon. Move them to drivers/misc, short of a better
    home.

    Signed-off-by: Jean Delvare
    Acked-by: Guenter Roeck
    Acked-by: Eric Piel
    Acked-by: Jonathan Cameron
    Tested-by: Eric Piel
    Tested-by: Takashi Iwai

    Jean Delvare
     

29 Oct, 2010

2 commits


27 Oct, 2010

4 commits

  • This adds support for the ADPS9802ALS sensor.

    Cleanup by Alan Cox
    - move mutexes to cover more things
    - report I/O errors back to user space
    - report range and values in LUX

    Signed-off-by: Anantha Narayanan
    [The 4K and 64K in the hw spec actually means 4095 (12bit) and 65535 (16bit).]
    Signed-off-by: Hong Liu
    [Updated to match the ALS light API interface convention from Samu]
    Signed-off-by: Alan Cox
    Acked-by: Jonathan Cameron
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    anantha
     
  • The LS driver will read the latest Lux measurement based upon the light
    brightness and will report the LUX output through sysfs interface.

    This hardware isn't quite the same as the ISL29003 so has a different
    driver.

    [akpm@linux-foundation.org: put PM code under #ifdef CONFIG_PM]
    Signed-off-by: Kalhan Trisal
    [Runtime power management support added]
    Signed-off-by: Arjan van de Ven
    [Fixes to runtime PM]
    Signed-off-by: Liu Hong
    [Cleanups and added checks for I2C errors, reworked the API to match the
    saner one agreed for other sensors]
    Signed-off-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kalhan Trisal
     
  • This is a driver for Avago APDS990X combined ALS and proximity sensor.

    Interface is sysfs based. The driver uses interrupts to provide new data.
    The driver supports pm_runtime and regulator frameworks.

    See Documentation/misc-devices/apds990x.txt for details

    Signed-off-by: Samu Onkalo
    Acked-by: Jonathan Cameron
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Samu Onkalo
     
  • This is a driver for ROHM BH1770GLC and OSRAM SFH7770 combined ALS and
    proximity sensor.

    Interface is sysfs based. The driver uses interrupts to provide new data.
    The driver supports pm_runtime and regulator frameworks.

    See Documentation/misc-devices/bh1770glc.txt for details

    Signed-off-by: Samu Onkalo
    Acked-by: Jonathan Cameron
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Samu Onkalo
     

23 Oct, 2010

1 commit

  • Packet hub driver of Topcliff PCH

    Topcliff PCH is the platform controller hub that is going to be used in
    Intel's upcoming general embedded platform. All IO peripherals in
    Topcliff PCH are actually devices sitting on AMBA bus. Packet hub is
    a special converter device in Topcliff PCH that translate AMBA transactions
    to PCI Express transactions and vice versa. Thus packet hub helps present
    all IO peripherals in Topcliff PCH as PCIE devices to IA system.
    Topcliff PCH has MAC address and Option ROM data.
    These data are in SROM which is connected to PCIE bus.
    Packet hub driver of Topcliff PCH can access MAC address and Option ROM data in
    SROM via sysfs interface.

    Signed-off-by: Greg Kroah-Hartman

    Masayuki Ohtak
     

06 Oct, 2010

1 commit

  • Add the Kconfig and the Makefile for the TI_ST driver.
    TI_ST driver is the line discipline driver for the Texas Instrument's
    WiLink chipsets.
    Also add the ti-st folder to list of drivers under drivers/misc.

    Signed-off-by: Pavan Savoy
    Signed-off-by: Greg Kroah-Hartman

    Pavan Savoy
     

23 Sep, 2010

1 commit

  • In an effort to minimize customer confusion we want to unify naming
    convention for VMware-provided kernel modules. This change renames the
    balloon driver from vmware_ballon to vmw_balloon.

    We expect to follow this naming convention (vmw_) for all
    modules that are part of mainline kernel and/or being distributed by
    VMware, with the sole exception of vmxnet3 driver (since the name of
    mainline driver happens to match with the name used in VMware Tools).

    Signed-off-by: Dmitry Torokhov
    Acked-by: Bhavesh Davda
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Dmitry Torokhov
     

10 Aug, 2010

3 commits

  • This driver will report the heading values in degrees to the sysfs
    interface. The values returned are headings . e.g. 245.6

    Alan: Cleanups requested now all folded in and a sysfs description to keep
    Andrew happy. The sysfs description now resembles hwmon.

    Signed-off-by: Kalhan Trisal
    Reviewed-by: Jean Delvare
    Signed-off-by: Alan Cox
    Cc: Jonathan Cameron
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kalhan Trisal
     
  • This driver adds support for the BMP085 digital pressure sensor from Bosch
    Sensortec. It exposes a sysfs api to userspace where pressure and
    temperature measurement results can be read from the pressure0_input and
    temp0_input file. The chip is able to calculate the average of up to
    eight samples to increase the accuracy. This feature can be controlled by
    writing to the oversampling file.

    The BMP085 digital pressure sensor can measure ambient air pressure and
    temperature. Both values can be obtained from sysfs files. The pressure
    is measured by reading from pressure0_input. Valid values range from
    30000 to 110000 pascal with a resolution of 1 pascal (=0.01 millibar).

    temp0_input holds the current temperature in degree celsius, multiplied by
    10. This results in a resolution of a tenth degree celsius. Values range
    from -400 to 850.

    To increase the accuracy, this chip can calculate the average of 1, 2, 4
    or 8 samples. This behavior is controlled through the oversampling sysfs
    file. Two to the power of the value written to that file specifies how
    many samples will be used. Valid values: 0..3.

    [akpm@linux-foundation.org: fix typo]
    [shubhrajyoti@ti.com: optimize the wait time for the pressure sensor, definition of long is arch dependent so make it u32]
    [akpm@linux-foundation.org: coding-style fixes]
    Signed-off-by: Christoph Mair
    Signed-off-by: Shubhrajyoti D
    Acked-by: Jonathan Cameron
    Cc: Stefan Schmidt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Christoph Mair
     
  • Add support for ROHM BH1780GLI Ambient light sensor.

    BH1780 supports I2C interface. Driver supports read/update of power state
    and read of lux value (through SYSFS). Writing value 3 to power_state
    enables the sensor and current lux value could be read.

    Currently this driver follows the same sysfs convention as supported by
    drivers/misc/isl29003.c.

    Signed-off-by: Hemanth V
    Reviewed-by: Daniel Mack
    Acked-by: Jonathan Cameron
    Cc: Jean Delvare
    Cc: Wolfram Sang
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Hemanth V
     

26 Jul, 2010

1 commit


25 May, 2010

1 commit

  • Split the bus logic out into separate files so that we can handle I2C and
    SPI busses independently. The new SPI bus logic brings in support for a
    lot more parts:

    AD5160, AD5161, AD5162, AD5165, AD5200, AD5201, AD5203,
    AD5204, AD5206, AD5207, AD5231, AD5232, AD5233, AD5235,
    AD5260, AD5262, AD5263, AD5290, AD5291, AD5292, AD5293,
    AD7376, AD8400, AD8402, AD8403, ADN2850

    [randy.dunlap@oracle.com: fix ad525X_dpot build]
    Signed-off-by: Michael Hennerich
    Signed-off-by: Mike Frysinger
    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Michael Hennerich
     

07 May, 2010

1 commit


25 Apr, 2010

1 commit

  • This is a standalone version of VMware Balloon driver. Ballooning is a
    technique that allows hypervisor dynamically limit the amount of memory
    available to the guest (with guest cooperation). In the overcommit
    scenario, when hypervisor set detects that it needs to shuffle some
    memory, it instructs the driver to allocate certain number of pages, and
    the underlying memory gets returned to the hypervisor. Later hypervisor
    may return memory to the guest by reattaching memory to the pageframes and
    instructing the driver to "deflate" balloon.

    We are submitting a standalone driver because KVM maintainer (Avi Kivity)
    expressed opinion (rightly) that our transport does not fit well into
    virtqueue paradigm and thus it does not make much sense to integrate with
    virtio.

    There were also some concerns whether current ballooning technique is the
    right thing. If there appears a better framework to achieve this we are
    prepared to evaluate and switch to using it, but in the meantime we'd like
    to get this driver upstream.

    We want to get the driver accepted in distributions so that users do not
    have to deal with an out-of-tree module and many distributions have
    "upstream first" requirement.

    The driver has been shipping for a number of years and users running on
    VMware platform will have it installed as part of VMware Tools even if it
    will not come from a distribution, thus there should not be additional
    risk in pulling the driver into mainline. The driver will only activate
    if host is VMware so everyone else should not be affected at all.

    Signed-off-by: Dmitry Torokhov
    Cc: Avi Kivity
    Cc: Jeremy Fitzhardinge
    Cc: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Dmitry Torokhov
     

07 Apr, 2010

1 commit


14 Mar, 2010

1 commit


16 Dec, 2009

3 commits

  • This is based on the old code on arch/x86/kernel/mfgpt_32.c, except it's
    not x86 specific, it's modular, and it makes use of a PCI BAR rather than
    a random MSR. Currently module unloading is not supported; it's uncertain
    whether or not it can be made work with the hardware.

    [akpm@linux-foundation.org: add X86 dependency]
    Signed-off-by: Andres Salomon
    Cc: Jordan Crouse
    Cc: Ingo Molnar
    Cc: Thomas Gleixner
    Cc: john stultz
    Cc: Chris Ball
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andres Salomon
     
  • Signed-off-by: Daniel Mack
    Cc: "H Hartley Sweeten"
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Daniel Mack
     
  • This driver supports the non-volatile digital potentiometers via I2C:
    AD5258, AD5259, AD5251, AD5252, AD5253, AD5254, and AD5255

    It provides a sysfs interface to each device for reading/writing which
    is documented in Documentation/misc-devices/ad525x_dpot.txt.

    Signed-off-by: Michael Hennerich
    Signed-off-by: Chris Verges
    Signed-off-by: Mike Frysinger
    Cc: Jean Delvare
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Michael Hennerich
     

09 Dec, 2009

1 commit

  • * 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
    i2c-stub: Documentation update
    i2c-stub: Allow user to disable some commands
    i2c-stub: Implement I2C block support
    i2c: Refactor for_each callbacks
    i2c-i801: Retry on lost arbitration
    i2c: Remove big kernel lock from i2cdev_open
    ics932s401: Clean up detect function
    i2c: Simplify i2c_detect_address
    i2c: Drop probe, ignore and force module parameters
    i2c: Add missing __devinit markers to old i2c adapter drivers
    i2c: Bus drivers don't have to support I2C_M_REV_DIR_ADDR
    i2c: Prevent priority inversion on top of bus lock
    i2c-voodoo3: Delete
    i2c-powermac: Drop temporary name buffer
    i2c-powermac: Include the i2c_adapter in struct pmac_i2c_bus
    i2c-powermac: Log errors
    i2c-powermac: Refactor i2c_powermac_smbus_xfer
    i2c-powermac: Reject unsupported I2C transactions
    i2c/chips: Move ds1682 to drivers/misc

    Linus Torvalds
     

07 Dec, 2009

1 commit


20 Oct, 2009

1 commit

  • This patch adds Intel Wireless MultiCom 3200 top driver.
    IWMC3200 is 4Wireless Com CHIP (GPS/BT/WiFi/WiMAX).
    Top driver is responsible for device initialization and firmware download.
    Firmware handled by top is responsible for top itself and
    as well as bluetooth and GPS coms. (Wifi and WiMax provide their own firmware)
    In addition top driver is used to retrieve firmware logs
    and supports other debugging features

    Signed-off-by: Tomas Winkler
    Signed-off-by: David S. Miller

    Tomas Winkler
     

31 Jul, 2009

1 commit

  • The EP93xx features two PWMs (one on the EP9307) with the following
    features:

    * Configurable dual output
    * Separate input clocks for each PWM output
    * 16-bit resolution
    * Programmable pulse width (duty cycle), interval (frequency), and
    polarity

    This adds the necessary core support as well as the driver. A sysfs
    interface is provided to control the PWM outputs.

    Signed-off-by: Matthieu Crapet
    Signed-off-by: H Hartley Sweeten
    Acked-by: Ryan Mallon
    Signed-off-by: Russell King

    Hartley Sweeten
     

14 Jun, 2009

1 commit


01 Apr, 2009

1 commit

  • Add a driver for Intersil's ISL29003 ambient light sensor device plus some
    documentation. Inspired by tsl2550.c, a driver for a similar device.

    It is put in drivers/misc for now until the industrial I/O framework gets
    merged.

    Signed-off-by: Daniel Mack
    Acked-by: Jonathan Cameron
    Cc: Jean Delvare
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Daniel Mack
     

27 Jan, 2009

2 commits


17 Jan, 2009

1 commit


09 Jan, 2009

2 commits

  • Conflicts:
    drivers/misc/Kconfig

    Signed-off-by: Len Brown

    Len Brown
     
  • Add a driver for controlling Dell-specific backlight and rfkill interfaces.
    This driver makes use of the dcdbas interface to the Dell firmware to
    allow the backlight and rfkill interfaces on Dell systems to be driven
    through the standardised sysfs interfaces.

    Signed-off-by: Matthew Garrett
    Cc: Matt Domsch
    Cc: Ivo van Doorn
    Cc: Len Brown
    Cc: Richard Purdie
    Cc: Henrique de Moraes Holschuh
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matthew Garrett
     

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
     

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
     

31 Jul, 2008

1 commit