Skip to contentSkip to conversation

hwmon: (pmbus) Move PMBus drivers to

PATCH Superseded Guenter Roeck 1 participant 2 messages Jul 12, 2011 – Jul 14, 2011 Hardware monitoring

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/15 hwmon: (pmbus) Move PMBus drivers to

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

---
 MAINTAINERS                      |   11 +
 drivers/hwmon/Kconfig            |   87 +---
 drivers/hwmon/Makefile           |   10 +-
 drivers/hwmon/adm1275.c          |  131 ----
 drivers/hwmon/max16064.c         |   91 ---
 drivers/hwmon/max34440.c         |  199 -----
 drivers/hwmon/max8688.c          |  158 ----
 drivers/hwmon/pmbus.c            |  210 -----
 drivers/hwmon/pmbus.h            |  311 --------
 drivers/hwmon/pmbus/Kconfig      |   91 +++
 drivers/hwmon/pmbus/Makefile     |   12 +
 drivers/hwmon/pmbus/adm1275.c    |  131 ++++
 drivers/hwmon/pmbus/max16064.c   |   91 +++
 drivers/hwmon/pmbus/max34440.c   |  199 +++++
 drivers/hwmon/pmbus/max8688.c    |  158 ++++
 drivers/hwmon/pmbus/pmbus.c      |  210 +++++
 drivers/hwmon/pmbus/pmbus.h      |  311 ++++++++
 drivers/hwmon/pmbus/pmbus_core.c | 1567 ++++++++++++++++++++++++++++++++++++++
 drivers/hwmon/pmbus/ucd9000.c    |  278 +++++++
 drivers/hwmon/pmbus/ucd9200.c    |  210 +++++
 drivers/hwmon/pmbus_core.c       | 1567 --------------------------------------
 drivers/hwmon/ucd9000.c          |  278 -------
 drivers/hwmon/ucd9200.c          |  210 -----
 23 files changed, 3271 insertions(+), 3250 deletions(-)
 delete mode 100644 drivers/hwmon/adm1275.c
 delete mode 100644 drivers/hwmon/max16064.c
 delete mode 100644 drivers/hwmon/max34440.c
 delete mode 100644 drivers/hwmon/max8688.c
 delete mode 100644 drivers/hwmon/pmbus.c
 delete mode 100644 drivers/hwmon/pmbus.h
 create mode 100644 drivers/hwmon/pmbus/Kconfig
 create mode 100644 drivers/hwmon/pmbus/Makefile
 create mode 100644 drivers/hwmon/pmbus/adm1275.c
 create mode 100644 drivers/hwmon/pmbus/max16064.c
 create mode 100644 drivers/hwmon/pmbus/max34440.c
 create mode 100644 drivers/hwmon/pmbus/max8688.c
 create mode 100644 drivers/hwmon/pmbus/pmbus.c
 create mode 100644 drivers/hwmon/pmbus/pmbus.h
 create mode 100644 drivers/hwmon/pmbus/pmbus_core.c
 create mode 100644 drivers/hwmon/pmbus/ucd9000.c
 create mode 100644 drivers/hwmon/pmbus/ucd9200.c
 delete mode 100644 drivers/hwmon/pmbus_core.c
 delete mode 100644 drivers/hwmon/ucd9000.c
 delete mode 100644 drivers/hwmon/ucd9200.c
MAINTAINERS +11 -0
index 187282d..a526783 100644
@@ -4961,6 +4961,17 @@ F:	drivers/i2c/busses/i2c-puv3.c
 F:	drivers/video/fb-puv3.c
 F:	drivers/rtc/rtc-puv3.c
 
+PMBUS HARDWARE MONITORING DRIVERS
+M:	Guenter Roeck <[email protected]>
+L:	[email protected]
+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
 M:	Anil Ravindranath <[email protected]>
 L:	[email protected]
drivers/hwmon/Kconfig +1 -86

93 lines not on this page · raw message

drivers/hwmon/Makefile +1 -9
index 28061cf..33a55d6 100644
@@ -119,15 +119,7 @@ obj-$(CONFIG_SENSORS_W83L786NG)	+= w83l786ng.o
 obj-$(CONFIG_SENSORS_WM831X)	+= wm831x-hwmon.o
 obj-$(CONFIG_SENSORS_WM8350)	+= wm8350-hwmon.o
 
-# PMBus 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
+obj-$(CONFIG_PMBUS)		+= pmbus/
 
 ccflags-$(CONFIG_HWMON_DEBUG_CHIP) := -DDEBUG
 
drivers/hwmon/adm1275.c deleted +0 -131

131 lines not on this page · raw message

drivers/hwmon/max16064.c deleted +0 -91

91 lines not on this page · raw message

drivers/hwmon/max34440.c deleted +0 -199

199 lines not on this page · raw message

drivers/hwmon/max8688.c deleted +0 -158

158 lines not on this page · raw message

drivers/hwmon/pmbus.c deleted +0 -210

210 lines not on this page · raw message

drivers/hwmon/pmbus.h deleted +0 -311

311 lines not on this page · raw message

drivers/hwmon/pmbus/Kconfig new file +91 -0

91 lines not on this page · raw message

drivers/hwmon/pmbus/Makefile new file +12 -0
new file mode 100644
index 0000000..0178f81
@@ -0,0 +1,12 @@
+#
+# 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
drivers/hwmon/pmbus/adm1275.c new file +131 -0

131 lines not on this page · raw message

drivers/hwmon/pmbus/max16064.c new file +91 -0

91 lines not on this page · raw message

drivers/hwmon/pmbus/max34440.c new file +199 -0

199 lines not on this page · raw message

drivers/hwmon/pmbus/max8688.c new file +158 -0

158 lines not on this page · raw message

drivers/hwmon/pmbus/pmbus.c new file +210 -0

210 lines not on this page · raw message

drivers/hwmon/pmbus/pmbus.h new file +311 -0

311 lines not on this page · raw message

drivers/hwmon/pmbus/pmbus_core.c new file +1567 -0

571 lines not on this page · raw message

drivers/hwmon/pmbus/ucd9000.c new file +278 -0

278 lines not on this page · raw message

drivers/hwmon/pmbus/ucd9200.c new file +210 -0

210 lines not on this page · raw message

drivers/hwmon/pmbus_core.c deleted +0 -1567

1,567 lines not on this page · raw message

drivers/hwmon/ucd9000.c deleted +0 -278

278 lines not on this page · raw message

drivers/hwmon/ucd9200.c deleted +0 -210

210 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 7 lines
1.7.3.1


_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

Part of the diff is not shown here. View the raw message.

#1 lore raw

PATCH 1/15 hwmon: (pmbus) Move PMBus drivers to

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

---
 MAINTAINERS                      |   11 +
 drivers/hwmon/Kconfig            |   87 +---
 drivers/hwmon/Makefile           |   10 +-
 drivers/hwmon/adm1275.c          |  131 ----
 drivers/hwmon/max16064.c         |   91 ---
 drivers/hwmon/max34440.c         |  199 -----
 drivers/hwmon/max8688.c          |  158 ----
 drivers/hwmon/pmbus.c            |  210 -----
 drivers/hwmon/pmbus.h            |  311 --------
 drivers/hwmon/pmbus/Kconfig      |   91 +++
 drivers/hwmon/pmbus/Makefile     |   12 +
 drivers/hwmon/pmbus/adm1275.c    |  131 ++++
 drivers/hwmon/pmbus/max16064.c   |   91 +++
 drivers/hwmon/pmbus/max34440.c   |  199 +++++
 drivers/hwmon/pmbus/max8688.c    |  158 ++++
 drivers/hwmon/pmbus/pmbus.c      |  210 +++++
 drivers/hwmon/pmbus/pmbus.h      |  311 ++++++++
 drivers/hwmon/pmbus/pmbus_core.c | 1567 ++++++++++++++++++++++++++++++++++++++
 drivers/hwmon/pmbus/ucd9000.c    |  278 +++++++
 drivers/hwmon/pmbus/ucd9200.c    |  210 +++++
 drivers/hwmon/pmbus_core.c       | 1567 --------------------------------------
 drivers/hwmon/ucd9000.c          |  278 -------
 drivers/hwmon/ucd9200.c          |  210 -----
 23 files changed, 3271 insertions(+), 3250 deletions(-)
 delete mode 100644 drivers/hwmon/adm1275.c
 delete mode 100644 drivers/hwmon/max16064.c
 delete mode 100644 drivers/hwmon/max34440.c
 delete mode 100644 drivers/hwmon/max8688.c
 delete mode 100644 drivers/hwmon/pmbus.c
 delete mode 100644 drivers/hwmon/pmbus.h
 create mode 100644 drivers/hwmon/pmbus/Kconfig
 create mode 100644 drivers/hwmon/pmbus/Makefile
 create mode 100644 drivers/hwmon/pmbus/adm1275.c
 create mode 100644 drivers/hwmon/pmbus/max16064.c
 create mode 100644 drivers/hwmon/pmbus/max34440.c
 create mode 100644 drivers/hwmon/pmbus/max8688.c
 create mode 100644 drivers/hwmon/pmbus/pmbus.c
 create mode 100644 drivers/hwmon/pmbus/pmbus.h
 create mode 100644 drivers/hwmon/pmbus/pmbus_core.c
 create mode 100644 drivers/hwmon/pmbus/ucd9000.c
 create mode 100644 drivers/hwmon/pmbus/ucd9200.c
 delete mode 100644 drivers/hwmon/pmbus_core.c
 delete mode 100644 drivers/hwmon/ucd9000.c
 delete mode 100644 drivers/hwmon/ucd9200.c
