Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hwmon/misc: amd-sbi: Move core sbrmi from hwmon to misc

This is done to support other functionality provided by the SBRMI, which
does not fit in the hwmon subsystem.

Reviewed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Signed-off-by: Akshay Gupta <akshay.gupta@amd.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20250428063034.2145566-2-akshay.gupta@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Akshay Gupta and committed by
Greg Kroah-Hartman
e1565867 fb410aa4

+13 -10
-10
drivers/hwmon/Kconfig
··· 1887 1887 This driver can also be built as a module. If so, the module will 1888 1888 be called sbtsi_temp. 1889 1889 1890 - config SENSORS_SBRMI 1891 - tristate "Emulated SB-RMI sensor" 1892 - depends on I2C 1893 - help 1894 - If you say yes here you get support for emulated RMI 1895 - sensors on AMD SoCs with APML interface connected to a BMC device. 1896 - 1897 - This driver can also be built as a module. If so, the module will 1898 - be called sbrmi. 1899 - 1900 1890 config SENSORS_SHT15 1901 1891 tristate "Sensiron humidity and temperature sensors. SHT15 and compat." 1902 1892 depends on GPIOLIB || COMPILE_TEST
drivers/hwmon/sbrmi.c drivers/misc/amd-sbi/sbrmi.c
+1
drivers/misc/Kconfig
··· 647 647 source "drivers/misc/pvpanic/Kconfig" 648 648 source "drivers/misc/mchp_pci1xxxx/Kconfig" 649 649 source "drivers/misc/keba/Kconfig" 650 + source "drivers/misc/amd-sbi/Kconfig" 650 651 endmenu
+1
drivers/misc/Makefile
··· 73 73 lan966x-pci-objs += lan966x_pci.dtbo.o 74 74 obj-$(CONFIG_MCHP_LAN966X_PCI) += lan966x-pci.o 75 75 obj-y += keba/ 76 + obj-y += amd-sbi/
+9
drivers/misc/amd-sbi/Kconfig
··· 1 + # SPDX-License-Identifier: GPL-2.0-only 2 + config AMD_SBRMI_I2C 3 + tristate "AMD side band RMI support" 4 + depends on I2C 5 + help 6 + Side band RMI over I2C support for AMD out of band management. 7 + 8 + This driver can also be built as a module. If so, the module will 9 + be called sbrmi-i2c.
+2
drivers/misc/amd-sbi/Makefile
··· 1 + # SPDX-License-Identifier: GPL-2.0-only 2 + obj-$(CONFIG_AMD_SBRMI_I2C) += sbrmi.o