mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v6 0/2]  riscv: sophgo: Add SG2042 external hardware monitor support
@ 2024-07-03  2:29 Inochi Amaoto
  2024-07-03  2:30 ` [PATCH v6 1/2] dt-bindings: hwmon: Add Sophgo " Inochi Amaoto
  2024-07-03  2:30 ` [PATCH v6 2/2] drivers: hwmon: sophgo: Add " Inochi Amaoto
  0 siblings, 2 replies; 16+ messages in thread
From: Inochi Amaoto @ 2024-07-03  2:29 UTC (permalink / raw)
  To: Jean Delvare, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Chen Wang, Inochi Amaoto, Jonathan Corbet,
	Paul Walmsley, Palmer Dabbelt, Albert Ou
  Cc: linux-hwmon, devicetree, linux-kernel, linux-doc, linux-riscv

Add support for the onboard hardware monitor for SG2042.

Related SBI patch:
https://lists.infradead.org/pipermail/opensbi/2024-April/006849.html

Changed from v5:
1. rename driver name to sgmcu as it will support more sophgo chip.
2. move some attr to debugfs.
3. add standard crit_hyst support
4. add documentation

Changed from v4:
1. use fix patch for binding ref.
2. use unevaluatedProperties instead of additionalProperties for binding

Changed from v3:
1. add thermal-sensor check.
2. change node type from syscon to hwmon

Changed from v2:
1. fix bindings id path.

Changed from v1:
1. Move patch from soc to hwmon.
2. Fix typo.

Inochi Amaoto (2):
  dt-bindings: hwmon: Add Sophgo SG2042 external hardware monitor
    support
  drivers: hwmon: sophgo: Add SG2042 external hardware monitor support

 .../hwmon/sophgo,sg2042-hwmon-mcu.yaml        |  43 ++
 Documentation/hwmon/index.rst                 |   1 +
 Documentation/hwmon/sgmcu.rst                 |  44 ++
 drivers/hwmon/Kconfig                         |  11 +
 drivers/hwmon/Makefile                        |   1 +
 drivers/hwmon/sgmcu.c                         | 585 ++++++++++++++++++
 6 files changed, 685 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/sophgo,sg2042-hwmon-mcu.yaml
 create mode 100644 Documentation/hwmon/sgmcu.rst
 create mode 100644 drivers/hwmon/sgmcu.c

--
2.45.2


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

end of thread, other threads:[~2024-07-09  2:03 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-03  2:29 [PATCH v6 0/2] riscv: sophgo: Add SG2042 external hardware monitor support Inochi Amaoto
2024-07-03  2:30 ` [PATCH v6 1/2] dt-bindings: hwmon: Add Sophgo " Inochi Amaoto
2024-07-06 16:48   ` Guenter Roeck
2024-07-06 23:34     ` Inochi Amaoto
2024-07-07  1:35       ` Guenter Roeck
2024-07-07  5:45         ` Inochi Amaoto
2024-07-03  2:30 ` [PATCH v6 2/2] drivers: hwmon: sophgo: Add " Inochi Amaoto
2024-07-06 14:52   ` Guenter Roeck
2024-07-07  0:31     ` Inochi Amaoto
2024-07-07  1:19       ` Guenter Roeck
2024-07-08  0:25   ` Chen Wang
2024-07-08  0:53     ` Inochi Amaoto
2024-07-08  7:11       ` Chen Wang
2024-07-08 22:15         ` Inochi Amaoto
2024-07-09  1:42           ` Guenter Roeck
2024-07-09  2:03             ` Inochi Amaoto

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®