Skip to content

Commit e156586

Browse files
akky16gregkh
authored andcommitted
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 <[email protected]> Signed-off-by: Akshay Gupta <[email protected]> Acked-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent fb410aa commit e156586

File tree

6 files changed

+13
-10
lines changed

6 files changed

+13
-10
lines changed

drivers/hwmon/Kconfig

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1887,16 +1887,6 @@ config SENSORS_SBTSI
18871887
This driver can also be built as a module. If so, the module will
18881888
be called sbtsi_temp.
18891889

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-
19001890
config SENSORS_SHT15
19011891
tristate "Sensiron humidity and temperature sensors. SHT15 and compat."
19021892
depends on GPIOLIB || COMPILE_TEST

drivers/misc/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,4 +647,5 @@ source "drivers/misc/uacce/Kconfig"
647647
source "drivers/misc/pvpanic/Kconfig"
648648
source "drivers/misc/mchp_pci1xxxx/Kconfig"
649649
source "drivers/misc/keba/Kconfig"
650+
source "drivers/misc/amd-sbi/Kconfig"
650651
endmenu

drivers/misc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,4 @@ lan966x-pci-objs := lan966x_pci.o
7373
lan966x-pci-objs += lan966x_pci.dtbo.o
7474
obj-$(CONFIG_MCHP_LAN966X_PCI) += lan966x-pci.o
7575
obj-y += keba/
76+
obj-y += amd-sbi/

drivers/misc/amd-sbi/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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.

drivers/misc/amd-sbi/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
obj-$(CONFIG_AMD_SBRMI_I2C) += sbrmi.o
File renamed without changes.

0 commit comments

Comments
 (0)