[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230907052639.16491-1-W_Armin@gmx.de>
Date: Thu, 7 Sep 2023 07:26:34 +0200
From: Armin Wolf <W_Armin@....de>
To: hdegoede@...hat.com
Cc: jdelvare@...e.com, linux@...ck-us.net, linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/5] hwmon: (sch5627) Make limit registers writable
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
Powered by blists - more mailing lists