[PATCH v2 0/5] hwmon: (sch5627) Make limit registers writable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch series adds support for writing the limit registers on
the sch5627. The first two patches fix the handling of the LOCK bit
inside the sch5627 control registers. The following two patches
introduce regmap support in order to use regcache for caching the
register values. The last patch updates the documentation regarding
the behaviour of the limit registers.

All patches have been tested on a Fujitsu Esprimo P720.
---
Changes since v2:
- split patches into separate changes
- update documentation

Armin Wolf (5):
  hwmon: (sch5627) Use bit macros when accessing the control register
  hwmon: (sch5627) Disallow write access if virtual registers are locked
  hwmon: (sch5627) Use regmap for pwm map register caching
  hwmon: (sch5627) Add support for writing limit registers
  hwmon: (sch5627) Document behaviour of limit registers

 Documentation/hwmon/sch5627.rst |  10 ++
 drivers/hwmon/Kconfig           |   1 +
 drivers/hwmon/sch5627.c         | 267 +++++++++++++++++++++++---------
 drivers/hwmon/sch56xx-common.c  | 107 +++++++++++++
 drivers/hwmon/sch56xx-common.h  |   6 +
 5 files changed, 318 insertions(+), 73 deletions(-)

--
2.39.2




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux