06 Jan, 2012

4 commits


25 Oct, 2011

12 commits


13 Sep, 2011

1 commit

  • Temperature alarms are detected by checking the alarm bit and comparing
    temperature limits against the current temperature. For low limits, this
    comparison needs to be reversed (temp < limit instead of temp > limit).
    This was not taken into account, resulting in wrong alarms if a temperature
    fell below a low limit.

    Fix by adding a low limit flag in the limit data structure. When creating the
    sensor entry, the order of registers to compare is now reversed for low limits.

    Signed-off-by: Guenter Roeck
    Acked-by: Jean Delvare
    Cc: stable@kernel.org # 3.0+

    Guenter Roeck
     

06 Sep, 2011

1 commit


12 Aug, 2011

2 commits

  • pmbus_clear_faults() attempts to clear faults on non-existing real pages.
    As a result, the command error bit in the status register is set, and faults
    are not really cleared.

    All byte writes to non-zero pages are requests to clear the status register
    on that page. Since non-zero pages are virtual and do not exist on the chip,
    there is nothing to do, and such requests have to be ignored. This fixes
    above problem.

    Signed-off-by: Guenter Roeck
    Reviewed-by: Robert Coulson

    Guenter Roeck
     
  • With virtual pages and to be able to handle more chips, it is necessary to
    virtualise pmbus_write_byte().

    Signed-off-by: Guenter Roeck
    Reviewed-by: Robert Coulson

    Guenter Roeck
     

29 Jul, 2011

13 commits