15 Aug, 2010

1 commit

  • Add support for exposing all GPIO pins as analog voltages. Though this is
    not an ideal use of the chip, some hardware engineers may decide that the
    LTC4245 meets their design requirements when studying the datasheet.

    The GPIO pins are sampled in round-robin fashion, meaning that a slow
    reader will see stale data. A userspace application can detect this,
    because it will get -EAGAIN when reading from a sysfs file which contains
    stale data.

    Users can choose to use this feature on a per-chip basis by using either
    platform data or the OF device tree (where applicable).

    Signed-off-by: Ira W. Snyder
    Signed-off-by: Jean Delvare

    Ira W. Snyder
     

28 May, 2010

1 commit

  • Read only one of the GPIO pins as an analog voltage. The ADC can be
    switched to a different GPIO pin at runtime, but this is not supported.

    Previously, this driver would report the analog voltage of the currently
    selected GPIO pin as all three GPIO voltages: in9_input, in10_input and
    in11_input.

    Signed-off-by: Ira W. Snyder
    Signed-off-by: Jean Delvare
    Cc: stable@kernel.org

    Ira W. Snyder
     

05 Oct, 2009

1 commit

  • There is no point in implementing a detect callback for the LTC4215
    and LTC4245, as these devices can't be detected. It was there solely
    to handle "force" module parameters to instantiate devices, but now
    we have a better sysfs interface that can do the same.

    So we can get rid of the ugly module parameters and the detect
    callbacks. This shrinks the binary module sizes by 36% and 46%,
    respectively.

    Signed-off-by: Jean Delvare
    Cc: Ira W. Snyder

    Jean Delvare
     

07 Jan, 2009

1 commit

  • Add Linux support for the Linear Technology LTC4245 Multiple Supply Hot
    Swap controller I2C monitoring interface.

    Signed-off-by: Ira W. Snyder
    Acked-by: Hans de Goede
    Signed-off-by: Jean Delvare

    Ira Snyder