forked from mirrors/linux
		
	hwmon: (zl6100) Add support for ZL9101M and ZL9117M
ZL9101M and ZL9117M are compatible to ZL6100. Add support to the zl6100 driver. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Jean Delvare <khali@linux-fr.org>
This commit is contained in:
		
							parent
							
								
									9271126966
								
							
						
					
					
						commit
						3360a106f8
					
				
					 3 changed files with 15 additions and 4 deletions
				
			
		| 
						 | 
					@ -34,6 +34,14 @@ Supported chips:
 | 
				
			||||||
    Prefix: 'zl6105'
 | 
					    Prefix: 'zl6105'
 | 
				
			||||||
    Addresses scanned: -
 | 
					    Addresses scanned: -
 | 
				
			||||||
    Datasheet: http://www.intersil.com/data/fn/fn6906.pdf
 | 
					    Datasheet: http://www.intersil.com/data/fn/fn6906.pdf
 | 
				
			||||||
 | 
					  * Intersil / Zilker Labs ZL9101M
 | 
				
			||||||
 | 
					    Prefix: 'zl9101'
 | 
				
			||||||
 | 
					    Addresses scanned: -
 | 
				
			||||||
 | 
					    Datasheet: http://www.intersil.com/data/fn/fn7669.pdf
 | 
				
			||||||
 | 
					  * Intersil / Zilker Labs ZL9117M
 | 
				
			||||||
 | 
					    Prefix: 'zl9117'
 | 
				
			||||||
 | 
					    Addresses scanned: -
 | 
				
			||||||
 | 
					    Datasheet: http://www.intersil.com/data/fn/fn7914.pdf
 | 
				
			||||||
  * Ericsson BMR450, BMR451
 | 
					  * Ericsson BMR450, BMR451
 | 
				
			||||||
    Prefix: 'bmr450', 'bmr451'
 | 
					    Prefix: 'bmr450', 'bmr451'
 | 
				
			||||||
    Addresses scanned: -
 | 
					    Addresses scanned: -
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -114,9 +114,9 @@ config SENSORS_ZL6100
 | 
				
			||||||
	default n
 | 
						default n
 | 
				
			||||||
	help
 | 
						help
 | 
				
			||||||
	  If you say yes here you get hardware monitoring support for Intersil
 | 
						  If you say yes here you get hardware monitoring support for Intersil
 | 
				
			||||||
	  ZL2004, ZL2005, ZL2006, ZL2008, ZL2105, ZL2106, ZL6100, and ZL6105
 | 
						  ZL2004, ZL2005, ZL2006, ZL2008, ZL2105, ZL2106, ZL6100, ZL6105,
 | 
				
			||||||
	  Digital DC/DC Controllers, as well as for Ericsson BMR450, BMR451,
 | 
						  ZL9101M, and ZL9117M Digital DC/DC Controllers, as well as for
 | 
				
			||||||
	  BMR462, BMR463, and BMR464.
 | 
						  Ericsson BMR450, BMR451, BMR462, BMR463, and BMR464.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	  This driver can also be built as a module. If so, the module will
 | 
						  This driver can also be built as a module. If so, the module will
 | 
				
			||||||
	  be called zl6100.
 | 
						  be called zl6100.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -28,7 +28,8 @@
 | 
				
			||||||
#include <linux/delay.h>
 | 
					#include <linux/delay.h>
 | 
				
			||||||
#include "pmbus.h"
 | 
					#include "pmbus.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
enum chips { zl2004, zl2005, zl2006, zl2008, zl2105, zl2106, zl6100, zl6105 };
 | 
					enum chips { zl2004, zl2005, zl2006, zl2008, zl2105, zl2106, zl6100, zl6105,
 | 
				
			||||||
 | 
						     zl9101, zl9117 };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct zl6100_data {
 | 
					struct zl6100_data {
 | 
				
			||||||
	int id;
 | 
						int id;
 | 
				
			||||||
| 
						 | 
					@ -152,6 +153,8 @@ static const struct i2c_device_id zl6100_id[] = {
 | 
				
			||||||
	{"zl2106", zl2106},
 | 
						{"zl2106", zl2106},
 | 
				
			||||||
	{"zl6100", zl6100},
 | 
						{"zl6100", zl6100},
 | 
				
			||||||
	{"zl6105", zl6105},
 | 
						{"zl6105", zl6105},
 | 
				
			||||||
 | 
						{"zl9101", zl9101},
 | 
				
			||||||
 | 
						{"zl9117", zl9117},
 | 
				
			||||||
	{ }
 | 
						{ }
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
MODULE_DEVICE_TABLE(i2c, zl6100_id);
 | 
					MODULE_DEVICE_TABLE(i2c, zl6100_id);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue