Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9d2ecfb7 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: (pmbus) Move PMBus drivers to drivers/hwmon/pmbus



Since the number of PMBus drivers is getting large, move them into
directory drivers/hwmon/pmbus to improve readability and scalability.

Signed-off-by: default avatarGuenter Roeck <guenter.roeck@ericsson.com>
Reviewed-by: default avatarRobert Coulson <robert.coulson@ericsson.com>
parent c814a4c7
Loading
Loading
Loading
Loading
+11 −0
Original line number Original line Diff line number Diff line
@@ -4968,6 +4968,17 @@ F: drivers/i2c/busses/i2c-puv3.c
F:	drivers/video/fb-puv3.c
F:	drivers/video/fb-puv3.c
F:	drivers/rtc/rtc-puv3.c
F:	drivers/rtc/rtc-puv3.c


PMBUS HARDWARE MONITORING DRIVERS
M:	Guenter Roeck <guenter.roeck@ericsson.com>
L:	lm-sensors@lm-sensors.org
W:	http://www.lm-sensors.org/
W:	http://www.roeck-us.net/linux/drivers/
T:	git git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git
S:	Maintained
F:	Documentation/hwmon/pmbus
F:	drivers/hwmon/pmbus/
F:	include/linux/i2c/pmbus.h

PMC SIERRA MaxRAID DRIVER
PMC SIERRA MaxRAID DRIVER
M:	Anil Ravindranath <anil_ravindranath@pmc-sierra.com>
M:	Anil Ravindranath <anil_ravindranath@pmc-sierra.com>
L:	linux-scsi@vger.kernel.org
L:	linux-scsi@vger.kernel.org
+1 −86
Original line number Original line Diff line number Diff line
@@ -841,92 +841,7 @@ config SENSORS_PCF8591
	  These devices are hard to detect and rarely found on mainstream
	  These devices are hard to detect and rarely found on mainstream
	  hardware.  If unsure, say N.
	  hardware.  If unsure, say N.


config PMBUS
source drivers/hwmon/pmbus/Kconfig
	tristate "PMBus support"
	depends on I2C && EXPERIMENTAL
	default n
	help
	  Say yes here if you want to enable PMBus support.

	  This driver can also be built as a module. If so, the module will
	  be called pmbus_core.

if PMBUS

config SENSORS_PMBUS
	tristate "Generic PMBus devices"
	default n
	help
	  If you say yes here you get hardware monitoring support for generic
	  PMBus devices, including but not limited to BMR450, BMR451, BMR453,
	  BMR454, and LTC2978.

	  This driver can also be built as a module. If so, the module will
	  be called pmbus.

config SENSORS_ADM1275
	tristate "Analog Devices ADM1275"
	default n
	help
	  If you say yes here you get hardware monitoring support for Analog
	  Devices ADM1275 Hot-Swap Controller and Digital Power Monitor.

	  This driver can also be built as a module. If so, the module will
	  be called adm1275.

config SENSORS_MAX16064
	tristate "Maxim MAX16064"
	default n
	help
	  If you say yes here you get hardware monitoring support for Maxim
	  MAX16064.

	  This driver can also be built as a module. If so, the module will
	  be called max16064.

config SENSORS_MAX34440
	tristate "Maxim MAX34440/MAX34441"
	default n
	help
	  If you say yes here you get hardware monitoring support for Maxim
	  MAX34440 and MAX34441.

	  This driver can also be built as a module. If so, the module will
	  be called max34440.

config SENSORS_MAX8688
	tristate "Maxim MAX8688"
	default n
	help
	  If you say yes here you get hardware monitoring support for Maxim
	  MAX8688.

	  This driver can also be built as a module. If so, the module will
	  be called max8688.

config SENSORS_UCD9000
	tristate "TI UCD90120, UCD90124, UCD9090, UCD90910"
	default n
	help
	  If you say yes here you get hardware monitoring support for TI
	  UCD90120, UCD90124, UCD9090, UCD90910 Sequencer and System Health
	  Controllers.

	  This driver can also be built as a module. If so, the module will
	  be called ucd9000.

config SENSORS_UCD9200
	tristate "TI UCD9220, UCD9222, UCD9224, UCD9240, UCD9244, UCD9246, UCD9248"
	default n
	help
	  If you say yes here you get hardware monitoring support for TI
	  UCD9220, UCD9222, UCD9224, UCD9240, UCD9244, UCD9246, and UCD9248
	  Digital PWM System Controllers.

	  This driver can also be built as a module. If so, the module will
	  be called ucd9200.

endif # PMBUS


config SENSORS_SHT15
config SENSORS_SHT15
	tristate "Sensiron humidity and temperature sensors. SHT15 and compat."
	tristate "Sensiron humidity and temperature sensors. SHT15 and compat."
