devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] add support in hwmon for MCP998X
@ 2025-10-31 15:58 victor.duicu
  2025-10-31 15:58 ` [PATCH v1 1/2] dt-bindings: hwmon: add support " victor.duicu
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: victor.duicu @ 2025-10-31 15:58 UTC (permalink / raw)
  To: linux, robh, krzk+dt, conor+dt, corbet
  Cc: marius.cristea, victor.duicu, linux-hwmon, linux-kernel,
	devicetree, linux-doc

From: Victor Duicu <victor.duicu@microchip.com>

Add support in hwmon for Microchip MCP998X/33 and MCP998XD/33D
Multichannel Automotive Temperature Monitor Family.

The chips in the family have different numbers of external channels,
ranging from 1 (MCP9982) to 4 channels (MCP9985).
Reading diodes in anti-parallel connection is supported by MCP9984/85/33
and MCP9984D/85D/33D. Dedicated hardware shutdown circuitry is present
only in MCP998XD and MCP9933D.

The driver was tested on MCP9984 and MCP9985.
The driver supports reading temperature channels and setting
the update interval.

Differences related to previous patch:
v1:
- initial version for review.
  This is a continuation of the IIO driver:
  https://lore.kernel.org/all/20250930133131.13797-1-victor.duicu@microchip.com/

Victor Duicu (2):
  dt-bindings: hwmon: add support for MCP998X
  hwmon: add support for MCP998X

 .../bindings/hwmon/microchip,mcp9982.yaml     | 192 +++++
 Documentation/hwmon/index.rst                 |   1 +
 Documentation/hwmon/mcp9982.rst               |  94 +++
 MAINTAINERS                                   |   8 +
 drivers/hwmon/Kconfig                         |  10 +
 drivers/hwmon/Makefile                        |   1 +
 drivers/hwmon/mcp9982.c                       | 756 ++++++++++++++++++
 7 files changed, 1062 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/microchip,mcp9982.yaml
 create mode 100644 Documentation/hwmon/mcp9982.rst
 create mode 100644 drivers/hwmon/mcp9982.c


base-commit: 59420a56a457761d5d1110c3fd2fe9c5de0993c1
-- 
2.48.1


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

end of thread, other threads:[~2025-11-02 15:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-31 15:58 [PATCH v1 0/2] add support in hwmon for MCP998X victor.duicu
2025-10-31 15:58 ` [PATCH v1 1/2] dt-bindings: hwmon: add support " victor.duicu
2025-10-31 15:58 ` [PATCH v1 2/2] " victor.duicu
2025-10-31 16:41   ` Guenter Roeck
2025-11-02 15:57 ` [PATCH v1 0/2] add support in hwmon " Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).