mbox series

[0/2] riscv: sophgo: Add SG2042 external hardware monitor support

Message ID IA1PR20MB49532A8A0C52FE5C599B6D13BB142@IA1PR20MB4953.namprd20.prod.outlook.com (mailing list archive)
Headers show
Series riscv: sophgo: Add SG2042 external hardware monitor support | expand

Message

Inochi Amaoto April 28, 2024, 1:29 a.m. UTC
Add support for the onboard hardware monitor for SG2042.

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

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

 .../soc/sophgo/sophgo,sg2042-hwmon-mcu.yaml   |  40 ++
 drivers/soc/Kconfig                           |   1 +
 drivers/soc/Makefile                          |   1 +
 drivers/soc/sophgo/Kconfig                    |  12 +
 drivers/soc/sophgo/Makefile                   |   5 +
 drivers/soc/sophgo/sg2042-hwmon-mcu.c         | 531 ++++++++++++++++++
 6 files changed, 590 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/soc/sophgo/sophgo,sg2042-hwmon-mcu.yaml
 create mode 100644 drivers/soc/sophgo/Kconfig
 create mode 100644 drivers/soc/sophgo/Makefile
 create mode 100644 drivers/soc/sophgo/sg2042-hwmon-mcu.c

--
2.44.0