+1 −9
Original line number Original line Diff line number Diff line
@@ -122,15 +122,7 @@ obj-$(CONFIG_SENSORS_W83L786NG) += w83l786ng.o
obj-$(CONFIG_SENSORS_WM831X)	+= wm831x-hwmon.o
obj-$(CONFIG_SENSORS_WM831X)	+= wm831x-hwmon.o
obj-$(CONFIG_SENSORS_WM8350)	+= wm8350-hwmon.o
obj-$(CONFIG_SENSORS_WM8350)	+= wm8350-hwmon.o


# PMBus drivers
obj-$(CONFIG_PMBUS)		+= pmbus/
obj-$(CONFIG_PMBUS)		+= pmbus_core.o
obj-$(CONFIG_SENSORS_PMBUS)	+= pmbus.o
obj-$(CONFIG_SENSORS_ADM1275)	+= adm1275.o
obj-$(CONFIG_SENSORS_MAX16064)	+= max16064.o
obj-$(CONFIG_SENSORS_MAX34440)	+= max34440.o
obj-$(CONFIG_SENSORS_MAX8688)	+= max8688.o
obj-$(CONFIG_SENSORS_UCD9000)	+= ucd9000.o
obj-$(CONFIG_SENSORS_UCD9200)	+= ucd9200.o


ccflags-$(CONFIG_HWMON_DEBUG_CHIP) := -DDEBUG
ccflags-$(CONFIG_HWMON_DEBUG_CHIP) := -DDEBUG
+90 −0
Original line number Original line Diff line number Diff line
#
# PMBus chip drivers configuration
#

menuconfig PMBUS
	tristate "PMBus support"
	depends on I2C && EXPERIMENTAL
	default n
	help
	  Say yes here if you want to enable PMBus support.

	  This driver can also be built as a module. If so, the module will
	  be called pmbus_core.

if PMBUS

config SENSORS_PMBUS
	tristate "Generic PMBus devices"
	default y
	help
	  If you say yes here you get hardware monitoring support for generic
	  PMBus devices, including but not limited to BMR450, BMR451, BMR453,
	  BMR454, and LTC2978.

	  This driver can also be built as a module. If so, the module will
	  be called pmbus.

config SENSORS_ADM1275
	tristate "Analog Devices ADM1275"
	default n
	help
	  If you say yes here you get hardware monitoring support for Analog
	  Devices ADM1275 Hot-Swap Controller and Digital Power Monitor.

	  This driver can also be built as a module. If so, the module will
	  be called adm1275.

config SENSORS_MAX16064
	tristate "Maxim MAX16064"
	default n
	help
	  If you say yes here you get hardware monitoring support for Maxim
	  MAX16064.

	  This driver can also be built as a module. If so, the module will
	  be called max16064.

config SENSORS_MAX34440
	tristate "Maxim MAX34440/MAX34441"
	default n
	help
	  If you say yes here you get hardware monitoring support for Maxim
	  MAX34440 and MAX34441.

	  This driver can also be built as a module. If so, the module will
	  be called max34440.

config SENSORS_MAX8688
	tristate "Maxim MAX8688"
	default n
	help
	  If you say yes here you get hardware monitoring support for Maxim
	  MAX8688.

	  This driver can also be built as a module. If so, the module will
	  be called max8688.

config SENSORS_UCD9000
	tristate "TI UCD90120, UCD90124, UCD9090, UCD90910"
	default n
	help
	  If you say yes here you get hardware monitoring support for TI
	  UCD90120, UCD90124, UCD9090, UCD90910 Sequencer and System Health
	  Controllers.

	  This driver can also be built as a module. If so, the module will
	  be called ucd9000.

config SENSORS_UCD9200
	tristate "TI UCD9220, UCD9222, UCD9224, UCD9240, UCD9244, UCD9246, UCD9248"
	default n
	help
	  If you say yes here you get hardware monitoring support for TI
	  UCD9220, UCD9222, UCD9224, UCD9240, UCD9244, UCD9246, and UCD9248
	  Digital PWM System Controllers.

	  This driver can also be built as a module. If so, the module will
	  be called ucd9200.

endif # PMBUS
+12 −0
Original line number Original line Diff line number Diff line
#
# Makefile for PMBus chip drivers.
#

obj-$(CONFIG_PMBUS)		+= pmbus_core.o
obj-$(CONFIG_SENSORS_PMBUS)	+= pmbus.o
obj-$(CONFIG_SENSORS_ADM1275)	+= adm1275.o
obj-$(CONFIG_SENSORS_MAX16064)	+= max16064.o
obj-$(CONFIG_SENSORS_MAX34440)	+= max34440.o
obj-$(CONFIG_SENSORS_MAX8688)	+= max8688.o
obj-$(CONFIG_SENSORS_UCD9000)	+= ucd9000.o
obj-$(CONFIG_SENSORS_UCD9200)	+= ucd9200.o
Loading