01 Jun, 2009

1 commit


09 May, 2009

2 commits


14 Apr, 2009

2 commits

  • Data sheet at:
    http://www.sensirion.ch/en/pdf/product_information/Datasheet-humidity-sensor-SHT1x.pdf

    These sensors communicate over a 2 wire bus running a device specific
    protocol. The complexity of the driver is mainly due to handling the
    substantial delays between requesting a reading and the device pulling the
    data line low to indicate that the data is available. This is handled by
    an interrupt that is disabled under all other conditions.

    I wasn't terribly clear on the best way to handle this, so comments on
    that aspect would be particularly welcome!

    Interpretation of the temperature depends on knowing the supply voltage.
    If configured in a board config as a regulator consumer this is obtained
    from the regulator subsystem. If not it should be provided in the
    platform data.

    I've placed this driver in the hwmon subsystem as it is definitely a
    device that may be used for hardware monitoring and with it's relatively
    slow response times (up to 120 millisecs to get a reading) a caching
    strategy certainly seems to make sense!

    Signed-off-by: Jonathan Cameron
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jonathan Cameron
     
  • Remove unused #include in drivers/hwmon/hp_accel.c.

    Signed-off-by: Huang Weiyi
    Acked-by: Pavel Machek
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Huang Weiyi
     

07 Apr, 2009

4 commits

  • * 'hwmon-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6:
    hwmon: Add Asus ATK0110 support
    hwmon: (lm95241) Convert to new-style i2c driver

    Linus Torvalds
     
  • This controller can be found on the D-Link DNS-323 for instance, where
    it is to be configured via static i2c_board_info in the board-specific
    mach-orion/dns323-setup.c; this driver supports only the new-style
    driver model.

    Tested-by: Martin Michlmayr
    Signed-off-by: Herbert Valerio Riedel
    Signed-off-by: Matthew Palmer
    Signed-off-by: Laurie Bradshaw
    Signed-off-by: Martin Michlmayr
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Herbert Valerio Riedel
     
  • Asus boards have an ACPI interface for interacting with the hwmon (fan,
    temperatures, voltages) subsystem; this driver exposes the relevant
    information via the standard sysfs interface.

    There are two different ACPI interfaces:
    - an old one (based on RVLT/RFAN/RTMP)
    - a new one (GGRP/GITM)
    Both may be present but there a few cases (my board, sigh) where the
    new interface is just an empty stub; the driver defaults to the old one
    when both are present.
    The old interface has received a considerable testing, but I'm still
    awaiting confirmation from my tester that the new one is working as
    expected (hence the debug code is still enabled).

    Currently all the attributes are read-only, though a (partial) control
    should be possible with a bit more work.

    Signed-off-by: Luca Tettamanti
    Signed-off-by: Hans de Goede
    Signed-off-by: Jean Delvare

    Luca Tettamanti
     
  • The legacy i2c binding model is going away really soon now, so convert
    the lm95241 driver to the new binding model or it will break.

    Signed-off-by: Jean Delvare
    Cc: Davide Rizzo

    Jean Delvare
     

04 Apr, 2009

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (28 commits)
    trivial: Update my email address
    trivial: NULL noise: drivers/mtd/tests/mtd_*test.c
    trivial: NULL noise: drivers/media/dvb/frontends/drx397xD_fw.h
    trivial: Fix misspelling of "Celsius".
    trivial: remove unused variable 'path' in alloc_file()
    trivial: fix a pdlfush -> pdflush typo in comment
    trivial: jbd header comment typo fix for JBD_PARANOID_IOFAIL
    trivial: wusb: Storage class should be before const qualifier
    trivial: drivers/char/bsr.c: Storage class should be before const qualifier
    trivial: h8300: Storage class should be before const qualifier
    trivial: fix where cgroup documentation is not correctly referred to
    trivial: Give the right path in Documentation example
    trivial: MTD: remove EOL from MODULE_DESCRIPTION
    trivial: Fix typo in bio_split()'s documentation
    trivial: PWM: fix of #endif comment
    trivial: fix typos/grammar errors in Kconfig texts
    trivial: Fix misspelling of firmware
    trivial: cgroups: documentation typo and spelling corrections
    trivial: Update contact info for Jochen Hein
    trivial: fix typo "resgister" -> "register"
    ...

    Linus Torvalds
     

01 Apr, 2009

