devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/2] riscv: sophgo: Add SG2042 external hardware monitor support
@ 2024-05-05  1:18 Inochi Amaoto
  2024-05-05  1:18 ` [PATCH v5 1/2] dt-bindings: hwmon: Add Sophgo " Inochi Amaoto
  2024-05-05  1:18 ` [PATCH v5 2/2] drivers: hwmon: sophgo: Add " Inochi Amaoto
  0 siblings, 2 replies; 10+ messages in thread
From: Inochi Amaoto @ 2024-05-05  1:18 UTC (permalink / raw)
  To: Jean Delvare, Guenter Roeck, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Chen Wang, Inochi Amaoto, Paul Walmsley,
	Palmer Dabbelt, Albert Ou
  Cc: linux-hwmon, devicetree, linux-kernel, 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 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 ++
 drivers/hwmon/Kconfig                         |  11 +
 drivers/hwmon/Makefile                        |   1 +
 drivers/hwmon/sg2042-hwmon-mcu.c              | 531 ++++++++++++++++++
 4 files changed, 586 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/sophgo,sg2042-hwmon-mcu.yaml
 create mode 100644 drivers/hwmon/sg2042-hwmon-mcu.c

--
2.45.0


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

end of thread, other threads:[~2024-06-22  0:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-05  1:18 [PATCH v5 0/2] riscv: sophgo: Add SG2042 external hardware monitor support Inochi Amaoto
2024-05-05  1:18 ` [PATCH v5 1/2] dt-bindings: hwmon: Add Sophgo " Inochi Amaoto
2024-05-07 15:33   ` Conor Dooley
2024-05-15  6:19   ` Anup Patel
2024-05-15  6:21     ` Anup Patel
2024-05-05  1:18 ` [PATCH v5 2/2] drivers: hwmon: sophgo: Add " Inochi Amaoto
2024-06-21 15:19   ` Guenter Roeck
2024-06-21 22:45     ` Inochi Amaoto
2024-06-21 23:05       ` Guenter Roeck
2024-06-22  0:05         ` Inochi Amaoto

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).