Skip to contentSkip to conversation

hwmon: (pmbus/zl6100) Add support for

PATCH In review Guenter Roeck 2 participants 2 messages Nov 23, 2011 – Nov 28, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/4 hwmon: (pmbus/zl6100) Add support for

Add support for Ericsson BMR450, BMR451, BMR462, BMR463, and BMR464, which are based on ZL2005 and ZL2008, to zl6100 driver. Remove BMR450 and BMR451 device IDs from generic PMBus driver.

---
 Documentation/hwmon/pmbus    |    5 ++---
 Documentation/hwmon/zl6100   |   11 +++++++++++
 drivers/hwmon/pmbus/Kconfig  |    7 ++++---
 drivers/hwmon/pmbus/pmbus.c  |    2 --
 drivers/hwmon/pmbus/zl6100.c |    5 +++++
 5 files changed, 22 insertions(+), 8 deletions(-)
Documentation/hwmon/pmbus +2 -3
index 15ac911..d28b591 100644
@@ -2,9 +2,8 @@ Kernel driver pmbus
 ==========
 
 Supported chips:
-  * Ericsson BMR45X series
-    DC/DC Converter
-    Prefixes: 'bmr450', 'bmr451', 'bmr453', 'bmr454'
+  * Ericsson BMR453, BMR454
+    Prefixes: 'bmr453', 'bmr454'
     Addresses scanned: -
     Datasheet:
  http://archive.ericsson.net/service/internet/picov/get?DocNo(701-EN/LZT146395
Documentation/hwmon/zl6100 +11 -0
index d3bca06..51f76a1 100644
@@ -34,6 +34,17 @@ Supported chips:
     Prefix: 'zl6105'
     Addresses scanned: -
     Datasheet: http://www.intersil.com/data/fn/fn6906.pdf
+  * Ericsson BMR450, BMR451
+    Prefix: 'bmr450', 'bmr451'
+    Addresses scanned: -
+    Datasheet:
+http://archive.ericsson.net/service/internet/picov/get?DocNo(701-EN/LZT146401
+  * Ericsson BMR462, BMR463, BMR464
+    Prefixes: 'bmr462', 'bmr463', 'bmr464'
+    Addresses scanned: -
+    Datasheet:
+http://archive.ericsson.net/service/internet/picov/get?DocNo(701-EN/LZT146256
+
 
 Author: Guenter Roeck <[email protected]>
 
drivers/hwmon/pmbus/Kconfig +4 -3
index d357ab2..cfec923 100644
@@ -19,8 +19,8 @@ config SENSORS_PMBUS
 	default y
 	help
 	  If you say yes here you get hardware monitoring support for generic
-	  PMBus devices, including but not limited to ADP4000, BMR450, BMR451,
-	  BMR453, BMR454, NCP4200, and NCP4208.
+	  PMBus devices, including but not limited to ADP4000, BMR453, BMR454,
+	  NCP4200, and NCP4208.
 
 	  This driver can also be built as a module. If so, the module will
 	  be called pmbus.
@@ -114,7 +114,8 @@ config SENSORS_ZL6100
 	help
 	  If you say yes here you get hardware monitoring support for Intersil
 	  ZL2004, ZL2005, ZL2006, ZL2008, ZL2105, ZL2106, ZL6100, and ZL6105
-	  Digital DC/DC Controllers.
+	  Digital DC/DC Controllers, as well as for Ericsson BMR450, BMR451,
+	  BMR462, BMR463, and BMR464.
 
 	  This driver can also be built as a module. If so, the module will
 	  be called zl6100.