MAINTAINERS +11 -0
index 187282d..a526783 100644
@@ -4961,6 +4961,17 @@ F:	drivers/i2c/busses/i2c-puv3.c
 F:	drivers/video/fb-puv3.c
 F:	drivers/rtc/rtc-puv3.c
 
+PMBUS HARDWARE MONITORING DRIVERS
+M:	Guenter Roeck <[email protected]>
+L:	[email protected]
+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
 M:	Anil Ravindranath <[email protected]>
 L:	[email protected]
drivers/hwmon/Kconfig +1 -86

93 lines not on this page · raw message

drivers/hwmon/Makefile +1 -9
index 28061cf..33a55d6 100644
@@ -119,15 +119,7 @@ obj-$(CONFIG_SENSORS_W83L786NG)	+= w83l786ng.o
 obj-$(CONFIG_SENSORS_WM831X)	+= wm831x-hwmon.o
 obj-$(CONFIG_SENSORS_WM8350)	+= wm8350-hwmon.o
 
-# PMBus 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
+obj-$(CONFIG_PMBUS)		+= pmbus/
 
 ccflags-$(CONFIG_HWMON_DEBUG_CHIP) := -DDEBUG
 
drivers/hwmon/adm1275.c deleted +0 -131

131 lines not on this page · raw message

drivers/hwmon/max16064.c deleted +0 -91

91 lines not on this page · raw message

drivers/hwmon/max34440.c deleted +0 -199

199 lines not on this page · raw message

drivers/hwmon/max8688.c deleted +0 -158

158 lines not on this page · raw message

drivers/hwmon/pmbus.c deleted +0 -210

210 lines not on this page · raw message

drivers/hwmon/pmbus.h deleted +0 -311

311 lines not on this page · raw message

drivers/hwmon/pmbus/Kconfig new file +91 -0

91 lines not on this page · raw message

drivers/hwmon/pmbus/Makefile new file +12 -0
new file mode 100644
index 0000000..0178f81
@@ -0,0 +1,12 @@
+#
+# 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
drivers/hwmon/pmbus/adm1275.c new file +131 -0

131 lines not on this page · raw message

drivers/hwmon/pmbus/max16064.c new file +91 -0

91 lines not on this page · raw message

drivers/hwmon/pmbus/max34440.c new file +199 -0

199 lines not on this page · raw message

drivers/hwmon/pmbus/max8688.c new file +158 -0

158 lines not on this page · raw message

drivers/hwmon/pmbus/pmbus.c new file +210 -0

210 lines not on this page · raw message

drivers/hwmon/pmbus/pmbus.h new file +311 -0

311 lines not on this page · raw message

drivers/hwmon/pmbus/pmbus_core.c new file +1567 -0

571 lines not on this page · raw message

drivers/hwmon/pmbus/ucd9000.c new file +278 -0

278 lines not on this page · raw message

drivers/hwmon/pmbus/ucd9200.c new file +210 -0

210 lines not on this page · raw message

drivers/hwmon/pmbus_core.c deleted +0 -1567

1,567 lines not on this page · raw message

drivers/hwmon/ucd9000.c deleted +0 -278

278 lines not on this page · raw message

drivers/hwmon/ucd9200.c deleted +0 -210

210 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 7 lines
1.7.3.1


_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

Part of the diff is not shown here. View the raw message.