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

Inochi Amaoto inochiama at outlook.com
Sat Apr 27 18:29:22 PDT 2024


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




More information about the linux-riscv mailing list