mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/5] hwmon: (sch5627) Make limit registers writable
@ 2023-09-07  5:26 Armin Wolf
  2023-09-07  5:26 ` [PATCH v2 1/5] hwmon: (sch5627) Use bit macros when accessing the control register Armin Wolf
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Armin Wolf @ 2023-09-07  5:26 UTC (permalink / raw)
  To: hdegoede; +Cc: jdelvare, linux, linux-hwmon, linux-kernel

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-09-11  0:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-07  5:26 [PATCH v2 0/5] hwmon: (sch5627) Make limit registers writable Armin Wolf
2023-09-07  5:26 ` [PATCH v2 1/5] hwmon: (sch5627) Use bit macros when accessing the control register Armin Wolf
2023-09-11  0:48   ` Guenter Roeck
2023-09-07  5:26 ` [PATCH v2 2/5] hwmon: (sch5627) Disallow write access if virtual registers are locked Armin Wolf
2023-09-11  0:49   ` Guenter Roeck
2023-09-07  5:26 ` [PATCH v2 3/5] hwmon: (sch5627) Use regmap for pwm map register caching Armin Wolf
2023-09-11  0:52   ` Guenter Roeck
2023-09-07  5:26 ` [PATCH v2 4/5] hwmon: (sch5627) Add support for writing limit registers Armin Wolf
2023-09-11  0:54   ` Guenter Roeck
2023-09-07  5:26 ` [PATCH v2 5/5] hwmon: (sch5627) Document behaviour of " Armin Wolf
2023-09-11  0:54   ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®