8 commits

  • Make use of the new abstraction layer and add a new transport layer for
    spi. Works fine on a PXA based board.

    Signed-off-by: Daniel Mack
    Acked-by: Pavel Machek
    Acked-by: Eric Piel
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Daniel Mack
     
  • This solves the dependency between lis3lv02d.[ch] and ACPI specific
    methods. It introduces a ->bus_priv pointer to the device struct which is
    casted to 'struct acpi_device' in the ACIP layer. Changed hp_accel.c
    accordingly.

    Signed-off-by: Daniel Mack
    Acked-by: Pavel Machek
    Acked-by: Eric Piel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Daniel Mack
     
  • Move lis3lv02d_init_device() down so that the forward declaration of
    lis3lv02d_add_fs() becomes unnecessary.

    Signed-off-by: Daniel Mack
    Acked-by: Pavel Machek
    Acked-by: Eric Piel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Daniel Mack
     
  • I have a laptop HP Compaq 8710W, I compiled into my kernel the LIS3LV02DL
    and HP_ACCEL module drivers. While loading it cannot recognize the laptop
    model, so i am sending the necessary information to update the database of
    axis orientations.

    >When the laptop is horizontal the position reported is about 0 for X and Y
    >and a positive value for Z
    Yes, it is about 0,0,1000, the actual reading says: (-17,-26,1018);

    > If the left side is elevated, X increases (becomes positive)
    Yes, X goes toward to positive 1000.

    >If the front side (where the touchpad is) is elevated, Y decreases (becomes negative)
    No, Y goes toward to positive 1000.

    >If the laptop is put upside-down, Z becomes negative
    Yes, the laptop on a table Z gives 1000, and if upsidedown the Z reads
    -1000.

    So in few words the Y axis is inverted.

    Cc: Eric Piel
    Signed-off-by: Pavel Machek
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Luca Cappa
     
  • Add two more laptops to whitelist.

    Signed-off-by: Michal Marek
    Signed-off-by: Pavel Machek
    Cc: Daniel Mack
    Cc: Eric Piel
    Cc: Vladimir Botka
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Pavel Machek
     
  • Add Linux support for the Linear Technology LTC4215 Hot Swap controller
    I2C monitoring interface.

    I have tested the driver with my board, and it appears to work fine. With
    the power supplies disabled, it reads 11.93V input, 1.93V output, no
    current and no power. With the supplies enabled, it reads 11.93V input,
    11.98V output, no current, no power. I'm not drawing any current at the
    moment, so this is reasonable. The value in the sense register never
    reads anything except 0, so I expect to get zero from the current and
    power calculations.

    I didn't attempt to support changing any of the chip's settings or
    enabling the FET. I'm not sure even how to do that and still fit within
    the hwmon framework. :)

    Signed-off-by: Ira W. Snyder
    Cc: Jean Delvare
    Cc: "Mark M. Hoffman"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ira Snyder
     
  • An hwmon driver for the National Semiconductor LM95241 triple temperature
    sensors chip

    Signed-off-by: Davide Rizzo
    Cc: Jean Delvare
    Cc: "Mark M. Hoffman"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Davide Rizzo
     
  • As Andrew noted, adev is pretty poor name for symbol being exported.
    Rename it to lis3.

    Signed-off-by: Pavel Machek
    Cc: Eric Piel
    Cc: Vladimir Botka
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Pavel Machek
     

31 Mar, 2009

12 commits


30 Mar, 2009

1 commit


12 Mar, 2009

4 commits


11 Mar, 2009

2 commits

  • The adt7468 chip supports VRM10 sensors just like the adt7463; add a
    missing check for it.

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

    Darrick J. Wong
     
  • The verstep check in the lm85 driver fails because the upper nibble of
    the version register is 0x7, not 0x6, on the adt7468 chip. Probing of
    all adt7468s was broken by 69fc1feba2d5856ff74dedb6ae9d8c490210825c
    ("hwmon: (lm85) Rework the device detection"), and this patch fixes
    that. Also add in a missing i2c_device_id that accidentally got dropped
    from the original patch.

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

    Darrick J. Wong
     

19 Feb, 2009

3 commits

  • Add support for HP Pavilion dv5.

    Since Intel-based models have an inverted x axis, while AMD-based models
    have an inverted y axis, we introduce a new macro that special-cases axis
    orientation based on two DMI entries: HP dv5 axis configuration is then
    based on both the PRODUCT and BOARD name.

    Signed-off-by: Giuseppe Bilotta
    Cc: Eric Piel
    Cc: Pavel Machek
    Tested-by: Palatis Tseng
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Giuseppe Bilotta
     
  • Sensors responding with 0x3B to WHO_AM_I only have one data register per
    direction, thus returning a signed byte from the position which is
    occupied by the MSB in sensors responding with 0x3A.

    Since multiple sensors share the reply to WHO_AM_I, we rename the defines
    to better indicate what they identify (family of single and double
    precision sensors).

    We support both kind of sensors by checking for the sensor type on init
    and defining appropriate data-access routines and sensor limits (for the
    joystick) depending on what we find.

    [akpm@linux-foundation.org: coding-style fixes]
    Signed-off-by: Giuseppe Bilotta
    Acked-by: Eric Piel
    Cc: Pavel Machek
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Giuseppe Bilotta
     
  • This adds freefall handling to hp_accel driver. According to HP, it
    should just work, without us having to set the chip up by hand.

    hpfall.c is example .c program that parks the disk when accelerometer
    detects free fall. It should work; for now, it uses fixed 20seconds
    protection period.

    Signed-off-by: Pavel Machek
    Cc: Thomas Renninger
    Cc: Éric Piel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Pavel Machek