02 Apr, 2017

2 commits

  • The driver doesn't have a struct of_device_id table but supported devices
    are registered via Device Trees. This is working on the assumption that a
    I2C device registered via OF will always match a legacy I2C device ID and
    that the MODALIAS reported will always be of the form i2c:.

    But this could change in the future so the correct approach is to have an
    OF device ID table if the devices are registered via OF.

    Signed-off-by: Javier Martinez Canillas
    Signed-off-by: Guenter Roeck

    Javier Martinez Canillas
     
  • The driver doesn't have a struct of_device_id table but supported devices
    are registered via Device Trees. This is working on the assumption that a
    I2C device registered via OF will always match a legacy I2C device ID and
    that the MODALIAS reported will always be of the form i2c:.

    But this could change in the future so the correct approach is to have an
    OF device ID table if the devices are registered via OF.

    Signed-off-by: Javier Martinez Canillas
    Signed-off-by: Guenter Roeck

    Javier Martinez Canillas
     

28 Mar, 2017

1 commit

  • Seems like coefficient values for m, b and R under power have been
    put in the wrong order. Rearranging them properly to get correct
    values of coefficients for power.

    For specs, please refer to table 7 (page 35) on
    http://www.analog.com/media/en/technical-documentation/data-sheets/ADM1075.pdf

    Fixes: 904b296f308d ("hwmon: (adm1275) Introduce configuration data structure for coeffcients")
    Signed-off-by: Shikhar Dogra
    Signed-off-by: Guenter Roeck

    Shikhar Dogra
     

03 Dec, 2016

1 commit


09 Sep, 2016

2 commits


05 Mar, 2016

1 commit


19 Dec, 2015

1 commit


20 Aug, 2015

4 commits


18 Aug, 2015

8 commits


13 Aug, 2015

4 commits


11 Aug, 2015

1 commit


10 Aug, 2015

10 commits


07 Jan, 2015

1 commit


01 Dec, 2014

3 commits

  • Add simple on/off regulator support for ltc2978 and
    other pmbus parts supported by the ltc2978 driver.

    Signed-off-by: Alan Tull
    Cc: Guenter Roeck
    Cc: Mark Brown
    Signed-off-by: Guenter Roeck

    Alan Tull
     
  • Add support for simple on/off control of each channel.

    To add regulator support, the pmbus part driver needs to add
    regulator_desc information and number of regulators to its
    pmbus_driver_info struct.

    regulator_desc can be declared using default macro for a
    regulator (PMBUS_REGULATOR) that is in pmbus.h

    The regulator_init_data can be initialized from either
    platform data or the device tree.

    Signed-off-by: Alan Tull
    Reviewed-by: Mark Brown
    Signed-off-by: Guenter Roeck

    Alan Tull
     
  • Add two helper functions:
    * pmbus_write_byte_data = paged byte write
    * pmbus_update_byte_data = paged byte read/modify/write

    Signed-off-by: Alan Tull
    Cc: Mark Brown
    Signed-off-by: Guenter Roeck

    Alan Tull
     

04 Aug, 2014

1 commit

  • For TI power management chip TPS40422, READ_TEMPERATURE_2 command is supported on
    page 1 of the chip, but the original driver(pmbus.c) only tried to detect this command
    on page 0, this will lead to a result that the temperature sensor in page 1 couldn't
    be detected. This change is to isolate the tps40422 driver from pmbus.c into a solo
    front-end driver.

    Signed-off-by: Zhu Laiwen
    [Guenter Roeck: Dropped unnecessary license text (fixes checkpatch warning)]
    Signed-off-by: Guenter Roeck

    Zhu, Richard \(NSN - CN/Beijing\)