drivers/hwmon/pmbus/pmbus.c +0 -2
index 995e873..18a385e 100644
@@ -200,8 +200,6 @@ static int pmbus_remove(struct i2c_client *client)
  */
 static const struct i2c_device_id pmbus_id[] = {
 	{"adp4000", 1},
-	{"bmr450", 1},
-	{"bmr451", 1},
 	{"bmr453", 1},
 	{"bmr454", 1},
 	{"ncp4200", 1},
drivers/hwmon/pmbus/zl6100.c +5 -0
index d78bdcf..7a72b6e 100644
@@ -135,6 +135,11 @@ static int zl6100_write_byte(struct i2c_client *client, int page, u8 value)
 }
 
 static const struct i2c_device_id zl6100_id[] = {
+	{"bmr450", zl2005},
+	{"bmr451", zl2005},
+	{"bmr462", zl2008},
+	{"bmr463", zl2008},
+	{"bmr464", zl2008},
 	{"zl2004", zl2004},
 	{"zl2005", zl2005},
 	{"zl2006", zl2006},
Signature · 7 lines
1.7.3.1


_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Reviewed-by on v1 3/4
#1 lore raw
Quoted 9 lines

-----Original Message-----
From: Guenter Roeck
Sent: Wednesday, November 23, 2011 11:31 AM
To: Jean Delvare
Cc: Robert Coulson; [email protected]; Guenter Roeck
Subject: [PATCH 3/4] hwmon: (pmbus/zl6100) Add support for Ericsson BMR45[0,1] and BMR46[2,3,4]

Quoted 5 lines

Add support for Ericsson BMR450, BMR451, BMR462, BMR463, and BMR464, which are based on ZL2005 and ZL2008, to zl6100 driver. Remove BMR450 and BMR451 device IDs from generic PMBus driver.

Quoted 113 lines
---
 Documentation/hwmon/pmbus    |    5 ++---
 Documentation/hwmon/zl6100   |   11 +++++++++++
 drivers/hwmon/pmbus/Kconfig  |    7 ++++---
 drivers/hwmon/pmbus/pmbus.c  |    2 --
 drivers/hwmon/pmbus/zl6100.c |    5 +++++
 5 files changed, 22 insertions(+), 8 deletions(-)
(quoted diff) +0 -0

b/Documentation/hwmon/pmbus index 15ac911..d28b591 100644

Documentation/hwmon/pmbus +2 -3
@@ -2,9 +2,8 @@ Kernel driver pmbus
 ==========
 
 Supported chips:
-  * Ericsson BMR45X series
-    DC/DC Converter
-    Prefixes: 'bmr450', 'bmr451', 'bmr453', 'bmr454'
+  * Ericsson BMR453, BMR454
+    Prefixes: 'bmr453', 'bmr454'
     Addresses scanned: -
     Datasheet:
 

http://archive.ericsson.net/service/internet/picov/get?DocNo=2
8701-EN/LZT146395

(quoted diff) +0 -0

b/Documentation/hwmon/zl6100 index d3bca06..51f76a1 100644

Documentation/hwmon/zl6100 +13 -0
@@ -34,6 +34,17 @@ Supported chips:
     Prefix: 'zl6105'
     Addresses scanned: -
     Datasheet: http://www.intersil.com/data/fn/fn6906.pdf
+  * Ericsson BMR450, BMR451
+    Prefix: 'bmr450', 'bmr451'
+    Addresses scanned: -
+    Datasheet:
+http://archive.ericsson.net/service/internet/picov/get?DocNo> 28701-EN/L
+ZT146401
+  * Ericsson BMR462, BMR463, BMR464
+    Prefixes: 'bmr462', 'bmr463', 'bmr464'
+    Addresses scanned: -
+    Datasheet:
+http://archive.ericsson.net/service/internet/picov/get?DocNo> 28701-EN/L
+ZT146256
+
 
 Author: Guenter Roeck <[email protected]>
(quoted diff) +0 -0

b/drivers/hwmon/pmbus/Kconfig index d357ab2..cfec923 100644

drivers/hwmon/pmbus/Kconfig +0 -0
@@ -19,8 +19,8 @@ config SENSORS_PMBUS
 	default y
 	help
 	  If you say yes here you get hardware monitoring 

support for generic

drivers/hwmon/pmbus/Kconfig +0 -1
-	  PMBus devices, including but not limited to ADP4000, 

BMR450, BMR451,

drivers/hwmon/pmbus/Kconfig +1 -1
-	  BMR453, BMR454, NCP4200, and NCP4208.
+	  PMBus devices, including but not limited to ADP4000, 

BMR453, BMR454,

drivers/hwmon/pmbus/Kconfig +1 -0
+	  NCP4200, and NCP4208.
 
 	  This driver can also be built as a module. If so, the 

module will

drivers/hwmon/pmbus/Kconfig +0 -0
 	  be called pmbus.
@@ -114,7 +114,8 @@ config SENSORS_ZL6100
 	help
 	  If you say yes here you get hardware monitoring 

support for Intersil
ZL2004, ZL2005, ZL2006, ZL2008, ZL2105, ZL2106,
ZL6100, and ZL6105

drivers/hwmon/pmbus/Kconfig +1 -1
-	  Digital DC/DC Controllers.
+	  Digital DC/DC Controllers, as well as for Ericsson 

BMR450, BMR451,

drivers/hwmon/pmbus/Kconfig +1 -0
+	  BMR462, BMR463, and BMR464.
 
 	  This driver can also be built as a module. If so, the 

module will

drivers/hwmon/pmbus/Kconfig +0 -0
 	  be called zl6100.
(quoted diff) +0 -0

b/drivers/hwmon/pmbus/pmbus.c index 995e873..18a385e 100644

drivers/hwmon/pmbus/pmbus.c +0 -2
@@ -200,8 +200,6 @@ static int pmbus_remove(struct i2c_client *client)
  */
 static const struct i2c_device_id pmbus_id[] = {
 	{"adp4000", 1},
-	{"bmr450", 1},
-	{"bmr451", 1},
 	{"bmr453", 1},
 	{"bmr454", 1},
 	{"ncp4200", 1},
(quoted diff) +0 -0

b/drivers/hwmon/pmbus/zl6100.c index d78bdcf..7a72b6e 100644

drivers/hwmon/pmbus/zl6100.c +5 -1
@@ -135,6 +135,11 @@ static int zl6100_write_byte(struct 
 i2c_client *client, int page, u8 value)  }
 
 static const struct i2c_device_id zl6100_id[] = {
+	{"bmr450", zl2005},
+	{"bmr451", zl2005},
+	{"bmr462", zl2008},
+	{"bmr463", zl2008},
+	{"bmr464", zl2008},
 	{"zl2004", zl2004},
 	{"zl2005", zl2005},
 	{"zl2006", zl2006},
--
Quoted 3 lines

1.7.3.1

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